Fix sh_entsize field of .plt section on x86_64

Ian Lance Taylor iant@google.com
Mon Apr 27 16:25:00 GMT 2009


Paul Pluzhnikov noticed that the sh_entsize field of the .plt section
was incorrect on x86_64 when using gold.  This dates back to when
x86_64.cc was created as a copy of i386.cc.  I committed this patch to
fix the problem.

Ian


2009-04-27  Ian Lance Taylor  <iant@google.com>

	* x86_64.cc (do_adjust_output_section): Set entsize to
	plt_entry_size.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 596 bytes
Desc: Fix sh_entsize of .plt section
URL: <https://sourceware.org/pipermail/binutils/attachments/20090427/5b03095c/attachment.bin>


More information about the Binutils mailing list