glibc/sysdeps/unix/sysv/linux/hppa
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
..
bits Add arch-specific configuration for C11 atomics support. 2014-11-20 11:57:38 +01:00
sys Fix prototype of eventfd. 2014-09-20 14:05:49 +02:00
Implies
Makefile
Versions
____longjmp_chk.c
arch-fork.h HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
brk.c
c++-types.data HPPA: Add c++-types.data. 2014-09-07 22:09:49 -04:00
clone.S HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
fcntl.c
fxstat.c
fxstatat.c
getcontext.S
getdents64.c
getrlimit64.c
internaltypes.h
kernel-features.h Make __ASSUME_UTIMES hppa-specific. 2014-12-22 21:42:03 +00:00
kernel_sigaction.h
kernel_stat.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libc.abilist
libcrypt.abilist
libdl.abilist
libm.abilist
libnsl.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
lowlevellock.h Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
lxstat.c
makecontext.c
mmap.c
profil-counter.h Fix profil_counter namespace (bug 17725). 2014-12-17 18:10:37 +00:00
pt-vfork.S HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
pthread.h HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
pthreadP.h HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
pthread_cond_broadcast.c HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
pthread_cond_destroy.c HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
pthread_cond_init.c HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
pthread_cond_signal.c HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
pthread_cond_timedwait.c HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
pthread_cond_wait.c HPPA: Transition to new non-addon NPTL. 2014-09-07 22:08:36 -04:00
setcontext.S
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
socket.S
swapcontext.c
syscall.S
syscalls.list Remove stray *_internal aliases (bug 14132). 2014-10-09 01:11:14 +00:00
sysdep-cancel.h Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
sysdep.c
sysdep.h
ucontext_i.sym
umount.c
utimes.c Make __ASSUME_UTIMES hppa-specific. 2014-12-22 21:42:03 +00:00
xstat.c