blob: df2f2bb5e107bcda4897734700b833f2e3381709 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
* elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
before casting to void *.
* include/libc-internal.h (__pointer_type): New macro.
(__integer_if_pointer_type_sub): Likewise.
(__integer_if_pointer_type): Likewise.
(cast_to_integer): Likewise.
* 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.
(__arch_exchange_and_add_body): Likewise.
(__arch_add_body): Likewise.
(atomic_add_negative): Likewise.
(atomic_add_zero): Likewise.
nptl/
2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
* unwind.c (__pthread_unwind): Pass address of unwind_cleanup
to THREAD_SETMEM.
* 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: Include <libc-internal.h>.
(THREAD_SETMEM): Use cast_to_integer before casting to uint64_t.
(THREAD_SETMEM_NC): Likewise.
|