sysv4.h (ASM_OUTPUT_LABELREF): Don't write to constant data.

* config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
        constant data.

From-SVN: r44596
This commit is contained in:
Richard Henderson 2001-08-03 01:43:07 -07:00 committed by Richard Henderson
parent dbc1a16393
commit 6e5a6a6b0e
2 changed files with 13 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2001-08-03 Richard Henderson <rth@redhat.com>
* config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
constant data.
2001-08-03 Richard Henderson <rth@redhat.com>
* rtlanal.c (find_first_parameter_load): Stop if we

View File

@ -62,25 +62,23 @@ do { \
#define ASM_OUTPUT_LABELREF(STREAM, NAME) \
do \
{ \
const char * real_name; \
const char * name_end; \
const char *real_name; \
const char *name_end; \
\
STRIP_NAME_ENCODING (real_name, NAME); \
name_end = strchr (real_name, '+'); \
\
fputs (user_label_prefix, STREAM); \
if (name_end) \
* name_end = 0; \
\
asm_fprintf (STREAM, "%U%s", real_name); \
fwrite (real_name, name_end - real_name, 1, STREAM); \
else \
fputs (real_name, STREAM); \
\
if (ia64_asm_output_label) \
asm_fprintf (STREAM, "#"); \
fputc ('#', STREAM); \
\
if (name_end) \
{ \
* name_end = '+'; \
asm_fprintf (STREAM, name_end); \
} \
fputs (name_end, STREAM); \
} \
while (0)