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 | 962ac0a001860f6767bda0e9efdfb9295f96898f (patch) | |
tree | 2d9f5112abc508cc8130eaa669c00a984c934776 /gold/ChangeLog | |
parent | 129e342c37c046061bc56e2063689ce995f79179 (diff) | |
download | binutils-redhat-962ac0a001860f6767bda0e9efdfb9295f96898f.tar.gz |
* 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 4a08b4778a..3267dabdd1 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. |