]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
<sys/stat.h>: Use Linux UAPI header for statx if available and useful
[thirdparty/glibc.git] / ChangeLog
index 674879840da3c012a6b40caebcfb55730840ec59..b2aa19a58db2e5b3cb1e103ec38b7135493d7246 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,233 @@
+2019-06-12  Florian Weimer  <fweimer@redhat.com>
+
+       Linux: Use kernel headers for statx definitions if available.
+       * include/bits/statx-generic.h: New file.
+       * include/bits/types/struct_statx.h: Likewise.
+       * include/bits/types/struct_statx_timestamp.h: Likewise.
+       * io/Makefile (headers): Add bits/statx-generic.h.
+       * io/bits/statx-generic.h: New file.  Partly copied from
+       io/bits/statx.h.
+       * io/statx_generic.c: Include <bits/types/struct_statx.h> to
+       define original_statx.
+       * io/bits/types/struct_statx.h: Likewise.
+       * io/bits/types/struct_statx_timestamp.h: Likewise.
+       (statx_generic): Use original_statx.
+       * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
+       * sysdeps/unix/sysv/linux/bits/statx.h: New file.
+
+2019-06-12  Florian Weimer  <fweimer@redhat.com>
+
+       * misc/sys/cdefs.h (__glibc_has_include): Define.
+
+2019-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * string/memmem.c (__memmem): Rewrite to improve performance.
+
+2019-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * string/str-two-way.h (two_way_short_needle): Add inline to avoid
+       warning.
+       (two_way_long_needle): Block inlining.
+       * string/strstr.c (strstr2): Add new function.
+       (strstr3): Likewise.
+       (STRSTR): Completely rewrite strstr to improve performance.
+
+2019-06-11  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * benchtests/bench-strstr.c (test_hard_needle): New function.
+
+2019-06-10  Joseph Myers  <joseph@codesourcery.com>
+
+       * malloc/tst-calloc.c: Include <libc-diag.h>.
+       (null_test): Ignore -Wunused-result around calls to calloc.
+       * malloc/tst-mallocfork.c: Include <libc-diag.h>.
+       (do_test): Ignore -Wunused-result around call to malloc.
+
+2019-06-07  Florian Weimer  <fweimer@redhat.com>
+
+       Linux: Add getdents64 system call.
+       * include/dirnent.h (getdents): Add comment and change buffer
+       argument type to void *.
+       (getdents64): Likewise.  Add hidden prototype.
+       * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
+       getdents64.
+       * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
+       Add tst-getdents64.
+       * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
+       * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
+       argument type to void *.
+       * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
+       Add hidden definition and getdents64 alias.
+       * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
+       Likewise.
+       * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
+       * manual/filesys.texi (Accessing Directories): Add Low-level
+       Directory Access node reference.
+       (Opening a Directory): Cross-reference it.
+       (Low-level Directory Access): New node.
+       * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
+       getdents64.
+       * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
+       * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
+       (GLIBC_2.30): Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
+       (GLIBC_2.30): Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
+       (GLIBC_2.30): Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
+       (GLIBC_2.30): Likewise.
+       * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
+       (GLIBC_2.30): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
+       (GLIBC_2.30): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
+       (GLIBC_2.30): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
+       (GLIBC_2.30): Likewise.
+       * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
+       Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
+       Likewise.
+
+2019-06-06  Paul A. Clarke  <pc@us.ibm.com>
+
+       * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
+       (__FPU_MFFS): New.
+       (__FPU_MFFSL): New.
+       (_FPU_GET_RC): New.
+       (_FPU_GETCW): Use __FPU_MFFS().
+       * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
+
+2019-06-06  Florian Weimer  <fweimer@redhat.com>
+
+       * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
+       internal GCC preprocessor identifier __has_include__.
+
+2019-06-05  Paul A. Clarke  <pc@us.ibm.com>
+
+       * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
+       with call to equivalent function.
+
+2019-06-04  Florian Weimer  <fweimer@redhat.com>
+
+       * iconv/gconv_dl.c (release_handle): Remove file-level definition.
+       (do_release_shlib): Adjust for __twalk_r.
+       (__gconv_release_shlib): Call __twalk_r.
+
+2019-06-04  Andreas Schwab  <schwab@suse.de>
+
+       [BZ #18830]
+       * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
+       no irreversible characters occurred.
+       * iconv/gconv_simple.c (internal_ucs4_loop)
+       (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
+       (ucs4_internal_loop, ucs4_internal_loop_unaligned)
+       (ucs4_internal_loop_single, internal_ucs4le_loop)
+       (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
+       (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
+       (ucs4le_internal_loop_single): Add const to outend.
+       * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
+       (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
+       * iconv/Makefile (tests): Add tst-iconv7.
+       * iconv/tst-iconv7.c: New file.
+
+2019-06-03  Joseph Myers  <joseph@codesourcery.com>
+
+       * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
+
+2019-06-01  Florian Weimer  <fweimer@redhat.com>
+
+       arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
+       * sysdeps/unix/sysv/linux/arm/Makefile
+       [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
+       * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
+       * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
+       (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
+       compatibility symbols.
+
+2019-05-31  Florian Weimer  <fweimer@redhat.com>
+
+       * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
+       system calls for the arm architecture: breakpoint, get_tls,
+       set_tls, usr26, usr32.
+
+2019-05-30  Gabriel F. T. Gomes  <gabrielftg@linux.ibm.com>
+
+       * sysdeps/powerpc/Makefile
+       [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
+       * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
+       Declare '.machine power7' to get support for ldbrx.
+       * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
+       directive based on the directory of the file.
+       * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
+       * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
+       * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
+       '.machine' directive.
+       (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
+       (VADDUQM_V7_V8): Remove.
+       (__STRCASECMP): Replace macros with actual instructions.
+       * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
+       '.machine' directive.
+       (VCLZD_V8_v7): Remove.
+       (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
+
+2019-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
+       Remove file.
+       * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
+
+2019-05-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
+       NEARBYINT handling.
+       * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
+       * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
+       * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
+       * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
+       * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
+       * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
+
+2019-05-28  mansayk  <6688000@gmail.com>
+
+       [BZ #24370]
+       * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
+
+2019-05-28  mansayk  <6688000@gmail.com>
+
+       [BZ #24369]
+       * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
+       (abmon): Likewise, but remove the trailing dots.
+
 2019-05-28  Joseph Myers  <joseph@codesourcery.com>
 
        * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.