]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
opcodes/aarch64: make aarch64_ext_ldst_reglist()'s data[] static const
authorJan Beulich <jbeulich@suse.com>
Fri, 1 Aug 2025 07:16:41 +0000 (09:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Aug 2025 07:16:41 +0000 (09:16 +0200)
commitf79d7a8b4c93374fa8506c59b47f0dca57df8dc4
tree7cdabe225488b9202974da2983c9015de76794ed
parent85cced8e9b9942d223b3a54757d879000fc04b38
opcodes/aarch64: make aarch64_ext_ldst_reglist()'s data[] static const

There's no reason to have the compiler materialize such an object onto the
stack. And there's also no reason to allow the array to be modifiable.
opcodes/aarch64-dis.c