about summary refs log tree commit diff
path: root/dlfcn/bug-dl-leaf-lib-cb.c
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 /dlfcn/bug-dl-leaf-lib-cb.c
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 'dlfcn/bug-dl-leaf-lib-cb.c')
0 files changed, 0 insertions, 0 deletions