PR 10670
authorIan Lance Taylor <ian@airs.com>
Wed, 30 Dec 2009 20:23:29 +0000 (20:23 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 30 Dec 2009 20:23:29 +0000 (20:23 +0000)
commitebcc83046fa1227ac895ae9a2d715b547d62ad08
tree954725e482503e8a0f81d1963e57408fe353fe63
parent7b838ca220ab177d288bca2629d73b50ebbe7abc
PR 10670
* options.h (class General_options): Add -x/--discard-all.
* object.cc (Sized_relobj::do_count_local_symbols): Handle
--discard-all.  If the local symbol needs a dynamic entry, check
that before handling --discard-locals.
gold/ChangeLog
gold/object.cc
gold/options.h