[PATCH] aarch64: Add support for GNU indirect functions.
Will Newton
will.newton@linaro.org
Mon Jun 10 18:04:00 GMT 2013
On 10 June 2013 18:19, Yufeng Zhang <Yufeng.Zhang@arm.com> wrote:
> On 06/03/13 09:23, Will Newton wrote:
>>
>> +/* Find and/or create a hash entry for local symbol. */
>> +
>> +static struct elf_link_hash_entry *
>> +elf_aarch64_get_local_sym_hash (struct elf64_aarch64_link_hash_table
>> *htab,
>> + bfd *abfd, const Elf_Internal_Rela *rel,
>> + bfd_boolean create)
>> +{
>> + 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));
>> + void **slot;
>> +
>> + e.root.indx = sec->id;
>> + e.root.dynstr_index = ELF32_R_SYM (rel->r_info);
>
>
> Sorry for the late comment, but are you sure that ELF64_R_SYM is not the one
> that you intend to use?
Thanks for noticing! I'll post a patch.
--
Will Newton
Toolchain Working Group, Linaro
More information about the Binutils
mailing list