diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/config/d30v/d30v.h | 37 | ||||
-rw-r--r-- | gcc/config/ns32k/encore.h | 11 | ||||
-rw-r--r-- | gcc/config/stormy16/stormy16.h | 35 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 50 | ||||
-rw-r--r-- | gcc/system.h | 7 |
6 files changed, 18 insertions, 133 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fc6e62f..b04a7d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> + + * doc/tm.texi (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): Remove + documentation of obsolete macros. + * system.h: Poison these macros. + * config/d30v/d30v.h, config/ns32k/encore.h, + config/stormy16/stormy16.h: Remove definitions and commented out + definitions of obsolete macros. + Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk> * objc/objc-act.c (handle_class_ref): Mark the declaration of diff --git a/gcc/config/d30v/d30v.h b/gcc/config/d30v/d30v.h index 3f65511..13ba36d 100644 --- a/gcc/config/d30v/d30v.h +++ b/gcc/config/d30v/d30v.h @@ -1,5 +1,5 @@ /* Definitions of target machine for Mitsubishi D30V. - Copyright (C) 1997, 1998, 1999, 2000, 2001 + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Cygnus Solutions. @@ -996,14 +996,6 @@ do { \ at run-time. This is used in `cpp'. */ /* #define MAX_WCHAR_TYPE_SIZE */ -/* Define this macro if the compiler can group all the selectors together into - a vector and use just one label at the beginning of the vector. Otherwise, - the compiler must give each selector its own assembler label. - - On certain machines, it is important to have a separate label for each - selector because this enables the linker to eliminate duplicate selectors. */ -/* #define OBJC_SELECTORS_WITHOUT_LABELS */ - /* D30V register layout. */ @@ -4545,33 +4537,6 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE) /* Assembler Commands for Exception Regions. */ -/* A C expression to output text to mark the start of an exception region. - - This macro need not be defined on most platforms. */ -/* #define ASM_OUTPUT_EH_REGION_BEG() */ - -/* A C expression to output text to mark the end of an exception region. - - This macro need not be defined on most platforms. */ -/* #define ASM_OUTPUT_EH_REGION_END() */ - -/* A C expression that is nonzero if the normal exception table output should - be omitted. - - This macro need not be defined on most platforms. */ -/* #define OMIT_EH_TABLE() */ - -/* Alternate runtime support for looking up an exception at runtime and finding - the associated handler, if the default method won't work. - - This macro need not be defined on most platforms. */ -/* #define EH_TABLE_LOOKUP() */ - -/* A C expression that decides whether or not the current function needs to - have a function unwinder generated for it. See the file `except.c' for - details on when to define this, and how. */ -/* #define DOESNT_NEED_UNWINDER */ - /* An rtx used to mask the return address found via RETURN_ADDR_RTX, so that it does not contain any extraneous set bits in it. */ /* #define MASK_RETURN_ADDR */ diff --git a/gcc/config/ns32k/encore.h b/gcc/config/ns32k/encore.h index 07d4477..452b893 100644 --- a/gcc/config/ns32k/encore.h +++ b/gcc/config/ns32k/encore.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. ENCORE NS32000 version. - Copyright (C) 1988, 1993, 2000 Free Software Foundation, Inc. + Copyright (C) 1988, 1993, 2000, 2001, 2002 Free Software Foundation, Inc. Adapted by Robert Brown (brown@harvard.harvard.edu) from the Sequent version by Michael Tiemann (tiemann@mcc.com). @@ -47,7 +47,6 @@ Boston, MA 02111-1307, USA. */ #undef PRINT_OPERAND_ADDRESS #undef TARGET_VERSION #undef FUNCTION_PROFILER -#undef ASM_OUTPUT_LABELREF_AS_INT #define TARGET_DEFAULT 9 /* 32332 with 32081. */ #define TARGET_VERSION fprintf (stderr, " (32000, Encore syntax)"); @@ -96,14 +95,6 @@ output_file_directive ((FILE), main_input_filename) * uninitialized locals. */ -#define ASM_OUTPUT_LABELREF_AS_INT(STREAM, NAME) \ -do { \ - fprintf (STREAM, "\t.double\t"); \ - ASM_OUTPUT_LABELREF (STREAM, NAME); \ - fprintf (STREAM, "\n"); \ -} while (0) - - #define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \ ( fputs ("\t.bss ", (FILE)), \ assemble_name ((FILE), (NAME)), \ diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 330b75e..11465f7 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -932,14 +932,6 @@ do { \ objc_selector *'. */ /* #define OBJC_INT_SELECTORS */ -/* Define this macro if the compiler can group all the selectors together into - a vector and use just one label at the beginning of the vector. Otherwise, - the compiler must give each selector its own assembler label. - - On certain machines, it is important to have a separate label for each - selector because this enables the linker to eliminate duplicate selectors. */ -/* #define OBJC_SELECTORS_WITHOUT_LABELS */ - /* Register Basics */ @@ -4287,33 +4279,6 @@ do { \ /* Assembler Commands for Exception Regions. */ -/* A C expression to output text to mark the start of an exception region. - - This macro need not be defined on most platforms. */ -/* #define ASM_OUTPUT_EH_REGION_BEG() */ - -/* A C expression to output text to mark the end of an exception region. - - This macro need not be defined on most platforms. */ -/* #define ASM_OUTPUT_EH_REGION_END() */ - -/* A C expression that is nonzero if the normal exception table output should - be omitted. - - This macro need not be defined on most platforms. */ -/* #define OMIT_EH_TABLE() */ - -/* Alternate runtime support for looking up an exception at runtime and finding - the associated handler, if the default method won't work. - - This macro need not be defined on most platforms. */ -/* #define EH_TABLE_LOOKUP() */ - -/* A C expression that decides whether or not the current function needs to - have a function unwinder generated for it. See the file `except.c' for - details on when to define this, and how. */ -/* #define DOESNT_NEED_UNWINDER */ - /* An rtx used to mask the return address found via RETURN_ADDR_RTX, so that it does not contain any extraneous set bits in it. */ /* #define MASK_RETURN_ADDR */ diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 41a1355..c46c10e 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -1557,16 +1557,6 @@ If you don't define this macro, the default is the first of unsigned int"} that has as much precision as @code{long long unsigned int}. -@findex OBJC_SELECTORS_WITHOUT_LABELS -@item OBJC_SELECTORS_WITHOUT_LABELS -Define this macro if the compiler can group all the selectors together -into a vector and use just one label at the beginning of the vector. -Otherwise, the compiler must give each selector its own assembler -label. - -On certain machines, it is important to have a separate label for each -selector because this enables the linker to eliminate duplicate selectors. - @findex TARGET_PTRMEMFUNC_VBIT_LOCATION @item TARGET_PTRMEMFUNC_VBIT_LOCATION The C++ compiler represents a pointer-to-member-function with a struct @@ -6268,14 +6258,6 @@ A C statement (sans semicolon) to output to the stdio stream is customary on your operating system, as it is in most Berkeley Unix systems. This macro is used in @code{assemble_name}. -@ignore @c Seems not to exist anymore. -@findex ASM_OUTPUT_LABELREF_AS_INT -@item ASM_OUTPUT_LABELREF_AS_INT (@var{file}, @var{label}) -Define this macro for systems that use the program @command{collect2}. -The definition should be a C statement to output a word containing -a reference to the label @var{label}. -@end ignore - @findex ASM_OUTPUT_SYMBOL_REF @item ASM_OUTPUT_SYMBOL_REF (@var{stream}, @var{sym}) A C statement (sans semicolon) to output a reference to @@ -7018,18 +7000,6 @@ This describes commands marking the start and the end of an exception region. @table @code -@findex ASM_OUTPUT_EH_REGION_BEG -@item ASM_OUTPUT_EH_REGION_BEG () -A C expression to output text to mark the start of an exception region. - -This macro need not be defined on most platforms. - -@findex ASM_OUTPUT_EH_REGION_END -@item ASM_OUTPUT_EH_REGION_END () -A C expression to output text to mark the end of an exception region. - -This macro need not be defined on most platforms. - @findex EH_FRAME_SECTION_NAME @item EH_FRAME_SECTION_NAME If defined, a C string constant for the name of the section containing @@ -7050,26 +7020,6 @@ collection and sections cannot be marked as not to be collected. Do not define this macro unless @code{TARGET_ASM_NAMED_SECTION} is also defined. -@findex OMIT_EH_TABLE -@item OMIT_EH_TABLE () -A C expression that is nonzero if the normal exception table output -should be omitted. - -This macro need not be defined on most platforms. - -@findex EH_TABLE_LOOKUP -@item EH_TABLE_LOOKUP () -Alternate runtime support for looking up an exception at runtime and -finding the associated handler, if the default method won't work. - -This macro need not be defined on most platforms. - -@findex DOESNT_NEED_UNWINDER -@item DOESNT_NEED_UNWINDER -A C expression that decides whether or not the current function needs to -have a function unwinder generated for it. See the file @file{except.c} -for details on when to define this, and how. - @findex MASK_RETURN_ADDR @item MASK_RETURN_ADDR An rtx used to mask the return address found via @code{RETURN_ADDR_RTX}, so diff --git a/gcc/system.h b/gcc/system.h index ccccae7..e8bc825 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -1,6 +1,6 @@ /* Get common system includes and various definitions and declarations based on autoconf macros. - Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -597,7 +597,10 @@ typedef char _Bool; ASM_OUTPUT_DESTRUCTOR /* And other obsolete target macros. */ - #pragma GCC poison INT_ASM_OP + #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 #endif /* IN_GCC */ |