]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
s390: Make operand table indices relative to each other
authorJens Remus <jremus@linux.ibm.com>
Thu, 23 Nov 2023 14:45:42 +0000 (15:45 +0100)
committerAndreas Krebbel <krebbel@linux.ibm.com>
Thu, 23 Nov 2023 14:51:03 +0000 (15:51 +0100)
commiteeafc61979c6f8399bb5ce770e46a00823a5cfae
tree5693bfa22e664fa1a5561c9a98b371da92b3b3d3
parent3f3c1e513bdf53d78adbde7f9d300c2281de21b9
s390: Make operand table indices relative to each other

This is a purely mechanical change. It allows subsequent insertions into
the operands table without having to renumber all operand indices.

The only differences in the resulting ELF object are in the .debug_info
section. This has been confirmed by diffing the following xxd and readelf
output:

xxd s390-opc.o
readelf -aW -x .text -x .data -x .bss -x .rodata -x .debug_info \
  -x .symtab -x .strtab -x .shstrtab --debug-dump s390-opc.o

opcodes/
* s390-opc.c: Make operand table indices relative to each other.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Reviewed-by: Andreas Krebbel <krebbel@linux.ibm.com>
opcodes/s390-opc.c