diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-05 01:20:21 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-05 01:20:21 +0000 |
| commit | 2a214a4cb8d68d3ab6d202feb3baabe31cc64355 (patch) | |
| tree | 2d57d3bba0123ccb4af6cab399903b92f61c900f /libpthread/nptl | |
| parent | 31e1fd4f8a380e2540426cd863b83c7c2e6a4376 (diff) | |
| download | uClibc-alpine-2a214a4cb8d68d3ab6d202feb3baabe31cc64355.tar.bz2 uClibc-alpine-2a214a4cb8d68d3ab6d202feb3baabe31cc64355.tar.xz | |
Clean up headers for the install target. Also define 'attribute_tls_model_ie' in 'libc-internal.h' where it belongs. Update includes in a few other miscellaneous files.
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> |
