Florian Weimer
3a0ecccb59
ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486 ]
...
Exporting functions and relying on symbol interposition from libc.so
makes the choice of implementation dependent on DT_NEEDED order, which
is not what some compiler drivers expect.
This commit replaces one magic mechanism (symbol interposition) with
another one (preprocessor-/compiler-based redirection). This makes
the hand-over from the minimal malloc to the full malloc more
explicit.
Removing the ABI symbols is backwards-compatible because libc.so is
always in scope, and the dynamic loader will find the malloc-related
symbols there since commit f0b2132b35
("ld.so: Support moving versioned symbols between sonames
[BZ #24741 ]").
Reviewed-by: Carlos O'Donell <carlos@redhat.com >
2020-02-15 11:01:23 +01:00
..
2019-01-21 21:26:03 +01:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2014-12-16 18:18:49 +00:00
2019-02-16 08:25:16 +01:00
2020-01-01 00:14:33 +00:00
2018-06-26 15:27:12 +02:00
2019-02-16 08:25:16 +01:00
2020-02-12 08:43:59 +01:00
2017-10-01 15:21:00 -07:00
2020-01-01 00:14:33 +00:00
2018-06-27 19:20:37 +02:00
2020-01-01 00:14:33 +00:00
2019-02-16 08:25:16 +01:00
2017-10-01 15:10:27 -07:00
2019-03-01 15:21:32 -03:00
2018-02-15 21:00:02 +00:00
2020-01-01 00:14:33 +00:00
2017-10-03 01:33:38 +02:00
2020-01-01 00:14:33 +00:00
2017-05-15 10:23:28 -03:00
2014-12-11 21:41:30 +00:00
2016-10-28 22:40:16 -04:00
2018-02-23 13:54:53 +00:00
2019-10-09 11:31:03 +02:00
2019-10-16 18:21:30 +02:00
2017-09-26 16:53:44 -07:00
2019-06-18 16:42:10 +02:00
2016-09-23 08:43:56 -04:00
2019-03-01 15:24:51 -03:00
2018-03-25 00:48:01 +01:00
2019-03-01 15:26:36 -03:00
2016-09-23 08:43:56 -04:00
2018-06-26 13:22:53 -03:00
2020-02-01 17:16:54 +05:30
2018-09-04 19:52:06 +00:00
2020-02-12 08:42:58 +01:00
2019-08-15 15:18:34 +00:00
2014-12-11 21:41:30 +00:00
2017-10-01 17:52:15 -07:00
2019-02-16 08:25:16 +01:00
2019-02-16 08:25:16 +01:00
2017-04-07 07:45:53 -04:00
2017-10-01 18:02:10 -07:00
2017-10-01 15:15:30 -07:00
2020-01-01 00:14:33 +00:00
2016-04-29 22:18:21 -04:00
2017-10-01 15:13:13 -07:00
2017-10-01 15:19:17 -07:00
2017-09-28 01:05:18 +02:00
2017-10-01 17:35:46 -07:00
2020-01-01 00:14:33 +00:00
2020-02-15 11:01:23 +01:00
2020-01-01 00:14:33 +00:00
2019-03-13 09:42:09 -04:00
2019-02-16 08:25:16 +01:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-02-15 11:01:23 +01:00
2016-09-23 08:43:56 -04:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-02-15 11:01:23 +01:00
2020-01-01 00:14:33 +00:00
2019-11-21 09:39:48 -06:00
2016-09-23 08:43:56 -04:00
2017-10-01 17:37:42 -07:00
2019-12-03 13:30:37 -03:00
2015-06-17 20:19:04 +00:00
2017-10-01 15:21:00 -07:00
2017-11-23 14:08:11 +01:00
2016-09-23 08:43:56 -04:00
2017-10-01 17:31:05 -07:00
2017-08-22 07:50:57 -07:00
2015-06-17 20:16:56 +00:00
2016-09-23 08:43:56 -04:00
2017-10-01 15:13:13 -07:00
2020-01-01 00:14:33 +00:00
2019-02-16 08:25:16 +01:00
2017-10-01 15:53:15 -07:00
2019-02-16 08:25:16 +01:00
2017-11-22 22:21:10 +00:00
2020-01-01 00:14:33 +00:00
2020-02-15 11:01:23 +01:00
2018-12-07 12:47:41 -08:00
2020-01-01 00:14:33 +00:00
2019-05-02 11:42:51 +02:00
2020-01-01 00:14:33 +00:00
2019-08-15 15:18:34 +00:00
2017-10-01 15:13:13 -07:00
2020-01-01 00:14:33 +00:00
2017-10-03 01:33:38 +02:00
2019-10-09 17:48:41 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2019-03-13 09:42:09 -04:00
2016-09-23 08:43:56 -04:00
2019-12-27 15:02:10 -03:00
2020-02-15 11:01:23 +01:00
2018-06-26 15:27:12 +02:00
2017-10-01 17:48:24 -07:00
2020-02-07 17:55:08 +01:00
2016-09-23 08:43:56 -04:00
2019-12-01 21:05:56 +00:00
2017-10-01 15:51:56 -07:00
2020-01-01 00:14:33 +00:00
2019-11-06 09:20:52 -03:00
2019-02-16 08:25:16 +01:00
2019-11-22 15:29:21 -03:00
2017-06-08 13:58:17 -04:00