Adhemerval Zanella baf2a265c7 misc: Optimize internal usage of __libc_single_threaded
By adding an internal alias to avoid the GOT indirection.
On some architecture, __libc_single_thread may be accessed through
copy relocations and thus it requires to update also the copies
default copy.

This is done by adding a new internal macro,
libc_hidden_data_{proto,def}, which has an addition argument that
specifies the alias name (instead of default __GI_ one).

Checked on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Fangrui Song <maskray@google.com>
2022-06-24 17:45:58 -03:00
..
2016-10-28 22:40:16 -04:00
2021-06-22 12:09:52 -03:00
2021-12-28 22:52:56 +01:00
2022-02-03 00:23:26 -05:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2017-04-07 07:45:53 -04:00
2022-04-19 15:52:27 -07:00
2021-07-22 18:38:04 +05:30
2021-09-15 22:57:35 +00:00
2021-07-07 18:33:52 +02:00
2021-06-30 08:43:37 +02:00
2021-09-21 08:00:44 -07:00
2019-05-02 11:42:51 +02:00
2019-10-09 17:48:41 -03:00
2022-04-19 15:52:27 -07:00
2021-06-30 08:43:37 +02:00
2019-11-06 09:20:52 -03:00
2022-05-13 19:15:46 +05:30