Blame sysdeps/sparc/Makefile

Packit 6c4009
# The Sparc `long double' is a distinct type we support.
Packit 6c4009
long-double-fcts = yes
Packit 6c4009
Packit 6c4009
pie-ccflag = -fPIE
Packit 6c4009
Packit 6c4009
ifeq ($(subdir),gmon)
Packit 6c4009
sysdep_routines += sparc-mcount
Packit 6c4009
endif
Packit 6c4009
Packit 6c4009
ifeq ($(subdir),db2)
Packit 6c4009
CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_SPARC_GCC=1
Packit 6c4009
endif
Packit 6c4009
Packit 6c4009
ifeq ($(subdir),csu)
Packit 6c4009
CPPFLAGS-crti.S += -fPIC
Packit 6c4009
CPPFLAGS-crtn.S += -fPIC
Packit 6c4009
endif
Packit 6c4009
Packit Service d74832
ifeq ($(subdir),elf)
Packit Service d74832
Packit Service d74832
# Lazy binding on SPARC rewrites the PLT sequence.  See the Solaris
Packit Service d74832
# Linker and Libraries Guide, section SPARC: Procedure Linkage Table.
Packit Service d74832
# <https://docs.oracle.com/cd/E19455-01/816-0559/chapter6-1236/index.html>
Packit Service d74832
test-xfail-check-wx-segment = *
Packit Service d74832
Packit Service d74832
endif # $(subdir) == elf
Packit Service d74832
Packit 6c4009
# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
Packit 6c4009
ASFLAGS-.os += -fPIC