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
..
2022-01-17 14:34:54 -03:00
2020-04-30 10:42:43 -07:00
2019-12-13 11:11:54 +01:00
2021-09-27 09:13:06 -03:00
2017-10-01 15:54:10 -07:00
2019-12-19 16:11:09 -03:00