This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] [aarch64] Fix handling of stubs to weak and section symbols
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Han Shen <shenhan at google dot com>
- Cc: Eric Christopher <echristo at gmail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>, Doug Kwan (關振德) <dougkwan at google dot com>
- Date: Tue, 20 Jun 2017 16:09:50 -0700
- Subject: Re: [PATCH] [aarch64] Fix handling of stubs to weak and section symbols
- Authentication-results: sourceware.org; auth=none
- References: <CALehDX584XS7h=5VW+1fFJW7=dbp8Y9Vqj7k_=FienxK2-sgxg@mail.gmail.com> <CACkGtriemTOB0KYjX6BxheyN4wBAQGn3cmTwSiSiX2A5mMd3tA@mail.gmail.com>
>> 2017-06-19 Eric Christopher <echristo@gmail.com>
>>
>> * aarch64.cc (scan_reloc_for_stub): Use plt_address_for_global to
>> calculate the symbol value.
>> (scan_reloc_section_for_stubs): Allow stubs to be created for
>> section symbols.
>> (maybe_apply_stub): Handle creating stubs for weak symbols to
>> match the code in scan_reloc_for_stub.
> LGTM, thanks.
OK with me, too. Thanks!
-cary