summaryrefslogtreecommitdiff
path: root/gcc/vmsdbgout.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-24 13:22:29 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-24 13:22:29 +0000
commit774dffd51683c1fb8ec47e3fe7482f160632b62d (patch)
treeaa94addd869f072bf392890992f0362d68ada4b1 /gcc/vmsdbgout.c
parent4adce37e76cbf88ce6d4bacdd40a2ae0893ec9d0 (diff)
downloadgcc-774dffd51683c1fb8ec47e3fe7482f160632b62d.tar.gz
* system.h: Poison ASM_BYTE_OP and ASM_OUTPUT_BYTE.
* vmsdbgout: Do not undefine it if defined. Rename local ASM_BYTE_OP definition to VMS_ASM_BYTE_OP. * config/microblaze/microblaze/h: Do no define ASM_BYTE_OP. * config/mep/mep.h: Do not define ASM_OUTPUT_BYTE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188917 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/vmsdbgout.c')
-rw-r--r--gcc/vmsdbgout.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/vmsdbgout.c b/gcc/vmsdbgout.c
index eedf1bd5124..12fa8ffba52 100644
--- a/gcc/vmsdbgout.c
+++ b/gcc/vmsdbgout.c
@@ -229,10 +229,7 @@ const struct gcc_debug_hooks vmsdbg_debug_hooks
#endif
#define UNALIGNED_DOUBLE_INT_ASM_OP ".quad"
-#ifdef ASM_BYTE_OP
-#undef ASM_BYTE_OP
-#endif
-#define ASM_BYTE_OP ".byte"
+#define VMS_ASM_BYTE_OP ".byte"
#define NUMBYTES(I) ((I) < 256 ? 1 : (I) < 65536 ? 2 : 4)
@@ -247,7 +244,7 @@ const struct gcc_debug_hooks vmsdbg_debug_hooks
#define UNALIGNED_OFFSET_ASM_OP(OFFSET) \
(NUMBYTES(OFFSET) == 4 \
? UNALIGNED_LONG_ASM_OP \
- : (NUMBYTES(OFFSET) == 2 ? UNALIGNED_SHORT_ASM_OP : ASM_BYTE_OP))
+ : (NUMBYTES(OFFSET) == 2 ? UNALIGNED_SHORT_ASM_OP : VMS_ASM_BYTE_OP))
#endif
/* Definitions of defaults for formats and names of various special
@@ -336,7 +333,7 @@ static char text_end_label[MAX_ARTIFICIAL_LABEL_BYTES];
#ifndef ASM_OUTPUT_DEBUG_DATA1
#define ASM_OUTPUT_DEBUG_DATA1(FILE,VALUE) \
- fprintf ((FILE), "\t%s\t%#x", ASM_BYTE_OP, (unsigned char) VALUE)
+ fprintf ((FILE), "\t%s\t%#x", VMS_ASM_BYTE_OP, (unsigned char) VALUE)
#endif
#ifndef ASM_OUTPUT_DEBUG_DATA2