This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Reloc changes to bfd/elf32-mips.c
From: Mark Mitchell <mark@codesourcery.com>
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