------- Additional Comments From michael at weiser dot dinsnail dot net 2005-11-13 17:49 ------- Created an attachment (id=756) --> (http://sourceware.org/bugzilla/attachment.cgi?id=756&action=view) patch to make a mips-sgi-irix6.5 cross ld work for above test case
The above test case works "fine" with a native mips-sgi-irix6.5 binutils ld on irix 6.5.28 in that ld will run and produce an "undefined reference to 'os'" error message. On Mac OS X 10.3 my cross ld gives an error message: ld -melf64bmip -rpath `pwd` -L`pwd` -o ot-noopt-bu start.o otm.o -lot ld: BFD 2.16.1 assertion fail elfxx-mips.c:5716 I circumvented this using the attached patch. I'm puzzled by the fact that it works with a native ld on irix, which is why I think it's some kind of platform specific or even optimization bug. It shouldn't really be an endianess bug since the MIPS R10000 as well as the PowerPC G4 are big endian by default. I haven't tested this on an Intel machine. Would this be worth its own PR? -- http://sourceware.org/bugzilla/show_bug.cgi?id=1150 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils