From 71a40b32aea54dc4fba75f6ee8aa07708238a60c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 28 Oct 1999 04:08:57 +0000 Subject: * elflink.h (elf_bfd_final_link): Make last_local signed. --- bfd/ChangeLog | 4 ++++ bfd/elflink.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a94c674..f37dd64 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +1999-10-28 Ian Lance Taylor + + * elflink.h (elf_bfd_final_link): Make last_local signed. + 1999-10-27 Ian Lance Taylor * stabs.c (_bfd_link_section_stabs): Make sure .stabstr section diff --git a/bfd/elflink.h b/bfd/elflink.h index d9b5071..ab679a7 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -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. */ -- cgit v1.1