diff options
author | devans <devans@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-31 12:29:10 +0000 |
---|---|---|
committer | devans <devans@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-31 12:29:10 +0000 |
commit | e403b5467ed1d16470aa77bcb4e81f48d6c70956 (patch) | |
tree | c21fca1a35a65b30c94874b433dd828a478f1eb9 /gcc/config/m32r | |
parent | 814426eb2a1aa203d2dd7599be245b9a5f61e781 (diff) | |
download | gcc-e403b5467ed1d16470aa77bcb4e81f48d6c70956.tar.gz |
* m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number
labels with .debugsym if no parallel insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21504 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32r')
-rw-r--r-- | gcc/config/m32r/m32r.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h index d24a1d5c9a4..5a93d7a15d7 100644 --- a/gcc/config/m32r/m32r.h +++ b/gcc/config/m32r/m32r.h @@ -1663,8 +1663,13 @@ do { \ fprintf (FILE, "%s%s", USER_LABEL_PREFIX, real_name); \ } while (0) -/* For the m32r if -Os, don't force line number label to begin - at the beginning of the word. */ +/* If -Os, don't force line number labels to begin at the beginning of + 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 #define ASM_OUTPUT_SOURCE_LINE(file, line) \ @@ -1676,7 +1681,9 @@ do \ assemble_name (file, \ XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0));\ 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 += 1; \ } \ |