[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/26400] Internal error when using .offset with jumps in RISC-V a
From: |
wilson at gcc dot gnu.org |
Subject: |
[Bug gas/26400] Internal error when using .offset with jumps in RISC-V as |
Date: |
Thu, 24 Sep 2020 22:05:16 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26400
--- Comment #3 from Jim Wilson <wilson at gcc dot gnu.org> ---
A linker script is the normal GNU ld solution for putting code at specific
addresses. I see that there is an option
--section-start=SECTIONNAME=ORG
but I have no experience using that.
Yes we need to fix this, I've got a patch to emit an error instead of an abort.
While writing it, I discovered that there is a testcase gas/elf/warn-2.s that
is putting code in the absolute section, but it only needs nop to work. It is
the gas relaxable instructions that don't work, so I'm erroring only for those.
--
You are receiving this mail because:
You are on the CC list for the bug.