This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold][aarch64] PR gold/19987 - gold segfaults on R_AARCH64_LD64_GOTPAGE_LO15
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Han Shen <shenhan at google dot com>
- Cc: binutils <binutils at sourceware dot org>, raj dot khem at gmail dot com
- Date: Sun, 8 May 2016 21:50:41 -0700
- Subject: Re: [gold][aarch64] PR gold/19987 - gold segfaults on R_AARCH64_LD64_GOTPAGE_LO15
- Authentication-results: sourceware.org; auth=none
- References: <CACkGtrjBS0Dv_kapyGjA+wa-WsABZTw9uHFOZGKXZoSbdkzGuA at mail dot gmail dot com>
> 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?)
>
> 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?
OK. Thanks!
-cary