summaryrefslogtreecommitdiff
path: root/src/ppc32/Gglobal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppc32/Gglobal.c')
-rw-r--r--src/ppc32/Gglobal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ppc32/Gglobal.c b/src/ppc32/Gglobal.c
index 36566668..6af97727 100644
--- a/src/ppc32/Gglobal.c
+++ b/src/ppc32/Gglobal.c
@@ -33,7 +33,7 @@ HIDDEN int tdep_init_done;
/* The API register numbers are exactly the same as the .eh_frame
registers, for now at least. */
-HIDDEN uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH] =
+HIDDEN const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH] =
{
[UNW_PPC32_R0]=UNW_PPC32_R0,
[UNW_PPC32_R1]=UNW_PPC32_R1,