PR 10980
authorIan Lance Taylor <ian@airs.com>
Tue, 5 Jan 2010 00:32:22 +0000 (00:32 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 5 Jan 2010 00:32:22 +0000 (00:32 +0000)
commit7eaea5495ab1b0dfbedaba749e249cfc92b9d7c6
treec7c9bd6b9f0d43c6855d51cc0ed07ac314f4fcaa
parente44c01790d7b6959e2b7a1cbb00c9963a59ee809
PR 10980
* options.h (class General_options): Add --add-needed and
--copy-dt-needed-entries.  Tweak --as-needed help entry.
* object.cc (Input_objects::check_dynamic_dependencies): Give an
error if --copy-dt-needed-entries aka --add-needed is used and
would cause a change in behaviour.
gold/ChangeLog
gold/object.cc
gold/options.h