summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/sh/Makefile8
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1435082cb3..d73b2deaf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+        * sysdeps/sh/Makefile (sysdeps_routines): Add divdi3 in csu dir.
+        (shared-only-routines): Likewise.
+
 2002-08-26  Roland McGrath  <roland@redhat.com>
 
 	* locale/programs/ld-ctype.c (ctype_read): When given a repertoire
diff --git a/sysdeps/sh/Makefile b/sysdeps/sh/Makefile
index cf18dedc45..6d8c56f3ed 100644
--- a/sysdeps/sh/Makefile
+++ b/sysdeps/sh/Makefile
@@ -1,3 +1,11 @@
 ifeq ($(subdir),gmon)
 sysdep_routines += _mcount
 endif
+
+ifeq ($(subdir),csu)
+ifeq (yes,$(build-shared))
+# Compatibility
+sysdep_routines += divdi3
+shared-only-routines += divdi3
+endif
+endif