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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 4a08b47..3267dab 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,19 @@ +2009-03-17 Ian Lance Taylor <iant@google.com> + + * 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. + 2009-03-13 Ian Lance Taylor <iant@google.com> * readsyms.cc (Read_symbols::incompatible_warning): New function. |