RISC-V: Disallow output format changes.
authorJim Wilson <jimw@sifive.com>
Tue, 6 Mar 2018 20:01:04 +0000 (12:01 -0800)
committerJim Wilson <jimw@sifive.com>
Tue, 6 Mar 2018 20:01:50 +0000 (12:01 -0800)
commit770aa8a3d3da978a35520af5f205ab2d8a5371a0
treecad4f7d1d9c153222489e313462a400e06e4b0d7
parent9add17f218409f357d5ed8b831c777ac93f41ec4
RISC-V: Disallow output format changes.

PR 22920
* emultempl/riscvelf.em (riscv_create_output_section_statements): New.
(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): New.
* testsuite/ld-elf/pr21884.d (#notarget): Add riscv*-*-*.
* testsuite/ld-unique/pr21529.d (#notarget): Likewise.
* testsuite/ld-srec/srec.exp (run_srec_test): For riscv*-*-* target,
call setup_xfail.
ld/ChangeLog
ld/emultempl/riscvelf.em
ld/testsuite/ld-elf/pr21884.d
ld/testsuite/ld-srec/srec.exp
ld/testsuite/ld-unique/pr21529.d