about summary refs log tree commit diff
path: root/sysdeps/s390/s390-32/Makefile
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/s390/s390-32/Makefile
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/s390/s390-32/Makefile')
-rw-r--r--sysdeps/s390/s390-32/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/s390/s390-32/Makefile b/sysdeps/s390/s390-32/Makefile
index 057862d91b..04a43bad0c 100644
--- a/sysdeps/s390/s390-32/Makefile
+++ b/sysdeps/s390/s390-32/Makefile
@@ -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