This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFA/RFC] try ignoring bad PLT entries in ELF symbol tables


On Wed, 19 Oct 2011 02:23:37 +0200, Joel Brobecker wrote:
> Normally, such entries either have a null value, or their value
> corresponds to an address in the PLT section.

Do you have some such file with undefinde symbol and non-zero value?


> +	  if (strncmp (sect->name, ".plt", 4) != 0
> +	      && bfd_get_section_by_name (abfd, ".plt") != NULL)

At least the bfd_get_section_by_name result should be cached.


This is not a review.


Thanks,
Jan


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