aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-07-08 05:57:21 +0000
committerBen Elliston <bje@au.ibm.com>2005-07-08 05:57:21 +0000
commitb4f261e094f4807a2da1dc62c7945e5898ed4680 (patch)
treec91aea193c9829e2fafc1249c162a9f882d3005b
parent6c98dd1ecb34134446cf93209f19d1f51a8603df (diff)
downloadfsf-binutils-gdb-b4f261e094f4807a2da1dc62c7945e5898ed4680.zip
fsf-binutils-gdb-b4f261e094f4807a2da1dc62c7945e5898ed4680.tar.gz
fsf-binutils-gdb-b4f261e094f4807a2da1dc62c7945e5898ed4680.tar.bz2
* 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.
-rw-r--r--gas/ChangeLog18
-rw-r--r--gas/config/obj-elf.h2
-rw-r--r--gas/config/tc-h8300.h2
-rw-r--r--gas/config/tc-h8500.h2
-rw-r--r--gas/config/tc-i370.h2
-rw-r--r--gas/config/tc-i386.h2
-rw-r--r--gas/config/tc-m68hc11.h2
-rw-r--r--gas/config/tc-m68k.h2
-rw-r--r--gas/config/tc-ppc.h2
-rw-r--r--gas/config/tc-s390.h2
-rw-r--r--gas/config/tc-sh.h2
-rw-r--r--gas/config/tc-sparc.h2
-rw-r--r--gas/config/tc-tic30.c4
-rw-r--r--gas/config/tc-w65.h2
-rw-r--r--gas/config/tc-xtensa.h2
-rw-r--r--gas/frags.h2
16 files changed, 18 insertions, 32 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c1a2990..16f5072 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,21 @@
+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.
+
2005-07-08 Hans-Peter Nilsson <hp@axis.com>
PR gas/1049
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index f7a5b5e..01c1598 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -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
diff --git a/gas/config/tc-h8300.h b/gas/config/tc-h8300.h
index 2f0652b..4493838 100644
--- a/gas/config/tc-h8300.h
+++ b/gas/config/tc-h8300.h
@@ -37,10 +37,8 @@
#define FAKE_LABEL_NAME ".L0\001"
#endif
-#if ANSI_PROTOTYPES
struct fix;
struct internal_reloc;
-#endif
#define WORKING_DOT_WORD
diff --git a/gas/config/tc-h8500.h b/gas/config/tc-h8500.h
index 1388d13..024f212 100644
--- a/gas/config/tc-h8500.h
+++ b/gas/config/tc-h8500.h
@@ -23,9 +23,7 @@
#define TARGET_BYTES_BIG_ENDIAN 1
-#if ANSI_PROTOTYPES
struct internal_reloc;
-#endif
#define WORKING_DOT_WORD
diff --git a/gas/config/tc-i370.h b/gas/config/tc-i370.h
index e44328d..8822996 100644
--- a/gas/config/tc-i370.h
+++ b/gas/config/tc-i370.h
@@ -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
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index e545397..b10e887 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -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
diff --git a/gas/config/tc-m68hc11.h b/gas/config/tc-m68hc11.h
index 7560716..954e486 100644
--- a/gas/config/tc-m68hc11.h
+++ b/gas/config/tc-m68hc11.h
@@ -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
diff --git a/gas/config/tc-m68k.h b/gas/config/tc-m68k.h
index 1ec1359..f5de3ac 100644
--- a/gas/config/tc-m68k.h
+++ b/gas/config/tc-m68k.h
@@ -22,9 +22,7 @@
#define TC_M68K 1
-#ifdef ANSI_PROTOTYPES
struct fix;
-#endif
#define TARGET_BYTES_BIG_ENDIAN 1
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h
index a005b0d..0e85bba 100644
--- a/gas/config/tc-ppc.h
+++ b/gas/config/tc-ppc.h
@@ -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
diff --git a/gas/config/tc-s390.h b/gas/config/tc-s390.h
index b421fa6..8a22e53 100644
--- a/gas/config/tc-s390.h
+++ b/gas/config/tc-s390.h
@@ -21,9 +21,7 @@
#define TC_S390
-#ifdef ANSI_PROTOTYPES
struct fix;
-#endif
#ifndef BFD_ASSEMBLER
#error S390 support requires BFD_ASSEMBLER
diff --git a/gas/config/tc-sh.h b/gas/config/tc-sh.h
index 61150ae..4143aef 100644
--- a/gas/config/tc-sh.h
+++ b/gas/config/tc-sh.h
@@ -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;
diff --git a/gas/config/tc-sparc.h b/gas/config/tc-sparc.h
index 339a9c2..14da16a 100644
--- a/gas/config/tc-sparc.h
+++ b/gas/config/tc-sparc.h
@@ -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
diff --git a/gas/config/tc-tic30.c b/gas/config/tc-tic30.c
index b77a7b0..dfdb4b0 100644
--- a/gas/config/tc-tic30.c
+++ b/gas/config/tc-tic30.c
@@ -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. */
diff --git a/gas/config/tc-w65.h b/gas/config/tc-w65.h
index 922dd11..19bb15b 100644
--- a/gas/config/tc-w65.h
+++ b/gas/config/tc-w65.h
@@ -23,10 +23,8 @@
#define TARGET_BYTES_BIG_ENDIAN 0
-#if ANSI_PROTOTYPES
struct internal_reloc;
struct fix;
-#endif
#define WORKING_DOT_WORD
diff --git a/gas/config/tc-xtensa.h b/gas/config/tc-xtensa.h
index 56c38f9..fd72712 100644
--- a/gas/config/tc-xtensa.h
+++ b/gas/config/tc-xtensa.h
@@ -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
diff --git a/gas/frags.h b/gas/frags.h
index 578732c..e6c6170 100644
--- a/gas/frags.h
+++ b/gas/frags.h
@@ -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