gold patch committed: Ignore empty reloc sections

Ian Lance Taylor
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.


2011-05-30  Ian Lance Taylor  <>

	* (Sized_relobj_file::do_read_relocs): Ignore empty reloc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 528 bytes
Desc: patch
URL: <>

More information about the Binutils mailing list