aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2002-01-15 20:20:24 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2002-01-15 20:20:24 +0000
commit006946e43ead0b242131cdcf2f5dc844d0be2f78 (patch)
tree171b09c4e573a924fe8b17654d694df550567f8f /gcc
parent441f52642d3247e9ee95f2608f94b4533bcde168 (diff)
downloadgcc-006946e43ead0b242131cdcf2f5dc844d0be2f78.zip
gcc-006946e43ead0b242131cdcf2f5dc844d0be2f78.tar.gz
gcc-006946e43ead0b242131cdcf2f5dc844d0be2f78.tar.bz2
system.h (ASM_IDENTIFY_GCC, [...]): Poison.
* system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN, ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison. * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to TRAMPOLINE_ALIGNMENT. * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value to be in bits. * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to PCC_BITFIELD_TYPE_MATTERS. * config/interix.h (STDC_VALUE): Remove. Use STDC_0_IN_SYSTEM_HEADERS. * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove. From-SVN: r48877
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog16
-rw-r--r--gcc/config/arm/arm.h4
-rw-r--r--gcc/config/darwin.h8
-rw-r--r--gcc/config/dsp16xx/dsp16xx.h3
-rw-r--r--gcc/config/i386/cygwin.h6
-rw-r--r--gcc/config/interix.h3
-rw-r--r--gcc/config/mcore/mcore.h4
-rw-r--r--gcc/config/pdp11/pdp11.h2
-rw-r--r--gcc/config/stormy16/stormy16.h22
-rw-r--r--gcc/system.h7
10 files changed, 31 insertions, 44 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9d36274..37befc6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,19 @@
+2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
+ ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
+ * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
+ TRAMPOLINE_ALIGNMENT.
+ * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
+ to be in bits.
+ * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
+ PCC_BITFIELD_TYPE_MATTERS.
+ * config/interix.h (STDC_VALUE): Remove. Use
+ STDC_0_IN_SYSTEM_HEADERS.
+ * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
+ (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
+ ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
+
2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
* doc/install.texi (hppa*-hp-hpux11): --enable-threads does
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 20044f2..ef07cea 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -1769,8 +1769,8 @@ typedef struct
/* Length in units of the trampoline for entering a nested function. */
#define TRAMPOLINE_SIZE (TARGET_ARM ? 16 : 24)
-/* Alignment required for a trampoline in units. */
-#define TRAMPOLINE_ALIGN 4
+/* Alignment required for a trampoline in bits. */
+#define TRAMPOLINE_ALIGNMENT 32
/* Emit RTL insns to initialize the variable parts of a trampoline.
FNADDR is an RTX for the address of the function's pure code.
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 3ee493d..05ca85b 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -1,5 +1,5 @@
/* Target definitions for Darwin (Mac OS X) systems.
- Copyright (C) 1989, 1990, 1991, 1992, 1993, 2000, 2001
+ Copyright (C) 1989, 1990, 1991, 1992, 1993, 2000, 2001, 2002
Free Software Foundation, Inc.
Contributed by Apple Computer Inc.
@@ -150,12 +150,6 @@ do { text_section (); \
#define NO_PROFILE_COUNTERS
-/* Don't use .gcc_compiled symbols to communicate with GDB;
- They interfere with numerically sorted symbol lists. */
-
-#undef ASM_IDENTIFY_GCC
-#define ASM_IDENTIFY_GCC(asm_out_file)
-
#undef INIT_SECTION_ASM_OP
#define INIT_SECTION_ASM_OP
diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h
index 8e4873e..a2370cf 100644
--- a/gcc/config/dsp16xx/dsp16xx.h
+++ b/gcc/config/dsp16xx/dsp16xx.h
@@ -1620,9 +1620,6 @@ const_section () \
/* Output at beginning of assembler file. */
#define ASM_FILE_START(FILE) coff_dsp16xx_file_start (FILE)
-/* Prevent output of .gcc_compiled */
-#define ASM_IDENTIFY_GCC(FILE)
-
/* A C string constant describing how to begin a comment in the target
assembler language. */
#define ASM_COMMENT_START ""
diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
index c3197f6..2a812a5 100644
--- a/gcc/config/i386/cygwin.h
+++ b/gcc/config/i386/cygwin.h
@@ -1,6 +1,6 @@
/* Operating system specific defines to be used when targeting GCC for
hosting on Windows32, using a Unix style C library and tools.
- Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -458,8 +458,8 @@ extern int i386_pe_dllimport_name_p PARAMS ((const char *));
#define BIGGEST_FIELD_ALIGNMENT 64
/* A bitfield declared as `int' forces `int' alignment for the struct. */
-#undef PCC_BITFIELDS_TYPE_MATTERS
-#define PCC_BITFIELDS_TYPE_MATTERS 1
+#undef PCC_BITFIELD_TYPE_MATTERS
+#define PCC_BITFIELD_TYPE_MATTERS 1
#define GROUP_BITFIELDS_BY_ALIGN TYPE_NATIVE(rec)
diff --git a/gcc/config/interix.h b/gcc/config/interix.h
index a815ab1..778c9ae 100644
--- a/gcc/config/interix.h
+++ b/gcc/config/interix.h
@@ -83,8 +83,7 @@ for windows/multi thread */
#endif /* 0 */
-#undef STDC_VALUE
-#define STDC_VALUE 0
+#define STDC_0_IN_SYSTEM_HEADERS 1
#define HANDLE_SYSV_PRAGMA
#undef HANDLE_PRAGMA_WEAK /* until the link format can handle it */
diff --git a/gcc/config/mcore/mcore.h b/gcc/config/mcore/mcore.h
index a8555ae..9ab8551 100644
--- a/gcc/config/mcore/mcore.h
+++ b/gcc/config/mcore/mcore.h
@@ -826,8 +826,8 @@ extern const enum reg_class reg_class_from_letter[];
/* Length in units of the trampoline for entering a nested function. */
#define TRAMPOLINE_SIZE 12
-/* Alignment required for a trampoline in units. */
-#define TRAMPOLINE_ALIGN 4
+/* Alignment required for a trampoline in bits. */
+#define TRAMPOLINE_ALIGNMENT 32
/* Emit RTL insns to initialize the variable parts of a trampoline.
FNADDR is an RTX for the address of the function's pure code.
diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h
index e2833c7c..30bb630 100644
--- a/gcc/config/pdp11/pdp11.h
+++ b/gcc/config/pdp11/pdp11.h
@@ -1200,7 +1200,7 @@ JMP FUNCTION 0x0058 0x0000 <- FUNCTION
}
#define TRAMPOLINE_SIZE 8
-#define TRAMPOLINE_ALIGN 16
+#define TRAMPOLINE_ALIGNMENT 16
/* Emit RTL insns to initialize the variable parts of a trampoline.
FNADDR is an RTX for the address of the function's pure code.
diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h
index bf472cc..4b125a7 100644
--- a/gcc/config/stormy16/stormy16.h
+++ b/gcc/config/stormy16/stormy16.h
@@ -3444,28 +3444,6 @@ do { \
Defined in svr4.h. */
/* #define ASM_FILE_END(STREAM) */
-/* A C statement to output assembler commands which will identify the object
- file as having been compiled with GNU CC (or another GNU compiler).
-
- If you don't define this macro, the string `gcc_compiled.:' is output. This
- string is calculated to define a symbol which, on BSD systems, will never be
- defined for any other reason. GDB checks for the presence of this symbol
- when reading the symbol table of an executable.
-
- On non-BSD systems, you must arrange communication with GDB in some other
- fashion. If GDB is not used on your system, you can define this macro with
- an empty body.
-
- Defined in svr4.h. */
-/* #define ASM_IDENTIFY_GCC(FILE) */
-
-/* Like ASM_IDENTIFY_GCC, but used when dbx debugging is selected to emit
- a stab the debugger uses to identify gcc as the compiler that is emitted
- after the stabs for the filename, which makes it easier for GDB to parse.
-
- Defined in svr4.h. */
-/* #define ASM_IDENTIFY_GCC_AFTER_SOURCE(FILE) */
-
/* A C string constant describing how to begin a comment in the target
assembler language. The compiler assumes that the comment will end at the
end of the line. */
diff --git a/gcc/system.h b/gcc/system.h
index a81b51f..1cbfe33 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -596,12 +596,15 @@ typedef char _Bool;
MD_INIT_BUILTINS MD_EXPAND_BUILTIN ASM_OUTPUT_CONSTRUCTOR \
ASM_OUTPUT_DESTRUCTOR
-/* And other obsolete target macros. */
+/* And other obsolete target macros, or macros that used to be in target
+ headers and were not used, and may be obsolete or may never have
+ been used. */
#pragma GCC poison INT_ASM_OP ASM_OUTPUT_EH_REGION_BEG \
ASM_OUTPUT_EH_REGION_END ASM_OUTPUT_LABELREF_AS_INT \
DOESNT_NEED_UNWINDER EH_TABLE_LOOKUP OBJC_SELECTORS_WITHOUT_LABELS \
OMIT_EH_TABLE EASY_DIV_EXPR IMPLICIT_FIX_EXPR \
- LONGJMP_RESTORE_FROM_STACK MAX_INT_TYPE_SIZE
+ LONGJMP_RESTORE_FROM_STACK MAX_INT_TYPE_SIZE ASM_IDENTIFY_GCC \
+ STDC_VALUE TRAMPOLINE_ALIGN ASM_IDENTIFY_GCC_AFTER_SOURCE
#endif /* IN_GCC */