diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2004-11-18 01:10:12 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-11-18 01:10:12 +0000 |
commit | cf249358ead1dbecd809ab4766e0d1dac26f3cb8 (patch) | |
tree | 6c6d9cfe38742347fc3e657a253bd1f6cdcf94ad | |
parent | a8e68029244bf2bcafbb82c7419438d185dc4c5d (diff) | |
download | gcc-cf249358ead1dbecd809ab4766e0d1dac26f3cb8.zip gcc-cf249358ead1dbecd809ab4766e0d1dac26f3cb8.tar.gz gcc-cf249358ead1dbecd809ab4766e0d1dac26f3cb8.tar.bz2 |
defaults.h, darwin.h: Don't define TARGET_SUPPORTS_HIDDEN.
* defaults.h, config/darwin.h: Don't define TARGET_SUPPORTS_HIDDEN.
* system.h: Poison it.
* doc/tm.texi: Delete its documentation.
From-SVN: r90840
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/darwin.h | 4 | ||||
-rw-r--r-- | gcc/defaults.h | 11 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 9 | ||||
-rw-r--r-- | gcc/system.h | 2 |
5 files changed, 8 insertions, 26 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 310f99b..1e2265c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ +2004-11-17 Zack Weinberg <zack@codesourcery.com> + + * defaults.h, config/darwin.h: Don't define TARGET_SUPPORTS_HIDDEN. + * system.h: Poison it. + * doc/tm.texi: Delete its documentation. + 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> - Mark Mitchell <mark@codesourcery.com> + Mark Mitchell <mark@codesourcery.com> * config/i386/sol2-10.h, config/i386/t-sol2-10: New files. * config/i386/i386.c (i386_solaris_elf_named_section): New diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index c1d6b8f..a4d1828 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -408,10 +408,6 @@ extern const char *darwin_fix_and_continue_switch; links to, so there's no need for weak-ness for that. */ #define GTHREAD_USE_WEAK 0 -/* We support hidden visibility */ -#undef TARGET_SUPPORTS_HIDDEN -#define TARGET_SUPPORTS_HIDDEN 1 - /* The Darwin linker imposes two limitations on common symbols: they can't have hidden visibility, and they can't appear in dylibs. As a consequence, we should never use common symbols to represent diff --git a/gcc/defaults.h b/gcc/defaults.h index b69ae13..1e1bdc8 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -270,17 +270,6 @@ do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_UNIT, TRUE), FILE); \ # endif #endif -/* This determines whether this target supports hidden visibility. - This is a weaker condition than HAVE_GAS_HIDDEN, which probes for - specific assembler syntax. */ -#ifndef TARGET_SUPPORTS_HIDDEN -# ifdef HAVE_GAS_HIDDEN -# define TARGET_SUPPORTS_HIDDEN 1 -# else -# define TARGET_SUPPORTS_HIDDEN 0 -# endif -#endif - /* Determines whether we may use common symbols to represent one-only semantics (a.k.a. "vague linkage"). */ #ifndef USE_COMMON_FOR_ONE_ONLY diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index a87256a..afc029b 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -6839,15 +6839,6 @@ restrictions require weak symbols to be left out of a static archive's table of contents. @end defmac -@defmac TARGET_SUPPORTS_HIDDEN -A C expression that evaluates to true if the target supports hidden -visibility. By default this expression is true if and only if -@code{HAS_GAS_HIDDEN} is defined. Set this macro if the -@code{HAS_GAS_HIDDEN} macro gives the wrong answer for this -target. (For example, if the target's mechanism for supporting -hidden visibility is not the same as GAS's.) -@end defmac - @defmac ASM_OUTPUT_EXTERNAL (@var{stream}, @var{decl}, @var{name}) A C statement (sans semicolon) to output to the stdio stream @var{stream} any text necessary for declaring the name of an external diff --git a/gcc/system.h b/gcc/system.h index 2cdafb9..05b5150 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -614,7 +614,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; DEFAULT_SHORT_ENUMS SPLIT_COMPLEX_ARGS MD_ASM_CLOBBERS \ HANDLE_PRAGMA_REDEFINE_EXTNAME HANDLE_PRAGMA_EXTERN_PREFIX \ MUST_PASS_IN_STACK FUNCTION_ARG_PASS_BY_REFERENCE \ - VECTOR_MODE_SUPPORTED_P + VECTOR_MODE_SUPPORTED_P TARGET_SUPPORTS_HIDDEN /* 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 |