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: PATCH: remove ANSI_PROTOTYPES logic from binutils/


And gas:

2005-07-08  Ben Elliston  <bje@au.ibm.com>

        * frags.h: Remove ANSI_PROTOTYPES conditional code.
        * config/obj-elf.h: Likewise.
        * config/tc-h8300.h: Likewise.
        * config/tc-h8500.h: Likewise.
        * config/tc-i370.h: Likewise.
        * config/tc-i386.h: Likewise.
        * config/tc-m68hc11.h: Likewise.
        * config/tc-m68k.h: Likewise.
        * config/tc-ppc.h: Likewise.
        * config/tc-s390.h: Likewise.
        * config/tc-sh.h: Likewise.
        * config/tc-sparc.h: Likewise.
        * config/tc-tic30.c: Likewise.
        * config/tc-w65.h: Likewise.
        * config/tc-xtensa.h: Likewise.

Index: frags.h
===================================================================
RCS file: /cvs/src/src/gas/frags.h,v
retrieving revision 1.19
diff -u -p -r1.19 frags.h
--- frags.h     5 May 2005 09:12:45 -0000       1.19
+++ frags.h     8 Jul 2005 05:53:34 -0000
@@ -22,9 +22,7 @@
 #ifndef FRAGS_H
 #define FRAGS_H

-#ifdef ANSI_PROTOTYPES
 struct obstack;
-#endif

 /* A code fragment (frag) is some known number of chars, followed by some
    unknown number of chars. Typically the unknown number of chars is an
Index: config/obj-elf.h
===================================================================
RCS file: /cvs/src/src/gas/config/obj-elf.h,v
retrieving revision 1.25
diff -u -p -r1.25 obj-elf.h
--- config/obj-elf.h    5 May 2005 09:12:53 -0000       1.25
+++ config/obj-elf.h    8 Jul 2005 05:53:35 -0000
@@ -241,9 +241,7 @@ extern void elf_pop_insert (void);

 #ifndef OBJ_MAYBE_ELF
 #define obj_ecoff_set_ext elf_ecoff_set_ext
-#ifdef ANSI_PROTOTYPES
 struct ecoff_extr;
-#endif
 extern void elf_ecoff_set_ext (symbolS *, struct ecoff_extr *);
 #endif
 Index: config/tc-h8300.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-h8300.h,v
retrieving revision 1.17
diff -u -p -r1.17 tc-h8300.h
--- config/tc-h8300.h   5 May 2005 09:12:56 -0000       1.17
+++ config/tc-h8300.h   8 Jul 2005 05:53:35 -0000
@@ -37,10 +37,8 @@
 #define FAKE_LABEL_NAME ".L0\001"
 #endif

-#if ANSI_PROTOTYPES
 struct fix;
 struct internal_reloc;
-#endif

 #define WORKING_DOT_WORD

Index: config/tc-h8500.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-h8500.h,v
retrieving revision 1.9
diff -u -p -r1.9 tc-h8500.h
--- config/tc-h8500.h   5 May 2005 09:12:56 -0000       1.9
+++ config/tc-h8500.h   8 Jul 2005 05:53:35 -0000
@@ -23,9 +23,7 @@

 #define TARGET_BYTES_BIG_ENDIAN 1

-#if ANSI_PROTOTYPES
 struct internal_reloc;
-#endif

 #define WORKING_DOT_WORD

Index: config/tc-i370.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-i370.h,v
retrieving revision 1.9
diff -u -p -r1.9 tc-i370.h
--- config/tc-i370.h    7 Jun 2005 17:54:16 -0000       1.9
+++ config/tc-i370.h    8 Jul 2005 05:53:35 -0000
@@ -22,9 +22,7 @@

 #define TC_I370

-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif

 /* Set the endianness we are using.  Default to big endian.  */
 #ifndef TARGET_BYTES_BIG_ENDIAN
Index: config/tc-i386.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-i386.h,v
retrieving revision 1.57
diff -u -p -r1.57 tc-i386.h
--- config/tc-i386.h    6 Jul 2005 19:11:00 -0000       1.57
+++ config/tc-i386.h    8 Jul 2005 05:53:36 -0000
@@ -27,9 +27,7 @@
 #error So, do you know what you are doing?
 #endif

-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif

 #define TARGET_BYTES_BIG_ENDIAN        0

Index: config/tc-m68hc11.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-m68hc11.h,v
retrieving revision 1.18
diff -u -p -r1.18 tc-m68hc11.h
--- config/tc-m68hc11.h 7 Jun 2005 17:54:17 -0000       1.18
+++ config/tc-m68hc11.h 8 Jul 2005 05:53:36 -0000
@@ -22,9 +22,7 @@
 #define TC_M68HC11
 #define TC_M68HC12

-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif

 /* Define TC_M68K so that we can use the MRI mode.  */
 #define TC_M68K
Index: config/tc-m68k.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-m68k.h,v
retrieving revision 1.19
diff -u -p -r1.19 tc-m68k.h
--- config/tc-m68k.h    23 Jun 2005 11:40:29 -0000      1.19
+++ config/tc-m68k.h    8 Jul 2005 05:53:36 -0000
@@ -22,9 +22,7 @@

 #define TC_M68K 1

-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif

 #define TARGET_BYTES_BIG_ENDIAN 1
 Index: config/tc-ppc.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ppc.h,v
retrieving revision 1.28
diff -u -p -r1.28 tc-ppc.h
--- config/tc-ppc.h     7 Jun 2005 17:54:18 -0000       1.28
+++ config/tc-ppc.h     8 Jul 2005 05:53:36 -0000
@@ -22,9 +22,7 @@

 #define TC_PPC

-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif

 /* Set the endianness we are using.  Default to big endian.  */
 #ifndef TARGET_BYTES_BIG_ENDIAN
Index: config/tc-s390.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-s390.h,v
retrieving revision 1.15
diff -u -p -r1.15 tc-s390.h
--- config/tc-s390.h    7 Jun 2005 17:54:18 -0000       1.15
+++ config/tc-s390.h    8 Jul 2005 05:53:37 -0000
@@ -21,9 +21,7 @@

 #define TC_S390

-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif

 #ifndef BFD_ASSEMBLER
  #error S390 support requires BFD_ASSEMBLER
Index: config/tc-sh.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-sh.h,v
retrieving revision 1.36
diff -u -p -r1.36 tc-sh.h
--- config/tc-sh.h      7 Jun 2005 17:54:18 -0000       1.36
+++ config/tc-sh.h      8 Jul 2005 05:53:37 -0000
@@ -23,7 +23,6 @@

 #define TARGET_ARCH bfd_arch_sh

-#if ANSI_PROTOTYPES
 /* The type fixS is defined (to struct fix) in write.h, but write.h uses
    definitions from this file.  To avoid problems with including write.h
    after the "right" definitions, don't; just forward-declare struct fix
@@ -31,7 +30,6 @@
 struct fix;
 struct segment_info_struct;
 struct internal_reloc;
-#endif

 /* Whether -relax was used.  */
 extern int sh_relax;
Index: config/tc-sparc.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-sparc.h,v
retrieving revision 1.23
diff -u -p -r1.23 tc-sparc.h
--- config/tc-sparc.h   7 Jun 2005 17:54:18 -0000       1.23
+++ config/tc-sparc.h   8 Jul 2005 05:53:37 -0000
@@ -22,9 +22,7 @@
 #ifndef TC_SPARC
 #define TC_SPARC 1

-#ifdef ANSI_PROTOTYPES
 struct frag;
-#endif

 /* This is used to set the default value for `target_big_endian'.  */
 #define TARGET_BYTES_BIG_ENDIAN 1
Index: config/tc-tic30.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-tic30.c,v
retrieving revision 1.17
diff -u -p -r1.17 tc-tic30.c
--- config/tc-tic30.c   7 Jul 2005 19:27:41 -0000       1.17
+++ config/tc-tic30.c   8 Jul 2005 05:53:39 -0000
@@ -28,11 +28,7 @@
 #include "as.h"
 #include "safe-ctype.h"
 #include "opcode/tic30.h"
-#ifdef ANSI_PROTOTYPES
 #include <stdarg.h>
-#else
-#include <varargs.h>
-#endif

 /* Put here all non-digit non-letter characters that may occur in an
    operand.  */
Index: config/tc-w65.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-w65.h,v
retrieving revision 1.11
diff -u -p -r1.11 tc-w65.h
--- config/tc-w65.h     5 May 2005 09:13:04 -0000       1.11
+++ config/tc-w65.h     8 Jul 2005 05:53:39 -0000
@@ -23,10 +23,8 @@

 #define TARGET_BYTES_BIG_ENDIAN 0

-#if ANSI_PROTOTYPES
 struct internal_reloc;
 struct fix;
-#endif

 #define WORKING_DOT_WORD
Index: config/tc-xtensa.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-xtensa.h,v
retrieving revision 1.14
diff -u -p -r1.14 tc-xtensa.h
--- config/tc-xtensa.h  7 Jun 2005 18:31:34 -0000       1.14
+++ config/tc-xtensa.h  8 Jul 2005 05:53:39 -0000
@@ -21,9 +21,7 @@
 #ifndef TC_XTENSA
 #define TC_XTENSA 1

-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif

 #ifndef BFD_ASSEMBLER
 #error Xtensa support requires BFD_ASSEMBLER

Attachment: signature.asc
Description: OpenPGP digital signature


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