This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ia64 warnings fixes
- From: Richard Henderson <rth at redhat dot com>
- To: binutils at sourceware dot cygnus dot com
- Date: Mon, 31 Dec 2001 17:17:11 -0800
- Subject: ia64 warnings fixes
* config/tc-ia64.c (errata_nop_necessary_p): Prototype.
(make_unw_section_name): Constify local variables.
Index: tc-ia64.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ia64.c,v
retrieving revision 1.61
diff -c -p -d -r1.61 tc-ia64.c
*** tc-ia64.c 2001/11/28 17:00:44 1.61
--- tc-ia64.c 2002/01/01 01:15:11
*************** static enum operand_match_result operand
*** 719,724 ****
--- 719,725 ----
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));
*************** static int generate_unwind_image PARAMS
*** 867,874 ****
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; \
size_t _prefix_len, _suffix_len; \
char *_result; \
if (strncmp (text_name, ".gnu.linkonce.t.", \
--- 868,875 ----
stack, so this must be a macro... */
#define make_unw_section_name(special, text_name, result) \
{ \
! 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.", \