mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 09:40:13 +00:00
a86a7a3946
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = stdlib]: (gen-as-const-headers): Add it. * sysdeps/unix/sysv/linux/sparc/sparc32/getcontext.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = stdlib]: (gen-as-const-headers): Add it. * sysdeps/unix/sysv/linux/sparc/sparc32/getcontext.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/swapcontext.S: Likewise.
26 lines
710 B
Makefile
26 lines
710 B
Makefile
asm-CPPFLAGS = -D__ASSEMBLY__
|
|
ASFLAGS-.os += -fPIC
|
|
LD += -melf32_sparc
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
gen-as-const-headers += ucontext_i.sym
|
|
endif
|
|
|
|
# When I get this to work, this is the right thing
|
|
ifeq ($(subdir),elf)
|
|
CFLAGS-rtld.c += -mcpu=v8
|
|
#rtld-routines += dl-sysdepsparc
|
|
sysdep-others += lddlibc4
|
|
install-bin += lddlibc4
|
|
endif # elf
|
|
|
|
ifeq ($(subdir),math)
|
|
# These 2 routines are normally in libgcc{.a,_s.so.1}.
|
|
# However, sparc32 -mlong-double-128 libgcc relies on
|
|
# glibc providing _Q_* routines and without these files
|
|
# glibc relies on __multc3/__divtc3 only provided
|
|
# by libgcc if configured with -mlong-double-128.
|
|
# Provide these routines here as well.
|
|
libm-routines += multc3 divtc3
|
|
endif # math
|