PR 10880
authorIan Lance Taylor <ian@airs.com>
Thu, 5 Nov 2009 06:24:39 +0000 (06:24 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 5 Nov 2009 06:24:39 +0000 (06:24 +0000)
commit594c8e5ede2a93362f335a97389eaadac17ec204
treef6fa13b594ad3af2539139a534d3645daefb4fbf
parent946ef19679549c1751ca5c3a963f48c21112e19b
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.
gold/ChangeLog
gold/layout.cc
gold/object.h
gold/symtab.cc
This page took 0.024545 seconds and 4 git commands to generate.