diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-03 08:43:07 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-03 08:43:07 +0000 |
commit | 0a8ec7a8ea31ab25464aae0ce8bd2f51daa796a6 (patch) | |
tree | 801cad3754bc2f674a9c28aea73374740a68fa9a /gcc/config/ia64/sysv4.h | |
parent | 26551efd84bcc25b8288f75f1fbf7f342b2027be (diff) | |
download | gcc-0a8ec7a8ea31ab25464aae0ce8bd2f51daa796a6.tar.gz |
* config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
constant data.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44596 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ia64/sysv4.h')
-rw-r--r-- | gcc/config/ia64/sysv4.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/gcc/config/ia64/sysv4.h b/gcc/config/ia64/sysv4.h index 02da9e47ebc..de39c1ebc5f 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) |