| commit | 624c610dd46ed441c349f4bd889f3416cf867fd5 | [log] [tgz] |
|---|---|---|
| author | H.J. Lu <hjl.tools@gmail.com> | Thu Jan 25 07:39:05 2024 -0800 |
| committer | H.J. Lu <hjl.tools@gmail.com> | Thu Jan 25 09:26:25 2024 -0800 |
| tree | b2a868d3c3a094ae5b554d1de861e7886f950b55 | |
| parent | 033c5df8401bd72ab8d1d123daafab6ff3bd32b9 [diff] |
ld: Always call output_unknown_cmdline_warning Call output_unknown_cmdline_warning if there are no input files so that $ ld -z bad-option reports ld: warning: -z bad-option ignored ld: no input files instead of ld: no input files PR ld/31289 * ldmain.c (main): Call output_unknown_cmdline_warning if there are no input files.