xtensa constify
authorAlan Modra <amodra@gmail.com>
Tue, 15 Dec 2020 11:39:06 +0000 (22:09 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 16 Dec 2020 04:47:53 +0000 (15:17 +1030)
commit61d2295d723c7d202f530ccca1eacb4cfedf06d9
tree3ca0532f0e9caf045220658c07a5a118b9874893
parent8cb1c2c857aa176a410126b4dc01d6fceaf21356
xtensa constify

Move lots of read-only arrays to .rodata.

include/
* xtensa-isa-internal.h (xtensa_format_internal),
(xtensa_slot_internal, xtensa_operand_internal),
(xtensa_arg_internal, xtensa_iclass_internal),
(xtensa_opcode_internal, xtensa_regfile_internal),
(xtensa_interface_internal, xtensa_funcUnit_internal),
(xtensa_state_internal, xtensa_sysreg_internal): Constify.
bfd/
* elf32-xtensa.c (narrowable, widenable): Constify.
* xtensa-modules.c: Constify many arrays.
bfd/ChangeLog
bfd/elf32-xtensa.c
bfd/xtensa-modules.c
include/ChangeLog
include/xtensa-isa-internal.h