]> sourceware.org Git - glibc.git/commit
stdlib: Do not use GLIBC_PRIVATE ABI for errno in libc_nonshared.a
authorFlorian Weimer <fweimer@redhat.com>
Fri, 6 Sep 2024 12:07:00 +0000 (14:07 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 6 Sep 2024 12:07:00 +0000 (14:07 +0200)
commit7d6e30b4b4e83429cc77222d4fe4d5e8843d8e2b
tree9c9c8983e8b6da3e633dca2c5e596eb53def0d17
parent6efd6cd46bf2257e674be4933a034542d80944eb
stdlib: Do not use GLIBC_PRIVATE ABI for errno in libc_nonshared.a

Using TLS directly introduces a GLIBC_PRIVATE ABI dependency
into libc_nonshared.a, and thus indirectly into applications.
Adding the !defined LIBC_NONSHARED condition deactivates direct
TLS access, and libc_nonshared.a code switches to using
__errno_location, like application code.

Currently, this has no effect because there is no code in
libc_nonshared.a that accesses errno.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
include/errno.h
This page took 0.037639 seconds and 5 git commands to generate.