diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-11-05 06:24:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-11-05 06:24:39 +0000 |
commit | 594c8e5ede2a93362f335a97389eaadac17ec204 (patch) | |
tree | f6fa13b594ad3af2539139a534d3645daefb4fbf /gold/ChangeLog | |
parent | 946ef19679549c1751ca5c3a963f48c21112e19b (diff) | |
download | gdb-594c8e5ede2a93362f335a97389eaadac17ec204.zip gdb-594c8e5ede2a93362f335a97389eaadac17ec204.tar.gz gdb-594c8e5ede2a93362f335a97389eaadac17ec204.tar.bz2 |
PR 10880
* object.h (class Object): Add is_needed and set_is_needed
methods. Add is_needed_ field. Make bool fields into bitfields.
* symtab.cc (Symbol_table::set_dynsym_indexes): If a symbol is
defined in a dynamic object and referenced by a regular object,
set is_needed for the dynamic object.
* layout.cc (Layout::finish_dynamic_section): Don't add DT_NEEDED
if the file is marked with as_needed and it is not needed.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index bd91f67..e31ffe7 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,16 @@ 2009-11-04 Ian Lance Taylor <iant@google.com> + PR 10880 + * object.h (class Object): Add is_needed and set_is_needed + methods. Add is_needed_ field. Make bool fields into bitfields. + * symtab.cc (Symbol_table::set_dynsym_indexes): If a symbol is + defined in a dynamic object and referenced by a regular object, + set is_needed for the dynamic object. + * layout.cc (Layout::finish_dynamic_section): Don't add DT_NEEDED + if the file is marked with as_needed and it is not needed. + +2009-11-04 Ian Lance Taylor <iant@google.com> + PR 10887 * arm.cc (Target_arm::do_finalize_sections): Don't add dynamic tags if data is discarded by linker script. |