* defaults.h, config/darwin.h: Don't define TARGET_SUPPORTS_HIDDEN.
* system.h: Poison it.
* doc/tm.texi: Delete its documentation.
From-SVN: r90840
+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
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
# 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
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
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