diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/darwin-protos.h | 1 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.c | 7 |
3 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2e488edf25a..9709a75d9c1 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 129c636b657..5fea152eeb9 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 0db9878023e..bcfcc321039 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; |