diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-11-26 16:26:10 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-11-26 16:26:10 -0800 |
commit | 8cb8e0fc0e45df79c7d3eb776f7e15d2ab287e3b (patch) | |
tree | da3b2fe51d1a4dab3a3fb52fc24e55bdccf2c50c | |
parent | 17fb8e4022fc6792fa44a8bb3d10cf49cceba112 (diff) | |
download | glibc-hjl/pointer.tar.gz |
Include <libc-internal.h>hjl/pointer
-rw-r--r-- | ChangeLog.hjl | 9 | ||||
-rw-r--r-- | nptl/sysdeps/i386/tls.h | 1 | ||||
-rw-r--r-- | nptl/sysdeps/x86_64/tls.h | 1 | ||||
-rw-r--r-- | sysdeps/x86_64/bits/atomic.h | 1 |
4 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog.hjl b/ChangeLog.hjl index d3e9873815..df2f2bb5e1 100644 --- a/ChangeLog.hjl +++ b/ChangeLog.hjl @@ -6,7 +6,7 @@ (__integer_if_pointer_type_sub): Likewise. (__integer_if_pointer_type): Likewise. (cast_to_integer): Likewise. - * sysdeps/x86_64/bits/atomic.h + * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>. (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer before casting to atomic64_t. (atomic_exchange_acq): Likewise. @@ -21,8 +21,9 @@ nptl/ * unwind.c (__pthread_unwind): Pass address of unwind_cleanup to THREAD_SETMEM. - * sysdeps/i386/tls.h (THREAD_SETMEM): Use cast_to_integer before - casting to uint64_t. + * sysdeps/i386/tls.h: Include <libc-internal.h>. + (THREAD_SETMEM): Use cast_to_integer before casting to uint64_t. (THREAD_SETMEM_NC): Likewise. - * sysdeps/x86_64/tls.h (THREAD_SETMEM): Likewise. + * sysdeps/x86_64/tls.h: Include <libc-internal.h>. + (THREAD_SETMEM): Use cast_to_integer before casting to uint64_t. (THREAD_SETMEM_NC): Likewise. diff --git a/nptl/sysdeps/i386/tls.h b/nptl/sysdeps/i386/tls.h index 96a2708c89..90c7a534bf 100644 --- a/nptl/sysdeps/i386/tls.h +++ b/nptl/sysdeps/i386/tls.h @@ -26,6 +26,7 @@ # include <stdint.h> # include <stdlib.h> # include <sysdep.h> +# include <libc-internal.h> # include <kernel-features.h> diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h index ee0b6c028f..f3b76495b3 100644 --- a/nptl/sysdeps/x86_64/tls.h +++ b/nptl/sysdeps/x86_64/tls.h @@ -26,6 +26,7 @@ # include <stdint.h> # include <stdlib.h> # include <sysdep.h> +# include <libc-internal.h> # include <kernel-features.h> /* Replacement type for __m128 since this file is included by ld.so, diff --git a/sysdeps/x86_64/bits/atomic.h b/sysdeps/x86_64/bits/atomic.h index 81456ed2cf..552581c46e 100644 --- a/sysdeps/x86_64/bits/atomic.h +++ b/sysdeps/x86_64/bits/atomic.h @@ -18,6 +18,7 @@ #include <stdint.h> #include <tls.h> /* For tcbhead_t. */ +#include <libc-internal.h> typedef int8_t atomic8_t; |