]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas various other const pointer changes
authorAlan Modra <amodra@gmail.com>
Tue, 8 Jul 2025 23:33:08 +0000 (09:03 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 9 Jul 2025 00:05:07 +0000 (09:35 +0930)
commitd24a60f9fc7ae9684866071026e9605fee91b935
treedfaa82d1e4ab2e8540493fb29508b86e800f5aae
parentde8acd20057d76c28173ee33897359cb6117b5af
gas various other const pointer changes

This removes a bunch of casts involving const pointers, in some cases
by making variables const pointers so a cast is not needed.  In a
couple of places the cast hid errors with "&array" written rather than
"array", see iq2000_macro_defs and s_pru_align.  tc-xgate.c cmp_opcode
is changed to be the standard qsort predicate to avoid a function
cast.
16 files changed:
gas/config/kvx-parse.c
gas/config/obj-elf.c
gas/config/tc-alpha.c
gas/config/tc-arc.c
gas/config/tc-d10v.c
gas/config/tc-iq2000.c
gas/config/tc-kvx.c
gas/config/tc-metag.c
gas/config/tc-nds32.c
gas/config/tc-pru.c
gas/config/tc-riscv.c
gas/config/tc-score.c
gas/config/tc-xgate.c
gas/symbols.c
gas/symbols.h
gas/write.c