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
This commit is contained in:
Zack Weinberg 2004-11-18 01:10:12 +00:00
parent a8e6802924
commit cf249358ea
5 changed files with 8 additions and 26 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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