This is the mail archive of the binutils@sourceware.org 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: [PATCH, MIPS] Fix typo in N64 PLT stub


Maxim Kuvyrkov <maxim@codesourcery.com> writes:
> The following patch fixes a typo in N64 PLT stub.  The register move
> that saves return address for dynamic resolver to return to currently
> uses a 32-bit instruction, which truncates upper bits of the return
> address.

Ouch.

> Now, I imagine you would ask why is there a 64-bit address in the PLT
> resolver that only works with 32-bit symbols (aka -msym32).

Nah :-)  The PLT's obviously wrong.  Probably a pasto from the n32 version.

Patch is OK, thanks.  Branch too please, although Tristan plans to
release 2.22 this coming week.

Richard


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