Commit 5f97de0a by Doug Evans Committed by Doug Evans

m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number labels with .debugsym…

m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number labels with .debugsym if no parallel insns.

	* m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number
	labels with .debugsym if no parallel insns.

From-SVN: r21504
parent 0a5d08b8
Fri Jul 31 10:23:55 1998 Doug Evans <devans@canuck.cygnus.com>
* m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number
labels with .debugsym if no parallel insns.
Thu Jul 30 19:15:53 1998 Richard Henderson <rth@cygnus.com> Thu Jul 30 19:15:53 1998 Richard Henderson <rth@cygnus.com>
* alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN. * alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN.
......
...@@ -1663,8 +1663,13 @@ do { \ ...@@ -1663,8 +1663,13 @@ do { \
fprintf (FILE, "%s%s", USER_LABEL_PREFIX, real_name); \ fprintf (FILE, "%s%s", USER_LABEL_PREFIX, real_name); \
} while (0) } while (0)
/* For the m32r if -Os, don't force line number label to begin /* If -Os, don't force line number labels to begin at the beginning of
at the beginning of the word. */ the word; we still want the assembler to try to put things in parallel,
should that be possible.
For m32r/d, instructions are never in parallel (other than with a nop)
and the simulator and stub both handle a breakpoint in the middle of
a word so don't ever force line number labels to begin at the beginning
of a word. */
#undef ASM_OUTPUT_SOURCE_LINE #undef ASM_OUTPUT_SOURCE_LINE
#define ASM_OUTPUT_SOURCE_LINE(file, line) \ #define ASM_OUTPUT_SOURCE_LINE(file, line) \
...@@ -1676,7 +1681,9 @@ do \ ...@@ -1676,7 +1681,9 @@ do \
assemble_name (file, \ assemble_name (file, \
XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0));\ XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0));\
fprintf (file, \ fprintf (file, \
(optimize_size) ? "\n\t.debugsym .LM%d\n" : "\n.LM%d:\n", \ (optimize_size || TARGET_M32R) \
? "\n\t.debugsym .LM%d\n" \
: "\n.LM%d:\n", \
sym_lineno); \ sym_lineno); \
sym_lineno += 1; \ sym_lineno += 1; \
} \ } \
......
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