PR 9918
commit7ddca096fbfe65b91325027cd7995ed3cb7af2c9
authorIan Lance Taylor <ian@airs.com>
Wed, 4 Mar 2009 06:46:27 +0000 (4 06:46 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 4 Mar 2009 06:46:27 +0000 (4 06:46 +0000)
tree1ea637d05dd3374cd31eb5389f8add0de7df2972
parent3aa8e945ef12d78c6a63da3cb5bc2140ed78bd52
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