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
..
2005-07-18 06:23:40 +00:00
2010-04-22 01:51:01 +00:00
2007-03-22 15:50:38 +00:00
2007-03-22 15:50:38 +00:00
2002-10-10 07:49:11 +00:00
2010-07-15 00:42:23 +00:00
2010-07-15 00:42:23 +00:00
2006-02-28 07:16:12 +00:00
2006-02-28 07:16:12 +00:00
2008-03-16 22:26:23 +00:00
2008-03-16 22:26:23 +00:00
2010-07-13 17:42:29 +00:00
2008-03-16 22:26:23 +00:00
2008-03-16 22:26:23 +00:00
2008-03-16 22:26:23 +00:00
2006-01-18 21:07:51 +00:00
2005-07-18 06:23:40 +00:00
2007-02-05 18:22:49 +00:00
2005-08-03 16:30:34 +00:00
2007-03-07 08:54:35 +00:00
2007-03-07 08:54:35 +00:00
2008-03-16 22:26:23 +00:00
2008-03-16 22:26:23 +00:00
2008-03-16 22:26:23 +00:00
2008-03-16 22:26:23 +00:00
2010-07-13 17:42:29 +00:00
2008-03-16 22:26:23 +00:00
2007-09-20 17:38:38 +00:00
2009-09-24 15:56:52 +00:00
2004-05-11 17:08:38 +00:00
2008-07-28 18:07:05 +00:00
2009-09-24 15:56:52 +00:00
2006-01-18 21:07:51 +00:00
2006-01-18 21:07:51 +00:00
2006-01-18 21:07:51 +00:00
2007-08-23 16:13:37 +00:00
2007-04-27 04:22:02 +00:00
2009-09-24 15:56:52 +00:00
2006-01-18 21:07:51 +00:00
2006-10-17 13:41:49 +00:00
2006-01-18 21:07:51 +00:00
2002-10-01 09:10:46 +00:00
2002-10-01 09:10:46 +00:00
2007-08-23 16:13:37 +00:00
2007-08-23 16:13:37 +00:00
2009-06-19 16:00:33 +00:00
2009-06-19 16:00:33 +00:00
2007-04-27 04:22:02 +00:00
2009-09-24 15:56:52 +00:00
2006-01-18 21:07:51 +00:00
2002-10-01 10:43:37 +00:00
2002-10-01 10:43:37 +00:00
2008-12-18 22:47:32 +00:00
2007-08-14 19:48:21 +00:00
2004-05-11 17:08:38 +00:00
2007-04-27 04:22:02 +00:00
2009-09-24 15:56:52 +00:00
2007-04-27 04:22:02 +00:00
2009-09-24 15:56:52 +00:00
2004-05-11 17:08:38 +00:00
2006-03-02 08:57:00 +00:00
2006-03-02 09:44:23 +00:00
2007-05-15 12:22:34 +00:00
ld/
2006-03-03 09:32:01 +00:00
2007-05-15 12:22:34 +00:00
2006-03-02 08:54:43 +00:00
2006-02-28 07:17:33 +00:00
ld/
2006-03-03 09:32:01 +00:00
ld/
2006-03-03 09:32:01 +00:00
ld/
2006-03-03 09:32:01 +00:00
2007-04-05 16:16:28 +00:00
2007-04-05 16:16:28 +00:00
2005-07-18 06:23:40 +00:00