diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9d36274da81..37befc6e273 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,19 @@ +2002-01-15 Joseph S. Myers + + * 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 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 20044f2445a..ef07ceae8ab 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 3ee493daac7..05ca85bdb8c 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 8e4873e7759..a2370cfb4ab 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 c3197f60307..2a812a5ff4d 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 a815ab13eb0..778c9ae7473 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 a8555aec66a..9ab8551e004 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 e2833c7c374..30bb630c2cb 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 bf472cc598a..4b125a751b7 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 a81b51f084b..1cbfe33bf1e 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 */