diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-06-25 11:36:10 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-06-25 11:36:10 +0000 |
commit | cecf2ed43a4c2eede0b58740f16e47f31e7586a4 (patch) | |
tree | b15e9cdb4bff094dae290c581c0cf9750f106e9c /ChangeLog | |
parent | a638de828d877376fb238efc8b0bc9220dd2601e (diff) | |
download | glibc-cecf2ed43a4c2eede0b58740f16e47f31e7586a4.tar glibc-cecf2ed43a4c2eede0b58740f16e47f31e7586a4.tar.gz glibc-cecf2ed43a4c2eede0b58740f16e47f31e7586a4.tar.bz2 glibc-cecf2ed43a4c2eede0b58740f16e47f31e7586a4.zip |
Remove __ASSUME_UTIMENSAT.
This patch removes the __ASSUME_UTIMENSAT macro, now it can be
unconditionally assumed to be true.
This shows that the only live uses of __ASSUME_UTIMES are in utimes.c
and they are only live for hppa. I intend a followup patch to make
__ASSUME_UTIMES into an hppa-specific macro (not used or defined
outside sysdeps/unix/sysv/linux/hppa/).
Tested x86_64 that the disassembly of installed shared libraries is
unchanged by this patch.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
Remove macro.
* sysdeps/unix/sysv/linux/futimes.c: Do not include
<kernel-features.h>.
[__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
conditional variable definition.
(__futimes): Update comment.
(__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
(__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ 2014-06-25 Joseph Myers <joseph@codesourcery.com> + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT): + Remove macro. + * sysdeps/unix/sysv/linux/futimes.c: Do not include + <kernel-features.h>. + [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove + conditional variable definition. + (__futimes): Update comment. + (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional. + (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code. + [BZ #16560] * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for arguments close to 0. |