]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
Add UNSUPPORTED check in elf/tst-pldd.
[thirdparty/glibc.git] / ChangeLog
index 8fb6171ce5aabedb88fe9075e83dd1eefcde9c88..adc93a794ae655752bfdc84511fdd6a5360e5de4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,212 @@
+2019-09-18  Stefan Liebler  <stli@linux.ibm.com>
+
+       * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
+       Rearrange subprocesses.
+       (pldd_process): New function.
+       * support/Makefile (libsupport-routines): Add support_ptrace.
+       * support/xptrace.h: New file.
+       * support/support_ptrace.c: Likewise.
+
+2019-09-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
+
+       * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
+       (INTERNAL_VSYSCALL_CALL): Remove.
+       * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
+       (INTERNAL_VSYSCALL_CALL): Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
+       (INTERNAL_VSYSCALL_CALL): Likewise.
+       * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
+       New macro.
+
+       * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
+       defined.
+       * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
+       (__get_timebase_freq): Remove use of
+       INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
+       (get_timebase_freq_fallback): New symbol.
+       * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
+       HAVE_GETTIMEOFDAY_VSYSCALL.
+       * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
+       HAVE_TIME_VSYSCALL.
+       * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
+       implementation.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
+       (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
+       powerpc64.
+       (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
+       * .../sysv/linux/powerpc/powerpc64/sysdep.h
+       (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/sysdep.h
+       (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
+
+       * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
+       is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
+       * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
+       Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
+       * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
+       * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/sysdep.h
+       (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
+       HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
+       name.
+       * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
+       HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
+       HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
+       HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/sysdep.h
+       (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
+       HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
+       HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
+       HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
+       HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
+       HAVE_GETCPU_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
+       HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
+       HAVE_GETCPU_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
+       HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/sysdep.h
+       (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
+       HAVE_GETCPU_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
+       invalid names if architecture does not define them.
+       (get_vdso_mangle_symbol): New symbol.
+       * sysdeps/unix/sysv/linux/init-first.c: New file.
+       * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
+       clock_gettime, clock_getres, getcpu, time): Remove declaration.
+       (__libc_vdso_platform_setup_arch): Likewise and use
+       get_vdso_mangle_symbol to setup vDSO symbols.
+       (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
+       attribute_hidden.
+       * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
+       * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
+       definition.
+
+       * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
+       * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
+       Use get_vdso_symbol instead of _dl_vdso_vsym.
+       * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
+       * sysdeps/unix/sysv/linux/riscv/flush-icache.c
+       (__lookup_riscv_flush_icache): Likewise.
+       * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
+       Likewise.
+       * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
+       Define.
+       * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
+       Likewise.
+       * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
+       Likewise.
+       * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
+       Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
+       Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
+       Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
+       (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
+       definition.
+       * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
+       (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
+       (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
+       (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
+       (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
+       (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
+       HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
+       (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
+       HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
+       * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
+       PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
+       VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
+       VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
+       VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
+       (get_vdso_symbol): New function.
+
+2019-09-17  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
+       position of string null termination.
+
+2019-09-14  Aurelien Jarno  <aurelien@aurel32.net>
+
+       [BZ #24986]
+        * sysdeps/unix/alpha/getegid.S: Move to ...
+       * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
+        * sysdeps/unix/alpha/geteuid.S: Move to ...
+       * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
+        * sysdeps/unix/alpha/getppid.S: Move to ...
+       * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
+
+2019-09-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix http: URL in 'configure'
+       * configure.ac: Add URL to AC_INIT so that it generates an
+       https: URL instead of an http: URL.
+       * configure: Regenerate.
+
+       Regenerate charmap-kw.h, locfile-kw.h
+       This propagates the recent http->https URL changes.
+       Since I used gperf 3.1 to regenerate, this is also a minor
+       internal-to-localedef API change.
+       URL problem reported by Joseph Myers in:
+       https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
+       * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
+       Regenerate with gperf 3.1.
+       * locale/programs/linereader.h (kw_hash_fct_t):
+       * locale/programs/repertoire.c (repertoiremap_hash):
+       2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
+
+2019-09-05  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #24962]
+       * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
+       (_nl_category_names_get): New function.
+       * intl/dcigettext.c (category_to_name): Call it.
+       * locale/findlocale.c (_nl_find_locale): Likewise.
+       * intl/loadlocale.c (_nl_load_locale): Likewise.
+       * locale/newlocale.c (__newlocale): Likewise.
+       * locale/setlocale.c (_nl_category_names): Adjust definition.
+       (_nl_category_name_idxs): Likewise.
+       (new_composite_name): Call _nl_category_names_get.
+       (setlocale): Likewise.
+
 2019-09-05  Gabriel F. T. Gomes  <gabrielftg@linux.ibm.com>
 
        * math/bits/mathcalls.h (totalorder, totalordermag): Replace
        so that it is now UTF-8.
 
 2019-08-28  Paul A. Clarke  <pc@us.ibm.com>
-    
+
        * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300):  Delete.
        (fegetenv_status):  Generate 'mffsl' unconditionally.
 
 2019-08-28  Paul A. Clarke  <pc@us.ibm.com>
-    
+
        * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv):  Utilize lightweight
        FPSCR read.
        (_FPU_MASK_ALL):  Delete.
 
 2019-08-28  Paul A. Clarke  <pc@us.ibm.com>
-    
+
        * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
        Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
        if possible.
        with simpler required steps, set fewer FPSCR bits if possible.
 
 2019-08-28  Paul A. Clarke  <pc@us.ibm.com>
-    
+
        * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
        (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
        * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
        access to FPSCR; Use macros in fenv_libc.h in favor of local.
 
 2019-08-28  Paul A. Clarke  <pc@us.ibm.com>
-    
+
        * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
        (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
        (fenv_exceptions_to_reg): New.