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] bfd: don't produce corrupt COFF symbol table due to long ELF file name symbols


Hi Jan,

bfd/
2015-12-07  Jan Beulich  <jbeulich@suse.com>

	* coffgen.c (coff_write_alien_symbol): New parameter "iaux".
	(coff_write_symbols): Pass NULL for new argument.
	* cofflink.c (_bfd_coff_final_link): New local variables
	"iaux".
	Extend scope of local variables "indx" and "hash". Pass address
	of "iaux" to coff_write_alien_symbol(). Handle ".file" and the
	file name ending up in the string table separately. Avoid
	setting "rewrite" on more than one path.
	* libcoff-in.h (coff_write_alien_symbol): New parameter of type
	"union internal_auxent *".
	* libcoff.h: Re-generate.

Approved - please apply.

Cheers
  Nick



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