* elflink.h (elf_bfd_final_link): Make last_local signed.
This commit is contained in:
parent
8140b6644d
commit
71a40b32ae
@ -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>
|
1999-10-27 Ian Lance Taylor <ian@zembu.com>
|
||||||
|
|
||||||
* stabs.c (_bfd_link_section_stabs): Make sure .stabstr section
|
* stabs.c (_bfd_link_section_stabs): Make sure .stabstr section
|
||||||
|
@ -4332,7 +4332,7 @@ elf_bfd_final_link (abfd, info)
|
|||||||
Elf_Internal_Sym sym;
|
Elf_Internal_Sym sym;
|
||||||
Elf_External_Sym *dynsym =
|
Elf_External_Sym *dynsym =
|
||||||
(Elf_External_Sym *)finfo.dynsym_sec->contents;
|
(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. */
|
/* Write out the section symbols for the output sections. */
|
||||||
if (info->shared)
|
if (info->shared)
|
||||||
@ -4394,8 +4394,8 @@ elf_bfd_final_link (abfd, info)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
elf_section_data (finfo.dynsym_sec->output_section)
|
elf_section_data (finfo.dynsym_sec->output_section)->this_hdr.sh_info =
|
||||||
->this_hdr.sh_info = last_local + 1;
|
last_local + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We get the global symbols from the hash table. */
|
/* We get the global symbols from the hash table. */
|
||||||
|
Loading…
Reference in New Issue
Block a user