about summary refs log tree commit diff
path: root/support
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-11-06 17:22:50 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-11-06 17:22:50 +0000
commite143ceba564a94922f6e46bb3a22d7a53a909a03 (patch)
treed143b322a2623fac5e48b31d16f70f901dc4e8e1 /support
parent4a938cb273e164a475dc123cc80ea6354d7248d4 (diff)
downloadglibc-e143ceba564a94922f6e46bb3a22d7a53a909a03.tar.gz
glibc-e143ceba564a94922f6e46bb3a22d7a53a909a03.tar.xz
glibc-e143ceba564a94922f6e46bb3a22d7a53a909a03.zip
Correct SH kernel-features.h undefines (bug 23862).
The SH kernel-features.h undefines __ASSUME_RENAMEAT2 for kernel
versions before 4.8, but fails to undefine __ASSUME_EXECVEAT,
__ASSUME_MLOCK2 and __ASSUME_COPY_FILE_RANGE, although all those
syscalls (and several others) were added for SH in the same Linux
kernel commit (first released in 4.8).  This patch adds the proper
undefines of those macros.

Tested with build-many-glibcs.py for its SH configurations.

	[BZ #23862]
	* sysdeps/unix/sysv/linux/sh/kernel-features.h
	[__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
	[__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
	[__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
	Likewise.
Diffstat (limited to 'support')
0 files changed, 0 insertions, 0 deletions