Commit 1fd9ba59 by Alan Modra Committed by Alan Modra

* config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.

From-SVN: r54272
parent 77d2dd29
2002-06-05 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.
2002-06-04 Zack Weinberg <zack@codesourcery.com> 2002-06-04 Zack Weinberg <zack@codesourcery.com>
* gengtype-yacc.y: Make sure all rules end with a semicolon. * gengtype-yacc.y: Make sure all rules end with a semicolon.
......
...@@ -294,3 +294,22 @@ do { \ ...@@ -294,3 +294,22 @@ do { \
|| (GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT \ || (GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT \
&& ! TARGET_NO_FP_IN_TOC))))) && ! TARGET_NO_FP_IN_TOC)))))
/* This is the same as the dbxelf.h version, except that we need to
use the function code label, not the function descriptor. */
#undef ASM_OUTPUT_SOURCE_LINE
#define ASM_OUTPUT_SOURCE_LINE(FILE, LINE) \
do \
{ \
static int sym_lineno = 1; \
char temp[256]; \
ASM_GENERATE_INTERNAL_LABEL (temp, "LM", sym_lineno); \
fprintf (FILE, "\t.stabn 68,0,%d,", LINE); \
assemble_name (FILE, temp); \
fputs ("-.", FILE); \
assemble_name (FILE, \
XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0));\
putc ('\n', FILE); \
ASM_OUTPUT_INTERNAL_LABEL (FILE, "LM", sym_lineno); \
sym_lineno += 1; \
} \
while (0)
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