[PATCH] RISC-V: Disallow output format changes.

Jim Wilson jimw@sifive.com
Tue Mar 6 20:10:00 GMT 2018


On Tue, Mar 6, 2018 at 12:03 PM, Jim Wilson <jimw@sifive.com> wrote:
> This fixes PR 22920 by disallowing output format changes in linker scripts,
> same as is already done by several other targets.  The testcase now generates
> a link time error instead of silently producing incorrect results.

Actually, the testcase in this PR was causing a linker crash.  It was
the ld-srec testcases that were silently producing incorrect output.

Jim



More information about the Binutils mailing list