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]

Re: New Sanyo Stormy16 relocations


> xstormy16-asm.c:133: warning: function declaration isn't a prototype
> 
> Please fix.

Fixed.

2002-12-16  DJ Delorie  <dj@delorie.com>

	* cpu/xstormy16.opc (parse_immediate16): Add prototype.

Index: cpu/xstormy16.opc
===================================================================
RCS file: /cvs/src/src/cgen/cpu/xstormy16.opc,v
retrieving revision 1.3
diff -p -3 -r1.3 xstormy16.opc
*** cpu/xstormy16.opc	17 Dec 2002 03:54:41 -0000	1.3
--- cpu/xstormy16.opc	17 Dec 2002 04:47:25 -0000
*************** static const char * parse_mem8
*** 34,39 ****
--- 34,41 ----
    PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
  static const char * parse_small_immediate
    PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
+ static const char * parse_immediate16
+   PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
  
  /* The machine-independent code doesn't know how to disambiguate
       mov (foo),r3

2002-12-16  DJ Delorie  <dj@delorie.com>

	* xstormy16-asm.c (parse_immediate16): Add prototype.

Index: xstormy16-asm.c
===================================================================
RCS file: /cvs/src/src/opcodes/xstormy16-asm.c,v
retrieving revision 1.5
diff -p -3 -r1.5 xstormy16-asm.c
*** xstormy16-asm.c	17 Dec 2002 03:57:49 -0000	1.5
--- xstormy16-asm.c	17 Dec 2002 04:47:45 -0000
*************** static const char * parse_mem8
*** 52,57 ****
--- 52,59 ----
    PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
  static const char * parse_small_immediate
    PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
+ static const char * parse_immediate16
+   PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
  
  /* The machine-independent code doesn't know how to disambiguate
       mov (foo),r3


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