* varasm.c (globalize_decl): Get the name from the RTL, not
DECL_ASSEMBLER_NAME.
From-SVN: r51043
2002-03-19 Jason Merrill <jason@redhat.com>
+ * varasm.c (globalize_decl): Get the name from the RTL, not
+ DECL_ASSEMBLER_NAME.
+
* Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
2002-03-19 Bob Wilson <bob.wilson@acm.org>
globalize_decl (decl)
tree decl;
{
- const char *name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
+ const char *name = XSTR (XEXP (DECL_RTL (decl), 0), 0);
#if defined (ASM_WEAKEN_LABEL) || defined (ASM_WEAKEN_DECL)
if (DECL_WEAK (decl))