summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.mips.default
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-06-11 17:12:06 +0000
committerEric Andersen <andersen@codepoet.org>2003-06-11 17:12:06 +0000
commit45aa6e241e54b49e27fb0199842d3768c377d271 (patch)
treefe6860ccb2df9829eb2897b55ae262ca149490cb /extra/Configs/Config.mips.default
parent461e8b2861ceb69ddffb668d68a564661d606e0d (diff)
Marshall M. Midden at brecis.com writes:
The gnu ld and binutils for mips has a bug with relocation. It is possible for a relocation table to be created that is not able to be loaded correctly. We found this with the intersil wireless driver port. To enable a correctly created mips relocation table (either a .o, or ld -r) it is necessary to turn off one of the instruction re-scheduling passes. Specifically, on mips-gcc -fno-schedule-insns2 is needed. This is an FYI. The bug has been reported to the appropriate mailing lists. This patch is an effort to avoid this problem on mips. -Erik
Diffstat (limited to 'extra/Configs/Config.mips.default')
-rw-r--r--extra/Configs/Config.mips.default1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/Configs/Config.mips.default b/extra/Configs/Config.mips.default
index b13a9d2bf..77a9fbfcb 100644
--- a/extra/Configs/Config.mips.default
+++ b/extra/Configs/Config.mips.default
@@ -6,6 +6,7 @@
# Target Architecture Features and Options
#
HAVE_ELF=y
+ARCH_CFLAGS="-fno-schedule-insns2"
UCLIBC_HAS_MMU=y
UCLIBC_HAS_FLOATS=y
HAS_FPU=y