This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][GOLD] Avoid generating unused dynamic relocation for __exidx_{start,end}
- From: Ian Lance Taylor <iant at google dot com>
- To: Doug Kwan (éæå) <dougkwan at google dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Mon, 19 Mar 2012 15:22:06 -0700
- Subject: Re: [PATCH][GOLD] Avoid generating unused dynamic relocation for __exidx_{start,end}
- References: <CAH9SEo56WaFUw+CGCMVnE-EmG9pqjEr8yPQ36J0U+xrC8-uneg@mail.gmail.com>
"Doug Kwan (éæå)" <dougkwan@google.com> writes:
> 2012-03-13 Doug Kwan <dougkwan@google.com>
>
> * arm.cc (Target_arm::do_define_standard_symbols): New method.
> (Target_arm::do_finalize_sections): Remove code which defines
> __exidx_start and __exidx_end. Make symbol table parameter
> anonymous as it is not used.
> * gold.cc (queue_middle_tasks): Call target hook to define any
> target-specific symbols.
> * target.h (Target::define_standard_symbols): New method.
> (Target::do_define_standard_symbols): Same.
> * testsuite/Makefile.am (arm_exidx_test): Dump relocations also.
> * testsuite/Makefile.in: Regenerate.
> * testsuite/arm_exidx.s: Generate data relocations for __exidx_start
> and __exidx_end.
> * testsuite/arm_exidx_test.sh: Check that no unused dynamic
> relocations are generated for __exidx_start and __exidx_end.
This is OK.
Thanks.
Ian