summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-05-20 16:48:11 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-05-20 16:48:11 +0000
commitaa331680a5dd7c00b18b97fcb9a17b7f482f484d (patch)
tree49b8c41d06670d26e308dc89825d5ef79b78ec73 /gcc/xcoffout.c
parentcf7d695a157a8231f65bc9bc77c0dd42207d730e (diff)
downloadgcc-aa331680a5dd7c00b18b97fcb9a17b7f482f484d.tar.gz
(MAKE_LINE_SAFE): Delete.
(ASM_OUTPUT_LBB, ASM_OUTPUT_LBE): Don't use MAKE_LINE_SAFE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7343 138bc75d-0d04-0410-961f-82ee72b054a4
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 b586a8f47ef..1416708ccae 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. */