glibc/sysdeps
Joseph Myers 90aa3d0945 Make __ASSUME_UTIMES hppa-specific.
This patch makes __ASSUME_UTIMES hppa-specific, removing mentions of
the macro from architecture-independent code and code for other
architectures.  (All other architectures either have the utimes
syscall in all relevant kernel versions, or use the asm-generic
interface so only have utimensat and won't get the utimes syscall.)  A
similar approach is used to that used for futimesat for MicroBlaze: if
the kernel is recent enough that the utimes syscall can be assumed to
be present, use the implementation in terms of the utimes syscall, and
otherwise use the linux/generic implementation in terms of utimensat.

Tested x86_64 that the disassembly of installed shared libraries is
unchanged by the patch.  Not tested for hppa.

	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
	not define.
	* sysdeps/unix/sysv/linux/utimes.c: Do not include
	<kernel-features.h>.
	(__utimes) [__NR_utimes]: Make code unconditional.
	(__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
	* sysdeps/unix/sysv/linux/aarch64/kernel-features.h
	(__ASSUME_UTIMES): Do not undefine.
	* sysdeps/unix/sysv/linux/tile/kernel-features.h
	(__ASSUME_UTIMES): Likewise.
	* sysdeps/unix/sysv/linux/hppa/kernel-features.h
	(__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
	instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
	* sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2014-12-22 21:42:03 +00:00
..
aarch64 Call libc_fetestexcept_aarch64. 2014-12-22 17:14:54 +00:00
alpha Remove IS_IN_rtld 2014-11-24 11:41:48 +05:30
arm Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
generic Add hidden __tls_get_addr/___tls_get_addr alias 2014-12-21 09:27:11 -08:00
gnu Use PTR_MANGLE on libgcc unwinder function pointers. 2014-12-16 15:47:53 -08:00
hppa Don't use INTDEF/INTUSE with _dl_init (bug 14132). 2014-11-04 23:26:39 +00:00
i386 Add hidden __tls_get_addr/___tls_get_addr alias 2014-12-21 09:27:11 -08:00
ia64 Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
ieee754 Split __kernel_standard* functions (fixes bug 17724). 2014-12-22 18:45:50 +00:00
init_array Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
m68k m68k: remove @PLTPC from _dl_init call 2014-12-21 15:21:14 +01:00
mach Fix resolver if_* namespace (bug 17717). 2014-12-16 18:18:49 +00:00
microblaze microblaze: 64b atomic operations are not supported. 2014-11-21 14:09:21 +01:00
mips Fix preprocessor indentation in sysdeps/mips/memcpy.S. 2014-12-22 13:29:20 -08:00
nptl NPTL: Move fork state variables to initializer files. 2014-12-17 14:33:28 -08:00
posix Fix profil_counter namespace (bug 17725). 2014-12-17 18:10:37 +00:00
powerpc Fix strftime wcschr namespace (bug 17634). 2014-12-10 16:59:02 +00:00
pthread Move semaphore.h to sysdeps/pthread/. 2014-12-11 22:58:48 +00:00
s390 S/390: Get rid of assembler warning value truncated. 2014-12-11 17:02:24 +01:00
sh * Fix SH specific compiler warnings which are for integer-pointer 2014-12-12 08:07:35 +09:00
sparc Fix soft-fp build warning on sparc about strict aliasing. 2014-12-19 13:45:31 -08:00
tile tilegx: remove implicit boolean conversion in strstr. 2014-12-22 14:50:26 -05:00
unix Make __ASSUME_UTIMES hppa-specific. 2014-12-22 21:42:03 +00:00
wordsize-32 Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
wordsize-64 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
x86 Recognize recent x86 CPUs in string.h 2014-11-27 17:21:12 +01:00
x86_64 Add hidden __tls_get_addr/___tls_get_addr alias 2014-12-21 09:27:11 -08:00