aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-05-20 21:27:13 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-05-20 21:27:13 +0000
commit175cef4163dd60f95106cfd5f593b8a4e09d02c9 (patch)
treeae412697f6735c98673619f69aded223f389cd4c /ChangeLog
parent7c112a38127d1d1df0d31ac4ce437294b7813229 (diff)
downloadglibc-175cef4163dd60f95106cfd5f593b8a4e09d02c9.zip
glibc-175cef4163dd60f95106cfd5f593b8a4e09d02c9.tar.gz
glibc-175cef4163dd60f95106cfd5f593b8a4e09d02c9.tar.bz2
Fix ARM build with GCC trunk.
sysdeps/unix/sysv/linux/arm/unwind-resume.c and sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c have static variables that are written in C code but only read from toplevel asms. Current GCC trunk now optimizes away such apparently write-only static variables, so causing a build failure. This patch marks those variables with __attribute_used__ to avoid that optimization. Tested that this fixes the build for ARM. * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c (libgcc_s_resume): Use __attribute_used__. * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 390f181..7f49fbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-05-20 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
+ (libgcc_s_resume): Use __attribute_used__.
+ * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
+ Likewise.
+
2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro