about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--sysdeps/i386/Makefile6
-rw-r--r--sysdeps/m68k/Makefile8
-rw-r--r--sysdeps/s390/s390-32/Makefile8
-rw-r--r--sysdeps/sh/Makefile8
-rw-r--r--sysdeps/wordsize-32/Makefile (renamed from sysdeps/arm/Makefile)1
6 files changed, 11 insertions, 31 deletions
diff --git a/ChangeLog b/ChangeLog
index ad78f40adc..777fb17865 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,17 @@
 
 	* sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: New file.
 
+2002-09-19  Jakub Jelinek  <jakub@redhat.com>
+
+	* sysdeps/wordsize-32/Makefile: New file.
+	* sysdeps/arm/Makefile: Removed.
+	* sysdeps/i386/Makefile (sysdep_routines, shared-only-routines):
+	Don't add divdi3 here.
+	* sysdeps/m68k/Makefile: Likewise.
+	* sysdeps/powerpc/powerpc32/Makefile: Likewise.
+	* sysdeps/sh/Makefile: Likewise.
+	* sysdeps/s390/s390-32/Makefile: Likewise.
+
 2002-09-18  Roland McGrath  <roland@redhat.com>
 
 	* locale/lc-ctype.c (_nl_postload_ctype): Add compat_symbol decls for
diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile
index dff1b769d7..ba0d21f13f 100644
--- a/sysdeps/i386/Makefile
+++ b/sysdeps/i386/Makefile
@@ -9,12 +9,6 @@ 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),gmon)
diff --git a/sysdeps/m68k/Makefile b/sysdeps/m68k/Makefile
index 2515df7324..c44b2d196c 100644
--- a/sysdeps/m68k/Makefile
+++ b/sysdeps/m68k/Makefile
@@ -33,14 +33,6 @@ 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
diff --git a/sysdeps/s390/s390-32/Makefile b/sysdeps/s390/s390-32/Makefile
index 04a43bad0c..057862d91b 100644
--- a/sysdeps/s390/s390-32/Makefile
+++ b/sysdeps/s390/s390-32/Makefile
@@ -1,13 +1,5 @@
 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
diff --git a/sysdeps/sh/Makefile b/sysdeps/sh/Makefile
index 6d8c56f3ed..cf18dedc45 100644
--- a/sysdeps/sh/Makefile
+++ b/sysdeps/sh/Makefile
@@ -1,11 +1,3 @@
 ifeq ($(subdir),gmon)
 sysdep_routines += _mcount
 endif
-
-ifeq ($(subdir),csu)
-ifeq (yes,$(build-shared))
-# Compatibility
-sysdep_routines += divdi3
-shared-only-routines += divdi3
-endif
-endif
diff --git a/sysdeps/arm/Makefile b/sysdeps/wordsize-32/Makefile
index ccb6b03684..b50c0b1635 100644
--- a/sysdeps/arm/Makefile
+++ b/sysdeps/wordsize-32/Makefile
@@ -1,6 +1,5 @@
 ifeq ($(subdir),csu)
 ifeq (yes,$(build-shared))
-# Compatibility
 sysdep_routines += divdi3
 shared-only-routines += divdi3
 endif