Added the following options for compatibility with binutils ld:
--warn-unresolved-symbols Report unresolved symbols as warnings --error-unresolved-symbols Report unresolved symbols as errors
Differential D29150
Add --warn-unresolved-symbols and --error-unresolved-symbols options dmikulin on Jan 25 2017, 2:36 PM. Authored by
Details Added the following options for compatibility with binutils ld: --warn-unresolved-symbols Report unresolved symbols as warnings --error-unresolved-symbols Report unresolved symbols as errors
Diff Detail
Event Timeline
Comment Actions Added test points to make sure errors/warnings are not issued in relocatable and shared links. Comment Actions Some comments inline.
Comment Actions Got rid of the second file in the test case and added single - test points for options. Comment Actions Committed as r293139. Thanks for your contribution. I'll close the related PR for you as you don't have a bugzilla account yet (*sigh*). You may want to reference the PR number (if any) in the summary of your future reviews, FWIW. |
You don't need to check if it is OPT_error_undef because it always have to be that. You can just return ReportError.