This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][GOLD] Allow a target to fix up output section flags.
- From: Doug Kwan (éæå) <dougkwan at google dot com>
- To: Ian Lance Taylor <iant at google dot com>, binutils <binutils at sources dot redhat dot com>
- Date: Tue, 19 Apr 2011 10:25:22 -0700
- Subject: Re: [PATCH][GOLD] Allow a target to fix up output section flags.
- References: <BANLkTikfytKdXMrQQXniP83tVCDvaHd6JA@mail.gmail.com>
ping?
On Tue, Apr 5, 2011 at 12:53 AM, Doug Kwan (éæå) <dougkwan@google.com> wrote:
> Hi Ian,
>
> Â ÂThis patch adds code to allow a target to fix up some flags in an
> output section header. ÂWe need this for ARM's EXIDX section, which is
> required to have SHF_LINK_ORDER set. ÂWe currently do not handle that
> flag correctly in layout, it would be desirable to fix that in the
> long run. ÂI have tested this for both ARM and X86_64 and I also added
> a new test case.
>
> -Doug
>
> 2011-04-05 ÂDoug Kwan Â<dougkwan@google.com>
>
> Â Â Â Â* arm.cc (Target_arm::do_adjust_output_section_flags): New
> Â Â Â Âmethod definition.
> Â Â Â Â* output.cc (Output_section::write_header): Allow a target to adjust
> Â Â Â Âoutput section flags.
> Â Â Â Â* target.h (Target::adjust_output_section_flags): New method definition.
> Â Â Â Â(Target::do_adjust_output_section_flags): Same.
> Â Â Â Â* testsuite/Makefile.am (arm_exidx_test): New test rules.
> Â Â Â Â* testsuite/Makefile.in: Regenerate.
> Â Â Â Â* testsuite/arm_exidx_test.s: New file.
> Â Â Â Â* testsuite/arm_exidx_test.sh: Same.
>