]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
defaults.h, darwin.h: Don't define TARGET_SUPPORTS_HIDDEN.
authorZack Weinberg <zack@gcc.gnu.org>
Thu, 18 Nov 2004 01:10:12 +0000 (01:10 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Thu, 18 Nov 2004 01:10:12 +0000 (01:10 +0000)
* defaults.h, config/darwin.h: Don't define TARGET_SUPPORTS_HIDDEN.
* system.h: Poison it.
* doc/tm.texi: Delete its documentation.

From-SVN: r90840

gcc/ChangeLog
gcc/config/darwin.h
gcc/defaults.h
gcc/doc/tm.texi
gcc/system.h

index 310f99b414e51c58238c97a21c9a74a2fac13665..1e2265ce8748e383979faa92141a350c703e8246 100644 (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
index c1d6b8f07ff223ba937a31e67b8078d319a09dd9..a4d18281a185a46e49374a5a5dd8da248155d5c0 100644 (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 
index b69ae13f3320d73f419c3b1cf86780c55b17f086..1e1bdc87e08a4222ed734a2be30978b1f2e38561 100644 (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
index a87256a4822f2090c0a45baaa6b01895597bd3f3..afc029b19554a6b0958b2be224d9e7cadcb695b3 100644 (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
index 2cdafb96fdffff5ce88befa3e0c8801caebdb341..05b5150da76ee4e56b0f146c6f70634e95718348 100644 (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