mirror of git://sourceware.org/git/glibc.git
elf: Build dl-tls.o with early startup symbol redirections
This is required when building for powerpc64le POWER8 with GCC 8
at least.
Fixes commit cbd9fd2369
("Consolidate
TLS block allocation for static binaries with ld.so").
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
37a0933e1b
commit
68c9ef4419
|
@ -30,6 +30,7 @@
|
|||
#include <dl-extra_tls.h>
|
||||
#include <array_length.h>
|
||||
#include <elf/dl-tls_block_align.h>
|
||||
#include <dl-symbol-redir-ifunc.h>
|
||||
|
||||
#ifdef SHARED
|
||||
#error makefile bug, this file is for static only
|
||||
|
|
|
@ -39,6 +39,12 @@
|
|||
|
||||
#include <dl-extra_tls.h>
|
||||
|
||||
/* This code is used during early startup when statically linked,
|
||||
via __libc_setup_tls in csu/libc-tls.c. */
|
||||
#ifndef SHARED
|
||||
# include <dl-symbol-redir-ifunc.h>
|
||||
#endif
|
||||
|
||||
/* Surplus static TLS, GLRO(dl_tls_static_surplus), is used for
|
||||
|
||||
- IE TLS in libc.so for all dlmopen namespaces except in the initial
|
||||
|
|
Loading…
Reference in New Issue