[RFA:] support different(-sized) GOT entries in bfd_elf_gc_common_final_link

Nick Clifton nickc@redhat.com
Thu Nov 20 11:09:00 GMT 2008


Hi Hans-Peter,

> bfd:
> 	* 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.

Approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list