bug: GOLD handling of Sparc PLTREL
David Miller
davem@davemloft.net
Tue Feb 9 00:56:00 GMT 2010
From: David Miller <davem@davemloft.net>
Date: Mon, 08 Feb 2010 16:42:45 -0800 (PST)
> But GOLD isn't doing this, it makes the size of .rela.dyn only include
> the .rela.dyn relocs, it doesn't include the .rela.plt reloc size
> too.
This bug was by was introduced by:
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.
More information about the Binutils
mailing list