This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][gold] AArch64: Avoid creating ".got" and ".got.plt" sections if they are not needed.
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Igor Kudrin <ikudrin at accesssoftek dot com>, Han Shen <shenhan at google dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 28 Jun 2016 15:36:14 -0700
- Subject: Re: [PATCH][gold] AArch64: Avoid creating ".got" and ".got.plt" sections if they are not needed.
- Authentication-results: sourceware.org; auth=none
- References: <1466787306106 dot 48166 at accesssoftek dot com> <CAJimCsFoQQNtER86xPvGSotF0am4FizfxXKPB3abut0_ygdgbg at mail dot gmail dot com>
On Tue, Jun 28, 2016 at 3:03 PM, Cary Coutant <ccoutant@gmail.com> wrote:
>> On AArch64, if there were relocations against local symbols, gold created
>> ".got" and ".got.plt" sections event if they were not required.
>>
>> Best regards,
>> Igor Kudrin
>>
>> ---
>> gold/ChangeLog
>>
>> * aarch64.cc (Target_aarch64::Scan::local): Move the call to got_section
>> from the top level to the places of its use.
>
> This is OK if it's OK with Han.
Committed. Thanks, Igor and Han!
-cary