Commit 267594f3 by J"orn Rennecke Committed by Joern Rennecke

* varasm.c (default_assemble_visibility): Use assemble_name.

From-SVN: r66220
parent 5b51b1f5
2003-04-29 J"orn Rennecke <joern.rennecke@superh.com>
* varasm.c (default_assemble_visibility): Use assemble_name.
2003-04-29 David O'Brien <obrien@FreeBSD.org>
* config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.
......
......@@ -4475,12 +4475,13 @@ default_assemble_visibility (decl, vis)
const char *name, *type;
name = (* targetm.strip_name_encoding)
(IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)));
name = (IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)));
type = visibility_types[vis];
#ifdef HAVE_GAS_HIDDEN
fprintf (asm_out_file, "\t.%s\t%s\n", type, name);
fprintf (asm_out_file, "\t.%s\t", type);
assemble_name (asm_out_file, name);
fprintf (asm_out_file, "\n");
#else
warning ("visibility attribute not supported in this configuration; ignored");
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment