diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-11-26 16:42:38 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-11-26 16:45:36 -0800 |
commit | c515fb5148f1d81d5f7736825e14c7502c15432a (patch) | |
tree | bffe0f355bac8c00df91b12a1feddc768677bc5d /ChangeLog | |
parent | 4cf77aa9847aac13bf65c977396b6e8a66337238 (diff) | |
download | glibc-c515fb5148f1d81d5f7736825e14c7502c15432a.zip glibc-c515fb5148f1d81d5f7736825e14c7502c15432a.tar.gz glibc-c515fb5148f1d81d5f7736825e14c7502c15432a.tar.bz2 |
Cast to __intptr_t before casting pointer to int64
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,20 @@ +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. + 2012-11-26 Joseph Myers <joseph@codesourcery.com> * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function. |