H.J. Lu 97d343d400 x86: Add DT_PLTRELSZ/DT_PLTREL/DT_JMPREL for PLT relocation
x86, PLT relocation may contain R_386_TLS_DESC or R_X86_64_TLSDESC
even though there is no real PLT.  We need to add DT_PLTRELSZ, DT_PLTREL
and DT_JMPREL if there is a .rel.plt/.rela.plt section.

bfd/

	* elf32-i386.c (elf_i386_size_dynamic_sections): Alwasys add
	DT_PLTRELSZ, DT_PLTREL and DT_JMPREL for .rel.plt section.
	* elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Alwasys
	add DT_PLTRELSZ, DT_PLTREL and DT_JMPREL for .rela.plt section.

ld/

	* testsuite/ld-i386/tlsdesc2.d: New test.
	* testsuite/ld-x86-64/tlsdesc2.d: Likewise.
2017-04-26 15:34:00 -07:00
..
2011-07-22 20:22:38 +00:00
2012-04-03 16:01:38 +00:00
2013-11-21 04:53:05 -08:00
2013-11-21 04:53:05 -08:00
2015-10-22 04:56:39 -07:00
2015-02-19 04:45:27 -08:00
2010-07-15 00:42:23 +00:00
2011-01-03 18:16:46 +00:00
2008-08-22 08:32:40 +00:00
2008-08-22 08:32:40 +00:00
2008-08-22 08:32:40 +00:00
2011-01-03 18:16:46 +00:00
2014-11-13 11:09:40 -08:00
2014-11-13 11:09:40 -08:00
2012-04-03 16:01:38 +00:00
2013-08-26 22:18:07 +00:00
2013-08-26 22:18:07 +00:00
2011-01-14 23:07:11 +00:00
2012-04-03 16:01:38 +00:00
2012-04-03 16:01:38 +00:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2010-10-01 04:47:02 +00:00
2010-10-01 04:47:02 +00:00
2017-04-03 08:08:27 -07:00
2012-04-03 16:01:38 +00:00
2016-04-20 11:13:56 -07:00
2016-04-20 11:13:56 -07:00
2015-02-19 04:45:27 -08:00
2016-04-20 11:12:22 -07:00
2016-04-20 11:12:22 -07:00
2014-11-20 13:29:41 -08:00
2015-10-29 09:18:57 -07:00
2012-04-03 16:01:38 +00:00
2012-04-03 16:01:38 +00:00
2012-04-03 16:01:38 +00:00
2012-05-22 18:22:03 +00:00
2012-05-22 18:22:03 +00:00
2011-05-01 13:38:22 +00:00
2011-06-24 14:03:15 +00:00
2014-11-20 13:38:31 -08:00
2015-04-22 23:19:59 +09:30
2015-04-01 04:24:24 -07:00
2015-04-01 04:24:24 -07:00
2016-02-02 06:36:52 -08:00
2015-10-01 09:31:16 +09:30
2015-10-28 03:20:55 -07:00
2015-10-28 03:20:55 -07:00
2016-03-13 08:57:10 -07:00
2016-03-13 08:57:10 -07:00
2016-03-13 08:57:10 -07:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-04-19 20:11:55 -07:00
2016-04-19 20:11:55 -07:00
2016-03-15 11:47:06 -07:00
2016-03-15 11:47:06 -07:00
2016-03-15 11:47:06 -07:00
2012-04-03 16:01:38 +00:00
2012-04-03 16:01:38 +00:00
2010-09-07 17:52:32 +00:00
2010-09-07 17:52:32 +00:00
2011-01-03 18:16:46 +00:00
2017-01-02 23:48:08 +10:30
2012-04-03 16:01:38 +00:00
2012-04-03 16:01:38 +00:00
2012-04-03 16:01:38 +00:00
2012-04-03 16:01:38 +00:00
2012-04-03 16:01:38 +00:00
2012-04-03 16:01:38 +00:00
2013-06-28 15:07:55 +00:00
2013-07-01 16:17:11 +00:00
2009-06-19 16:00:33 +00:00
2011-03-03 22:11:33 +00:00
2009-07-23 21:22:20 +00:00
2009-07-23 21:22:20 +00:00
2012-04-03 16:01:38 +00:00
2012-04-03 16:01:38 +00:00
2010-04-07 02:41:35 +00:00
2010-04-07 02:41:35 +00:00