]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: odd data padding vs mapping symbols
authorJan Beulich <jbeulich@suse.com>
Fri, 27 Sep 2024 09:41:00 +0000 (11:41 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 27 Sep 2024 09:41:00 +0000 (11:41 +0200)
commit9a788db16aef1d87f61138b65a0763818a234a6c
treeb0ef9c8bb209c7c1e0b93a35030a6ec8e3b777cf
parent784e2ef54b443a4d0b95e97122934ca8eaa4155b
RISC-V: odd data padding vs mapping symbols

Odd data padding has a $d label inserted at its beginning. When a $x...
label is removed instead, a replacement is inserted after the padding.
The same, however, needs to also happen when there's no $x to replace.
gas/config/tc-riscv.c
gas/testsuite/gas/riscv/odd-padding.d [new file with mode: 0644]
gas/testsuite/gas/riscv/odd-padding.s [new file with mode: 0644]