[PATCH] RISC-V: Do not go beyond a label when disassembling data
Nelson Chu
nelson@rivosinc.com
Tue Jun 18 03:56:58 GMT 2024
On Mon, Jun 3, 2024 at 5:42 PM Joseph Faulls <Joseph.Faulls@imgtec.com>
wrote:
> +.section .text.data.label
> +addi a0, zero, 1
> +.short 3 # $d, dumped as .short due to label
> +label:
> +.word 4
>
I expect the data should dump as .word before .short when porting the
mapping symbol from arm/aarch64 to risc-v. Not sure if we should dump
data, which is placed in text, while considering labels.
Thanks
Nelson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20240618/b6f196b5/attachment.htm>
More information about the Binutils
mailing list