binutils-gdb/ld/testsuite/ld-i386
H.J. Lu bdb892b995 Handle relocation against protected function for -Bsymbolic
bfd/

2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13880
	* elf32-i386.c (elf_i386_relocate_section): Don't issue an error
	for R_386_GOTOFF relocation against protected function if
	SYMBOLIC_BIND is true.

	* elf64-x86-64.c (elf_x86_64_relocate_section): Don't issue an
	error for R_X86_64_GOTOFF64 relocation against protected function
	when building executable or SYMBOLIC_BIND is true.

ld/testsuite/

2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13880
	* ld-i386/i386.exp: Run protected4 and protected5.
	* ld-x86-64/x86-64.exp: Likewise.

	* ld-i386/protected4.d: New.
	* ld-i386/protected4.s: Likewise.
	* ld-i386/protected5.d: Likewise.
	* ld-i386/protected5.s: Likewise.
	* ld-x86-64/protected4.d: Likewise.
	* ld-x86-64/protected4.s: Likewise.
	* ld-x86-64/protected5.d: Likewise.
	* ld-x86-64/protected5.s: Likewise.
2012-03-20 18:16:38 +00:00
..
abs.d
abs.s
alloc.d bfd/ 2010-04-22 01:51:01 +00:00
alloc.s
alloc.t
combreloc.d
combreloc.s
compressed1.d Add testcases for PR ld/11817. 2010-07-15 00:42:23 +00:00
compressed1.s Add testcases for PR ld/11817. 2010-07-15 00:42:23 +00:00
discarded1.d Check if .got.plt section is discarded before using it. 2010-08-13 20:50:27 +00:00
discarded1.s Check if .got.plt section is discarded before using it. 2010-08-13 20:50:27 +00:00
discarded1.t Check if .got.plt section is discarded before using it. 2010-08-13 20:50:27 +00:00
emit-relocs.d
emit-relocs.s
hidden1.d
hidden1.s
hidden2.d Don't hard code expected output. 2010-07-13 17:42:29 +00:00
hidden2.s
hidden3.d
hidden3.s
i386.exp Handle relocation against protected function for -Bsymbolic 2012-03-20 18:16:38 +00:00
nogot1.d Don't allocate .got.plt section if there are no GOT nor PLT entries. 2010-07-14 00:30:57 +00:00
nogot1.s Remove GOTOFF in ld-i386/nogot1.s. 2010-09-24 06:09:31 +00:00
nogot2.d Add 2 tests for PR ld/11812. 2010-10-01 04:47:02 +00:00
nogot2.s Add 2 tests for PR ld/11812. 2010-10-01 04:47:02 +00:00
pcrel8.d
pcrel8.s
pcrel16.d
pcrel16.s
pcrel16abs.d
pcrel16abs.s
pr12627.d Add a testcase for PR ld/12627. 2011-04-04 16:36:29 +00:00
pr12627.s Add a testcase for PR ld/12627. 2011-04-04 16:36:29 +00:00
pr12627.t Add a testcase for PR ld/12627. 2011-04-04 16:36:29 +00:00
pr12718.d Add testcases for PR ld/12718. 2011-05-01 13:38:22 +00:00
pr12718.s Add testcases for PR ld/12718. 2011-05-01 13:38:22 +00:00
pr12921.d Add testcases for PR ld/12921. 2011-06-24 14:03:15 +00:00
pr12921.s Add testcases for PR ld/12921. 2011-06-24 14:03:15 +00:00
pr13302.d Restore R_386_IRELATIVE and R_X86_64_IRELATIVE 2012-03-09 16:28:38 +00:00
pr13302.s Replace IRELATIVE relocations with RELATIVE in .rel.dyn. 2011-10-21 19:37:15 +00:00
protected1.d
protected1.s
protected2.d
protected2.s
protected3.d Don't hard code expected output. 2010-07-13 17:42:29 +00:00
protected3.s
protected4.d Handle relocation against protected function for -Bsymbolic 2012-03-20 18:16:38 +00:00
protected4.s Handle relocation against protected function for -Bsymbolic 2012-03-20 18:16:38 +00:00
protected5.d Handle relocation against protected function for -Bsymbolic 2012-03-20 18:16:38 +00:00
protected5.s Handle relocation against protected function for -Bsymbolic 2012-03-20 18:16:38 +00:00
reloc.d
reloc.s
tlsbin.dd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbin.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbin.s
tlsbin.sd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbin.td PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbindesc.dd Support arch-dependent fill 2012-01-31 17:54:39 +00:00
tlsbindesc.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbindesc.s
tlsbindesc.sd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbindesc.td PR ld/12570 2011-06-20 13:18:52 +00:00
tlsbinpic.s
tlsdesc.dd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsdesc.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsdesc.s
tlsdesc.sd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsdesc.td PR ld/12570 2011-06-20 13:18:52 +00:00
tlsg.s
tlsg.sd
tlsgd1.dd
tlsgd1.s
tlsgd2.d bfd/ 2009-06-19 16:00:33 +00:00
tlsgd2.s bfd/ 2009-06-19 16:00:33 +00:00
tlsgdesc.dd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsgdesc.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsgdesc.s
tlsie1.dd
tlsie1.s
tlsie2.d
tlsie2.s
tlsie3.d
tlsie3.s
tlsie4.d
tlsie4.s
tlsie5.d
tlsie5.s
tlsindntpoff.dd
tlsindntpoff.s
tlsld1.dd
tlsld1.s
tlslib.s
tlsnopic.dd Don't use multi byte nop instructions for i386 2012-02-09 22:51:58 +00:00
tlsnopic.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsnopic.sd PR ld/12570 2011-06-20 13:18:52 +00:00
tlsnopic1.s
tlsnopic2.s
tlspic.dd Don't use multi byte nop instructions for i386 2012-02-09 22:51:58 +00:00
tlspic.rd PR ld/12570 2011-06-20 13:18:52 +00:00
tlspic.sd PR ld/12570 2011-06-20 13:18:52 +00:00
tlspic.td PR ld/12570 2011-06-20 13:18:52 +00:00
tlspic1.s
tlspic2.s
tlspie1.d 2009-08-02 H.J. Lu <hongjiu.lu@intel.com> 2009-08-02 23:55:49 +00:00
tlspie1.s 2009-08-02 H.J. Lu <hongjiu.lu@intel.com> 2009-08-02 23:55:49 +00:00
tlspie2.d Properly handle R_386_TLS_LDO_32 for PIE. 2011-04-08 16:14:49 +00:00
tlspie2.s Properly handle R_386_TLS_LDO_32 for PIE. 2011-04-08 16:14:49 +00:00
vxworks1-lib.dd
vxworks1-lib.nd
vxworks1-lib.rd ld/testsuite/ 2011-07-27 20:58:14 +00:00
vxworks1-lib.s
vxworks1-lib.td
vxworks1-static.d
vxworks1.dd
vxworks1.ld
vxworks1.rd
vxworks1.s
vxworks2-static.sd
vxworks2.s
vxworks2.sd
warn1.d
warn1.s
zero.s