Update copyright notices with scripts/update-copyrights
[glibc.git] / sysdeps / unix / sysv / linux / sparc / sparc32 / Makefile
blob21c7dc1680caf19cb21a36ade3cb4baaee188159
1 # See Makeconfig regarding the use of default-abi.
2 default-abi := 32
4 asm-CPPFLAGS = -D__ASSEMBLY__
5 ASFLAGS-.os += -fPIC
6 LD += -melf32_sparc
8 ifeq ($(subdir),stdlib)
9 gen-as-const-headers += ucontext_i.sym
10 endif
12 # When I get this to work, this is the right thing
13 ifeq ($(subdir),elf)
14 CFLAGS-rtld.c += -mcpu=v8
15 #rtld-routines += dl-sysdepsparc
16 sysdep-others += lddlibc4
17 install-bin += lddlibc4
18 endif # elf
20 ifeq ($(subdir),math)
21 # These 2 routines are normally in libgcc{.a,_s.so.1}.
22 # However, sparc32 -mlong-double-128 libgcc relies on
23 # glibc providing _Q_* routines and without these files
24 # glibc relies on __multc3/__divtc3 only provided
25 # by libgcc if configured with -mlong-double-128.
26 # Provide these routines here as well.
27 libm-routines += multc3 divtc3
28 endif # math