summaryrefslogtreecommitdiffstats
path: root/libgcc/config/m32r/t-m32r
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config/m32r/t-m32r')
-rw-r--r--libgcc/config/m32r/t-m32r4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgcc/config/m32r/t-m32r b/libgcc/config/m32r/t-m32r
index acc07586a1f..f32cbbef4ee 100644
--- a/libgcc/config/m32r/t-m32r
+++ b/libgcc/config/m32r/t-m32r
@@ -1,3 +1,7 @@
+# Turn off the SDA while compiling libgcc2. There are no headers for it
+# and we want maximal upward compatibility here.
+HOST_LIBGCC2_CFLAGS = -G 0
+
# We need to use -fpic when we are using gcc to compile the routines in
# initfini.c. This is only really needed when we are going to use gcc/g++
# to produce a shared library, but since we don't know ahead of time when
OpenPOWER on IntegriCloud