(sysdep_routines): Add divdi3 in csu dir.
authordrepper <drepper>
Thu, 28 Feb 2002 19:37:11 +0000 (19:37 +0000)
committerdrepper <drepper>
Thu, 28 Feb 2002 19:37:11 +0000 (19:37 +0000)
(shared-only-routines): Likewise.

sysdeps/i386/Makefile
sysdeps/m68k/Makefile
sysdeps/s390/s390-32/Makefile

index 3e16422..e71b27c 100644 (file)
@@ -9,6 +9,12 @@ ifeq ($(subdir),csu)
 # On i686 we must avoid generating the trampoline functions generated
 # to get the GOT pointer.
 CFLAGS-initfini.s += -march=i386 -mcpu=i386
+
+ifeq (yes,$(build-shared))
+# Compatibility
+sysdep_routines += divdi3
+shared-only-routines += divdi3
+endif
 endif
 
 ifeq ($(subdir),db2)
index c44b2d1..2515df7 100644 (file)
@@ -33,6 +33,14 @@ CFLAGS-setjmp.c := -fno-omit-frame-pointer
 # The 68k `long double' is a distinct type we support.
 long-double-fcts = yes
 
+ifeq ($(subdir),csu)
+ifeq (yes,$(build-shared))
+# Compatibility
+sysdep_routines += divdi3
+shared-only-routines += divdi3
+endif
+endif
+
 ifeq ($(subdir),elf)
 CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused
 endif
index 057862d..04a43ba 100644 (file)
@@ -1,5 +1,13 @@
 pic-ccflag = -fpic
 
+ifeq ($(subdir),csu)
+ifeq (yes,$(build-shared))
+# Compatibility
+sysdep_routines += divdi3
+shared-only-routines += divdi3
+endif
+endif
+
 ifeq ($(subdir),gmon)
 sysdep_routines += s390-mcount
 endif