OSDN Git Service

PR 9918
authorian <ian>
Wed, 4 Mar 2009 06:46:27 +0000 (06:46 +0000)
committerian <ian>
Wed, 4 Mar 2009 06:46:27 +0000 (06:46 +0000)
commit78149a964920a3a774189f181d70531af66e28be
tree2e37f02f151f9e52c42084cfa8a3418669abc45a
parent3f09dd35ba6848f516153c3d1b2dc178763f0ed7
PR 9918
* target-reloc.h (relocate_section): Pass output_section to
relocate.
* i386.cc (Target_i386::should_apply_static_reloc): Add
output_section parameter.  Change all callers.
(Target_i386::Relocate::relocate): Add output_section parameter.
* x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
* sparc.cc (Target_sparc::Relocate::relocate): Likewise.
* powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
* testsuite/two_file_shared.sh: New script.
* testsuite/Makefile.am (check_SCRIPTS): Add two_file_shared.sh.
(check_DATA): Add two_file_shared.dbg.
(two_file_shared.dbg): New target.
* testsuite/Makefile.in: Rebuild.
gold/ChangeLog
gold/i386.cc
gold/powerpc.cc
gold/reloc.cc
gold/sparc.cc
gold/target-reloc.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/two_file_shared.sh [new file with mode: 0755]
gold/x86_64.cc