H.J. Lu dc2be3d2f6 x86: Generate PLT relocations for -z now
This patch partially reverses:

commit 25070364b0ce33eed46aa5d78ebebbec6accec7e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat May 16 07:00:21 2015 -0700

    Don't generate PLT relocations for now binding

to support LD_AUDIT and LD_PROFILE with -z now.  If there is an existing
GOT relocation, it is still used to avoid PLT relocation against the same
function symbol.

bfd/

	* elf32-i386.c (elf_i386_allocate_dynrelocs): Partially revert
	commit 25070364b0ce33eed46aa5d78ebebbec6accec7e.
	* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewse.

ld/

	* testsuite/ld-i386/plt-pic2.dd: Updated.
	* testsuite/ld-i386/plt2.dd: Likewise.
	* testsuite/ld-i386/plt2.rd: Likewise.
	* testsuite/ld-i386/pr17689now.rd: Likewise.
	* testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
	* testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
	* testsuite/ld-x86-64/plt2.dd: Likewise.
	* testsuite/ld-x86-64/plt2.rd: Likewise.
	* testsuite/ld-x86-64/pr17689now.rd: Likewise.
	* testsuite/ld-x86-64/pr21038b-now.d: Likewise.
	* testsuite/ld-x86-64/pr21038c-now.d: Likewise.
2017-05-11 07:45:59 -07:00
..
2017-01-02 23:48:08 +10:30
2016-02-17 13:05:06 -08:00
2009-06-14 01:39:46 +00:00
2016-02-17 13:05:06 -08:00
2009-06-14 01:39:46 +00:00
2009-06-14 01:39:46 +00:00
2016-02-17 13:05:06 -08:00
2009-06-14 01:39:46 +00:00
2009-06-14 01:39:46 +00:00
2009-06-14 01:39:46 +00:00
2009-06-14 01:39:46 +00:00
2009-06-02 17:31:42 +00:00
2009-06-14 01:39:46 +00:00
2009-06-14 01:39:46 +00:00
2009-06-02 17:31:42 +00:00
2009-06-14 01:39:46 +00:00
2009-06-14 01:39:46 +00:00
2009-07-16 14:23:12 +00:00
2009-06-02 17:31:42 +00:00
2009-06-02 17:31:42 +00:00
2009-06-02 17:31:42 +00:00
2009-06-02 17:31:42 +00:00
2009-06-02 17:31:42 +00:00
2009-06-02 17:31:42 +00:00
2009-06-02 17:31:42 +00:00
2009-06-02 17:31:42 +00:00
2009-06-14 22:13:30 +00:00
2012-12-13 21:07:16 +00:00
2012-12-13 21:07:16 +00:00
2012-12-13 21:07:16 +00:00
2012-12-13 21:07:16 +00:00
2012-12-13 21:07:16 +00:00
2012-12-13 21:07:16 +00:00
2012-12-13 21:07:16 +00:00
2012-12-13 21:07:16 +00:00
2012-12-16 20:31:08 +00:00
2012-12-16 20:31:08 +00:00
2012-12-16 20:31:08 +00:00
2014-11-20 10:49:46 -08:00
2014-11-20 10:49:46 -08:00
2017-04-28 12:35:18 -07:00
2016-12-03 20:59:43 +10:30
2015-08-18 10:43:47 -07:00
2009-07-21 21:37:26 +00:00
2009-07-21 21:37:26 +00:00