binutils-gdb/ld/testsuite/ld-i386
H.J. Lu 56d4289c6c Check if .got.plt section is discarded before using it.
bfd/

2010-08-13  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/11913
	* elf32-i386.c (elf_i386_finish_dynamic_sections): Check if
	 .got.plt section is discarded.
	 * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Likewise.

ld/testsuite/

2010-08-13  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/11913
	* ld-i386/discarded1.d: New.
	* ld-i386/discarded1.s: Likewise.
	* ld-i386/discarded1.t: Likewise.
	* ld-x86-64/discarded1.d: Likewise.
	* ld-x86-64/discarded1.s: Likewise.
	* ld-x86-64/discarded1.t: Likewise.

	* ld-i386/i386.exp: Run discarded1.
	* ld-x86-64/x86-64.exp: Likewise.
2010-08-13 20:50:27 +00:00
..
abs.d 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> 2009-04-08 21:48:47 +00:00
abs.s
alloc.d bfd/ 2010-04-22 01:51:01 +00:00
alloc.s bfd/ 2007-03-22 15:50:38 +00:00
alloc.t bfd/ 2007-03-22 15:50:38 +00:00
combreloc.d 2007-04-05 H.J. Lu <hongjiu.lu@intel.com> 2007-04-05 13:47:02 +00:00
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 bfd/ 2006-02-28 07:16:12 +00:00
emit-relocs.s bfd/ 2006-02-28 07:16:12 +00:00
hidden1.d bfd/ 2008-03-16 22:26:23 +00:00
hidden1.s bfd/ 2008-03-16 22:26:23 +00:00
hidden2.d Don't hard code expected output. 2010-07-13 17:42:29 +00:00
hidden2.s bfd/ 2008-03-16 22:26:23 +00:00
hidden3.d bfd/ 2008-03-16 22:26:23 +00:00
hidden3.s bfd/ 2008-03-16 22:26:23 +00:00
i386.exp Check if .got.plt section is discarded before using it. 2010-08-13 20:50:27 +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 Don't allocate .got.plt section if there are no GOT nor PLT entries. 2010-07-14 00:30:57 +00:00
pcrel8.d include/elf/ChangeLog: 2006-01-18 21:07:51 +00:00
pcrel8.s
pcrel16.d ld/testsuite/ 2007-02-05 18:22:49 +00:00
pcrel16.s
pcrel16abs.d PR 3958 2007-03-07 08:54:35 +00:00
pcrel16abs.s PR 3958 2007-03-07 08:54:35 +00:00
protected1.d bfd/ 2008-03-16 22:26:23 +00:00
protected1.s bfd/ 2008-03-16 22:26:23 +00:00
protected2.d bfd/ 2008-03-16 22:26:23 +00:00
protected2.s bfd/ 2008-03-16 22:26:23 +00:00
protected3.d Don't hard code expected output. 2010-07-13 17:42:29 +00:00
protected3.s bfd/ 2008-03-16 22:26:23 +00:00
reloc.d 2007-04-05 H.J. Lu <hongjiu.lu@intel.com> 2007-04-05 13:47:02 +00:00
reloc.s
tlsbin.dd gas/ 2007-09-20 17:38:38 +00:00
tlsbin.rd bfd/ 2009-09-24 15:56:52 +00:00
tlsbin.s
tlsbin.sd
tlsbin.td
tlsbindesc.dd bfd/ChangeLog: 2008-07-28 18:07:05 +00:00
tlsbindesc.rd bfd/ 2009-09-24 15:56:52 +00:00
tlsbindesc.s include/elf/ChangeLog: 2006-01-18 21:07:51 +00:00
tlsbindesc.sd include/elf/ChangeLog: 2006-01-18 21:07:51 +00:00
tlsbindesc.td include/elf/ChangeLog: 2006-01-18 21:07:51 +00:00
tlsbinpic.s bfd/ 2007-08-23 16:13:37 +00:00
tlsdesc.dd gas/testsuite/ 2007-04-27 04:22:02 +00:00
tlsdesc.rd bfd/ 2009-09-24 15:56:52 +00:00
tlsdesc.s include/elf/ChangeLog: 2006-01-18 21:07:51 +00:00
tlsdesc.sd bfd/ 2006-10-17 13:41:49 +00:00
tlsdesc.td include/elf/ChangeLog: 2006-01-18 21:07:51 +00:00
tlsg.s
tlsg.sd
tlsgd1.dd bfd/ 2007-08-23 16:13:37 +00:00
tlsgd1.s bfd/ 2007-08-23 16:13:37 +00:00
tlsgd2.d bfd/ 2009-06-19 16:00:33 +00:00
tlsgd2.s bfd/ 2009-06-19 16:00:33 +00:00
tlsgdesc.dd gas/testsuite/ 2007-04-27 04:22:02 +00:00
tlsgdesc.rd bfd/ 2009-09-24 15:56:52 +00:00
tlsgdesc.s include/elf/ChangeLog: 2006-01-18 21:07:51 +00:00
tlsie1.dd 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie1.s 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie2.d 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie2.s 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie3.d 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie3.s 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie4.d 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie4.s 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie5.d 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsie5.s 2007-08-24 H.J. Lu <hongjiu.lu@intel.com> 2007-08-24 19:39:19 +00:00
tlsindntpoff.dd
tlsindntpoff.s
tlsld1.dd gas/testsuite/ 2008-12-18 22:47:32 +00:00
tlsld1.s bfd/ 2007-08-14 19:48:21 +00:00
tlslib.s
tlsnopic1.s
tlsnopic2.s
tlsnopic.dd gas/testsuite/ 2007-04-27 04:22:02 +00:00
tlsnopic.rd bfd/ 2009-09-24 15:56:52 +00:00
tlsnopic.sd
tlspic1.s
tlspic2.s
tlspic.dd gas/testsuite/ 2007-04-27 04:22:02 +00:00
tlspic.rd bfd/ 2009-09-24 15:56:52 +00:00
tlspic.sd
tlspic.td
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
vxworks1-lib.dd * ld-i386/vxworks1-lib.dd: Adjust expected disassembly. 2009-04-28 12:46:10 +00:00
vxworks1-lib.nd bfd/ 2006-03-02 08:57:00 +00:00
vxworks1-lib.rd * ld-i386/vxworks1-lib.dd: Adjust expected disassembly. 2009-04-28 12:46:10 +00:00
vxworks1-lib.s bfd/ 2006-03-02 09:44:23 +00:00
vxworks1-lib.td ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1-static.d ld/ 2006-03-03 09:32:01 +00:00
vxworks1.dd * ld-i386/vxworks1-lib.dd: Adjust expected disassembly. 2009-04-28 12:46:10 +00:00
vxworks1.ld ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1.rd ld/testsuite/ 2006-03-02 08:54:43 +00:00
vxworks1.s ld/testsuite/ 2006-02-28 07:17:33 +00:00
vxworks2-static.sd ld/ 2006-03-03 09:32:01 +00:00
vxworks2.s ld/ 2006-03-03 09:32:01 +00:00
vxworks2.sd ld/ 2006-03-03 09:32:01 +00:00
warn1.d bfd/ 2007-04-05 16:16:28 +00:00
warn1.s bfd/ 2007-04-05 16:16:28 +00:00
zero.s