about summary refs log tree commit diff
path: root/sysdeps/m68k
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/m68k
parent896167225ef6e3c5f780584e75cde2e8f253c038 (diff)
downloadglibc-9321beea94daa4b9679099e0fc092ab1845a507d.tar.gz
glibc-9321beea94daa4b9679099e0fc092ab1845a507d.tar.xz
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/m68k')
-rw-r--r--sysdeps/m68k/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/m68k/Makefile b/sysdeps/m68k/Makefile
index c44b2d196c..2515df7324 100644
--- a/sysdeps/m68k/Makefile
+++ b/sysdeps/m68k/Makefile
@@ -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