* elf-bfd.h (struct elf_backend_data): New member got_elt_size.
authorHans-Peter Nilsson <hp@axis.com>
Fri, 21 Nov 2008 00:02:37 +0000 (00:02 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 21 Nov 2008 00:02:37 +0000 (00:02 +0000)
commit10455f89a67d238ba6c832b873be8d01d7137064
treeb293d9679dc2e398075b45bbe6646a8aef182940
parent5a29d1a0ec62602a47004fc41ff437d8a9ed77fc
* elf-bfd.h (struct elf_backend_data): New member got_elt_size.
(_bfd_elf_default_got_elt_size): Declare.
* elflink.c (struct alloc_got_off_arg): Replace member got_elt_size
by new member info.
(elf_gc_allocate_got_offsets): Adjust for calling bed->got_elt_size
to get the element size instead of using a gofarg entry.
(bfd_elf_gc_common_finalize_got_offsets): Similar.
(_bfd_elf_default_got_elt_size): New function.
* elfxx-target.h: New macro elf_backend_got_elt_size.
(elfNN_bed): Use it.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elflink.c
bfd/elfxx-target.h