objtool: Make struct entries[] static and const
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 27 Dec 2022 16:00:57 +0000 (16:00 +0000)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 1 Feb 2023 17:15:22 +0000 (09:15 -0800)
commitd93ee0553cf2e83c1696a18423bcf05b94b85e1d
tree55cc519afba75c77a55dcd2bdfe9c6508e8ee5b6
parentcd955bdd6aa5ec54cdef622a142f8899a64b5446
objtool: Make struct entries[] static and const

This data is not modified and not used outside of special.c.

Also adapt its users to the constness.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20221216-objtool-memory-v2-1-17968f85a464@weissschuh.net
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/special.c