* symtab.cc (Symbol_table::add_from_object): Handle saw_undefined_
commit45de884a631b7ce745b91d2dcd9a941efcab27b3
authorIan Lance Taylor <ian@airs.com>
Thu, 27 Mar 2008 18:19:09 +0000 (27 18:19 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 27 Mar 2008 18:19:09 +0000 (27 18:19 +0000)
treed38af77cd356a0085957eef63bcd00a7aac9a3e1
parent28f51c9062be8ee8ebdc1ca36901b53989b48196
* symtab.cc (Symbol_table::add_from_object): Handle saw_undefined_
and commons_ correctly when NAME/VERSION does not override
NAME/NULL.
* testsuite/ver_test_6.c: New file.
* testsuite/Makefile.am (check_PROGRAMS): Add ver_test_6
(ver_test_6_SOURCES, ver_test_6_DEPENDENCIES): New variables.
(ver_test_6_LDFLAGS, ver_test_6_LDADD): New variables.
gold/ChangeLog
gold/symtab.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/ver_test_6.c [new file with mode: 0644]