diff options
Diffstat (limited to 'libgcc/config/m32r')
-rw-r--r-- | libgcc/config/m32r/t-linux | 4 | ||||
-rw-r--r-- | libgcc/config/m32r/t-m32r | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libgcc/config/m32r/t-linux b/libgcc/config/m32r/t-linux index 29c83c5..5223b73 100644 --- a/libgcc/config/m32r/t-linux +++ b/libgcc/config/m32r/t-linux @@ -1 +1,5 @@ +# 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 + SHLIB_MAPFILES = libgcc-std.ver $(srcdir)/config/m32r/libgcc-glibc.ver diff --git a/libgcc/config/m32r/t-m32r b/libgcc/config/m32r/t-m32r index acc0758..f32cbbe 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 |