diff options
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index f7a48e9..02e8201 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -1983,11 +1983,11 @@ elf64_x86_64_allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) asection *plt, *gotplt, *relplt; /* When a shared library references a STT_GNU_IFUNC symbol - defined in executable. the .got.plt slot in the shared library - will contain address of the .plt slot in the binary and only - its .got.plt will contain the resolved function that should be - called. Pointer equality won't work correctly. PIE should - be used if pointer equality is required here. */ + defined in executable, the address of the resolved function + may be used. But in non-shared executable, the address of + its .plt slot may be used. Pointer equality may not work + correctly. PIE should be used if pointer equality is + required here. */ if (!info->shared && (h->dynindx != -1 || info->export_dynamic) |