aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-04-16 21:28:50 -0700
committerRichard Henderson <rth@twiddle.net>2014-04-16 21:35:27 -0700
commita3df56fcae737c71508c7f8d38f0728642b66d66 (patch)
tree8d199a50f9d8fd0e8199da12a5f3cfa5a2fbf9b2
parent95fc5fa3db2692b2f5a214b5be9076970e1afadc (diff)
downloadglibc-a3df56fcae737c71508c7f8d38f0728642b66d66.tar
glibc-a3df56fcae737c71508c7f8d38f0728642b66d66.tar.gz
glibc-a3df56fcae737c71508c7f8d38f0728642b66d66.tar.bz2
glibc-a3df56fcae737c71508c7f8d38f0728642b66d66.zip
alpha: Fix __pointer_chk_guard definition for the testsuite
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/alpha/sysdep.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f9b7eaf84..31731d3d10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
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.
2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
diff --git a/sysdeps/unix/alpha/sysdep.h b/sysdeps/unix/alpha/sysdep.h
index 7425026241..0c40ca64bc 100644
--- a/sysdeps/unix/alpha/sysdep.h
+++ b/sysdeps/unix/alpha/sysdep.h
@@ -377,7 +377,7 @@ extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden;
# define PTR_MANGLE(var) \
(var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local)
# else
-extern const uintptr_t __pointer_chk_guard attribute_relro;
+extern uintptr_t __pointer_chk_guard attribute_relro;
# define PTR_MANGLE(var) \
(var) = (__typeof(var)) ((uintptr_t) (var) ^ __pointer_chk_guard)
# endif