This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][GOLD] Allow a target to fix up output section flags.


On Tue, Apr 5, 2011 at 12:53 AM, Doug Kwan (éæå) <> 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 Â<>
> Â Â Â Â* (Target_arm::do_adjust_output_section_flags): New
> Â Â Â Âmethod definition.
> Â Â Â Â* (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/ (arm_exidx_test): New test rules.
> Â Â Â Â* testsuite/ Regenerate.
> Â Â Â Â* testsuite/arm_exidx_test.s: New file.
> Â Â Â Â* testsuite/ Same.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]