This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Patch] was: MIPS assembler no longer "combines symbols indifferent segments"...
On Mon, 28 Feb 2005, Daniel Jacobowitz wrote:
> > How about updating GCC so that it does not emit these problematic
> > statements? Either your local copy or the 3.3 branch (if there is
> > interest). Using older binutils is another option.
>
> The comment is missing the most important piece of data - _why_ it
> should no longer be used. I don't see a legitimate reason.
The relocation isn't a part of the SysV ABI and was never meant to be
used by Linux. Its use by GCC must have been a mistake -- someone did a
bad implementation and it worked by accident thanks to binutils supporting
the needed relocation for embedded-PIC targets.
> I recently implemented another PIC model for MIPS, separate from
> embedded-PIC but sharing a couple of properties, and this support was
> extremely useful. I haven't had the time to contribute it back yet but
> I hope to sometime after 2.16.
For another ABI it should be OK to use. It's just it's not a part of the
Linux ABI.
Maciej