projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[deliverable/binutils-gdb.git]
/
bfd
/
elfxx-aarch64.c
diff --git
a/bfd/elfxx-aarch64.c
b/bfd/elfxx-aarch64.c
index 7e4236cbcef370d271c283e2052e0e3a6bff82a7..c8611702d870dcada7892e738187bb2f0e502e95 100644
(file)
--- a/
bfd/elfxx-aarch64.c
+++ b/
bfd/elfxx-aarch64.c
@@
-1,5
+1,5
@@
/* AArch64-specific support for ELF.
/* AArch64-specific support for ELF.
- Copyright (C) 2009-201
5
Free Software Foundation, Inc.
+ Copyright (C) 2009-201
6
Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of BFD, the Binary File Descriptor library.
Contributed by ARM Ltd.
This file is part of BFD, the Binary File Descriptor library.
@@
-538,11
+538,10
@@
_bfd_aarch64_elf_add_symbol_hook (bfd *abfd, struct bfd_link_info *info,
asection **secp ATTRIBUTE_UNUSED,
bfd_vma *valp ATTRIBUTE_UNUSED)
{
asection **secp ATTRIBUTE_UNUSED,
bfd_vma *valp ATTRIBUTE_UNUSED)
{
- if ((ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC
- || ELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE)
+ if (ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC
&& (abfd->flags & DYNAMIC) == 0
&& bfd_get_flavour (info->output_bfd) == bfd_target_elf_flavour)
&& (abfd->flags & DYNAMIC) == 0
&& bfd_get_flavour (info->output_bfd) == bfd_target_elf_flavour)
- elf_tdata (info->output_bfd)->has_gnu_symbols
= elf_gnu_symbol_any
;
+ elf_tdata (info->output_bfd)->has_gnu_symbols
|= elf_gnu_symbol_ifunc
;
return TRUE;
}
return TRUE;
}
This page took
0.025109 seconds
and
4
git commands to generate.