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: [gold][aarch64] PR gold/19987 - gold segfaults on R_AARCH64_LD64_GOTPAGE_LO15


> 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>

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


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