* symtab.h (Symbol::use_plt_offset): New function.
authorIan Lance Taylor <ian@airs.com>
Mon, 4 Aug 2008 22:22:13 +0000 (22:22 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 4 Aug 2008 22:22:13 +0000 (22:22 +0000)
commitde4c45bd54870058d0ee91a652df9f1652b12cdb
tree84e4795da42d1cc11212fdea401c73944d38bac3
parente5e6a5ff6ea89e1f8627d16d492288e0b8e834b1
* symtab.h (Symbol::use_plt_offset): New function.
* i386.cc (Relocate::relocate): Call Symbol::use_plt_offset.
* powerpc.cc (Relocate::relocate): Likewise.
* sparc.cc (Relocate::relocate): Likewise.
* x86_64.cc (Relocate::relocate): Likewise.
* testsuite/weak_plt.sh: New test.
* testsuite/weak_plt_main.cc: New test.
* testsuite/weak_plt_shared.cc: New test.
* testsuite/Makefile.am (check_SCRIPTS): Add weak_plt.sh.
(check_PROGRAMS): Add weak_plt.
(check_DATA): Add weak_plt_shared.so.
(weak_plt_main_pic.o, weak_plt): New targets.
(weak_plt_shared_pic.o, weak_plt_shared.so): New targets.
* testsuite/Makefile.in: Rebuild.

* testsuite/Makefile.am (weak_alias_test_1.so): Depend upon
gcctestdir/ld.
(weak_alias_test_2.so, weak_alias_test_4.so): Likewise.
* testsuite/Makefile.in: Rebuild.
gold/ChangeLog
gold/i386.cc
gold/powerpc.cc
gold/sparc.cc
gold/symtab.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/weak_plt.sh [new file with mode: 0755]
gold/testsuite/weak_plt_main.cc [new file with mode: 0644]
gold/testsuite/weak_plt_shared.cc [new file with mode: 0644]
gold/x86_64.cc
This page took 0.041814 seconds and 4 git commands to generate.