linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.

2001-08-01  H.J. Lu <hjl@gnu.org>

	* gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.

From-SVN: r44541
This commit is contained in:
H.J. Lu 2001-08-01 16:56:37 +00:00 committed by H.J. Lu
parent 868f43d886
commit a8329479d3
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-08-01 H.J. Lu <hjl@gnu.org>
* gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
2001-08-01 Ziemowit Laski <zlaski@apple.com>
* c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for

View File

@ -177,6 +177,22 @@ Boston, MA 02111-1307, USA. */
#undef SET_ASM_OP
#define SET_ASM_OP "\t.dummy\t"
#undef ASM_OUTPUT_SOURCE_LINE
#define ASM_OUTPUT_SOURCE_LINE(FILE, LINE) \
do \
{ \
static int sym_lineno = 1; \
fprintf (FILE, "%sLM%d:\n\t%s 68,0,%d,%sLM%d", \
LOCAL_LABEL_PREFIX, sym_lineno, ASM_STABN_OP, \
LINE, LOCAL_LABEL_PREFIX, sym_lineno); \
putc ('-', FILE); \
assemble_name (FILE, \
XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0));\
putc ('\n', FILE); \
sym_lineno++; \
} \
while (0)
/* This is how we tell the assembler that two symbols have the
same value. */
#undef ASM_OUTPUT_DEF