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 |
98fac5 |
ifeq ($(subdir),elf)
|
|
Packit Service |
98fac5 |
|
|
Packit Service |
98fac5 |
# Lazy binding on SPARC rewrites the PLT sequence. See the Solaris
|
|
Packit Service |
98fac5 |
# Linker and Libraries Guide, section SPARC: Procedure Linkage Table.
|
|
Packit Service |
98fac5 |
# <https://docs.oracle.com/cd/E19455-01/816-0559/chapter6-1236/index.html>
|
|
Packit Service |
98fac5 |
test-xfail-check-wx-segment = *
|
|
Packit Service |
98fac5 |
|
|
Packit Service |
98fac5 |
endif # $(subdir) == elf
|
|
Packit Service |
98fac5 |
|
|
Packit |
6c4009 |
# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
|
|
Packit |
6c4009 |
ASFLAGS-.os += -fPIC
|