aboutsummaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2020-09-24 15:08:52 -0700
committerJim Wilson <jimw@sifive.com>2020-09-24 15:16:54 -0700
commit743f5cfc006375655a20f255d25f6b8e1452b30b (patch)
tree52077e2ffb5526aaa4b3831554c98a69797309b1 /elfcpp
parentdebd1a62c4d250a6257e9018d9f9c7355edcdf8b (diff)
downloadbinutils-743f5cfc006375655a20f255d25f6b8e1452b30b.zip
binutils-743f5cfc006375655a20f255d25f6b8e1452b30b.tar.gz
binutils-743f5cfc006375655a20f255d25f6b8e1452b30b.tar.bz2
RISC-V: Error for relaxable branch in absolute section.
Emit an error instead of crashing in frag_new, handling this same as the i386 port. gas/ PR 26400 * config/tc-riscv.c (append_insn): If in absolute section, emit error before add_relaxed_insn call. * testsuite/gas/riscv/absolute-sec.d: New. * testsuite/gas/riscv/absolute-sec.l: New. * testsuite/gas/riscv/absolute-sec.s: New.
Diffstat (limited to 'elfcpp')
0 files changed, 0 insertions, 0 deletions