summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config/m68k/x-mot3300-gas
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gcc/config/m68k/x-mot3300-gas')
-rw-r--r--gnu/usr.bin/gcc/config/m68k/x-mot3300-gas12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/m68k/x-mot3300-gas b/gnu/usr.bin/gcc/config/m68k/x-mot3300-gas
new file mode 100644
index 00000000000..cf2797773df
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/m68k/x-mot3300-gas
@@ -0,0 +1,12 @@
+ALLOCA=alloca.o
+
+# This disables the long/short jump optimization.
+# I use sysV68 R3V7.1 RM04 (phdm@info.ucl.ac.be)
+# Since ss-950318, with jump optimization enabled, "as" issues a warning
+# when assembling combine.s :
+# aline nnnnn : Warning: Table overflow: some optimizations lost (SDIs)
+# but later "ld" complains with
+# ld: relocation entry found for non-relocatable symbol in combine.o
+# and the produced "cc1" fails with SIGSEGV
+# Another possible fix would be to split combine.c.
+XCFLAGS=`if [ x$@ = xcombine.o -a "${CC}" = "${OLDCC}" ]; then echo -Wa,-j; fi`