This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.",				   \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]