aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-10-28 04:08:57 +0000
committerIan Lance Taylor <ian@airs.com>1999-10-28 04:08:57 +0000
commit71a40b32aea54dc4fba75f6ee8aa07708238a60c (patch)
treed2a751fd1e37b803d58a95d0bb6a6b0a36a7b0f1 /bfd/elflink.h
parent8140b6644d7a8d71e826c9550c2aa84a586f56aa (diff)
downloadgdb-71a40b32aea54dc4fba75f6ee8aa07708238a60c.zip
gdb-71a40b32aea54dc4fba75f6ee8aa07708238a60c.tar.gz
gdb-71a40b32aea54dc4fba75f6ee8aa07708238a60c.tar.bz2
* elflink.h (elf_bfd_final_link): Make last_local signed.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h6
1 files changed, 3 insertions, 3 deletions
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. */