gold patch committed: Ignore empty reloc sections

Ian Lance Taylor ian@airs.com
Tue May 31 09:52:00 GMT 2011


This patch to gold ignores empty reloc sections when reading relocs,
rather than crashing when it tries to get a zero-sized view.  Committed
to mainline.

Ian


2011-05-30  Ian Lance Taylor  <iant@google.com>

	* reloc.cc (Sized_relobj_file::do_read_relocs): Ignore empty reloc
	sections.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 528 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20110531/12106623/attachment.bin>


More information about the Binutils mailing list