m3-sys/m3cc/gcc-apple/gcc/varasm.c
/* Emit an assembler directive to set symbol for DECL visibility to
   the visibility type VIS, which must not be VISIBILITY_DEFAULT.  */
Emit an assembler directive to set symbol for DECL visibility to
the visibility type VIS, which must not be VISIBILITY_DEFAULT.
Emit an assembler directive to set symbol for DECL visibility to the visibility type VIS which must not be VISIBILITY_DEFAULT .
void
default_assemble_visibility (tree decl, int vis)
{
  static const char * const visibility_types[] = {
    NULL, "protected", "hidden", "internal"
  };
  const char *name, *type;
  name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
  type = visibility_types[vis];
#ifdef HAVE_GAS_HIDDEN
  fprintf (asm_out_file, "\t.%s\t", type);
  assemble_name (asm_out_file, name);
  fprintf (asm_out_file, "\n");
#else
  warning (OPT_Wattributes, "visibility attribute not supported "
	   "in this configuration; ignored");
#endif
}
void default_assemble_visibility ( tree decl , int vis ) { static const char * const visibility_types [ ] = { NULL , " " , " " , " " } ; const char * name , * type ; name = IDENTIFIER_POINTER ( DECL_ASSEMBLER_NAME ( decl ) ) ; type = visibility_types [ vis ] ; #ifdef HAVE_GAS_HIDDEN fprintf ( asm_out_file , " \t \t " , type ) ; assemble_name ( asm_out_file , name ) ; fprintf ( asm_out_file , " \n " ) ; #else warning ( OPT_Wattributes , " " " " ) ; #endif }
Emit an assembler directive to set symbol for DECL visibility to
the visibility type VIS, which must not be VISIBILITY_DEFAULT.
Emit an assembler directive to set symbol for DECL visibility to the visibility type VIS which must not be VISIBILITY_DEFAULT .