This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
elf64-x86-64.c compile problem
- From: Jerker Bäck <jerker dot back at gmail dot com>
- To: <binutils at sourceware dot org>
- Date: Tue, 1 Sep 2009 22:34:49 +0200
- Subject: 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