PATCH: PR ld/14105: Always create PLT eh_frame

Alan Modra amodra@gmail.com
Tue May 22 00:11:00 GMT 2012


On Mon, May 21, 2012 at 07:40:26AM -0700, H.J. Lu wrote:
> My elflink.c change is to remove the redundant CIE above.

Oh, I see.  I guess I didn't look at the patch in enough detail..
Perhaps it might be better to implement bfd_get_next_section_by_name?

asection *
bfd_get_next_section_by_name (bfd *abfd, asection *sec)
{
  struct section_hash_entry *sh;
  sh = ((struct section_hash_entry *)
	((char *) sec - offsetof (struct section_hash_entry *, section)));
  ...
}

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list