]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 29 Sep 2002 19:55:08 +0000 (19:55 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 29 Sep 2002 19:55:08 +0000 (19:55 +0000)
* darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.

* ia64.c (ia64_hpux_asm_file_end): Const-ify.

From-SVN: r57632

gcc/ChangeLog
gcc/config/darwin-protos.h
gcc/config/ia64/ia64.c

index 2e488edf25aa3ca7c7469bf2006304538041f678..9709a75d9c16074c35ddb217bfc3a20e4c1e0487 100644 (file)
@@ -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.
index 129c636b6570ce9f93a1beeda69445fef4278fb1..5fea152eeb9137fea5e223d3c301c5f17f2b5dba 100644 (file)
@@ -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 *));
index 0db9878023eb0ea1f4ec4d82affb0504eb72e08b..bcfcc321039e28b941709ccd4d175c38efe5259c 100644 (file)
@@ -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;