diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-03-29 07:19:02 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-03-29 07:19:02 +0000 |
commit | 479f65031f8b864bf4973b8495761aa769a087cf (patch) | |
tree | c5b9a33611480286600f14a1e042b464667b1919 /gold/symtab.cc | |
parent | 7cc70d1017af479e2b10d89b2b779792b7892569 (diff) | |
download | gdb-479f65031f8b864bf4973b8495761aa769a087cf.zip gdb-479f65031f8b864bf4973b8495761aa769a087cf.tar.gz gdb-479f65031f8b864bf4973b8495761aa769a087cf.tar.bz2 |
* symtab.cc (Symbol_table::add_from_object): If we don't use the
new symbol when resolving, don't call set_is_default.
* testsuite/ver_test_7.cc: New file.
* testsuite/ver_test_7.sh: New file.
* testsuite/Makefile.am (ver_test_7.so): New target.
(ver_test_7.o): New target.
(check_SCRIPTS): Add ver_test_7.sh.
(check_DATA): Add ver_test_7.syms.
(ver_test_7.syms): New target.
Diffstat (limited to 'gold/symtab.cc')
-rw-r--r-- | gold/symtab.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/symtab.cc b/gold/symtab.cc index a2ae22f..08e5f92 100644 --- a/gold/symtab.cc +++ b/gold/symtab.cc @@ -577,6 +577,8 @@ Symbol_table::add_from_object(Object* object, this->make_forwarder(insdef.first->second, ret); insdef.first->second = ret; } + else + def = false; } } else |