aboutsummaryrefslogtreecommitdiff
path: root/gcc/xcoffout.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-05-20 09:48:11 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-05-20 09:48:11 -0700
commit5c43aed8955326cdf89dfe7f031b49eb1b3c31b9 (patch)
tree49b8c41d06670d26e308dc89825d5ef79b78ec73 /gcc/xcoffout.c
parent6399ee020f399abf122efc713d409588c3b449c1 (diff)
downloadgcc-5c43aed8955326cdf89dfe7f031b49eb1b3c31b9.zip
gcc-5c43aed8955326cdf89dfe7f031b49eb1b3c31b9.tar.gz
gcc-5c43aed8955326cdf89dfe7f031b49eb1b3c31b9.tar.bz2
(MAKE_LINE_SAFE): Delete.
(ASM_OUTPUT_LBB, ASM_OUTPUT_LBE): Don't use MAKE_LINE_SAFE. From-SVN: r7343
Diffstat (limited to 'gcc/xcoffout.c')
-rw-r--r--gcc/xcoffout.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c
index b586a8f..1416708 100644
--- a/gcc/xcoffout.c
+++ b/gcc/xcoffout.c
@@ -73,10 +73,6 @@ char *xcoff_private_data_section_name;
char *xcoff_read_only_section_name;
/* Macro definitions used below. */
-/* Ensure we don't output a negative line number. */
-#define MAKE_LINE_SAFE(LINE) \
- if (LINE <= xcoff_begin_function_line) \
- LINE = xcoff_begin_function_line + 1 \
#define ASM_OUTPUT_LFB(FILE,LINENUM) \
{ \
@@ -97,18 +93,10 @@ char *xcoff_read_only_section_name;
} while (0)
#define ASM_OUTPUT_LBB(FILE,LINENUM,BLOCKNUM) \
- do { \
- int linenum = LINENUM; \
- MAKE_LINE_SAFE (linenum); \
- fprintf (FILE, "\t.bb\t%d\n", ABS_OR_RELATIVE_LINENO (linenum)); \
- } while (0)
+ fprintf (FILE, "\t.bb\t%d\n", ABS_OR_RELATIVE_LINENO (LINENUM))
#define ASM_OUTPUT_LBE(FILE,LINENUM,BLOCKNUM) \
- do { \
- int linenum = LINENUM; \
- MAKE_LINE_SAFE (linenum); \
- fprintf (FILE, "\t.eb\t%d\n", ABS_OR_RELATIVE_LINENO (linenum)); \
- } while (0)
+ fprintf (FILE, "\t.eb\t%d\n", ABS_OR_RELATIVE_LINENO (LINENUM))
/* Support routines for XCOFF debugging info. */