aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-07-09 13:18:32 -0700
committerRichard Henderson <rth@gcc.gnu.org>2011-07-09 13:18:32 -0700
commitded49a7f6c1027557819ec66d8d8d258f575add3 (patch)
tree46f5b9e96153860f2351a71bb767362038a0ca94 /gcc/varasm.c
parent45fba6d114d3ce2ed6192b24e93eba79231cdee5 (diff)
downloadgcc-ded49a7f6c1027557819ec66d8d8d258f575add3.zip
gcc-ded49a7f6c1027557819ec66d8d8d258f575add3.tar.gz
gcc-ded49a7f6c1027557819ec66d8d8d258f575add3.tar.bz2
Move ASM_COMMENT_START to defaults.h.
Note the extreme silliness in dwarf2out.c with 3 (three) copies. * defaults.h (ASM_COMMENT_START): Move here... * dwarf2asm.c: ... from here. * dwarf2out.c, final.c, vmsdbgout.c: Remove duplicates. * toplev.c: Remove ifndef tests of ASM_COMMENT_START. * varasm.c: Likewise. From-SVN: r176093
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index cfdf8d7..b0690f50 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -5062,14 +5062,12 @@ output_constructor (tree exp, unsigned HOST_WIDE_INT size,
else if (TREE_CODE (local.type) == ARRAY_TYPE)
local.index = ce->index;
-#ifdef ASM_COMMENT_START
if (local.field && flag_verbose_asm)
fprintf (asm_out_file, "%s %s:\n",
ASM_COMMENT_START,
DECL_NAME (local.field)
? IDENTIFIER_POINTER (DECL_NAME (local.field))
: "<anonymous>");
-#endif
/* Eliminate the marker that makes a cast not be an lvalue. */
if (local.val != NULL_TREE)
@@ -6180,12 +6178,10 @@ default_elf_asm_named_section (const char *name, unsigned int flags,
type = "progbits";
format = ",@%s";
-#ifdef ASM_COMMENT_START
/* On platforms that use "@" as the assembly comment character,
use "%" instead. */
if (strcmp (ASM_COMMENT_START, "@") == 0)
format = ",%%%s";
-#endif
fprintf (asm_out_file, format, type);
if (flags & SECTION_ENTSIZE)