aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-09-29 19:55:08 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-09-29 19:55:08 +0000
commit89b06540822049651a79956ea93f83f7c530b8f8 (patch)
tree97401e75697377bf898fb32d73572db6987c7fd6 /gcc
parent03357c23e9f17042271ed66fa2c2ed2dbd878690 (diff)
downloadgcc-89b06540822049651a79956ea93f83f7c530b8f8.zip
gcc-89b06540822049651a79956ea93f83f7c530b8f8.tar.gz
gcc-89b06540822049651a79956ea93f83f7c530b8f8.tar.bz2
darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
* darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype. * ia64.c (ia64_hpux_asm_file_end): Const-ify. From-SVN: r57632
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/darwin-protos.h1
-rw-r--r--gcc/config/ia64/ia64.c7
3 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2e488ed..9709a75 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
+
+ * ia64.c (ia64_hpux_asm_file_end): Const-ify.
+
2002-09-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
* expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
diff --git a/gcc/config/darwin-protos.h b/gcc/config/darwin-protos.h
index 129c636..5fea152 100644
--- a/gcc/config/darwin-protos.h
+++ b/gcc/config/darwin-protos.h
@@ -116,3 +116,4 @@ extern void machopic_output_stub PARAMS ((FILE *, const char *, const char *));
extern void darwin_exception_section PARAMS ((void));
extern void darwin_eh_frame_section PARAMS ((void));
extern void darwin_globalize_label PARAMS ((FILE *, const char *));
+extern void darwin_asm_output_dwarf_delta PARAMS ((FILE *, int, const char *, const char *));
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 0db9878..bcfcc32 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -8086,11 +8086,10 @@ ia64_hpux_asm_file_end (file)
{
while (extern_func_head)
{
- char *real_name;
- tree decl;
+ const char *const real_name =
+ (* targetm.strip_name_encoding) (extern_func_head->name);
+ tree decl = get_identifier (real_name);
- real_name = (* targetm.strip_name_encoding) (extern_func_head->name);
- decl = get_identifier (real_name);
if (decl && ! TREE_ASM_WRITTEN (decl) && TREE_SYMBOL_REFERENCED (decl))
{
TREE_ASM_WRITTEN (decl) = 1;