* elflink.h (elf_bfd_final_link): Make last_local signed.
authorIan Lance Taylor <ian@airs.com>
Thu, 28 Oct 1999 04:08:57 +0000 (04:08 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 28 Oct 1999 04:08:57 +0000 (04:08 +0000)
bfd/ChangeLog
bfd/elflink.h

index a94c674042906e7913911af705ebf82cfc0b4a83..f37dd64ef776f9fb89faf932861f03d7e4156635 100644 (file)
@@ -1,3 +1,7 @@
+1999-10-28  Ian Lance Taylor  <ian@zembu.com>
+
+       * elflink.h (elf_bfd_final_link): Make last_local signed.
+
 1999-10-27  Ian Lance Taylor  <ian@zembu.com>
 
        * stabs.c (_bfd_link_section_stabs): Make sure .stabstr section
index d9b5071862f56b15d8603701ba54e86c261af800..ab679a70d0d3cd6da375a0998dc81f48628e15c3 100644 (file)
@@ -4332,7 +4332,7 @@ elf_bfd_final_link (abfd, info)
       Elf_Internal_Sym sym;
       Elf_External_Sym *dynsym =
        (Elf_External_Sym *)finfo.dynsym_sec->contents;
-      unsigned long last_local = 0;
+      long last_local = 0;
 
       /* Write out the section symbols for the output sections.  */
       if (info->shared)
@@ -4394,8 +4394,8 @@ elf_bfd_final_link (abfd, info)
            }
        }
 
-      elf_section_data (finfo.dynsym_sec->output_section)
-       ->this_hdr.sh_info = last_local + 1;
+      elf_section_data (finfo.dynsym_sec->output_section)->this_hdr.sh_info =
+       last_local + 1;
     }
 
   /* We get the global symbols from the hash table.  */