]> gcc.gnu.org Git - gcc.git/commit
libgcc, emutls: Allow building weak definitions of the emutls functions.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 19 Sep 2021 11:35:46 +0000 (12:35 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 14 Apr 2022 05:27:41 +0000 (06:27 +0100)
commit0aa76f8d8ebc96b57213263192fc056f740fa0db
tree3546d4653498b4f46062be230be5abc60648977f
parentf155c4d9d1cf08e8384ed5f3b752e505cc642ab9
libgcc, emutls: Allow building weak definitions of the emutls functions.

In order to better support use of the emulated TLS between objects with
DSO dependencies and static-linked libgcc, allow a target to make weak
definitions.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libgcc/ChangeLog:

* config/t-darwin: Build weak-defined emutls objects.
* emutls.c (__emutls_get_address): Add optional attributes.
(__emutls_register_common): Likewise.
(EMUTLS_ATTR): New.

(cherry picked from commit b9873b4e2c9a9955789318f4d550147ef9405b07)
libgcc/config/t-darwin
libgcc/emutls.c
This page took 0.056227 seconds and 5 git commands to generate.