summaryrefslogtreecommitdiff
path: root/gcc/config/lynx.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-08-11 17:09:32 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-08-11 17:09:32 +0000
commitc8ba3e295f2f7b87a71124c640f96d10385101fe (patch)
treed558d3a06177c0a9141aacdccc3ed1547ec77f57 /gcc/config/lynx.h
parent401cc4da927787b2b73c3d621a259082cb686682 (diff)
downloadgcc-c8ba3e295f2f7b87a71124c640f96d10385101fe.tar.gz
(ASM_OUTPUT_SOURCE_LINE): Call assemble_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7887 138bc75d-0d04-0410-961f-82ee72b054a4
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 0819b684e3e..9b2f994d388 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. */