summaryrefslogtreecommitdiff
path: root/gcc/config/dbxcoff.h
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-05-18 20:35:30 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-05-18 20:35:30 +0000
commitae7e14aca71dd971cae10b08301fc20ba83525fc (patch)
treed4fef19f52e13454ab98036b070f2f8a93360da8 /gcc/config/dbxcoff.h
parent8eb2f2c0e31bffcdf20a0ea0f5c53e9f8ff04085 (diff)
downloadgcc-ae7e14aca71dd971cae10b08301fc20ba83525fc.tar.gz
Use ASM_{GENERATE,OUTPUT}_INTERNAL_LABEL
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14096 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/dbxcoff.h')
-rw-r--r--gcc/config/dbxcoff.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/config/dbxcoff.h b/gcc/config/dbxcoff.h
index 1ee6dd576ba..9497a70b83f 100644
--- a/gcc/config/dbxcoff.h
+++ b/gcc/config/dbxcoff.h
@@ -63,12 +63,16 @@ Boston, MA 02111-1307, USA. */
? (LINE) - sdb_begin_function_line : 1)); \
} else if (write_symbols == DBX_DEBUG) { \
static int sym_lineno = 1; \
- fprintf (FILE, ".stabn 68,0,%d,.LM%d-", \
- LINE, sym_lineno); \
+ char buffer[256]; \
+ ASM_GENERATE_INTERNAL_LABEL (buffer, "LM", sym_lineno); \
+ fprintf (FILE, ".stabn 68,0,%d,", LINE); \
+ assemble_name (FILE, buffer); \
+ putc ('-', FILE); \
assemble_name (FILE, \
XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); \
- fprintf (FILE, "\n.LM%d:\n", sym_lineno); \
- sym_lineno += 1; \
+ putc ('\n', FILE); \
+ ASM_OUTPUT_INTERNAL_LABEL (FILE, "LM", sym_lineno); \
+ sym_lineno++; \
} }
/* When generating stabs debugging, use N_BINCL entries. */