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/19472 - DSOs need pc-relative stubs


This is OK. Thanks!

-cary

On Thu, Jan 14, 2016 at 8:36 PM, Han Shen <shenhan@google.com> wrote:
> Hi Cary, here is the patch for PR/19472 - DSOs need pc-relative stubs.
>
> The stub generated during relaxation uses absolute addressing mode for
> shared libraries, which is not correct. Use pc-relative addressing
> instead.
>
> gold/ChangeLog:
>
> 2016-01-14 Han Shen  <shenhan@google.com>
>
>         PR gold/19472 - need pc-relative stubs
>
>         * aarch64.cc (Reloc_stub::stub_type_for_reloc): Return
> PC-relative stub type for DSOs
>         and pie executables.
>
> Patch attached.
>
> Is this ok for trunk?
>
> Thanks,
> -Han

Attachment: pr19472.patch
Description: Binary data


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