[PATCH 1/2] ld: Output error for linker warnings with --fatal-warnings
Fangrui Song
i@maskray.me
Fri Jan 26 19:20:29 GMT 2024
On Fri, Jan 26, 2024 at 10:56 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Since --fatal-warnings changes warnings into errors, we should output
> error, instead of warning, for linker warnings.
>
> Add %w to vfinfo to output "warning" if --fatal-warnings isn't used or
> "error" otherwise. Replace warning with %w in linker warnings.
Thanks for the patch! This will be a great improvement.
More information about the Binutils
mailing list