system.h: Poison ASM_BYTE_OP and ASM_OUTPUT_BYTE.

* 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
This commit is contained in:
Steven Bosscher 2012-06-24 13:22:29 +00:00
parent 85bf214b3f
commit e1ab7892de
5 changed files with 13 additions and 12 deletions

View 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

View 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) \

View 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. */

View 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. */

View 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