[uClibc-cvs] uClibc/extra/Configs Config.mips,1.34,1.35 Config.mips.default,1.1,1.2 Config.mipsel,1.33,1.34 Config.mipsel.default,1.1,1.2
Erik Andersen
andersen at uclibc.org
Wed Jun 11 17:12:11 UTC 2003
Update of /var/cvs/uClibc/extra/Configs
In directory winder:/tmp/cvs-serv31080
Modified Files:
Config.mips Config.mips.default Config.mipsel
Config.mipsel.default
Log Message:
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
Index: Config.mips
===================================================================
RCS file: /var/cvs/uClibc/extra/Configs/Config.mips,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- Config.mips 8 Nov 2002 00:17:44 -0000 1.34
+++ Config.mips 11 Jun 2003 17:12:05 -0000 1.35
@@ -13,6 +13,7 @@
config ARCH_CFLAGS
string
+ default "-fno-schedule-insns2"
config ARCH_LDFLAGS
string
Index: Config.mips.default
===================================================================
RCS file: /var/cvs/uClibc/extra/Configs/Config.mips.default,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Config.mips.default 7 Nov 2002 21:58:04 -0000 1.1
+++ Config.mips.default 11 Jun 2003 17:12:06 -0000 1.2
@@ -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
Index: Config.mipsel
===================================================================
RCS file: /var/cvs/uClibc/extra/Configs/Config.mipsel,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- Config.mipsel 8 Nov 2002 00:17:44 -0000 1.33
+++ Config.mipsel 11 Jun 2003 17:12:06 -0000 1.34
@@ -13,6 +13,7 @@
config ARCH_CFLAGS
string
+ default "-fno-schedule-insns2"
config ARCH_LDFLAGS
string
Index: Config.mipsel.default
===================================================================
RCS file: /var/cvs/uClibc/extra/Configs/Config.mipsel.default,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Config.mipsel.default 7 Nov 2002 21:58:04 -0000 1.1
+++ Config.mipsel.default 11 Jun 2003 17:12:06 -0000 1.2
@@ -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
More information about the uClibc-cvs
mailing list