+2010-06-11  Tristan Gingold  <gingold@adacore.com>
+
+       * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
+       (UNW_DEC_ABI): Ditto for abiname.
+       (unw_decode_table): Make it const.
+
 2010-06-10  Tristan Gingold  <gingold@adacore.com>
 
        * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
 
 static void
 unw_print_abreg (char *cp, unsigned int abreg)
 {
-  static const char *special_reg[16] =
+  static const char * const special_reg[16] =
   {
     "pr", "psp", "@priunat", "rp", "ar.bsp", "ar.bspstore", "ar.rnat",
     "ar.unat", "ar.fpsr", "ar.pfs", "ar.lc",
 #define UNW_DEC_ABI(fmt, abi, context, arg)                    \
   do                                                           \
     {                                                          \
-      static const char *abiname[] =                           \
+      static const char * const abiname[] =                    \
       {                                                                \
        "@svr4", "@hpux", "@nt"                                 \
       };                                                       \
 typedef const unsigned char *(*unw_decoder)
      (const unsigned char *, unsigned int, void *);
 
-static unw_decoder unw_decode_table[2][8] =
+static const unw_decoder unw_decode_table[2][8] =
   {
     /* prologue table: */
     {