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