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]

Re: PATCH: PR ld/14105: Always create PLT eh_frame


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


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