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]

Patch for PR2257


Hi Guys,

  I have had a patch for PR 2257 in my tree for a while now and it has
  not given me any problems.  I have not heard back from the PR's
  author, but I believe that the patch solves the problem, so I am
  going to check it into the mainline sources (but not the new branch)
  and see if it triggers any problems for anyone else.

Cheers
  Nick

bfd/ChangeLog
2006-04-18  Nick Clifton  <nickc@redhat.com>

	PR 2257
	* elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx
	fields to still be handled as ELF files.

binutils/ChangeLog
2006-04-18  Nick Clifton  <nickc@redhat.com>

	PR 2257
	* readelf.c (SECTION_NAME): Cope with a missing string table.
	(process_file_header): Cope with a corrupt e_shstrndx field.
	(process_section_headers): Correctly handle an e_shstrndx value of
	SHF_UNDEF.

  

Attachment: 2257.patch.bz2
Description: BZip2 compressed data


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