This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 5/5] Gold: Don't fail on R_X86_64_[REX_]GOTPCRELX relocations
- From: Cary Coutant <ccoutant at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Fri, 23 Oct 2015 10:55:29 -0700
- Subject: Re: [PATCH 5/5] Gold: Don't fail on R_X86_64_[REX_]GOTPCRELX relocations
- Authentication-results: sourceware.org; auth=none
- References: <1445514099-20925-1-git-send-email-hjl dot tools at gmail dot com> <1445514099-20925-6-git-send-email-hjl dot tools at gmail dot com>
> elfcpp/
>
> * x86_64.h (R_X86_64_GOTPCRELX): New.
> (R_X86_64_REX_GOTPCRELX): Likewise.
>
> gold/
>
> * x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags):
> Treat R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX the same
> as R_X86_64_GOTPCREL.
> (Target_x86_64<size>::Scan::local): Likewise.
> (Target_x86_64<size>::Scan::possible_function_pointer_reloc):
> Likewise.
> (Target_x86_64<size>::Scan::global): Likewise.
> (Target_x86_64<size>::Relocate::relocate): Likewise.
> (Target_x86_64<size>::Relocatable_size_for_reloc::get_size_for_reloc):
> Likewise.
This is OK. Thanks!
-cary