summaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-28 12:50:30 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-28 12:50:30 +0000
commitf4e1460127058dc63bb4eb9c3532382347cbd744 (patch)
treeb2cb12295992b283a0eeffc01473cb539f352d96 /bfd/dwarf2.c
parent6a143a5f99ede3bdf6d05ce909fe1fadb92f5caa (diff)
downloadbinutils-redhat-f4e1460127058dc63bb4eb9c3532382347cbd744.tar.gz
bfd: constify a few arrays
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 3db23956ab..02e69a8672 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -278,7 +278,7 @@ struct attr_abbrev
/* Map of uncompressed DWARF debug section name to compressed one. It
is terminated by NULL uncompressed_name. */
-struct dwarf_debug_section dwarf_debug_sections[] =
+const struct dwarf_debug_section dwarf_debug_sections[] =
{
{ ".debug_abbrev", ".zdebug_abbrev" },
{ ".debug_aranges", ".zdebug_aranges" },