https://sourceware.org/bugzilla/show_bug.cgi?id=29654
Bug ID: 29654
Summary: ld: add -w to suppress warnings
Product: binutils
Version: 2.40 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
Apple ld64 and llvm-project ld64.lld support -w to suppress warnings. -w was
picked likely because compiler drivers use -w to suppress warnings.
I think -w mildly benefits GNU ld/gold as well.
With --noinhibit-exec, we downgrade errors to warnings. When analyzing a large
executable with relocation overflow issues, we may use --noinhibit-exec
--emit-relocs
to get relocations and an output file despite relocation overflow issues.
Since we know the output otherwise does not link, the warnings are not useful.
If we have -w, we can add -w to not see the unuseful warnings.
--
You are receiving this mail because:
You are on the CC list for the bug.