mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
PR ld/4267
* elflink.c (evaluate_complex_relocation_symbols): Use bfd_vma for rel->r_info values. (bfd_elf_perform_complex_relocation): Likewise.
This commit is contained in:
@ -1,6 +1,9 @@
|
|||||||
2007-03-29 Alan Modra <amodra@bigpond.net.au>
|
2007-03-29 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
PR ld/4267
|
PR ld/4267
|
||||||
|
* elflink.c (evaluate_complex_relocation_symbols): Use bfd_vma
|
||||||
|
for rel->r_info values.
|
||||||
|
(bfd_elf_perform_complex_relocation): Likewise.
|
||||||
* elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for
|
* elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for
|
||||||
unused entries. Don't clear plt.plist in loop.
|
unused entries. Don't clear plt.plist in loop.
|
||||||
|
|
||||||
|
@ -6758,7 +6758,7 @@ evaluate_complex_relocation_symbols (bfd * input_bfd,
|
|||||||
{
|
{
|
||||||
Elf_Internal_Rela * rel;
|
Elf_Internal_Rela * rel;
|
||||||
char * sym_name;
|
char * sym_name;
|
||||||
unsigned long index;
|
bfd_vma index;
|
||||||
Elf_Internal_Sym * sym;
|
Elf_Internal_Sym * sym;
|
||||||
bfd_vma result;
|
bfd_vma result;
|
||||||
bfd_vma section_offset;
|
bfd_vma section_offset;
|
||||||
@ -6949,7 +6949,7 @@ bfd_elf_perform_complex_relocation
|
|||||||
Elf_Internal_Shdr * symtab_hdr;
|
Elf_Internal_Shdr * symtab_hdr;
|
||||||
asection * sec;
|
asection * sec;
|
||||||
bfd_vma relocation = 0, shift, x;
|
bfd_vma relocation = 0, shift, x;
|
||||||
unsigned long r_symndx;
|
bfd_vma r_symndx;
|
||||||
bfd_vma mask;
|
bfd_vma mask;
|
||||||
unsigned long start, oplen, len, wordsz,
|
unsigned long start, oplen, len, wordsz,
|
||||||
chunksz, lsb0_p, signed_p, trunc_p;
|
chunksz, lsb0_p, signed_p, trunc_p;
|
||||||
|
Reference in New Issue
Block a user