iris4.h (ASM_OUTPUT_ASCII): Rename local variables to avoid shadowing arguments.
* config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables to avoid shadowing arguments. From-SVN: r40804
This commit is contained in:
parent
fa029f453a
commit
75e0407e01
@ -1,3 +1,8 @@
|
||||
2001-03-23 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
|
||||
to avoid shadowing arguments.
|
||||
|
||||
2001-03-23 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* varasm.c (make_decl_rtl): Don't append var_labelno discriminator
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Definitions of target machine for GNU compiler. Iris version 4.
|
||||
Copyright (C) 1991, 1993, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1991, 1993, 1999, 2001 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -30,15 +30,16 @@ Boston, MA 02111-1307, USA. */
|
||||
/* Some assemblers have a bug that causes backslash escaped chars in .ascii
|
||||
to be misassembled, so we just completely avoid it. */
|
||||
#undef ASM_OUTPUT_ASCII
|
||||
#define ASM_OUTPUT_ASCII(FILE,PTR,LEN) \
|
||||
do { \
|
||||
const unsigned char *s; \
|
||||
int i; \
|
||||
for (i = 0, s = (const unsigned char *)(PTR); i < (LEN); s++, i++) \
|
||||
{ \
|
||||
if ((i % 8) == 0) \
|
||||
fputs ("\n\t.byte\t", (FILE)); \
|
||||
fprintf ((FILE), "%s0x%x", (i%8?",":""), (unsigned)*s); \
|
||||
} \
|
||||
fputs ("\n", (FILE)); \
|
||||
#define ASM_OUTPUT_ASCII(FILE,PTR,LEN) \
|
||||
do { \
|
||||
const unsigned char *s_ = (const unsigned char *)(PTR); \
|
||||
unsigned len_ = (LEN); \
|
||||
unsigned i_; \
|
||||
for (i_ = 0; i_ < len_; s_++, i_++) \
|
||||
{ \
|
||||
if ((i_ % 8) == 0) \
|
||||
fputs ("\n\t.byte\t", (FILE)); \
|
||||
fprintf ((FILE), "%s0x%x", (i_%8?",":""), *s_); \
|
||||
} \
|
||||
fputs ("\n", (FILE)); \
|
||||
} while (0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user