This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 2/4] alpha: Fix __pointer_chk_guard definition for the testsuite
- From: Richard Henderson <rth at twiddle dot net>
- To: libc-alpha at sourceware dot org
- Date: Wed, 16 Apr 2014 21:49:37 -0700
- Subject: [PATCH 2/4] alpha: Fix __pointer_chk_guard definition for the testsuite
- Authentication-results: sourceware.org; auth=none
- References: <1397710179-28556-1-git-send-email-rth at twiddle dot net>
---
ChangeLog | 3 +++
sysdeps/unix/alpha/sysdep.h | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 3f9b7ea..31731d3 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 7425026..0c40ca6 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
--
1.9.0