This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] xtensa: don't emit dynamic relocation for weak undefined symbol
- From: Max Filippov <jcmvbkbc at gmail dot com>
- To: "augustine dot sterling at gmail dot com" <augustine dot sterling at gmail dot com>
- Cc: binutils at sourceware dot org, Eric Tsai <erictsai at cadence dot com>, linux-xtensa at linux-xtensa dot org
- Date: Fri, 6 Jul 2018 16:08:26 -0700
- Subject: Re: [PATCH] xtensa: don't emit dynamic relocation for weak undefined symbol
- References: <20180705160445.19834-1-jcmvbkbc@gmail.com> <CAGSvup_yt+YZRkysiCQdthci+yM_v7+=eYdDpYp2miLMAozPQw@mail.gmail.com>
On Fri, Jul 6, 2018 at 12:09 PM, augustine.sterling@gmail.com
<augustine.sterling@gmail.com> wrote:
> On Thu, Jul 5, 2018 at 9:04 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
>> bfd/
>> 2018-07-05 Max Filippov <jcmvbkbc@gmail.com>
>>
>> * elf32-xtensa.c (elf_xtensa_allocate_dynrelocs): Don't allocate
>> space for dynamic relocation for undefined weak symbol.
>> (elf_xtensa_relocate_section): Don't emit R_XTENSA_RELATIVE
>> relocation for undefined weak symbols.
>> (shrink_dynamic_reloc_sections): Don't shrink dynamic relocation
>> section for relocations against undefined weak symbols.
>
> Approved. Please apply.
Applied to master. Thanks!
-- Max