https://sourceware.org/bugzilla/show_bug.cgi?id=22920
Jim Wilson <wilson at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |wilson at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jim Wilson <wilson at gcc dot gnu.org> --- Your linker script sets the output format to binary. Unfortunately, the current RISC-V linker only works for ELF output format. If you want non-elf output, you need to generate ELF first, and then use objcopy to convert it to another format. I've seen a few similar problems. There are srec testcases in the linker testsuite that fail because we can't produce srec directly. I think there is also a related bug report for this in the github riscv-binutils project. This should be fixed, but we have no time table for when it will be fixed, as we have many higher priority issues to look at first. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils