PR gold/12979
* options.h (class General_options): Add -Bgroup. * options.cc (General_options::finalize): If -Bgroup is set, default to --unresolved-symbols=report-all. * layout.cc (Layout::finish_dynamic_section): Implement -Bgroup. * target-reloc.h (issue_undefined_symbol_error): Handle --unresolved-symbols=report-all.
This commit is contained in:
parent
ae17ab41b7
commit
e215319634
5 changed files with 25 additions and 0 deletions
|
@ -203,6 +203,8 @@ issue_undefined_symbol_error(const Symbol* sym)
|
|||
{
|
||||
if (strcmp(u, "ignore-all") == 0)
|
||||
return false;
|
||||
if (strcmp(u, "report-all") == 0)
|
||||
return true;
|
||||
if (strcmp(u, "ignore-in-object-files") == 0 && !sym->in_dyn())
|
||||
return false;
|
||||
if (strcmp(u, "ignore-in-shared-libs") == 0 && !sym->in_reg())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue