[RFA/RFC] try ignoring bad PLT entries in ELF symbol tables

Jan Kratochvil jan.kratochvil@redhat.com
Thu Oct 20 20:00:00 GMT 2011


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



More information about the Gdb-patches mailing list