This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

elf64-x86-64.c compile problem


My compiler have problems with this

bfd\elf64-x86-64.c(3893)
--------------------------------------------------------------------
  {
    if (!h->pointer_equality_needed)
      abort();

    /* For non-shared object, we can't use .got.plt, which
       contains the real function addres if we need pointer
       equality.  We load the GOT entry with the PLT entry.  */
     asection *plt = htab->elf.splt ? htab->elf.splt : htab->elf.iplt;
     bfd_put_64 (output_bfd, (plt->output_section->vma
        + plt->output_offset
        + h->plt.offset),
     htab->elf.sgot->contents + h->got.offset);
        return TRUE;
  }
--------------------------------------------------------------------

asection *plt should have been declared earlier, right?

Thanks
JB


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]