diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-11-04 01:24:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-11-04 01:24:41 +0000 |
commit | 1ae4d23b731a2a5fa5d688bc255d52e7f1eb9232 (patch) | |
tree | f35dae3b6a4203d8c2cc52a25d3f23c5188db707 /gold/gc.cc | |
parent | 690a96ed8ce0d2256eec357a187252a0974241af (diff) | |
download | gdb-1ae4d23b731a2a5fa5d688bc255d52e7f1eb9232.zip gdb-1ae4d23b731a2a5fa5d688bc255d52e7f1eb9232.tar.gz gdb-1ae4d23b731a2a5fa5d688bc255d52e7f1eb9232.tar.bz2 |
PR 10860
* options.h (class General_options): Add --warn-common.
* resolve.cc (Symbol_table::resolve): Handle --warn-common when
merging two common symbols.
(Symbol_table::should_override): Handle --warn-common when merging
a common symbol with a defined symbol. Use report_resolve_problem
for multiple definitions.
(Symbol_table::report_resolve_problem): New function.
* symtab.h (class Symbol_table): Declare report_resolve_problem.
Diffstat (limited to 'gold/gc.cc')
0 files changed, 0 insertions, 0 deletions