diff options
author | Richard Henderson <rth@redhat.com> | 2001-08-03 01:43:07 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-08-03 01:43:07 -0700 |
commit | 6e5a6a6b0e4a5cac85ced012db7e7565f3b90960 (patch) | |
tree | 801cad3754bc2f674a9c28aea73374740a68fa9a /gcc | |
parent | dbc1a16393aea0bee2af3a8783546ee5653f3e13 (diff) | |
download | gcc-6e5a6a6b0e4a5cac85ced012db7e7565f3b90960.zip gcc-6e5a6a6b0e4a5cac85ced012db7e7565f3b90960.tar.gz gcc-6e5a6a6b0e4a5cac85ced012db7e7565f3b90960.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/ia64/sysv4.h | 18 |
2 files changed, 13 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9efa52..58cda91 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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 reach a CODE_LABEL at BOUNDARY. diff --git a/gcc/config/ia64/sysv4.h b/gcc/config/ia64/sysv4.h index 02da9e4..de39c1e 100644 --- a/gcc/config/ia64/sysv4.h +++ b/gcc/config/ia64/sysv4.h @@ -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) |