diff options
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 6a4b366..e193f44 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -2238,6 +2238,8 @@ check_pic: bfd_boolean no_copyreloc_p = (info->nocopyreloc || (h != NULL + && !h->root.linker_def + && !h->root.ldscript_def && eh->def_protected && elf_has_no_copy_on_protected (h->root.u.def.section->owner))); if ((sec->flags & SEC_ALLOC) != 0 |