aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-28 19:38:21 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-28 19:38:21 +0000
commit9321beea94daa4b9679099e0fc092ab1845a507d (patch)
tree6ce7a5b319ca56df1094aaf649aaff0bb41e393e /sysdeps/i386
parent896167225ef6e3c5f780584e75cde2e8f253c038 (diff)
downloadglibc-9321beea94daa4b9679099e0fc092ab1845a507d.tar
glibc-9321beea94daa4b9679099e0fc092ab1845a507d.tar.gz
glibc-9321beea94daa4b9679099e0fc092ab1845a507d.tar.bz2
glibc-9321beea94daa4b9679099e0fc092ab1845a507d.zip
Update.
2002-02-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/Makefile (sysdep_routines): Add divdi3 in csu dir. (shared-only-routines): Likewise. * sysdeps/m68k/Makefile (sysdep_routines): Likewise. (shared-only-routines): Likewise. * sysdeps/s390/s390-32/Makefile (sysdep_routines): Likewise. (shared-only-routines): Likewise. * sysdeps/wordsize-32/divdi3.c: New file.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile
index 3e1642232a..e71b27c243 100644
--- a/sysdeps/i386/Makefile
+++ b/sysdeps/i386/Makefile
@@ -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)