[gold][aarch64] PR gold/19472 - DSOs need pc-relative stubs

Cary Coutant ccoutant@gmail.com
Fri Jan 15 07:07:00 GMT 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr19472.patch
Type: application/octet-stream
Size: 790 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160115/966cea91/attachment.obj>


More information about the Binutils mailing list