* config/tc-ia64.c (errata_nop_necessary_p): Prototype.
authorRichard Henderson <rth@redhat.com>
Tue, 1 Jan 2002 01:16:44 +0000 (01:16 +0000)
committerRichard Henderson <rth@redhat.com>
Tue, 1 Jan 2002 01:16:44 +0000 (01:16 +0000)
        (make_unw_section_name): Constify local variables.

gas/ChangeLog
gas/config/tc-ia64.c

index e343dc1..d3d8e43 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-31  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-ia64.c (errata_nop_necessary_p): Prototype.
+       (make_unw_section_name): Constify local variables.
+
 Mon Dec 31 16:48:07 2001  Jeffrey A Law  (law@redhat.com)
 
         * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers,
index 8c98cc2..4056dc2 100644 (file)
@@ -719,6 +719,7 @@ static enum operand_match_result operand_match PARAMS ((const struct ia64_opcode
                                                        expressionS *e));
 static int parse_operand PARAMS ((expressionS *e));
 static struct ia64_opcode * parse_operands PARAMS ((struct ia64_opcode *));
+static int errata_nop_necessary_p PARAMS ((struct slot *, enum ia64_unit));
 static void build_insn PARAMS ((struct slot *, bfd_vma *));
 static void emit_one_bundle PARAMS ((void));
 static void fix_insn PARAMS ((fixS *, const struct ia64_operand *, valueT));
@@ -867,8 +868,8 @@ static int generate_unwind_image PARAMS ((const char *));
    stack, so this must be a macro... */
 #define make_unw_section_name(special, text_name, result)                 \
   {                                                                       \
-    char *_prefix = special_section_name[special];                        \
-    char *_suffix = text_name;                                            \
+    const char *_prefix = special_section_name[special];                  \
+    const char *_suffix = text_name;                                      \
     size_t _prefix_len, _suffix_len;                                      \
     char *_result;                                                        \
     if (strncmp (text_name, ".gnu.linkonce.t.",                                   \