This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Wed, May 05, 2004 at 01:15:55PM -0700, cgd@broadcom.com wrote:
> 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.

No compatibility needs to be maintained for this, AFAIK.

-- 
Daniel Jacobowitz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]