diff options
Diffstat (limited to 'libpthread/nptl')
-rw-r--r-- | libpthread/nptl/compat/libc-symbols.h | 6 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/generic/dl-tls.c | 1 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/i386/fork.c | 1 |
3 files changed, 2 insertions, 6 deletions
diff --git a/libpthread/nptl/compat/libc-symbols.h b/libpthread/nptl/compat/libc-symbols.h index e281a3046..2cc3316b5 100644 --- a/libpthread/nptl/compat/libc-symbols.h +++ b/libpthread/nptl/compat/libc-symbols.h @@ -98,12 +98,6 @@ # define libc_hidden_data_ver(local, name) #endif -#ifdef HAVE_TLS_MODEL_ATTRIBUTE -# define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec"))) -#else -# define attribute_tls_model_ie -#endif - /* Define SET as a symbol set. This may be required (it is in a.out) to be able to use the set's contents. */ # define symbol_set_define(set) symbol_set_declare(set) diff --git a/libpthread/nptl/sysdeps/generic/dl-tls.c b/libpthread/nptl/sysdeps/generic/dl-tls.c index 1ba8d85fe..d5a25d01b 100644 --- a/libpthread/nptl/sysdeps/generic/dl-tls.c +++ b/libpthread/nptl/sysdeps/generic/dl-tls.c @@ -29,6 +29,7 @@ #include <link.h> #include <string.h> #include <unistd.h> +#include <stdio.h> #define _dl_malloc malloc #define _dl_memset memset diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/fork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/fork.c index 813e5299a..0ddfe70da 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/fork.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/fork.c @@ -19,6 +19,7 @@ #include <sched.h> #include <signal.h> +#include <stdio.h> #include <sysdep.h> #include <tls.h> |