From: Kaveh R. Ghazi Date: Sun, 29 Sep 2002 19:55:08 +0000 (+0000) Subject: darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89b06540822049651a79956ea93f83f7c530b8f8;p=gcc.git 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 --- 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 + + * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype. + + * ia64.c (ia64_hpux_asm_file_end): Const-ify. + 2002-09-29 John David Anglin * 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;