system.h: Poison ASM_BYTE_OP and ASM_OUTPUT_BYTE.
authorSteven Bosscher <steven@gcc.gnu.org>
Sun, 24 Jun 2012 13:22:29 +0000 (13:22 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sun, 24 Jun 2012 13:22:29 +0000 (13:22 +0000)
        * 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.

From-SVN: r188917

gcc/ChangeLog
gcc/config/mep/mep.h
gcc/config/microblaze/microblaze.h
gcc/system.h
gcc/vmsdbgout.c

index b51c96a..33bc12d 100644 (file)
@@ -1,3 +1,11 @@
+2012-06-24  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * 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.
+
 2012-06-24  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * config/mips/mips.c (mips_process_sync_loop): Add missing
index dbb4814..ad5b36d 100644 (file)
@@ -636,9 +636,6 @@ typedef struct
     }                                          \
   while (0)
 
-#define ASM_OUTPUT_BYTE(STREAM, VALUE) \
-  fprintf (STREAM, "\t%s\t0x%x\n", ASM_BYTE_OP, (VALUE))
-
 /* Most of these are here to support based/tiny/far/io attributes.  */
 
 #define ASM_OUTPUT_ALIGNED_DECL_COMMON(STREAM, DECL, NAME, SIZE, ALIGNMENT) \
index 783d1e0..ca306ab 100644 (file)
@@ -743,8 +743,6 @@ extern int save_volatiles;
 #define UNALIGNED_INT_ASM_OP            ".data32"
 #define UNALIGNED_DOUBLE_INT_ASM_OP     ".data8"
 
-#define ASM_BYTE_OP                     ".data8"
-
 /* The following #defines are used in the headers files. Always retain these.  */
 
 /* Added for declaring size at the end of the function.  */
index cf1cc26..8238ed8 100644 (file)
@@ -815,7 +815,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
        LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP JUMP_ALIGN_MAX_SKIP          \
        CAN_DEBUG_WITHOUT_FP UNLIKELY_EXECUTED_TEXT_SECTION_NAME        \
        HOT_TEXT_SECTION_NAME LEGITIMATE_CONSTANT_P ALWAYS_STRIP_DOTDOT \
-       OUTPUT_ADDR_CONST_EXTRA SMALL_REGISTER_CLASSES ASM_OUTPUT_IDENT
+       OUTPUT_ADDR_CONST_EXTRA SMALL_REGISTER_CLASSES ASM_OUTPUT_IDENT \
+       ASM_BYTE_OP
 
 /* Target macros only used for code built for the target, that have
    moved to libgcc-tm.h or have never been present elsewhere.  */
index eedf1bd..12fa8ff 100644 (file)
@@ -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