3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).

* m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
	* m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
	* m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
	* m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
	* m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
	* m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
	* m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.

From-SVN: r47810
This commit is contained in:
Kaveh R. Ghazi 2001-12-09 15:50:13 +00:00 committed by Kaveh Ghazi
parent e922107006
commit 046b71ed34
8 changed files with 32 additions and 8 deletions

View File

@ -1,3 +1,13 @@
2001-12-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
* m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
* m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
* m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
* m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
2001-12-08 Tom Rix <trix@redhat.com>
* config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.

View File

@ -151,10 +151,12 @@ do { long l; \
} while (0)
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
do { \
if ((LOG) == 1) \
fprintf (FILE, "\teven\n"); \
else if ((LOG) != 0) \
abort ();
abort (); \
} while (0)
/* This is how to output an assembler line
that says to advance the location counter by SIZE bytes. */

View File

@ -136,10 +136,12 @@ do { \
#undef ASM_GENERATE_INTERNAL_LABEL
#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \
do { \
if (flag_pic && !strcmp(PREFIX,"LC")) \
sprintf (LABEL, "*%s%%%ld", PREFIX, (long)(NUM)); \
sprintf (LABEL, "*%s%%%ld", PREFIX, (long)(NUM)); \
else \
sprintf (LABEL, "*%s%s%ld", LOCAL_LABEL_PREFIX, PREFIX, (long)(NUM))
sprintf (LABEL, "*%s%s%ld", LOCAL_LABEL_PREFIX, PREFIX, (long)(NUM)); \
} while (0)
#undef ASM_OUTPUT_INTERNAL_LABEL
#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \

View File

@ -93,10 +93,12 @@ int switch_table_difference_label_flag;
#undef ASM_GENERATE_INTERNAL_LABEL
#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \
do { \
if (flag_pic && !strcmp(PREFIX,"LC")) \
sprintf (LABEL, "*%s%%%ld", PREFIX, (long)(NUM)); \
else \
sprintf (LABEL, "*%s%s%ld", LOCAL_LABEL_PREFIX, PREFIX, (long)(NUM))
sprintf (LABEL, "*%s%s%ld", LOCAL_LABEL_PREFIX, PREFIX, (long)(NUM)); \
} while (0)
#undef ASM_OUTPUT_INTERNAL_LABEL
#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \

View File

@ -317,10 +317,12 @@ do { long l[3]; \
fprintf (FILE, "\tshort L%d-L%d\n", VALUE, REL)
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
do { \
if ((LOG) == 1) \
fprintf (FILE, "\tlalign 2\n"); \
else if ((LOG) != 0) \
abort ();
abort (); \
} while (0)
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
fprintf (FILE, "\tspace %u\n", (SIZE))

View File

@ -98,10 +98,12 @@ Boston, MA 02111-1307, USA. */
#undef ASM_OUTPUT_ALIGN
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
do { \
if ((LOG) > 0) \
fprintf ((FILE), "%s%u\n", ALIGN_ASM_OP, 1 << (LOG)); \
else if ((LOG) > 31) \
abort ();
abort (); \
} while (0)
/* Use proper assembler syntax for these macros. */
#undef ASM_OUTPUT_REG_PUSH

View File

@ -143,10 +143,12 @@ do { long l; \
#undef ASM_OUTPUT_ALIGN
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
do { \
if ((LOG) > 0) \
fprintf ((FILE), "%s%u\n", ALIGN_ASM_OP, 1 << (LOG)); \
else if ((LOG) > 31) \
abort ();
abort (); \
} while (0)
/* The routine used to output null terminated string literals. We cannot
use the ".string" pseudo op, because it silently truncates strings to

View File

@ -314,10 +314,12 @@ do { long l; \
#undef ASM_OUTPUT_ALIGN
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
do { \
if ((LOG) == 1) \
fprintf (FILE, "\teven\n"); \
else if ((LOG) != 0) \
abort ();
abort (); \
} while (0)
#undef ASM_OUTPUT_SKIP
#define ASM_OUTPUT_SKIP(FILE,SIZE) \