gold patch committed: Define __rel_iplt symbols if needed

Ian Lance Taylor iant@google.com
Wed Jul 6 06:46:00 GMT 2011
PR 12392 points out that gold fails to define the __rel_iplt symbols
when linking statically if there are no STT_GNU_IFUNC symbols.  This
fails when using a libc which supports STT_GNU_IFUNC symbols but does
not actually use any.  This patch fixes the problem.  Committed to
mainline.

Ian


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

	PR gold/12392
	* i386.cc (Target_i386::do_finalize_sections): Define __rel_iplt
	symbols if necessary.
	* x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.


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


More information about the Binutils mailing list