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: On resolving the MIPS gas branch reloc issue


At Wed, 26 Feb 2003 08:30:50 +0000 (UTC), "Thiemo Seufer" wrote:
> The old version, written according to the ABI spec, was useless, therefore
> it was unused with the exception of some half-working/half-broken behaviour
> in binutils, and the ABI people at MIPS say it was a typo in the spec and
> should have never been defined this way.

in other words, you've _created_ a new element of an ABI.

ultimately, the ability to branch to externs or syms in other sections
is probably the right thing, but, well, if it's gonna be implemented
by inventing something new in the ABI (because, well, what's there now
obviously can't be used).  i'd really like to see it in an ABI
document _first_.  Otherwise, it'll be implemented, and somebody'll
change their mind about how it should work, and then some significant
have the ABI change out from under them.


> This patch fixes the problem of branches to globals in the same file,

I don't believe you need to actually create a new element of the ABI
to do this, though...

(well, s/same file/same file, same section/ ... it's pedantry, but
somebody just corrected me in the same way.  8-)


cgd


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