Browse Source

* 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.
gdb-csl-arm-20051020-branch
Ben Elliston 21 years ago
parent
commit
b4f261e094
  1. 18
      gas/ChangeLog
  2. 2
      gas/config/obj-elf.h
  3. 2
      gas/config/tc-h8300.h
  4. 2
      gas/config/tc-h8500.h
  5. 2
      gas/config/tc-i370.h
  6. 2
      gas/config/tc-i386.h
  7. 2
      gas/config/tc-m68hc11.h
  8. 2
      gas/config/tc-m68k.h
  9. 2
      gas/config/tc-ppc.h
  10. 2
      gas/config/tc-s390.h
  11. 2
      gas/config/tc-sh.h
  12. 2
      gas/config/tc-sparc.h
  13. 4
      gas/config/tc-tic30.c
  14. 2
      gas/config/tc-w65.h
  15. 2
      gas/config/tc-xtensa.h
  16. 2
      gas/frags.h

18
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> 2005-07-08 Hans-Peter Nilsson <hp@axis.com>
PR gas/1049 PR gas/1049

2
gas/config/obj-elf.h

@ -241,9 +241,7 @@ extern void elf_pop_insert (void);
#ifndef OBJ_MAYBE_ELF #ifndef OBJ_MAYBE_ELF
#define obj_ecoff_set_ext elf_ecoff_set_ext #define obj_ecoff_set_ext elf_ecoff_set_ext
#ifdef ANSI_PROTOTYPES
struct ecoff_extr; struct ecoff_extr;
#endif
extern void elf_ecoff_set_ext (symbolS *, struct ecoff_extr *); extern void elf_ecoff_set_ext (symbolS *, struct ecoff_extr *);
#endif #endif

2
gas/config/tc-h8300.h

@ -37,10 +37,8 @@
#define FAKE_LABEL_NAME ".L0\001" #define FAKE_LABEL_NAME ".L0\001"
#endif #endif
#if ANSI_PROTOTYPES
struct fix; struct fix;
struct internal_reloc; struct internal_reloc;
#endif
#define WORKING_DOT_WORD #define WORKING_DOT_WORD

2
gas/config/tc-h8500.h

@ -23,9 +23,7 @@
#define TARGET_BYTES_BIG_ENDIAN 1 #define TARGET_BYTES_BIG_ENDIAN 1
#if ANSI_PROTOTYPES
struct internal_reloc; struct internal_reloc;
#endif
#define WORKING_DOT_WORD #define WORKING_DOT_WORD

2
gas/config/tc-i370.h

@ -22,9 +22,7 @@
#define TC_I370 #define TC_I370
#ifdef ANSI_PROTOTYPES
struct fix; struct fix;
#endif
/* Set the endianness we are using. Default to big endian. */ /* Set the endianness we are using. Default to big endian. */
#ifndef TARGET_BYTES_BIG_ENDIAN #ifndef TARGET_BYTES_BIG_ENDIAN

2
gas/config/tc-i386.h

@ -27,9 +27,7 @@
#error So, do you know what you are doing? #error So, do you know what you are doing?
#endif #endif
#ifdef ANSI_PROTOTYPES
struct fix; struct fix;
#endif
#define TARGET_BYTES_BIG_ENDIAN 0 #define TARGET_BYTES_BIG_ENDIAN 0

2
gas/config/tc-m68hc11.h

@ -22,9 +22,7 @@
#define TC_M68HC11 #define TC_M68HC11
#define TC_M68HC12 #define TC_M68HC12
#ifdef ANSI_PROTOTYPES
struct fix; struct fix;
#endif
/* Define TC_M68K so that we can use the MRI mode. */ /* Define TC_M68K so that we can use the MRI mode. */
#define TC_M68K #define TC_M68K

2
gas/config/tc-m68k.h

@ -22,9 +22,7 @@
#define TC_M68K 1 #define TC_M68K 1
#ifdef ANSI_PROTOTYPES
struct fix; struct fix;
#endif
#define TARGET_BYTES_BIG_ENDIAN 1 #define TARGET_BYTES_BIG_ENDIAN 1

2
gas/config/tc-ppc.h

@ -22,9 +22,7 @@
#define TC_PPC #define TC_PPC
#ifdef ANSI_PROTOTYPES
struct fix; struct fix;
#endif
/* Set the endianness we are using. Default to big endian. */ /* Set the endianness we are using. Default to big endian. */
#ifndef TARGET_BYTES_BIG_ENDIAN #ifndef TARGET_BYTES_BIG_ENDIAN

2
gas/config/tc-s390.h

@ -21,9 +21,7 @@
#define TC_S390 #define TC_S390
#ifdef ANSI_PROTOTYPES
struct fix; struct fix;
#endif
#ifndef BFD_ASSEMBLER #ifndef BFD_ASSEMBLER
#error S390 support requires BFD_ASSEMBLER #error S390 support requires BFD_ASSEMBLER

2
gas/config/tc-sh.h

@ -23,7 +23,6 @@
#define TARGET_ARCH bfd_arch_sh #define TARGET_ARCH bfd_arch_sh
#if ANSI_PROTOTYPES
/* The type fixS is defined (to struct fix) in write.h, but write.h uses /* 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 definitions from this file. To avoid problems with including write.h
after the "right" definitions, don't; just forward-declare struct fix after the "right" definitions, don't; just forward-declare struct fix
@ -31,7 +30,6 @@
struct fix; struct fix;
struct segment_info_struct; struct segment_info_struct;
struct internal_reloc; struct internal_reloc;
#endif
/* Whether -relax was used. */ /* Whether -relax was used. */
extern int sh_relax; extern int sh_relax;

2
gas/config/tc-sparc.h

@ -22,9 +22,7 @@
#ifndef TC_SPARC #ifndef TC_SPARC
#define TC_SPARC 1 #define TC_SPARC 1
#ifdef ANSI_PROTOTYPES
struct frag; struct frag;
#endif
/* This is used to set the default value for `target_big_endian'. */ /* This is used to set the default value for `target_big_endian'. */
#define TARGET_BYTES_BIG_ENDIAN 1 #define TARGET_BYTES_BIG_ENDIAN 1

4
gas/config/tc-tic30.c

@ -28,11 +28,7 @@
#include "as.h" #include "as.h"
#include "safe-ctype.h" #include "safe-ctype.h"
#include "opcode/tic30.h" #include "opcode/tic30.h"
#ifdef ANSI_PROTOTYPES
#include <stdarg.h> #include <stdarg.h>
#else
#include <varargs.h>
#endif
/* Put here all non-digit non-letter characters that may occur in an /* Put here all non-digit non-letter characters that may occur in an
operand. */ operand. */

2
gas/config/tc-w65.h

@ -23,10 +23,8 @@
#define TARGET_BYTES_BIG_ENDIAN 0 #define TARGET_BYTES_BIG_ENDIAN 0
#if ANSI_PROTOTYPES
struct internal_reloc; struct internal_reloc;
struct fix; struct fix;
#endif
#define WORKING_DOT_WORD #define WORKING_DOT_WORD

2
gas/config/tc-xtensa.h

@ -21,9 +21,7 @@
#ifndef TC_XTENSA #ifndef TC_XTENSA
#define TC_XTENSA 1 #define TC_XTENSA 1
#ifdef ANSI_PROTOTYPES
struct fix; struct fix;
#endif
#ifndef BFD_ASSEMBLER #ifndef BFD_ASSEMBLER
#error Xtensa support requires BFD_ASSEMBLER #error Xtensa support requires BFD_ASSEMBLER

2
gas/frags.h

@ -22,9 +22,7 @@
#ifndef FRAGS_H #ifndef FRAGS_H
#define FRAGS_H #define FRAGS_H
#ifdef ANSI_PROTOTYPES
struct obstack; struct obstack;
#endif
/* A code fragment (frag) is some known number of chars, followed by some /* 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 unknown number of chars. Typically the unknown number of chars is an

Loading…
Cancel
Save