aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/Makefile')
-rw-r--r--sysdeps/sh/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/sh/Makefile b/sysdeps/sh/Makefile
index cf18ded..6d8c56f 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