target: consider addressable unit size when reading/writing memory
[deliverable/binutils-gdb.git] / bfd / elf64-x86-64.c
index 4428f97e9b4773acdbfbaecf96889d106d9d8afc..072c00b7193cee37c2a2fb3e7e4e0658279647d3 100644 (file)
@@ -2080,7 +2080,8 @@ do_size:
       if (use_plt_got
          && h != NULL
          && h->plt.refcount > 0
-         && ((info->flags & DF_BIND_NOW) || h->got.refcount > 0)
+         && (((info->flags & DF_BIND_NOW) && !h->pointer_equality_needed)
+             || h->got.refcount > 0)
          && htab->plt_got == NULL)
        {
          /* Create the GOT procedure linkage table.  */
@@ -2542,7 +2543,7 @@ elf_x86_64_allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf)
     {
       bfd_boolean use_plt_got;
 
-      if ((info->flags & DF_BIND_NOW))
+      if ((info->flags & DF_BIND_NOW) && !h->pointer_equality_needed)
        {
          /* Don't use the regular PLT for DF_BIND_NOW. */
          h->plt.offset = (bfd_vma) -1;
This page took 0.023468 seconds and 4 git commands to generate.