mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
* elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfd
reloc code using x86_64_reloc_map.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2001-09-28 Alan Modra <amodra@bigpond.net.au>
|
2001-09-28 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfd
|
||||||
|
reloc code using x86_64_reloc_map.
|
||||||
|
|
||||||
* elf32-hppa.c (elf32_hppa_check_relocs): Update comment since we
|
* elf32-hppa.c (elf32_hppa_check_relocs): Update comment since we
|
||||||
no longer allocate here. Localise some vars to blocks where they
|
no longer allocate here. Localise some vars to blocks where they
|
||||||
are used.
|
are used.
|
||||||
|
@ -167,8 +167,7 @@ elf64_x86_64_reloc_type_lookup (abfd, code)
|
|||||||
i++)
|
i++)
|
||||||
{
|
{
|
||||||
if (x86_64_reloc_map[i].bfd_reloc_val == code)
|
if (x86_64_reloc_map[i].bfd_reloc_val == code)
|
||||||
return &x86_64_elf_howto_table[(int)
|
return &x86_64_elf_howto_table[i];
|
||||||
x86_64_reloc_map[i].elf_reloc_val];
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user