aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/lynx.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-08-11 13:09:32 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-08-11 13:09:32 -0400
commit853782273d0a644f6a6f4e53382a4e0f4dafcc22 (patch)
treed558d3a06177c0a9141aacdccc3ed1547ec77f57 /gcc/config/lynx.h
parentba558a85d2d6ee518d9904ad41bdebada52749ac (diff)
downloadgcc-853782273d0a644f6a6f4e53382a4e0f4dafcc22.zip
gcc-853782273d0a644f6a6f4e53382a4e0f4dafcc22.tar.gz
gcc-853782273d0a644f6a6f4e53382a4e0f4dafcc22.tar.bz2
(ASM_OUTPUT_SOURCE_LINE): Call assemble_name.
From-SVN: r7887
Diffstat (limited to 'gcc/config/lynx.h')
-rw-r--r--gcc/config/lynx.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/lynx.h b/gcc/config/lynx.h
index 0819b68..9b2f994 100644
--- a/gcc/config/lynx.h
+++ b/gcc/config/lynx.h
@@ -1,5 +1,5 @@
/* Target independent definitions for LynxOS.
- Copyright (C) 1993 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -83,10 +83,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ASM_OUTPUT_SOURCE_LINE
#define ASM_OUTPUT_SOURCE_LINE(file, line) \
{ static int sym_lineno = 1; \
- fprintf (file, ".stabn 68,0,%d,.LM%d-%s\n.LM%d:\n", \
- line, sym_lineno, \
- XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0), \
- sym_lineno); \
+ fprintf (file, ".stabn 68,0,%d,.LM%d-", \
+ line, sym_lineno); \
+ assemble_name (file, \
+ XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); \
+ fprintf (file, "\n.LM%d:\n", sym_lineno); \
sym_lineno += 1; }
/* Handle #pragma pack and sometimes #pragma weak. */