aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorJavier Mora <cousteaulecommandant@gmail.com>2024-05-24 20:10:05 +0200
committerNelson Chu <nelson@rivosinc.com>2024-05-28 11:39:22 +0800
commitb85af8d9fd31bc20c9f506350f22fda54fb3dbc7 (patch)
tree7316078d52921be1e27bfcd2531fcf193e57abd2 /binutils/readelf.c
parent78ba9033742e3ea2d2592d1a34eb5242bd2985a8 (diff)
downloadbinutils-b85af8d9fd31bc20c9f506350f22fda54fb3dbc7.zip
binutils-b85af8d9fd31bc20c9f506350f22fda54fb3dbc7.tar.gz
binutils-b85af8d9fd31bc20c9f506350f22fda54fb3dbc7.tar.bz2
RISC-V: Fix U insn; replace opcode6 with opcode7 in gas/doc/c-riscv.texi
The type U RISC-V instruction format in gas/doc/c-riscv.texi shows the bit arrangement of the simm20 immediate that belongs to the J type; It should be just `simm20[19:0]`. The current behavior of `gas` matches the proposed documentation change. Additionally, the opcode is called `opcode6` despite of having 7 bits. Rename it to `opcode7`. gas/ * doc/c-riscv.texi: Fix U type, and replace opcode6 with opcode7.
Diffstat (limited to 'binutils/readelf.c')
0 files changed, 0 insertions, 0 deletions