gold patch committed: Unify some target code
Ian Lance Taylor
iant@google.com
Thu Jan 7 20:44:00 GMT 2010
I committed this patch to unify some of the target code which is
currently replicated int the various do_finalize_sections functions.
This should not cause any functional changes.
Ian
2010-01-07 Ian Lance Taylor <iant@google.com>
* output.h (class Output_data): Add const version of
output_section and do_output_section.
(class Output_section_data): Add const version of
do_output_section.
(class Output_section): Likewise.
* layout.cc (Layout::add_target_dynamic_tags): New function.
* layout.h (class Layout): Update declarations.
* arm.cc (Target_arm::do_finalize_sections): Use
add_target_dynamic_tags.
* i386.cc (Target_i386::do_finalize_sections): Likewise.
* powerpc.cc (Target_powerpc::do_finalize_sections): Likewise.
* sparc.cc (Target_sparc::do_finalize_sections): Likewise.
* x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 14628 bytes
Desc: unify
URL: <https://sourceware.org/pipermail/binutils/attachments/20100107/7e44195a/attachment.bin>
More information about the Binutils
mailing list