diff options
author | Alan Modra <amodra@bigpond.net.au> | 2007-03-29 02:38:00 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2007-03-29 02:38:00 +0000 |
commit | 7af82aee2913b598b2202a444effcdebc894bf4e (patch) | |
tree | 83cbabea0969c3a3aab6c51245ba577325a187ee /bfd/elflink.c | |
parent | 9d0455a1dd193cd89f1673bcc05ea5a06555f1ba (diff) | |
download | gdb-7af82aee2913b598b2202a444effcdebc894bf4e.tar.gz |
PR ld/4267
* elflink.c (evaluate_complex_relocation_symbols): Use bfd_vma
for rel->r_info values.
(bfd_elf_perform_complex_relocation): Likewise.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index 4d3c58a806c..360ac69cdcb 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -6758,7 +6758,7 @@ evaluate_complex_relocation_symbols (bfd * input_bfd, { Elf_Internal_Rela * rel; char * sym_name; - unsigned long index; + bfd_vma index; Elf_Internal_Sym * sym; bfd_vma result; bfd_vma section_offset; @@ -6949,7 +6949,7 @@ bfd_elf_perform_complex_relocation Elf_Internal_Shdr * symtab_hdr; asection * sec; bfd_vma relocation = 0, shift, x; - unsigned long r_symndx; + bfd_vma r_symndx; bfd_vma mask; unsigned long start, oplen, len, wordsz, chunksz, lsb0_p, signed_p, trunc_p; |