aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-12-16 00:40:15 +1030
committerAlan Modra <amodra@gmail.com>2020-12-16 15:17:53 +1030
commit3f75e1d67fe871db85d46618b95d0dc92291577d (patch)
treeeaa519871a2c04688b4604d49771814a8339a70e /bfd/elflink.c
parent342371d54cbbddf4342e1b261ad7c0941d7912d3 (diff)
downloadfsf-binutils-gdb-3f75e1d67fe871db85d46618b95d0dc92291577d.zip
fsf-binutils-gdb-3f75e1d67fe871db85d46618b95d0dc92291577d.tar.gz
fsf-binutils-gdb-3f75e1d67fe871db85d46618b95d0dc92291577d.tar.bz2
elflink.c constify
* elflink.c (elf_flags_to_names): Constify.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 37af3ef..2489700 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -14358,7 +14358,7 @@ typedef struct
flagword flag_value;
} elf_flags_to_name_table;
-static elf_flags_to_name_table elf_flags_to_names [] =
+static const elf_flags_to_name_table elf_flags_to_names [] =
{
{ "SHF_WRITE", SHF_WRITE },
{ "SHF_ALLOC", SHF_ALLOC },