]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/darwin.h
darwin-protos.h (darwin_assemble_visibility): Declare.
[thirdparty/gcc.git] / gcc / config / darwin.h
index ae5201a5eb13a1948ed829c36af605d69811f372..0099ff23881947b7efd592b328498d09ad01447e 100644 (file)
@@ -708,6 +708,13 @@ objc_section_init (void)                   \
 #define GLOBAL_ASM_OP ".globl "
 #define TARGET_ASM_GLOBALIZE_LABEL darwin_globalize_label
 
+/* Emit an assembler directive to set visibility for a symbol.  Used
+   to support visibility attribute and Darwin's private extern
+   feature. */
+#undef TARGET_ASM_ASSEMBLE_VISIBILITY
+#define TARGET_ASM_ASSEMBLE_VISIBILITY darwin_assemble_visibility
+
+
 #undef ASM_GENERATE_INTERNAL_LABEL
 #define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM)  \
   sprintf (LABEL, "*%s%ld", PREFIX, (long)(NUM))