Igor Kudrin
cefdd1cd64
Fix bad offset calculation for R_AARCH64_TLSDESC_* relocs.
...
If a custom linker script with an unexpected relative layout of .got
and .got.plt sections was used, gold might produce a wrong offset
when applying R_AARCH64_TLSDESC_* relocations.
This patch fixes the issue by calculating "got_tlsdesc_offset"
in a more direct way.
gold/
* aarch64.cc (Target_aarch64::Relocate::relocate_tls):
Make got_tlsdesc_offset signed and fix its calculation.
* testsuite/Makefile.am (aarch64_tlsdesc): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/aarch64_tlsdesc.s: New test source file.
* testsuite/aarch64_tlsdesc.sh: New test script.
* testsuite/aarch64_tlsdesc.t: New test linker script.
2017-08-28 08:03:00 -07:00
..
2016-07-26 08:55:14 -07:00
2016-06-28 15:50:29 -07:00
2017-01-02 14:08:56 +10:30
2016-07-26 08:55:14 -07:00
2017-01-02 14:08:56 +10:30
2017-08-28 08:03:00 -07:00
2017-08-28 08:03:00 -07:00
2017-08-28 08:03:00 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2015-07-06 15:02:40 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2015-07-06 15:02:40 -07:00
2015-07-06 15:02:40 -07:00
2015-07-06 15:02:40 -07:00
2015-07-06 15:02:40 -07:00
2015-07-06 15:02:40 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2015-07-06 15:02:40 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2016-09-02 15:51:59 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2016-09-02 15:51:59 -07:00
2016-12-19 15:28:28 -08:00
2016-12-19 15:28:28 -08:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2015-07-26 00:54:26 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2016-12-22 20:07:23 -08:00
2017-01-02 14:08:56 +10:30
2016-12-22 20:07:23 -08:00
2017-01-02 14:08:56 +10:30
2016-12-22 20:07:23 -08:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-11 11:47:27 -08:00
2017-01-10 11:50:07 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2014-07-08 22:52:37 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2016-03-20 19:17:14 -07:00
2016-03-20 19:17:14 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2015-04-01 16:52:09 +03:00
2015-04-01 16:52:09 +03:00
2015-04-01 16:52:09 +03:00
2015-04-01 16:52:09 +03:00
2015-04-01 16:52:09 +03:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-02-15 00:37:10 -08:00
2017-01-02 14:08:56 +10:30
2017-01-23 17:34:42 -08:00
2017-01-02 14:08:56 +10:30
2017-01-23 17:34:42 -08:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-23 17:34:42 -08:00
2017-01-02 14:08:56 +10:30
2013-03-07 05:31:44 +00:00
2015-07-22 03:37:50 -07:00
2015-07-22 03:37:50 -07:00
2017-01-02 14:08:56 +10:30
2015-07-22 03:37:50 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-08-28 08:03:00 -07:00
2017-08-28 08:03:00 -07:00
2017-01-02 14:08:56 +10:30
2015-03-21 19:54:15 -07:00
2015-03-21 19:54:15 -07:00
2015-03-21 19:54:15 -07:00
2015-03-21 19:54:15 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-04-27 11:54:29 +09:30
2016-03-03 11:42:13 -08:00
2016-03-03 11:42:13 -08:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2016-10-21 11:10:46 -07:00
2015-07-20 10:14:35 -07:00
2017-01-02 14:08:56 +10:30
2016-06-29 08:37:42 -07:00
2016-06-29 08:37:42 -07:00
2016-06-29 08:37:42 -07:00
2016-06-29 08:37:42 -07:00
2016-06-29 08:38:58 -07:00
2016-06-29 08:38:58 -07:00
2016-06-29 08:38:58 -07:00
2016-06-29 08:38:58 -07:00
2016-12-11 20:31:09 -08:00
2017-01-02 14:08:56 +10:30
2016-12-13 09:31:19 +10:30
2017-01-02 14:08:56 +10:30
2017-05-12 15:24:32 -07:00
2017-05-12 15:24:32 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2015-07-22 03:38:00 -07:00
2013-04-15 16:34:12 +00:00
2015-07-22 03:38:00 -07:00
2015-07-22 03:38:00 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2016-06-23 09:45:25 -07:00
2017-01-02 14:08:56 +10:30
2016-12-12 18:52:44 -08:00
2017-01-11 11:26:26 -08:00
2016-12-12 18:52:44 -08:00
2016-06-28 13:56:05 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2016-12-11 17:31:25 -08:00
2017-01-11 11:26:26 -08:00
2017-01-02 14:08:56 +10:30
2017-01-11 11:26:26 -08:00
2017-01-02 14:08:56 +10:30
2017-01-11 11:26:26 -08:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2017-01-02 14:08:56 +10:30
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2016-02-15 11:59:25 +01:00
2015-01-06 15:38:25 -08:00
2015-01-06 15:38:25 -08:00
2015-01-06 15:38:25 -08:00
2015-01-06 15:38:25 -08:00
2015-01-06 15:38:25 -08:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2015-07-06 15:02:40 -07:00
2015-07-06 15:02:40 -07:00
2015-07-06 15:02:40 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-10 11:50:07 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2015-08-18 19:24:41 -07:00
2015-08-18 19:24:41 -07:00
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2017-01-02 14:08:56 +10:30
2016-06-28 15:42:33 -07:00
2017-01-02 14:08:56 +10:30
2016-06-28 15:42:33 -07:00
2015-04-06 12:37:34 +03:00
2015-04-06 12:37:34 +03:00
2015-04-06 12:37:34 +03:00
2015-04-06 12:37:34 +03:00
2017-01-02 14:08:56 +10:30
2016-02-06 14:47:05 -08:00
2017-01-02 14:08:56 +10:30