[mips patch RFC] removal of gas embedded-pic support code

cgd@broadcom.com cgd@broadcom.com
Wed May 5 20:16:00 GMT 2004


Thanks for looking at this.

At Wed, 05 May 2004 21:12:11 +0100, Richard Sandiford wrote:
> which is overridden in linux64.h by:
> 
> --------------------------------------------------------------------------
> #undef ASM_PREFERRED_EH_DATA_FORMAT
> #if 0  /* We can't use relative addressing modes on NEWABI :-(  */

What this doesn't say is "because they were GNU extensions for
embedded-PIC support which weren't copied to the n32/64 support in
BFD, apparently."  8-)


> So mips64-linux-gnu doesn't use the same EH representation for o32.

Right, so, then, which is *correct*?

I'd say that the mips64-linux-gnu version is the "better" one, since
the PC-relative 32/64 relocations were non-standard.

But I have no idea how much pain would be caused by switching.  Or
whether (and how much) backward-compatibility needs to be maintained.


cgd



More information about the Binutils mailing list