about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-27 23:47:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-27 23:47:56 +0000
commit8f82f28bbaa6ca503e6296b2d26ecf213bceff88 (patch)
tree075ed37973747822325b5a45ceb4bf12518d6045 /ChangeLog
parentf1d237df1eec1df8cbc34f95540fd4035776e79c (diff)
downloadglibc-8f82f28bbaa6ca503e6296b2d26ecf213bceff88.tar.gz
glibc-8f82f28bbaa6ca503e6296b2d26ecf213bceff88.tar.xz
glibc-8f82f28bbaa6ca503e6296b2d26ecf213bceff88.zip
Remove MIPS16 atomics using __sync_* (bug 17404).
MIPS16 atomics used __sync_* with GCC before 4.7, which as noted in
bug 17404 is missing the required barrier semantics for
atomic_exchange_rel.  This patch removes the code in question as dead
now GCC before 4.7 is no longer supported for building glibc.

Sanity tested with builds for MIPS.

	[BZ #17404]
	* sysdeps/mips/atomic-machine.h
	[__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
	Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
	[__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f1292efdc..a9a4ad088a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #17404]
+	* sysdeps/mips/atomic-machine.h
+	[__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
+	Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
+	[__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
+
 	* resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
 	unconditional.
 	* soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.