From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: mark@codesourcery.com Cc: geoffk@ozemail.com.au, gavin@cygnus.com, binutils@sourceware.cygnus.com, brendan@cygnus.com Subject: Re: Reloc changes to bfd/elf32-mips.c Date: Wed, 29 Sep 1999 08:25:00 -0000 Message-id: <19990929152418.26943.qmail@daffy.airs.com> References: <199909271118.VAA01663@gluttony.geoffk.wattle.id.au> <19990928005956V.mitchell@codesourcery.com> <199909290330.NAA00657@gluttony.geoffk.wattle.id.au> <19990928222137W.mitchell@codesourcery.com> X-SW-Source: 1999-09/msg00207.html From: Mark Mitchell Date: Tue, 28 Sep 1999 22:21:37 -0700 I think it's OK to have `ld' (as an extension) handle this case. But, we really should fix GAS. It would be useful (I know this because customers have told me so :-)) to be able to assemble things with GAS, but link them with the MIPS linker. The .o files that GAS creates are not ABI-compliant, and not for any particularly good reason. (In other words, I don't see a real performance improvement/useful feature that the "incorrect" ordering buys you.) Yeah, I guess we fix up unmatched %hi relocs, but we don't bother to ensure that we don't have a leading %lo reloc. If anybody wants to fix this, the code is in mips_frob_file in gas/config/tc-mips.c. Ian