gas: S_GET_{NAME,SEGMENT}() don't alter their input symbol
authorJan Beulich <jbeulich@suse.com>
Wed, 8 Nov 2023 08:29:39 +0000 (09:29 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 8 Nov 2023 08:29:39 +0000 (09:29 +0100)
commit80968745ee9fd6b48996e35adaf998d1ccf35642
tree13db9b9122e77a8034bc52222b0f73b29b7d4c14
parentfb2908093576cc469c5ee8404070c8521631c019
gas: S_GET_{NAME,SEGMENT}() don't alter their input symbol

Make their parameters pointer-to-const, thus allowing callers to also be
const-correct where possible.
gas/symbols.c
gas/symbols.h