alpha: Fix __pointer_chk_guard definition for the testsuite
This commit is contained in:
parent
95fc5fa3db
commit
a3df56fcae
@ -1,5 +1,8 @@
|
|||||||
2014-04-16 Richard Henderson <rth@redhat.com>
|
2014-04-16 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
|
||||||
|
const from the non-libc, non-ldso copy.
|
||||||
|
|
||||||
* sysdeps/alpha/libm-test-ulps: Regenerate.
|
* sysdeps/alpha/libm-test-ulps: Regenerate.
|
||||||
|
|
||||||
2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
||||||
|
@ -377,7 +377,7 @@ extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden;
|
|||||||
# define PTR_MANGLE(var) \
|
# define PTR_MANGLE(var) \
|
||||||
(var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local)
|
(var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local)
|
||||||
# else
|
# else
|
||||||
extern const uintptr_t __pointer_chk_guard attribute_relro;
|
extern uintptr_t __pointer_chk_guard attribute_relro;
|
||||||
# define PTR_MANGLE(var) \
|
# define PTR_MANGLE(var) \
|
||||||
(var) = (__typeof(var)) ((uintptr_t) (var) ^ __pointer_chk_guard)
|
(var) = (__typeof(var)) ((uintptr_t) (var) ^ __pointer_chk_guard)
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user