+2013-06-11 Will Newton <will.newton@linaro.org>
+
+ * elf64-aarch64.c (elf_aarch64_get_local_sym_hash): Use
+ ELF64_R_SYM instead of ELF32_R_SYM.
+
2013-06-11 Nick Clifton <nickc@redhat.com>
* elf32-rl78.c (rl78_elf_finish_dynamic_sections): Onlly run
struct elf64_aarch64_link_hash_entry e, *ret;
asection *sec = abfd->sections;
hashval_t h = ELF_LOCAL_SYMBOL_HASH (sec->id,
- ELF32_R_SYM (rel->r_info));
+ ELF64_R_SYM (rel->r_info));
void **slot;
e.root.indx = sec->id;
- e.root.dynstr_index = ELF32_R_SYM (rel->r_info);
+ e.root.dynstr_index = ELF64_R_SYM (rel->r_info);
slot = htab_find_slot_with_hash (htab->loc_hash_table, &e, h,
create ? INSERT : NO_INSERT);
{
memset (ret, 0, sizeof (*ret));
ret->root.indx = sec->id;
- ret->root.dynstr_index = ELF32_R_SYM (rel->r_info);
+ ret->root.dynstr_index = ELF64_R_SYM (rel->r_info);
ret->root.dynindx = -1;
*slot = ret;
}