diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-03-17 07:07:21 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-03-17 07:07:21 +0000 |
commit | 8c50070107224cdda510640738eca333f67409ee (patch) | |
tree | 8d2dced8570857a0bf78e5dcad5a3c4464d8d80a /gold/sparc.cc | |
parent | b646ddd43a01254d0be446b8a8dd1a9135a758e4 (diff) | |
download | gdb-8c50070107224cdda510640738eca333f67409ee.zip gdb-8c50070107224cdda510640738eca333f67409ee.tar.gz gdb-8c50070107224cdda510640738eca333f67409ee.tar.bz2 |
* symtab.cc (Symbol_table::define_default_version): New function,
broken out of add_from_object.
(Symbol_table::add_from_object): Call define_default_version.
(Symbol_table::define_special_symbol): Add resolve_oldsym
parameter. Change all callers. If the version for a symbol comes
from a version script, resolve it with the symbol with the same
name with no version. Also add the symbol without a version if
appropriate.
(do_define_in_output_data): If resolving with oldsym, don't delete
sym.
(do_define_in_output_segment): Likewise.
(do_define_as_constant): Likewise.
* symtab.h (class Symbol_table): Update declarations.
Diffstat (limited to 'gold/sparc.cc')
0 files changed, 0 insertions, 0 deletions