diff options
| author | Florian Weimer <fweimer@redhat.com> | 2025-01-02 13:45:27 +0100 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2025-01-02 13:45:27 +0100 |
| commit | ceae7e2770302b04a9f9321b66dc8978c9747bd1 (patch) | |
| tree | c20ae18da66e59056d5d6f01722dbd38050492cc /sysdeps/alpha | |
| parent | 64d07e117d93a8f0db324c376e0344d9aca21f6f (diff) | |
| download | glibc-ceae7e2770302b04a9f9321b66dc8978c9747bd1.tar.xz glibc-ceae7e2770302b04a9f9321b66dc8978c9747bd1.zip | |
elf: Introduce generic <dl-tls.h>
On arc, the definition of TLS_DTV_UNALLOCATED now comes from
<dl-dtv.h>.
For x86-64 x32, a separate version is needed because unsigned long int
is 32 bits on this target.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/alpha')
| -rw-r--r-- | sysdeps/alpha/dl-tls.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sysdeps/alpha/dl-tls.h b/sysdeps/alpha/dl-tls.h deleted file mode 100644 index 02cf57da3e..0000000000 --- a/sysdeps/alpha/dl-tls.h +++ /dev/null @@ -1,27 +0,0 @@ -/* Thread-local storage handling in the ELF dynamic linker. Alpha version. - Copyright (C) 2002-2025 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see - <https://www.gnu.org/licenses/>. */ - - -/* Type used for the representation of TLS information in the GOT. */ -typedef struct -{ - unsigned long int ti_module; - unsigned long int ti_offset; -} tls_index; - -extern void *__tls_get_addr (tls_index *ti); |
