bors
5576b0558c
Auto merge of #24448 - alexcrichton:issue-24445, r=huonw
...
One of the parameters to the magical "register a thread-local destructor"
function is called `__dso_handle` and largely just passed along (this seems to
be what other implementations do). Currently we pass the *value* of this symbol,
but apparently the correct piece of information to pass is the *address* of the
symbol.
In a PIE binary the symbol actually contains an address to itself which is why
we've gotten away with what we're doing as long as we have. In a non-PIE binary
the symbol contains the address `NULL`, causing a segfault in the runtime
library if it keeps going.
Closes #24445
2015-04-16 13:29:52 +00:00
..
2015-02-07 10:51:25 -08:00
2015-04-01 11:22:39 -04:00
2015-03-23 14:40:26 -07:00
2015-03-09 21:04:13 +05:30
2015-02-05 14:37:16 -08:00
2015-02-05 14:37:16 -08:00
2015-02-05 14:37:16 -08:00
2015-04-04 12:33:44 -07:00
2015-02-05 14:37:16 -08:00
2015-02-05 14:37:16 -08:00
2015-03-23 14:40:26 -07:00
2014-11-15 14:51:22 +01:00
2015-03-15 09:08:21 -07:00
2015-01-16 08:48:16 -08:00
2015-01-20 11:16:26 -08:00
2015-03-15 09:08:21 -07:00
2015-03-05 14:51:38 -08:00
2015-01-20 11:16:26 -08:00
2015-01-20 11:16:26 -08:00
2015-02-09 19:51:21 +02:00
2014-11-03 15:08:20 -08:00
2015-02-06 04:41:49 +03:00
2015-01-20 11:16:26 -08:00
2015-01-06 08:22:59 -08:00
2015-03-15 09:08:21 -07:00
2015-03-15 09:08:21 -07:00
2015-02-05 14:37:16 -08:00
2015-02-05 14:37:16 -08:00
2015-03-27 16:09:54 -07:00
2015-04-01 11:22:39 -04:00
2015-02-05 14:37:16 -08:00
2015-03-15 09:08:21 -07:00
2014-07-18 18:09:08 -07:00
2015-03-27 12:50:49 -07:00
2015-04-15 10:40:04 -04:00
2015-03-15 09:08:21 -07:00
2015-03-26 12:10:22 -07:00
2014-03-01 23:36:28 -08:00
2015-03-26 12:10:22 -07:00
2014-07-05 12:46:42 -07:00
2015-02-05 14:37:16 -08:00
2015-04-04 12:33:44 -07:00
2015-02-05 14:37:16 -08:00
2015-03-23 17:10:19 -07:00
2015-04-10 00:58:10 -07:00
2015-04-15 09:14:48 -07:00
2015-03-15 09:08:21 -07:00
2014-12-19 11:38:24 -08:00
2015-03-31 15:49:57 -07:00
2015-03-15 09:08:21 -07:00
2014-04-16 17:45:06 +02:00
2014-09-29 15:07:14 +02:00
2014-09-21 02:17:31 -04:00
2015-04-04 12:33:44 -07:00
2015-03-23 14:40:26 -07:00
2014-07-05 12:46:42 -07:00
2015-03-15 09:08:21 -07:00
2015-03-15 11:25:43 -07:00
2015-03-26 12:10:22 -07:00
2015-03-06 10:03:00 +08:00
2015-03-15 11:25:43 -07:00
2015-03-26 12:10:22 -07:00
2015-03-15 09:08:21 -07:00
2014-05-18 22:56:26 +02:00
2015-03-23 14:40:26 -07:00
2014-08-18 13:45:08 +09:00
2015-04-04 12:33:44 -07:00
2015-03-15 09:08:21 -07:00
2014-12-19 11:38:24 -08:00
2015-03-27 10:19:59 -07:00
2014-11-03 15:08:20 -08:00
2014-02-14 22:55:21 -08:00
2015-03-26 12:10:22 -07:00
2015-03-06 10:03:00 +08:00
2015-03-28 18:09:51 +03:00
2015-01-20 11:16:26 -08:00
2014-04-28 11:45:30 +09:00
2014-04-06 15:06:44 +02:00
2014-04-14 21:00:31 +05:30
2015-02-18 10:25:28 -05:00
2015-04-14 10:14:19 -07:00
2015-03-28 18:12:06 +05:30
2014-12-19 11:38:24 -08:00
2015-03-26 12:10:22 -07:00
2015-04-02 13:24:46 -04:00
2014-11-03 15:08:20 -08:00
2014-02-14 22:55:21 -08:00
2014-12-02 04:52:29 +08:00
2015-02-17 19:42:28 -08:00
2014-12-23 10:08:17 -08:00
2014-11-03 15:08:20 -08:00
2015-04-15 16:13:26 -07:00
2014-08-15 14:40:09 +02:00
2014-11-03 15:08:20 -08:00
2015-03-10 01:56:51 +01:00
2015-04-02 13:24:46 -04:00
2014-10-12 11:40:19 -07:00
2015-04-14 10:14:19 -07:00
2015-04-04 12:33:44 -07:00
2014-12-19 11:38:24 -08:00
2015-03-26 12:10:22 -07:00
2015-03-27 11:43:40 -07:00
2015-04-04 12:33:44 -07:00