diff options
author | Doug Evans <devans@canuck.cygnus.com> | 1998-07-31 12:29:10 +0000 |
---|---|---|
committer | Doug Evans <devans@gcc.gnu.org> | 1998-07-31 12:29:10 +0000 |
commit | 5f97de0ac982f8439ca78db6652fb722fe4fafe9 (patch) | |
tree | c21fca1a35a65b30c94874b433dd828a478f1eb9 /gcc | |
parent | 0a5d08b853c3eb9f50296cc295fb5768d5cfb40f (diff) | |
download | gcc-5f97de0ac982f8439ca78db6652fb722fe4fafe9.zip gcc-5f97de0ac982f8439ca78db6652fb722fe4fafe9.tar.gz gcc-5f97de0ac982f8439ca78db6652fb722fe4fafe9.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/m32r/m32r.h | 13 |
2 files changed, 15 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80e5c8d..f82a321 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> * alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN. diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h index d24a1d5..5a93d7a 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; \ } \ |