Commit 85378227 by Richard Kenner

(ASM_OUTPUT_SOURCE_LINE): Call assemble_name.

From-SVN: r7887
parent ba558a85
/* Target independent definitions for LynxOS. /* 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. This file is part of GNU CC.
...@@ -83,10 +83,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -83,10 +83,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ASM_OUTPUT_SOURCE_LINE #undef ASM_OUTPUT_SOURCE_LINE
#define ASM_OUTPUT_SOURCE_LINE(file, line) \ #define ASM_OUTPUT_SOURCE_LINE(file, line) \
{ static int sym_lineno = 1; \ { static int sym_lineno = 1; \
fprintf (file, ".stabn 68,0,%d,.LM%d-%s\n.LM%d:\n", \ fprintf (file, ".stabn 68,0,%d,.LM%d-", \
line, sym_lineno, \ line, sym_lineno); \
XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0), \ assemble_name (file, \
sym_lineno); \ XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); \
fprintf (file, "\n.LM%d:\n", sym_lineno); \
sym_lineno += 1; } sym_lineno += 1; }
/* Handle #pragma pack and sometimes #pragma weak. */ /* Handle #pragma pack and sometimes #pragma weak. */
......
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