diff options
author | Richard Henderson <rth@redhat.com> | 2002-01-01 01:16:44 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2002-01-01 01:16:44 +0000 |
commit | 86cf98f3456b103c93fda54f0970d454c0a2f744 (patch) | |
tree | af6d18088f3542aef6d9351c3f404eac0f6df3cb /gas/config/tc-ia64.c | |
parent | f348a7b160d3c55a2c42294149a4d1138c1c8df3 (diff) | |
download | gdb-86cf98f3456b103c93fda54f0970d454c0a2f744.zip gdb-86cf98f3456b103c93fda54f0970d454c0a2f744.tar.gz gdb-86cf98f3456b103c93fda54f0970d454c0a2f744.tar.bz2 |
* config/tc-ia64.c (errata_nop_necessary_p): Prototype.
(make_unw_section_name): Constify local variables.
Diffstat (limited to 'gas/config/tc-ia64.c')
-rw-r--r-- | gas/config/tc-ia64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 8c98cc2..4056dc2 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -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.", \ |