[gold][aarch64] PR gold/19987 - gold segfaults on R_AARCH64_LD64_GOTPAGE_LO15

Khem Raj raj.khem@gmail.com
Sun May 8 09:31:00 GMT 2016


> On May 6, 2016, at 3:26 PM, Han Shen <shenhan@google.com> wrote:
> 
> Hi Cary, this patch for pr 19987 fixes / implements the
> R_AARCH64_LD64_GOTPAGE_LO15.
> 
> Tested by running doit.sh provided by reporter. (Runtime test is not
> done because even the provided "correct" binary crashed on my system.
> Khen, are you able to test it?)

I don’t see the crash anymore with this patch.

> 
> gold/ChangeLog:
> 
>    PR/19987.
> 
>    * aarch64-reloc.def: New relocation type.
>    * aarch64.cc (AArch64_relocate_functions::Page): Changed to public.
>    (Target_aarch64::Scan::local): Add R_AARCH64_LD64_GOTPAGE_LO15.
>    (Target_aarch64::Scan::global): Add R_AARCH64_LD64_GOTPAGE_LO15.
>    (Target_aarch64::Relocate::relocate): Implement R_AARCH64_LD64_GOTPAGE_LO15.
> 
> OK for trunk?
> 
> -Han
> <pr-19987.patch>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://sourceware.org/pipermail/binutils/attachments/20160508/05b6a223/attachment.sig>


More information about the Binutils mailing list