* symtab.cc (Symbol_table::add_from_dynobj): Only look for weak
authorIan Lance Taylor <ian@airs.com>
Wed, 9 Apr 2008 22:45:08 +0000 (22:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 9 Apr 2008 22:45:08 +0000 (22:45 +0000)
commit99a37bfda08542d871bd81bd83680ad547eb015e
tree434e31347ae3a1244cbe8a0b25460589905da421
parentde051565dfd9173f9ca885ac8e294ae2c90e409c
* symtab.cc (Symbol_table::add_from_dynobj): Only look for weak
aliases for symbols defined in the same object.
* testsuite/Makefile.am (check_PROGRAMS): Add weak_alias_test.
(weak_alias_test_SOURCES): New variable.
(weak_alias_test_DEPENDENCIES): New variable.
(weak_alias_test_LDFLAGS): New variable.
(weak_alias_test_LDADD): New variable.
(weak_alias_test_1_pic.o, weak_alias_test_1.so): New targets.
(weak_alias_test_2_pic.o, weak_alias_test_2.so): New targets.
(weak_alias_test_3.o): New target.
(weak_alias_test_4_pic.o, weak_alias_test_4.so): New targets.
* testsuite/weak_alias_test_main.cc: New file.
* testsuite/weak_alias_test_1.cc: New file.
* testsuite/weak_alias_test_2.cc: New file.
* testsuite/weak_alias_test_3.cc: New file.
gold/ChangeLog
gold/symtab.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/weak_alias_test_1.cc [new file with mode: 0644]
gold/testsuite/weak_alias_test_2.cc [new file with mode: 0644]
gold/testsuite/weak_alias_test_3.cc [new file with mode: 0644]
gold/testsuite/weak_alias_test_4.cc [new file with mode: 0644]
gold/testsuite/weak_alias_test_main.cc [new file with mode: 0644]