1 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
3 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
5 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
6 Do not clear enable bits, remove obsolete code, use
8 (libc_feresetround_ppc): Remove obsolete code, use
11 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
13 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
15 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
17 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
18 (_HP_TIMING_S390_H): Define.
20 2019-09-18 Joseph Myers <joseph@codesourcery.com>
22 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24 (clone3): New syscall.
25 (pidfd_open): Likewise.
27 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
32 * sysdeps/s390/hp-timing.h: New file.
34 2019-09-18 Joseph Myers <joseph@codesourcery.com>
36 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
38 (CLONE_VM): New macro.
39 (CLONE_VFORK): Likewise.
41 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
43 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
44 Rearrange subprocesses.
45 (pldd_process): New function.
46 * support/Makefile (libsupport-routines): Add support_ptrace.
47 * support/xptrace.h: New file.
48 * support/support_ptrace.c: Likewise.
50 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
52 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
54 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
55 (INTERNAL_VSYSCALL_CALL): Remove.
56 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
57 (INTERNAL_VSYSCALL_CALL): Likewise.
58 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
59 (INTERNAL_VSYSCALL_CALL): Likewise.
60 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
63 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
65 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
66 (__get_timebase_freq): Remove use of
67 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
68 (get_timebase_freq_fallback): New symbol.
69 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
70 HAVE_GETTIMEOFDAY_VSYSCALL.
71 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
73 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
75 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
76 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
78 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
79 * .../sysv/linux/powerpc/powerpc64/sysdep.h
80 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
81 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
82 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
84 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
85 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
86 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
88 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
89 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
90 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
91 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
92 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
93 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
94 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
95 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
96 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
97 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
98 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
99 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
100 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
101 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
102 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
103 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
104 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
105 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
107 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
108 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
109 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
110 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
111 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
112 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
113 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
114 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
115 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
116 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
117 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
118 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
119 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
120 HAVE_GETCPU_VSYSCALL): Likewise.
121 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
122 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
123 HAVE_GETCPU_VSYSCALL): Likewise.
124 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
125 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
127 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
128 HAVE_GETCPU_VSYSCALL): Likewise.
129 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
130 invalid names if architecture does not define them.
131 (get_vdso_mangle_symbol): New symbol.
132 * sysdeps/unix/sysv/linux/init-first.c: New file.
133 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
134 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
135 clock_gettime, clock_getres, getcpu, time): Remove declaration.
136 (__libc_vdso_platform_setup_arch): Likewise and use
137 get_vdso_mangle_symbol to setup vDSO symbols.
138 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
140 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
141 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
144 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
145 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
146 Use get_vdso_symbol instead of _dl_vdso_vsym.
147 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
148 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
149 (__lookup_riscv_flush_icache): Likewise.
150 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
152 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
153 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
154 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
155 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
156 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
157 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
158 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
159 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
160 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
161 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
162 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
165 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
167 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
169 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
171 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
175 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
176 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
178 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
179 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
180 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
181 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
183 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
185 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
187 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
188 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
190 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
191 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
192 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
193 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
194 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
195 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
196 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
197 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
198 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
199 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
200 (get_vdso_symbol): New function.
202 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
204 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
205 position of string null termination.
207 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
210 * sysdeps/unix/alpha/getegid.S: Move to ...
211 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
212 * sysdeps/unix/alpha/geteuid.S: Move to ...
213 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
214 * sysdeps/unix/alpha/getppid.S: Move to ...
215 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
217 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
219 Fix http: URL in 'configure'
220 * configure.ac: Add URL to AC_INIT so that it generates an
221 https: URL instead of an http: URL.
222 * configure: Regenerate.
224 Regenerate charmap-kw.h, locfile-kw.h
225 This propagates the recent http->https URL changes.
226 Since I used gperf 3.1 to regenerate, this is also a minor
227 internal-to-localedef API change.
228 URL problem reported by Joseph Myers in:
229 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
230 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
231 Regenerate with gperf 3.1.
232 * locale/programs/linereader.h (kw_hash_fct_t):
233 * locale/programs/repertoire.c (repertoiremap_hash):
234 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
236 2019-09-05 Florian Weimer <fweimer@redhat.com>
239 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
240 (_nl_category_names_get): New function.
241 * intl/dcigettext.c (category_to_name): Call it.
242 * locale/findlocale.c (_nl_find_locale): Likewise.
243 * intl/loadlocale.c (_nl_load_locale): Likewise.
244 * locale/newlocale.c (__newlocale): Likewise.
245 * locale/setlocale.c (_nl_category_names): Adjust definition.
246 (_nl_category_name_idxs): Likewise.
247 (new_composite_name): Call _nl_category_names_get.
248 (setlocale): Likewise.
250 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
252 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
253 const attribute with pure attribute.
255 2019-09-04 Lukasz Majewski <lukma@denx.de>
257 * sysdeps/unix/sysv/linux/kernel-features.h
258 (__ASSUME_TIME64_SYSCALLS): New macro.
260 2019-09-04 Zack Weinberg <zackw@panix.com>
263 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
264 * rt/clock_getres.c: Move to time/clock_getres.c.
265 * rt/clock_gettime.c: Move to time/clock_gettime.c.
266 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
267 * rt/clock_settime.c: Move to time/clock_settime.c.
268 * rt/tst-clock.c: Move to time/tst-clock.c.
269 * rt/tst-clock2.c: Move to time/tst-clock2.c.
270 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
271 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
272 * rt/clock-compat.c: Delete file.
274 * time/clock_getcpuclockid.c
275 * time/clock_getres.c
276 * time/clock_gettime.c
277 * time/clock_nanosleep.c
278 * time/clock_settime.c
279 * sysdeps/posix/clock_getres.c
280 * sysdeps/unix/clock_gettime.c
281 * sysdeps/unix/clock_nanosleep.c
282 * sysdeps/unix/clock_settime.c
283 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
284 * sysdeps/unix/sysv/linux/clock_getres.c
285 * sysdeps/unix/sysv/linux/clock_gettime.c
286 * sysdeps/unix/sysv/linux/clock_nanosleep.c
287 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
288 defined by this file with default symbol version GLIBC_2_17,
289 and optionally a compatibility alias at symbol version GLIBC_2_2.
290 * include/time.h: Remove internal prototypes for clock_getres,
291 clock_nanosleep, and clock_getcpuclockid.
293 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
294 Remove unused function realtime_gettime.
296 * rt/Makefile (clock-routines, routines): Remove variable.
297 (librt-routines): Remove clock-compat.
298 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
300 * time/Makefile (routines): Add clock_getres, clock_gettime,
301 clock_settime, clock_getcpuclockid, and clock_nanosleep.
302 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
305 * rt/Versions (libc): Remove entire stanza.
306 (librt GLIBC_2.2): Remove all clock_* functions.
307 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
308 Add clock_getres, clock_gettime, clock_settime,
309 clock_getcpuclockid, and clock_nanosleep.
310 (libc GLIBC_PRIVATE): Add __clock_gettime.
312 * sysdeps/mach/hurd/i386/librt.abilist
313 * sysdeps/unix/sysv/linux/alpha/librt.abilist
314 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
315 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
316 * sysdeps/unix/sysv/linux/hppa/librt.abilist
317 * sysdeps/unix/sysv/linux/i386/librt.abilist
318 * sysdeps/unix/sysv/linux/ia64/librt.abilist
319 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
320 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
321 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
322 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
323 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
324 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
327 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
328 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
329 * sysdeps/unix/sysv/linux/sh/librt.abilist
330 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
331 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
332 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
333 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
334 Remove entries for clock_getres, clock_gettime, clock_settime,
335 clock_getcpuclockid, and clock_nanosleep.
337 * sysdeps/mach/hurd/i386/libc.abilist
338 * sysdeps/unix/sysv/linux/alpha/libc.abilist
339 * sysdeps/unix/sysv/linux/arm/libc.abilist
340 * sysdeps/unix/sysv/linux/hppa/libc.abilist
341 * sysdeps/unix/sysv/linux/i386/libc.abilist
342 * sysdeps/unix/sysv/linux/ia64/libc.abilist
343 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
344 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
345 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
346 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
347 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
348 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
352 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
353 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
354 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
355 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
356 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
357 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
358 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
359 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
360 Add another set of entries for clock_getres, clock_gettime,
361 clock_settime, clock_getcpuclockid, and clock_nanosleep at
362 whatever version GLIBC_2.2 maps to.
364 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
366 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
368 2019-09-03 Florian Weimer <fweimer@redhat.com>
371 * locale/programs/charmap.h (struct charseq): Turn bytes into a
372 flexible array member.
373 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
376 2019-09-02 Florian Weimer <fweimer@redhat.com>
378 * misc/tst-mntent-autofs.c: New file.
379 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
381 2019-09-02 Ian Kent <ikent@redhat.com>
383 Use autofs "ignore" mount hint in getmntent_r/getmntent.
384 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
386 (__getmntent_r): Call it. Filter out autofs entries with an
387 "ignore" mount option.
389 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
391 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
392 (generic_memcpy): Include generic C memcpy.
393 * benchtests/bench-memmove.c (simple_memmove): Remove.
394 (generic_memmove): Include generic C memmove.
395 * benchtests/bench-memset.c (simple_memset): Remove.
396 (generic_memset): Include generic C memset.
397 * benchtests/bench-memset-large.c (simple_memset): Remove.
398 (generic_memset): Include generic C memset.
399 * benchtests/bench-memset-walk.c (simple_memset): Remove.
400 (generic_memset): Include generic C memset.
401 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
402 * string/memset.c (MEMSET): Likewise.
403 * sysdeps/x86_64/memcopy.h: Remove empty file.
405 2019-08-30 Florian Weimer <fweimer@redhat.com>
407 nptl: Move pthread_attr_getinheritsched implementation into libc.
408 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
409 (libpthread-routines): Remove pthread_attr_getinheritsched.
410 * nptl/Versions (libpthread GLIBC_2.0): Remove
411 pthread_attr_getinheritsched.
412 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
413 * nptl/nptl-init.c (pthread_functions): Remove initializer for
414 ptr_pthread_attr_getinheritsched.
415 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
416 Remove ptr_pthread_attr_getinheritsched member.
417 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
418 Remove pthread_attr_getinheritsched.
419 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
421 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
423 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
425 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
427 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
429 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
431 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
433 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
434 (GLIBC_2.4): Likewise.
435 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
436 (GLIBC_2.0): Likewise.
437 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
438 (GLIBC_2.18): Likewise.
439 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
440 (GLIBC_2.18): Likewise.
441 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
442 (GLIBC_2.0): Likewise.
443 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
444 (GLIBC_2.0): Likewise.
445 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
448 (GLIBC_2.0): Likewise.
449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
450 (GLIBC_2.3): Likewise.
451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
452 (GLIBC_2.17): Likewise.
453 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
454 (GLIBC_2.27): Likewise.
455 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
456 (GLIBC_2.0): Likewise.
457 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
458 (GLIBC_2.2): Likewise.
459 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
461 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
463 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
464 (GLIBC_2.0): Likewise.
465 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
466 (GLIBC_2.2): Likewise.
467 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
468 (GLIBC_2.2.5): Likewise.
469 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
470 (GLIBC_2.16): Likewise.
472 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
474 * sysdeps/mach/hurd/getcwd.c
475 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
476 slash if we got an unknown root directory. (__getcwd): Do not fail with
477 EGRATUITOUS if we got an unknown root directory.
478 * hurd/hurdselect.c (SELECT_ERROR): New macro.
480 - Add `error' field to `d' structures array.
481 - If a poll descriptor is bogus, set EBADF, but continue with a zero
483 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
484 EBADF there is any bit set above _hurd_dtablesize.
485 - Do not request io_select on bogus descriptors (SELECT_ERROR).
486 - On io_select request error, record the error.
487 - On io_select bogus reply, use EIO error code.
488 - On io_select bogus or error reply, record the error.
489 - Do not destroy reply port for bogus FDs.
490 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
491 EBADF case, or else POLLERR.
492 - On error, make select simulated readiness.
495 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
498 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
499 unlocks SS and returns to the saved PC.
500 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
501 thread stack instead of the saved PC.
503 2019-08-30 Richard Braun <rbraun@sceen.net>
505 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
507 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
508 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
509 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
511 (_hurd_select): Replace the call to __io_select with either
512 __io_select_request or __io_select_timeout_request, depending on the
513 timeout. Count the number of ready descriptors (replies for which at
514 least one type bit is set). Implement the timeout locally when there is
517 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
519 * elf/dl-addr.c (determine_info): Calculate the symbol index
520 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
521 * elf/dl-lookup.c (do_lookup_x): Ditto.
522 (_dl_setup_hash): Initialize MIPS xhash translation table.
523 * elf/elf.h (SHT_MIPS_XHASH): New define.
524 (DT_MIPS_XHASH): New define.
525 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
527 (ELF_MACHINE_HASH_SYMIDX): Ditto.
528 (ELF_MACHINE_XHASH_SETUP): Ditto.
529 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
531 (ELF_MACHINE_HASH_SYMIDX): Ditto.
532 (ELF_MACHINE_XHASH_SETUP): Ditto.
533 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
534 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
536 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
538 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
540 * sysdeps/sh/preconfigure.ac: New file.
541 * sysdeps/sh/preconfigure: Regenerate.
542 * sysdeps/sh/be/sh3/Implies: New file.
543 * sysdeps/sh/be/sh4/Implies: Likewise.
544 * sysdeps/sh/le/sh3/Implies: Likewise.
545 * sysdeps/sh/le/sh4/Implies: Likewise.
546 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
547 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
548 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
549 sysdeps/unix/sysv/linux/sh/le/*.abilist.
550 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
552 * sysdeps/microblaze/preconfigure.ac: New file.
553 * sysdeps/microblaze/preconfigure: Regenerate.
554 * sysdeps/microblaze/be/implies: New file.
555 * sysdeps/microblaze/le/implies: Likewise.
556 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
557 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
558 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
559 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
560 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
562 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
563 * sysdeps/arm/preconfigure: Regenerate.
564 * sysdeps/arm/be/Implies: New file.
565 * sysdeps/arm/be/armv6/Implies: Likewise.
566 * sysdeps/arm/be/armv6t2/Implies: Likewise.
567 * sysdeps/arm/be/armv7/Implies: Likewise.
568 * sysdeps/arm/le/Implies: Likewise.
569 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
570 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
571 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
572 sysdeps/unix/sysv/linux/arm/le/*.abilist.
573 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
575 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
577 Fix posix/tst-regex by using UTF-8 and own test input
578 Problem reported by Stefan Liebler in:
579 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
580 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
581 (do_test, test_expr): Adjust to the fact that this source file,
582 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
583 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
584 so that it is now UTF-8.
586 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
588 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
589 (fegetenv_status): Generate 'mffsl' unconditionally.
591 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
593 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
595 (_FPU_MASK_ALL): Delete.
597 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
599 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
600 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
602 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
603 with simpler required steps, set fewer FPSCR bits if possible.
605 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
607 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
608 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
609 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
610 weight access to FPSCR; remove unnecessary second FPSCR read and
612 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
613 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
614 access to FPSCR; Use macros in fenv_libc.h in favor of local.
616 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
618 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
619 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
620 (fenv_exceptions_to_reg): New.
621 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
622 operation with call to fenv_exceptions_to_reg().
623 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
625 2019-08-28 Florian Weimer <fweimer@redhat.com>
627 * misc/mntent.c (struct mntent_buffer): Define.
628 (mntent_buffer): Adjust type to void *.
629 (allocate): Adjust for allocate_once.
630 (deallocate): New function.
631 (getmntent): Call allocate_once.
633 2019-08-28 Florian Weimer <fweimer@redhat.com>
635 nptl: Move pthread_attr_setdetachstate implementation into libc.
636 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
637 (libpthread-routines): Remove pthread_attr_setdetachstate.
638 * nptl/Versions (libpthread GLIBC_2.0): Remove
639 pthread_attr_setdetachstate.
640 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
641 * nptl/nptl-init.c (pthread_functions): Remove initializer for
642 ptr_pthread_attr_setdetachstate.
643 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
644 Remove ptr_pthread_attr_setdetachstate member.
645 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
646 Remove pthread_attr_setdetachstate.
647 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
649 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
651 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
653 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
655 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
657 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
659 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
660 (GLIBC_2.4): Likewise.
661 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
662 (GLIBC_2.0): Likewise.
663 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
664 (GLIBC_2.18): Likewise.
665 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
666 (GLIBC_2.0): Likewise.
667 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
668 (GLIBC_2.0): Likewise.
669 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
672 (GLIBC_2.0): Likewise.
673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
674 (GLIBC_2.3): Likewise.
675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
676 (GLIBC_2.17): Likewise.
677 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
678 (GLIBC_2.27): Likewise.
679 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
680 (GLIBC_2.0): Likewise.
681 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
682 (GLIBC_2.2): Likewise.
683 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
685 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
686 (GLIBC_2.0): Likewise.
687 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
688 (GLIBC_2.2): Likewise.
689 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
690 (GLIBC_2.2.5): Likewise.
691 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
692 (GLIBC_2.16): Likewise.
694 2019-08-28 Florian Weimer <fweimer@redhat.com>
697 * login/Makefile (tests): Add tst-pututxline-lockfail.
698 (tst-pututxline-lockfail): Link with -lpthread.
699 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
700 (__libc_getutid_r): Adjust.
701 (__libc_pututline): Likewise. Check for file_offset == -1.
702 * login/tst-pututxline-lockfail.c: New file.
704 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
706 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
707 * posix/tst-regex.input: New file.
709 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
712 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
714 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
715 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
716 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
717 * sysdeps/mips/tst-undefined-weak.c: Likewise.
718 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
719 Increment highest valid ABIVERSION value.
721 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
723 * sysdeps/unix/sysv/linux/mips/Makefile
724 (test-xfail-check-execstack):
725 Move under mips-has-gnustack != yes.
726 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
727 Apply -Wa,-execstack if mips-force-execstack == yes.
728 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
729 * sysdeps/unix/sysv/linux/mips/configure.ac
730 (mips-force-execstack): New var.
731 Set to yes for hard-float builds with minimum_kernel < 4.8.0
732 or minimum_kernel not set at all.
733 (mips-has-gnustack): New var.
734 Use value of libc_cv_as_noexecstack
735 if mips-force-execstack != yes, otherwise set to no.
737 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
738 Florian Weimer <fweimer@redhat.com>
740 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
741 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
742 Make a compat_symbol.
743 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
744 (__profil_counter_global): Likewise.
746 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
747 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
749 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
750 sigcontext_get_pc and return aligned cast to uintptr_t.
751 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
752 * sysdeps/posix/profil.c (profil_count): Change PC argument to
754 (__profil): Use SA_SIGINFO.
755 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
757 (__sprofil): Use SA_SIGINFO.
758 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
759 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
760 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
761 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
762 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
763 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
764 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
765 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
766 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
767 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
768 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
769 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
770 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
771 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
772 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
773 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
774 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
775 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
776 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
777 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
778 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
779 GET_PC, __sigaction, sigaction): Remove defines.
780 (sigcontext_get_pc): New function.
781 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
782 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
783 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
784 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
785 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
786 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
787 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
788 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
789 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
790 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
791 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
792 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
793 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
794 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
795 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
796 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
797 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
798 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
799 Handle CTX argument as ucontext_t.
800 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
802 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
803 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
804 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
805 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
806 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
807 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
808 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
809 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
810 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
811 tst-sigcontextinfo-get_pc.
812 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
813 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
815 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
817 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
820 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
823 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
824 * localedata/locales/ug_CN (first_weekday): Likewise.
825 * localedata/locales/zh_CN (first_weekday): Likewise.
827 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
829 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
830 field name in mcontext_t struct.
832 2019-08-22 Joseph Myers <joseph@codesourcery.com>
834 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
835 unsupported with libidn2 before 2.0.5.
836 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
838 * manual/time.texi (strftime): Document %Ob and %OB as C2X
841 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
843 Remove dead regex code
844 * posix/regex_internal.c (re_node_set_insert):
845 Remove unnecessary assignment. Reported by Tim Rühsen in:
846 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
848 Fix bad pointer / leak in regex code
849 This was found by Coverity (CID 1484201). [BZ#24844]
850 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
851 pointer and/or memory leak when storage is exhausted.
853 2019-08-21 Zack Weinberg <zackw@panix.com>
855 * misc/syslog.c (__vsyslog_internal)
856 * time/getdate.c (__getdate_r)
857 * time/tst_wcsftime.c (main):
858 Use return value of time, not its argument.
860 * string/strfry.c (strfry)
861 * sysdeps/mach/sleep.c (__sleep):
862 Remove unnecessary casts of NULL in calls to time.
864 2019-08-21 Joseph Myers <joseph@codesourcery.com>
866 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
867 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
868 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
869 (__TGMATH_2_NARROW_F): Likewise.
870 (__TGMATH_2_NARROW_D): New macro.
871 (__TGMATH_2_NARROW_F16): Likewise.
872 (__TGMATH_2_NARROW_F32): Likewise.
873 (__TGMATH_2_NARROW_F64): Likewise.
874 (__TGMATH_2_NARROW_F32X): Likewise.
875 (__TGMATH_2_NARROW_F64X): Likewise.
876 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
877 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
878 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
879 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
880 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
881 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
882 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
883 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
884 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
885 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
886 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
887 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
888 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
889 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
891 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
893 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
895 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
897 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
899 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
901 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
903 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
905 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
906 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
907 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
908 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
909 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
910 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
911 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
912 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
913 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
915 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
917 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
919 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
921 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
922 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
923 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
924 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
925 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
926 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
927 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
928 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
929 * math/gen-tgmath-tests.py (Type): Add members
930 non_standard_real_argument_types_list, long_double_type,
931 complex_float64_type and float32x_ext_type.
932 (Type.__init__): Set the new members.
933 (Type.floating_type): Add new argument floatn.
934 (Type.real_floating_type): Likewise.
935 (Type.can_combine_types): Likewise.
936 (Type.combine_types): Likewise.
937 (Type.init_types): Create internal Float32x_ext type.
938 (Tests.__init__): Define Float32x_ext in generated C code.
939 (Tests.add_tests): Handle narrowing functions.
940 (Tests.add_all_tests): Likewise.
941 (Tests.tests_text): Allow variation in mant_dig for narrowing
942 functions with compilers before GCC 8.
943 * math/Makefile (tgmath3-narrow-types): New variable.
944 (tgmath3-narrow-macros): Likewise.
945 (tgmath3-macros): Add $(tgmath3-narrow-macros).
947 2019-08-20 Andreas Schwab <schwab@suse.de>
949 * sysdeps/i386/fpu/libm-test-ulps: Update.
951 2019-08-19 Carlos O'Donell <carlos@redhat.com>
953 * nscd/nscd.conf: Add warning and comment about shared option.
955 2019-08-19 Carlos O'Donell <carlos@redhat.com>
957 * nss/nsswitch.conf: Expand comments, and simplify defaults.
958 * manual/nss.texi (NSS Basics): List all known databases.
959 (Services in the NSS configuration): Mention automount.
961 2019-08-19 Florian Weimer <fweimer@redhat.com>
963 Do not print backtraces on fatal errors.
964 * debug/fortify_fail.c (__libc_argv): Remove declaration.
965 (__fortify_fail_abort): Remove definition.
966 (__fortify_fail): Call __libc_message directly.
967 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
968 (__stack_chk_fail): Call __fortify_fail instead of
969 __fortify_fail_abort.
970 * include/stdio.h (__fortify_fail_abort): Remove declaration.
971 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
973 (__libc_message): Do not handle do_backtrace. Do not call
975 (__libc_fatal): Do not pass do_backtrace to __libc_message.
976 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
977 (before_abort): Remove definitions.
979 2019-08-16 Florian Weimer <fweimer@redhat.com>
981 nptl: Move pthread_attr_getdetachstate implementation into libc.
982 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
983 (libpthread-routines): Remove pthread_attr_getdetachstate.
984 * nptl/Versions (libpthread GLIBC_2.0): Remove
985 pthread_attr_getdetachstate.
986 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
987 * nptl/nptl-init.c (pthread_functions): Remove initializer for
988 ptr_pthread_attr_getdetachstate.
989 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
990 Remove ptr_pthread_attr_getdetachstate member.
991 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
992 Remove pthread_attr_getdetachstate.
993 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
995 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
997 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
999 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1001 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1003 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1005 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1006 (GLIBC_2.4): Likewise.
1007 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1008 (GLIBC_2.0): Likewise.
1009 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1010 (GLIBC_2.18): Likewise.
1011 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1012 (GLIBC_2.0): Likewise.
1013 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1014 (GLIBC_2.0): Likewise.
1015 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1018 (GLIBC_2.0): Likewise.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1020 (GLIBC_2.3): Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1022 (GLIBC_2.17): Likewise.
1023 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1024 (GLIBC_2.27): Likewise.
1025 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1026 (GLIBC_2.0): Likewise.
1027 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1028 (GLIBC_2.2): Likewise.
1029 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1031 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1032 (GLIBC_2.0): Likewise.
1033 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1034 (GLIBC_2.2): Likewise.
1035 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1036 (GLIBC_2.2.5): Likewise.
1037 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1038 (GLIBC_2.16): Likewise.
1040 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1042 * math/libm-test-compat_totalorder.inc (do_test)
1043 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1044 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1045 * math/libm-test-compat_totalordermag.inc (do_test)
1046 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1048 2019-08-15 Florian Weimer <fweimer@redhat.com>
1050 nptl: Move pthread_attr_init implementation into libc.
1051 * nptl/Makefile (routines): Add pthread_attr_init.
1052 (libpthread-routines): Remove pthread_attr_init.
1053 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1054 (libpthread GLIBC_2.0): Likewise.
1055 * nptl/pthread_attr_init.c: Check for libc compat version instead
1056 of libpthread compat version.
1057 * nptl/forward.c (__pthread_attr_init_2_0)
1058 (__pthread_attr_init_2_1): Remove definitions.
1059 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1060 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1061 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1062 Remove members ptr___pthread_attr_init_2_0,
1063 ptr___pthread_attr_init_2_1.
1064 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1065 Remove pthread_attr_init.
1066 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1068 (GLIBC_2.1): Likewise.
1069 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1071 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1073 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1075 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1077 (GLIBC_2.1): Likewise.
1078 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1080 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1081 (GLIBC_2.4): Likewise.
1082 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1083 (GLIBC_2.0): Likewise.
1084 (GLIBC_2.1): Likewise.
1085 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1086 (GLIBC_2.18): Likewise.
1087 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1088 (GLIBC_2.0): Likewise.
1089 (GLIBC_2.1): Likewise.
1090 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1091 (GLIBC_2.0): Likewise.
1092 (GLIBC_2.1): Likewise.
1093 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1096 (GLIBC_2.0): Likewise.
1097 (GLIBC_2.1): Likewise.
1098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1099 (GLIBC_2.3): Likewise.
1100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1101 (GLIBC_2.17): Likewise.
1102 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1103 (GLIBC_2.27): Likewise.
1104 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1105 (GLIBC_2.0): Likewise.
1106 (GLIBC_2.1): Likewise.
1107 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1108 (GLIBC_2.2): Likewise.
1109 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1111 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1112 (GLIBC_2.0): Likewise.
1113 (GLIBC_2.1): Likewise.
1114 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1115 (GLIBC_2.2): Likewise.
1116 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1117 (GLIBC_2.2.5): Likewise.
1118 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1119 (GLIBC_2.16): Likewise.
1121 2019-08-15 Florian Weimer <fweimer@redhat.com>
1124 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1125 new object in __RTLD_OPENEXEC mode (except for the origin).
1126 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1127 check for the error message.
1128 (do_test): Call it. Add check using relative path.
1129 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1130 (tst-dlopen-aout-container): Link with libpthread.
1131 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1133 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1135 * math/bits/mathcalls.h
1136 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1137 (totalorder): Take pointer arguments.
1138 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1139 (totalordermag): Likewise.
1140 * manual/arith.texi (totalorder): Likewise.
1141 (totalorderf): Likewise.
1142 (totalorderl): Likewise.
1143 (totalorderfN): Likewise.
1144 (totalorderfNx): Likewise.
1145 (totalordermag): Likewise.
1146 (totalordermagf): Likewise.
1147 (totalordermagl): Likewise.
1148 (totalordermagfN): Likewise.
1149 (totalordermagfNx): Likewise.
1150 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1151 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1152 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1153 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1154 totalorderl, totalordermag, totalordermagf, totalordermagl,
1155 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1156 totalordermagf64, totalordermagf32x, totalorderf64x,
1157 totalordermagf64x, totalorderf128 and totalordermagf128.
1158 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1159 and compat_totalordermag.
1160 (libm-test-funcs-compat): New variable.
1161 (libm-tests-compat): Likewise.
1162 (tests): Do not include compat tests.
1163 (tests-internal): Add compat tests.
1164 ($(foreach t,$(libm-tests-base),
1165 $(objpfx)$(t)-compat_totalorder.o)): Depend
1166 on $(objpfx)libm-test-totalorder.c.
1167 ($(foreach t,$(libm-tests-base),
1168 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1169 $(objpfx)libm-test-totalordermag.c.
1170 (tgmath3-macros): Remove totalorder and totalordermag.
1171 * math/libm-test-compat_totalorder.inc: New file.
1172 * math/libm-test-compat_totalordermag.inc: Likewise.
1173 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1174 (RUN_TEST_fpfp_b): New macro.
1175 (RUN_TEST_LOOP_fpfp_b): Likewise.
1176 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1178 (totalorder_test): Condition on [!COMPAT_TEST].
1179 (do_test): Likewise.
1180 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1182 (totalordermag_test): Condition on [!COMPAT_TEST].
1183 (do_test): Likewise.
1184 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1185 totalorder and totalordermag.
1186 * math/test-tgmath.c (NCALLS): Change to 132.
1187 (F(compile_test)): Do not call totalorder or totalordermag.
1188 (F(totalorder)): Remove.
1189 (F(totalordermag)): Likewise.
1190 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1191 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1192 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1194 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1195 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1196 [!_ISOMAC] (TEST_ALIGN): Likewise.
1197 [!_ISOMAC] (TEST_OFFSET): Likewise.
1198 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1199 and <first-versions.h>.
1200 (__totalorder): Take pointer arguments. Add symbol versions and
1202 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1203 <shlib-compat.h> and <first-versions.h>.
1204 (__totalordermag): Take pointer arguments. Add symbol versions
1206 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1207 <shlib-compat.h> and <first-versions.h>.
1208 (__totalorder): Take pointer arguments. Add symbol versions and
1210 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1211 <shlib-compat.h> and <first-versions.h>.
1212 (__totalordermag): Take pointer arguments. Add symbol versions
1214 * sysdeps/ieee754/float128/float128_private.h
1215 (__totalorder_compatl): New macro.
1216 (__totalordermag_compatl): Likewise.
1217 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1218 and <first-versions.h>.
1219 (__totalorderf): Take pointer arguments. Add symbol versions and
1221 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1222 <shlib-compat.h> and <first-versions.h>.
1223 (__totalordermagf): Take pointer arguments. Add symbol versions
1225 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1226 <shlib-compat.h> and <first-versions.h>.
1227 (__totalorderl): Take pointer arguments. Add symbol versions and
1229 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1230 <shlib-compat.h> and <first-versions.h>.
1231 (__totalordermagl): Take pointer arguments. Add symbol versions
1233 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1235 (__totalorderl): Take pointer arguments. Add symbol versions and
1237 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1239 (__totalordermagl): Take pointer arguments. Add symbol versions
1241 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1242 <shlib-compat.h> and <first-versions.h>.
1243 (__totalorderl): Take pointer arguments. Add symbol versions and
1245 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1246 <shlib-compat.h> and <first-versions.h>.
1247 (__totalordermagl): Take pointer arguments. Add symbol versions
1249 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1251 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1253 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1254 (do_test): Update calls to totalorderl and totalordermagl.
1255 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1256 Update calls to totalorderl and totalordermagl.
1257 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1258 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1259 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1260 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1261 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1262 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1263 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1264 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1265 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1266 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1267 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1268 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1269 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1270 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1279 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1280 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1281 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1282 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1283 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1284 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1285 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1288 2019-08-15 Florian Weimer <fweimer@redhat.com>
1291 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1292 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1293 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1295 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1296 __attribute_nonstring__ to ut_id.
1297 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1300 2019-08-15 Florian Weimer <fweimer@redhat.com>
1303 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1304 (file_locking_unlock): Likewise.
1306 2019-08-15 Florian Weimer <fweimer@redhat.com>
1309 login: Disarm timer after utmp lock acquisition.
1310 * login/utmp_file.c (struct file_locking): Remove.
1311 (try_file_lock): Adjust.
1312 (file_lock_restore): Remove function.
1313 (__libc_getutent_r): .
1314 (internal_getut_r): Likewise.
1315 (__libc_getutline_r): Likewise.
1316 (__libc_pututline): Likewise.
1317 (__libc_updwtmp): Likewise.
1319 2019-08-15 Florian Weimer <fweimer@redhat.com>
1321 nptl: Remove pthread_self compatibility symbol from libpthread.
1322 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1324 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1325 * nptl/compat-pthread_self.c: Remove file.
1326 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1327 Remove pthread_self.
1328 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1330 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1332 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1334 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1336 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1338 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1339 (GLIBC_2.4): Likewise.
1340 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1341 (GLIBC_2.0): Likewise.
1342 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1343 (GLIBC_2.18): Likewise.
1344 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1345 (GLIBC_2.0): Likewise.
1346 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1347 (GLIBC_2.0): Likewise.
1348 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1351 (GLIBC_2.0): Likewise.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1353 (GLIBC_2.3): Likewise.
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1355 (GLIBC_2.17): Likewise.
1356 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1357 (GLIBC_2.0): Likewise.
1358 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1359 (GLIBC_2.2): Likewise.
1360 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1362 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1363 (GLIBC_2.0): Likewise.
1364 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1365 (GLIBC_2.2): Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1367 (GLIBC_2.2.5): Likewise.
1368 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1369 (GLIBC_2.16): Likewise.
1371 2019-08-15 Florian Weimer <fweimer@redhat.com>
1373 nptl: Move pthread_attr_destroy implementation into libc.
1374 * nptl/Makefile (routines): Add pthread_attr_destroy.
1375 (libpthread-routines): Remove pthread_attr_destroy.
1376 * nptl/Versions (libpthread GLIBC_2.0): Remove
1377 pthread_attr_destroy.
1378 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1379 libc compat version instead of libpthread compat version.
1380 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1381 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1382 ptr_pthread_attr_destroy.
1383 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1384 Remove ptr_pthread_attr_destroy member.
1385 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1386 Remove pthread_attr_destroy.
1387 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1389 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1391 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1393 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1395 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1397 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1399 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1400 (GLIBC_2.4): Likewise.
1401 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1402 (GLIBC_2.0): Likewise.
1403 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1404 (GLIBC_2.18): Likewise.
1405 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1406 (GLIBC_2.0): Likewise.
1407 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1408 (GLIBC_2.0): Likewise.
1409 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1412 (GLIBC_2.0): Likewise.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1414 (GLIBC_2.3): Likewise.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1416 (GLIBC_2.17): Likewise.
1417 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1418 (GLIBC_2.27): Likewise.
1419 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1420 (GLIBC_2.0): Likewise.
1421 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1422 (GLIBC_2.2): Likewise.
1423 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1425 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1426 (GLIBC_2.0): Likewise.
1427 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1428 (GLIBC_2.2): Likewise.
1429 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1430 (GLIBC_2.2.5): Likewise.
1431 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1432 (GLIBC_2.16): Likewise.
1434 2019-08-15 Andreas Schwab <schwab@suse.de>
1436 * sysdeps/i386/fpu/libm-test-ulps: Update.
1438 2019-08-15 Florian Weimer <fweimer@redhat.com>
1440 * malloc/Makefile (tests): Only add tst-mxfast for
1442 * malloc/tst-mxfast.c: Fix copyright year.
1443 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1446 2019-08-15 Florian Weimer <fweimer@redhat.com>
1448 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1450 * login/Makefile (tests): Add tst-updwtmpx.
1451 * login/tst-updwtmpx.c: New file.
1453 2019-08-15 Florian Weimer <fweimer@redhat.com>
1455 nptl: Move pthread_equal implementation into libc.
1456 * nptl/Makefile (routines): Add pthread_equal.
1457 * nptl/forward.c (pthread_equal): Remove definition.
1458 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1460 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1461 Remove ptr_pthread_equal member.
1462 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1463 Remove pthread_equal.
1464 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1466 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1468 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1470 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1472 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1474 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1476 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1477 (GLIBC_2.4): Likewise.
1478 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1479 (GLIBC_2.0): Likewise.
1480 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1481 (GLIBC_2.18): Likewise.
1482 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1483 (GLIBC_2.0): Likewise.
1484 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1485 (GLIBC_2.0): Likewise.
1486 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1489 (GLIBC_2.0): Likewise.
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1491 (GLIBC_2.3): Likewise.
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1493 (GLIBC_2.17): Likewise.
1494 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1495 (GLIBC_2.27): Likewise.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1497 (GLIBC_2.0): Likewise.
1498 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1499 (GLIBC_2.2): Likewise.
1500 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1502 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1503 (GLIBC_2.0): Likewise.
1504 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1505 (GLIBC_2.2): Likewise.
1506 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1507 (GLIBC_2.2.5): Likewise.
1508 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1509 (GLIBC_2.16): Likewise.
1511 2019-08-14 Florian Weimer <fweimer@redhat.com>
1513 * support/support_descriptors.c: Include <support/descriptors.h>.
1515 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1517 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1518 Disable DC ZVA code if this macro is defined as zero.
1519 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1520 Change to zero to disable using DC ZVA.
1522 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1524 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1526 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1527 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1528 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1529 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1532 2019-08-13 Florian Weimer <fweimer@redhat.com>
1534 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1536 (struct file_locking): New.
1537 (try_file_lock, file_unlock, file_lock_restore): New functions.
1538 (__libc_getutent_r): Use the new functions.
1539 (internal_getut_r): Likewise.
1540 (__libc_getutline_r): Likewise.
1541 (__libc_pututline): Likewise.
1542 (__libc_updwtmp): Likewise.
1544 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1546 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1548 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1549 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1550 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1551 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1552 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1553 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1554 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1556 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1557 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1558 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1560 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1562 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1564 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1566 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1568 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1570 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1572 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1573 (IEC_60559_BFP_EXT)]: Likewise.
1574 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1576 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1578 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1580 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1582 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1584 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1586 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1588 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1590 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1591 Likewise, except for totalorder, totalordermag, getpayload,
1592 setpayload and setpayloadsig.
1593 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1594 except for totalorder and totalordermag.
1596 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1598 (strndup): Likewise.
1600 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1601 Undefine and define to 1 if [_GNU_SOURCE].
1602 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1603 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1604 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1605 (__USE_ISOC99): Likewise.
1606 (__USE_ISOC95): Likewise.
1607 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1609 2019-08-13 Florian Weimer <fweimer@redhat.com>
1611 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1613 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1614 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1615 * login/getutmpx.c (getutmpx): Likewise.
1616 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1618 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1619 _HAVE_UT_TV are always true.
1620 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1621 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1622 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1623 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1625 (internal_getut_r): _HAVE_UT_TYPE is always true.
1626 (__libc_pututline): Likewise.
1627 * login/programs/utmpdump.c (print_entry): Assume that
1628 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1629 _HAVE_UT_TV are always true.
1630 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1631 _HAVE_UT_ID are always true.
1632 * sysdeps/gnu/bits/utmp.h: Move to ...
1633 * bits/utmp.h: ... here, replacing the old file.
1635 2019-08-12 Florian Weimer <fweimer@redhat.com>
1637 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1638 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1640 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1641 (do_test): Open the executable using an absolute path. Print
1642 error message to standard output.
1644 2019-08-09 DJ Delorie <dj@redhat.com>
1646 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1647 * manual/tunables.texi: Document it.
1648 * malloc/malloc.c (do_set_mxfast): New.
1649 (__libc_mallopt): Call it.
1650 * malloc/arena.c: Add mxfast tunable.
1651 * malloc/tst-mxfast.c: New.
1652 * malloc/Makefile: Add it.
1654 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1655 Carlos O'Donell <carlos@redhat.com>
1658 * malloc/malloc.c (__malloc_info): Account for top chunk.
1660 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1663 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1665 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1667 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1669 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1671 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1673 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1675 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1678 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1681 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1683 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1685 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1687 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1689 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1690 (ALWAYS_USE_VSYSCALL): Likewise.
1691 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1692 (ALWAYS_USE_VSYSCALL): Likewise.
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1694 (ALWAYS_USE_VSYSCALL): Likewise.
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1696 (ALWAYS_USE_VSYSCALL): Likewise.
1697 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1699 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1700 (ALWAYS_USE_VSYSCALL): Likewise.
1701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1702 (ALWAYS_USE_VSYSCALL): Likewise.
1703 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1707 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1708 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1709 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1710 USE_VSYSCALL): Remove defitions.
1713 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1714 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1719 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1720 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1722 (ALWAYS_USE_VSYSCALL): Define.
1723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1724 (ALWAYS_USE_VSYSCALL): Likewise.
1727 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1728 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1729 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1732 * sysdeps/sh/libm-test-ulps: Update.
1734 2019-08-05 Florian Weimer <fweimer@redhat.com>
1737 * login/uptmp-private.h (struct ufuncs): Remove definition.
1738 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1739 (__libc_utmp_jump_table): Remove declarations.
1740 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1741 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1742 (__libc_updwtmp): Declare.
1743 * login/getutent_r.c (__libc_utmp_unknown_functions)
1744 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1745 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1746 (endutent_unknown): Remove definitions.
1747 (__setutent): Call __libc_setutent.
1748 (__getutent_r): Call __libc_getutent_r.
1749 (__pututline): Call __libc_pututline.
1750 (__endutent): Call __libc_endutent.
1751 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1752 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1753 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1754 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1755 (__libc_setutent): Rename from stetutent_file. Drop static.
1756 (maybe_setutent): New function.
1757 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1758 Check for initialization.
1759 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1760 Check for initialization.
1761 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1762 Check for initialization.
1763 (__libc_pututline): Rename from pututline_file. Drop static.
1764 Check for initialization.
1765 (__libc_endutent): Rename from endutent_file. Drop static. Check
1767 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1768 * login/utmpname.c (__utmpname): Call __libc_endutent.
1769 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1770 __libc_getutlien_r, __libc_endutent.
1771 * manual/users.texi (Who Logged In, Manipulating the Database):
1774 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1776 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1778 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1780 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1782 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1783 kernel version number to 5.2.
1785 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1787 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1788 mnemonics and set .machine power8.
1789 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1790 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1791 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1792 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1793 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1794 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1795 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1796 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1797 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1798 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1800 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1802 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1804 2019-08-01 Florian Weimer <fweimer@redhat.com>
1807 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1810 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1813 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1816 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1818 * version.h (RELEASE): Set to "stable".
1819 (VERSION): Set to "2.30".
1820 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1822 * manual/install.texi: Update component versions.
1823 * INSTALL: Regenerate.
1826 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1828 * po/be.po: Update translations.
1829 * po/bg.po: Likewise.
1830 * po/ca.po: Likewise.
1831 * po/cs.po: Likewise.
1832 * po/da.po: Likewise.
1833 * po/de.po: Likewise.
1834 * po/el.po: Likewise.
1835 * po/eo.po: Likewise.
1836 * po/es.po: Likewise.
1837 * po/fi.po: Likewise.
1838 * po/fr.po: Likewise.
1839 * po/gl.po: Likewise.
1840 * po/hr.po: Likewise.
1841 * po/hu.po: Likewise.
1842 * po/ia.po: Likewise.
1843 * po/id.po: Likewise.
1844 * po/it.po: Likewise.
1845 * po/ja.po: Likewise.
1846 * po/ko.po: Likewise.
1847 * po/lt.po: Likewise.
1848 * po/nb.po: Likewise.
1849 * po/nl.po: Likewise.
1850 * po/pl.po: Likewise.
1851 * po/pt_BR.po: Likewise.
1852 * po/ru.po: Likewise.
1853 * po/rw.po: Likewise.
1854 * po/sk.po: Likewise.
1855 * po/sl.po: Likewise.
1856 * po/sv.po: Likewise.
1857 * po/tr.po: Likewise.
1858 * po/uk.po: Likewise.
1859 * po/vi.po: Likewise.
1860 * po/zh_CN.po: Likewise.
1861 * po/zh_TW.po: Likewise.
1863 2019-07-31 Florian Weimer <fweimer@redhat.com>
1867 iconv, libio: Revert reference counting changes.
1868 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1869 free the steps array.
1870 * libio/Makefile (tests): Remove tst-wfile-gconv.
1871 (tests-container): Do not add tst-wfile-ascii.
1872 (tst-wfile-gconv-ENV): Do not set.
1873 (generated): Do not add tst-wfile-gconv.mtrace,
1874 tst-wfile-gconv.check.
1875 [($run-built-tests)] (tests-special): Do not add
1876 tst-wfile-gconv-mem.out.
1877 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1878 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1879 instead of __wcsmbs_clone_conv.
1880 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1881 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1883 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1886 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1888 2019-07-30 Florian Weimer <fweimer@redhat.com>
1890 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1891 type to uintptr_t. Update comment.
1892 (check_stack_top): Adjust.
1894 2019-07-29 Florian Weimer <fweimer@redhat.com>
1896 Linux: Move declaration of getdents64 to <dirent.h>.
1897 * bits/dirent_ext.h: New file.
1898 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1899 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1900 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1901 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1903 * manual/filesys.texi (Low-level Directory Access): Update header
1906 2019-07-29 DJ Delorie <dj@redhat.com>
1907 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1910 * Makeconfig (all-subdirs): Improved source comments.
1911 * Makefile (testroot.pristine/install.stamp): Pass
1912 subdirs='$(sorted-subdirs)' to make install.
1914 2019-07-25 Florian Weimer <fweimer@redhat.com>
1917 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1918 counter before freeing array.
1920 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1923 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1925 * sysdeps/x86_64/configure: Regenerated.
1926 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1927 to -mprefer-vector-width=128 if supported.
1929 2019-07-24 Florian Weimer <fweimer@redhat.com>
1931 * scripts/build-many-glibcs.py (Context.checkout): Default to
1934 2019-07-24 Florian Weimer <fweimer@redhat.com>
1937 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1938 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1939 (sysdep_headers): Add bits/socket-constants.h.
1940 (tests-special): Add tst-socket-consts.out.
1941 (tst-socket-consts.out): New target.
1942 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1943 around <asm/unistd.h>.
1944 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1945 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1947 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1948 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1949 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1950 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1951 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1952 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1954 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1956 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1959 * Makefile (testroot.pristine/install.stamp): Pass
1960 subdirs='$(all-subdirs)' to make install.
1962 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1963 the same arguments used in all tests.
1965 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1967 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1969 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1972 * locale/C-translit.h.in: Add Cyrillic transliteration.
1974 2019-07-19 Florian Weimer <fweimer@redhat.com>
1976 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1978 (fsconfig): Add system call name.
1979 (fsmount): Likewise.
1982 (move_mount): Likewise.
1983 (open_tree): Likewise.
1985 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1987 * po/libc.pot: Regenerate.
1989 2019-07-18 Mike Crowe <mac@mcrowe.com>
1991 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1992 functions recently added to sysdeps/nptl/pthread.h:
1993 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1994 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1996 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1997 pthread_cond_clockwait forwarding functions. There are no internal
1998 users, so it is unnecessary to expose these functions in libc.so.
1999 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2000 unnecessary ptr___pthread_cond_clockwait member.
2001 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2004 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2007 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2008 begin with an uppercase letter now.
2010 (mon): Update from CLDR, reword February from "Kudo" to
2011 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2012 and August from "Liiqen" to "Leqeeni".
2013 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2014 April from "Agda Baxisso" to "Agda Baxis" and August from
2015 "Leqeeni" to "Liiqen".
2016 * localedata/locales/aa_ER@saaho (mon): Likewise.
2017 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2018 abbreviated February from "Kud" to "Nah".
2019 (mon): Update from CLDR, reword February from "Kudo" to
2020 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2022 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2025 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2027 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2030 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2031 name_mrs, name_miss, and name_ms.
2032 * localedata/locales/nl_NL (LC_NAME): Likewise.
2034 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2037 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2038 * localedata/locales/en_IE (first_weekday): Likewise.
2040 2019-07-12 Mike Crowe <mac@mcrowe.com>
2042 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2043 that is only useful if futex_supports_exact_relative_timeouts ()
2045 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2047 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2048 timeouts potentially being imprecise since it's no longer true.
2049 Remove declaration of futex_supports_exact_relative_timeouts.
2050 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2051 of futex_supports_exact_relative_timeouts.
2053 * NEWS: Mention recently-added pthread_cond_clockwait,
2054 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2055 sem_clockwait functions.
2057 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2058 works like pthread_mutex_timedlock but takes a clockid parameter to
2059 measure the abstime parameter against.
2060 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2061 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2062 * nptl/pthread_mutex_timedlock.c
2063 (__pthread_mutex_clocklock_common): Rename from
2064 __pthread_mutex_timedlock and add clockid parameter. Pass this
2065 parameter to lll_clocklock and lll_clocklock_elision in place of
2066 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2067 LIBC_PROBE and validate clockid parameter before calling
2068 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2069 implementation to add LIBC_PROBE and calls
2070 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2072 * nptl/Makefile: Add tst-mutex11.c.
2073 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2074 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2075 clockid parameters to pthread_mutex_clocklock.
2076 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2077 clockid parameter to indicate which clock to be used. Call
2078 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2079 (do_test): Call do_test_clock to separately test
2080 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2081 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2082 * nptl/tst-mutex9.c: Likewise.
2083 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2084 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2086 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2088 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2090 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2092 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2094 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2096 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2098 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2099 (GLIBC_2.30): Likewise.
2100 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2101 (GLIBC_2.30): Likewise.
2102 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2103 (GLIBC_2.30): Likewise.
2104 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2105 (GLIBC_2.30): Likewise.
2106 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2107 (GLIBC_2.30): Likewise.
2108 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2111 (GLIBC_2.30): Likewise.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2113 (GLIBC_2.30): Likewise.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2115 (GLIBC_2.30): Likewise.
2116 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2117 (GLIBC_2.30): Likewise.
2118 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2119 (GLIBC_2.30): Likewise.
2120 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2121 (GLIBC_2.30): Likewise.
2122 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2124 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2125 (GLIBC_2.30): Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2127 (GLIBC_2.30): Likewise.
2128 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2129 (GLIBC_2.30): Likewise.
2130 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2131 (GLIBC_2.30): Likewise.
2133 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2134 parameter to indicate the clock that the abstime parameter should
2135 be measured against in preparation for adding
2136 pthread_mutex_clocklock.
2137 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2138 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2139 from __lll_timedlock and add clockid parameter.
2140 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2142 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2143 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2144 rather than __gettimeofday so that clockid can be used. This means
2145 that conversion from struct timeval is no longer required.
2146 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2148 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2149 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2150 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2151 from lll_timedlock_elision, add clockid parameter and use
2152 meaningful names for other parameters. (__pthread_mutex_timedlock):
2153 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2154 lll_clocklock_elision.
2155 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2156 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2157 clockid parameter. (__lll_clocklock_elision): Rename from
2158 __lll_timedlock_elision and add clockid parameter.
2159 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2160 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2161 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2162 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2163 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2164 (LLL_LOCK): Likewise.
2165 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2166 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2168 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2169 pthread_rwlock_clockwrlock which behave like
2170 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2171 respectively, except they always measure abstime against the
2172 supplied clockid. The functions currently support CLOCK_REALTIME
2173 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2175 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2176 pthread_wrlock_clockwrlock.
2177 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2178 pthread_rwlock_clockwrlock.c.
2179 * nptl/pthread_rwlock_clockrdlock.c: Implement
2180 pthread_rwlock_clockrdlock.
2181 * nptl/pthread_rwlock_clockwrlock.c: Implement
2182 pthread_rwlock_clockwrlock.
2183 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2184 clockid parameter and verify that it indicates a supported clock on
2185 entry so that we fail even if it doesn't end up being used. Pass
2186 that clock on to futex_abstimed_wait when necessary.
2187 (__pthread_rwlock_wrlock_full): Likewise.
2188 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2189 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2190 be used because there's no timeout.
2191 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2192 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2193 be used because there is no timeout.
2194 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2195 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2197 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2198 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2200 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2201 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2202 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2203 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2204 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2205 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2206 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2207 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2208 (GLIBC_2.30): Likewise.
2209 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2210 (GLIBC_2.30): Likewise.
2211 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2212 (GLIBC_2.30): Likewise.
2213 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2214 (GLIBC_2.30): Likewise.
2215 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2216 (GLIBC_2.30): Likewise.
2217 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2219 (GLIBC_2.30): Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2221 (GLIBC_2.30): Likewise.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2223 (GLIBC_2.30): Likewise.
2224 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2225 (GLIBC_2.30): Likewise.
2226 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2227 (GLIBC_2.30): Likewise.
2228 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2229 (GLIBC_2.30): Likewise.
2230 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2231 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2232 (GLIBC_2.30): Likewise.
2233 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2234 (GLIBC_2.30): Likewise.
2235 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2236 (GLIBC_2.30): Likewise.
2237 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2238 (GLIBC_2.30): Likewise.
2239 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2240 pthread_rwlock_clockwrlock timeout tests to match the existing
2241 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2242 * nptl/tst-rwlock14.c (do_test): Likewise.
2243 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2244 ancillary output throughout. (tf): Accept thread_args structure so
2245 that rwlock, a clockid and function name can be passed to the
2246 thread. (do_test_clock): Rename from do_test. Accept clockid
2247 parameter to specify test clock. Use the magic clockid value of
2248 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2249 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2250 specified clockid to pthread_rwlock_clockrdlock and
2251 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2252 (do_test): Call do_test_clock to test each clockid in turn.
2253 * nptl/tst-rwlock7.c: Likewise.
2254 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2255 thread_args structure so that the (now int) thread number, the
2256 clockid and the function name can be passed to the thread.
2257 (do_test_clock): Renamed from do_test. Pass the necessary
2258 thread_args when creating the reader and writer threads. Use
2259 xpthread_create and xpthread_join.
2260 (do_test): Call do_test_clock to test each clockid in turn.
2261 * manual/threads.texi: Add documentation for
2262 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2264 nptl: pthread_rwlock: Move timeout validation into _full functions
2265 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2266 Check validity of abstime parameter.
2267 (__pthread_rwlock_rwlock_full): Likewise.
2268 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2269 Remove check for validity of abstime parameter.
2270 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2273 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2274 like pthread_cond_timedwait except it always measures abstime
2275 against the supplied clockid.
2276 * nptl/Makefile: Add tst-cond26 and tst-cond27
2277 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2278 * sysdeps/nptl/pthread.h: Likewise
2279 * nptl/forward.c: Add __pthread_cond_clockwait
2280 * nptl/forward.c: Likewise
2281 * nptl/pthreadP.h: Likewise
2282 * sysdeps/nptl/pthread-functions.h: Likewise
2283 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2284 clockid parameter and comment describing why we don't need to check
2285 its value. Use that value when calling
2286 futex_abstimed_wait_cancelable rather than reading the clock from
2287 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2288 (__pthread_cond_timedwait): Read clock from flags and pass it to
2289 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2290 function with weak alias from pthread_cond_clockwait.
2291 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2292 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2293 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2294 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2295 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2296 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2297 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2298 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2299 (GLIBC_2.30): Likewise.
2300 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2301 (GLIBC_2.30): Likewise.
2302 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2303 (GLIBC_2.30): Likewise.
2304 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2305 (GLIBC_2.30): Likewise.
2306 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2307 (GLIBC_2.30): Likewise.
2308 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2310 (GLIBC_2.30): Likewise.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2312 (GLIBC_2.30): Likewise.
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2314 (GLIBC_2.30): Likewise.
2315 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2316 (GLIBC_2.30): Likewise.
2317 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2318 (GLIBC_2.30): Likewise.
2319 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2320 (GLIBC_2.30): Likewise.
2321 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2322 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2323 (GLIBC_2.30): Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2325 (GLIBC_2.30): Likewise.
2326 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2327 (GLIBC_2.30): Likewise.
2328 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2329 (GLIBC_2.30): Likewise.
2330 * nptl/tst-cond11.c (run_test): Support testing
2331 pthread_cond_clockwait too by using a special magic
2332 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2333 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2334 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2335 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2336 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2337 clocks to pthread_cond_clockwait.
2338 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2339 struct timespec and pthread_cond_clockwait.
2340 * manual/threads.texi: Document pthread_cond_clockwait.
2342 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2343 sem_timedwait, but measures abstime against the specified clock.
2344 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2345 clockid parameters to indicate the clock which abstime should be
2347 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2348 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2349 __new_sem_wait_slow.
2350 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2352 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2353 sem_clockwait.c to match those used for sem_timedwait.c.
2354 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2355 * nptl/Versions (GLIBC_2.30): Likewise.
2356 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2357 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2358 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2359 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2360 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2361 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2362 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2363 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2364 (GLIBC_2.30): Likewise.
2365 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2366 (GLIBC_2.30): Likewise.
2367 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2368 (GLIBC_2.30): Likewise.
2369 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2370 (GLIBC_2.30): Likewise.
2371 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2372 (GLIBC_2.30): Likewise.
2373 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2375 (GLIBC_2.30): Likewise.
2376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2377 (GLIBC_2.30): Likewise.
2378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2379 (GLIBC_2.30): Likewise.
2380 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2381 (GLIBC_2.30): Likewise.
2382 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2383 (GLIBC_2.30): Likewise.
2384 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2385 (GLIBC_2.30): Likewise.
2386 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2387 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2388 (GLIBC_2.30): Likewise.
2389 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2390 (GLIBC_2.30): Likewise.
2391 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2392 (GLIBC_2.30): Likewise.
2393 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2394 (GLIBC_2.30): Likewise.
2395 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2397 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2398 tests to also test sem_clockwait.
2399 * manual/threads.texi: Document sem_clockwait.
2401 nptl: Add clockid parameter to futex timed wait calls
2402 * sysdeps/nptl/lowlevellock-futex.h,
2403 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2404 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2405 takes a clockid rather than a special clockbit.
2406 * sysdeps/nptl/lowlevellock-futex.h: Add
2407 lll_futex_supported_clockid so that client functions can check
2408 whether their clockid parameter is valid even if they don't
2409 ultimately end up calling lll_futex_clock_wait_bitset.
2410 * sysdeps/nptl/futex-internal.h,
2411 sysdeps/unix/sysv/linux/futex-internal.h
2412 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2413 clockid_t parameter to indicate which clock the absolute time
2414 passed should be measured against. Pass that clockid onto
2415 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2417 * sysdeps/nptl/futex-internal.h,
2418 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2419 futex_abstimed_supported_clockid so that client functions can check
2420 whether their clockid parameter is valid even if they don't
2421 ultimately end up calling futex_abstimed_wait.
2422 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2423 code to calculate relative timeout for
2424 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2425 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2426 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2427 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2428 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2429 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2430 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2432 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2435 * posix/tst-mmap-offset.c: Mention BZ #24699.
2436 (do_test_bz21270): Rename to do_test_large_offset and use
2437 mmap64_maximum_offset to check for maximum expected offset value.
2438 * sysdeps/generic/mmap_info.h: New file.
2439 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2440 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2443 2019-07-10 DJ Delorie <dj@redhat.com>
2444 Sergei Trofimovich <slyfox@inbox.ru>
2448 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2450 * nss/tst-nss-db-endgrent.c: New.
2451 * nss/tst-nss-db-endgrent.root: New.
2452 * nss/tst-nss-db-endpwent.c: New.
2453 * nss/tst-nss-db-endpwent.root: New.
2454 * nss/Makefile: Add new tests.
2455 * support/links-dso-program-c.c: Add selinux dependency.
2456 * support/links-dso-program.cc: Add selinux dependency.
2457 * support/Makefile: Build those with -lselinux if enabled.
2459 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2461 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2462 DT_AARCH64_VARIANT_PCS check.
2463 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2464 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2467 2019-07-10 Andreas Schwab <schwab@suse.de>
2470 * malloc/malloc.h (__malloc_check_init): Don't declare.
2471 * include/malloc.h (__malloc_check_init): Likewise.
2472 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2473 * manual/memory.texi (__malloc_check_init): Don't mention it.
2475 2019-07-10 Mao Han <han_mao@c-sky.com>
2477 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2479 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2481 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2482 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2484 2019-07-08 DJ Delorie <dj@redhat.com>
2487 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2488 * io/tst-ftw-lnk.c: New test.
2489 * io/Makefile: Run it.
2491 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2493 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2494 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2495 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2496 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2497 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2498 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2500 Adjust implementation path.
2501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2502 Adjust implementation path.
2503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2504 Adjust implementation path.
2505 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2506 (libm-sysdep_routines): Add s_log* objects.
2507 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2508 CFLAGS-s_logb-power7.c): New fule.
2509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2511 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2515 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2518 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2521 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2525 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2528 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2531 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2535 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2538 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2540 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2541 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2544 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2545 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2546 powerpc32 integer 0 converting to -0.
2548 * benchtests/Makefile (bench-math): Add logb.
2549 * benchtests/logb-inputs: New file.
2550 * benchtests/logbf-inputs: New file.
2552 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2553 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2554 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2555 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2560 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2561 sysdep_routines): Add s_modf* objects.
2562 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2563 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2566 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2570 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2573 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2576 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2579 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2582 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2584 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2585 twoM500, twoM600, two60factor, pdnum): Remove.
2586 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2587 (__ieee754_hypot): Replace static variables with inline definition,
2588 remove ununsed branches.
2589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2590 (libm-sysdep_routines): Remove e_hypot-* objects.
2591 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2592 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2594 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2595 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2596 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2597 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2600 * benchtests/Makefile (bench-math): Add hypot.
2601 * benchtests/hypot-inputs: New file.
2603 2019-07-08 Vincent Chen <vincentc@andestech.com>
2605 * sysdeps/unix/sysv/linux/dl-vdso.h
2606 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2608 2019-07-04 Andreas Schwab <schwab@suse.de>
2611 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2613 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2615 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2616 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2617 * sysdeps/aarch64/sys/ifunc.h: New file.
2618 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2619 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2621 2019-07-01 Florian Weimer <fweimer@redhat.com>
2624 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2625 Replace __vfork with __libpthread_version_placeholder for
2627 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2628 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2630 * nptl/pt-vfork.c: Remove file.
2631 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2632 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2633 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2634 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2635 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2636 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2637 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2638 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2639 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2640 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2641 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2642 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2643 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2644 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2645 Remove vfork, __vfork.
2646 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2648 (GLIBC_2.1.2): Replace __vfork with
2649 __libpthread_version_placeholder.
2650 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2651 Remove vfork, __vfork.
2652 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2654 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2656 (GLIBC_2.1.2): Replace __vfork with
2657 __libpthread_version_placeholder.
2658 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2660 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2661 (GLIBC_2.4): Remove vfork, __vfork.
2662 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2663 (GLIBC_2.0): Remove vfork.
2664 (GLIBC_2.1.2): Replace __vfork with
2665 __libpthread_version_placeholder.
2666 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2667 (GLIBC_2.18): Remove vfork, __vfork.
2668 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2669 (GLIBC_2.0): Remove vfork.
2670 (GLIBC_2.2): Remove __vfork.
2671 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2672 (GLIBC_2.2): Remove vfork, __vfork.
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2674 (GLIBC_2.0): Remove vfork.
2675 (GLIBC_2.1.2): Replace __vfork with
2676 __libpthread_version_placeholder.
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2678 (GLIBC_2.3): Remove vfork, __vfork.
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2680 (GLIBC_2.17): Likewise.
2681 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2682 (GLIBC_2.0): Remove vfork.
2683 (GLIBC_2.1.2): Replace __vfork with
2684 __libpthread_version_placeholder.
2685 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2686 (GLIBC_2.2): Remove vfork, __vfork.
2687 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2689 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2690 (GLIBC_2.0): Remove vfork.
2691 (GLIBC_2.1.2): Replace __vfork with
2692 __libpthread_version_placeholder.
2693 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2694 (GLIBC_2.2): Remove vfork, __vfork.
2695 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2696 (GLIBC_2.2.5): Likewise.
2697 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2698 (GLIBC_2.16): Likewise.
2699 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2700 Remove __errno_location.
2702 2019-07-02 Florian Weimer <fweimer@redhat.com>
2705 * malloc/Depend: Add nptl and htl, due to potential indirect
2706 libpthread dependency of memusagestat.
2708 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2710 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2713 2019-07-01 Florian Weimer <fweimer@redhat.com>
2715 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2716 variant for arm-linux-gnueabi.
2718 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2721 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2723 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2724 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2725 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2726 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2727 and tst-cet-legacy-mod-6c.
2728 (CFLAGS-tst-cet-legacy-5a.c): New.
2729 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2730 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2731 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2732 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2733 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2734 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2735 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2736 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2737 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2738 ($(objpfx)tst-cet-legacy-5a): Likewise.
2739 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2740 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2741 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2742 ($(objpfx)tst-cet-legacy-5b): Likewise.
2743 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2744 (tst-cet-legacy-5b-ENV): Likewise.
2745 ($(objpfx)tst-cet-legacy-6a): Likewise.
2746 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2747 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2748 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2749 ($(objpfx)tst-cet-legacy-6b): Likewise.
2750 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2751 (tst-cet-legacy-6b-ENV): Likewise.
2752 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2753 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2754 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2755 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2756 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2757 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2758 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2759 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2760 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2761 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2762 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2763 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2764 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2765 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2767 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2769 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2770 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2771 (__fegetround_ISA300) New.
2772 (__fegetround_ISA2) New.
2773 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2774 (_FPU_MFFS): Move implementation...
2776 (_FPU_MFFSL): Move implementation....
2777 (_FPU_GET_RC_ISA300): Here. New.
2778 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2779 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2780 (fegetenv_status): New.
2781 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2782 instead of fegetenv_register().
2783 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2785 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2787 * benchtests/bench-math-inlines.c: Increase iterations.
2788 * benchtests/bench-memcmp.c: Likewise.
2789 * benchtests/bench-rawmemchr.c: Likewise.
2790 * benchtests/bench-strcmp.c: Likewise.
2791 * benchtests/bench-strcpy_chk.c: Likewise.
2792 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2793 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2794 (INNER_LOOP_ITERS_SMALL): Likewise.
2795 * benchtests/bench-strncat.c: Increase iterations.
2796 * benchtests/bench-strncmp.c: Increase iterations.
2797 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2798 * benchtests/bench-strrchr.c: Increase iterations.
2799 * benchtests/bench-strstr.c: Keep iterations unchanged.
2800 * benchtests/bench-strtod.c: Increase iterations.
2802 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2804 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2805 with INNER_LOOP_ITERS_LARGE.
2806 * benchtests/bench-memchr.c: Likewise.
2807 * benchtests/bench-rawmemchr.c: Likewise.
2808 * benchtests/bench-strcat.c: Likewise.
2809 * benchtests/bench-strchr.c: Likewise.
2810 * benchtests/bench-string.h: Likewise.
2811 * benchtests/bench-strlen.c: Likewise.
2812 * benchtests/bench-strncpy.c: Likewise.
2813 * benchtests/bench-strnlen.c: Likewise.
2815 2019-06-28 Florian Weimer <fweimer@redhat.com>
2817 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2818 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2819 entire allocated memory range.
2821 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2823 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2824 (prepare_version_base): New helper inline function.
2825 (prepare_version): New macro replacing PREPARE_VERSION.
2826 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2828 2019-06-28 Florian Weimer <fweimer@redhat.com>
2831 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2832 mismatch in a versioned symbol reference.
2833 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2834 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2835 tst-sonamemove-dlopen.
2836 (module-names): Add tst-sonamemove-linkmod1,
2837 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2838 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2839 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2840 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2841 (tst-sonamemove-runmod1.so): Link against
2842 tst-sonamemove-runmod2.so.
2843 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2844 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2845 tst-sonamemove-runmod2.so.
2846 (tst-sonamemove-dlopen): Link with -ldl.
2847 (tst-sonamemove-dlopen.out): Likewise.
2848 * elf/tst-sonamemove-link.c: New file.
2849 * elf/tst-sonamemove-dlopen.c: Likewise.
2850 * elf/tst-sonamemove-linkmod1.c: Likewise.
2851 * elf/tst-sonamemove-linkmod1.map: Likewise.
2852 * elf/tst-sonamemove-runmod1.c: Likewise.
2853 * elf/tst-sonamemove-runmod1.map: Likewise.
2854 * elf/tst-sonamemove-runmod2.c: Likewise.
2855 * elf/tst-sonamemove-runmod2.map: Likewise.
2857 2019-06-28 Florian Weimer <fweimer@redhat.com>
2859 * support/xdlfcn.h (xdlvsym): Declare function.
2860 * support/xdlfcn.c (xdlvsym): Define funciton.
2862 2019-06-28 Florian Weimer <fweimer@redhat.com>
2865 io: Remove the copy_file_range emulation.
2866 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2867 not define and call copy_file_range_compat.
2868 * io/Makefile (tests-static, tests-internal): Do not add
2869 tst-copy_file_range-compat.
2870 * io/copy_file_range-compat.c: Remove file.
2871 * io/copy_file_range.c (copy_file_range): Define as stub.
2872 * io/tst-copy_file_range-compat.c: Remove file.
2873 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2874 (typical_sizes): Update comment. Remove 16K sizes.
2875 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2877 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2878 (delayed_write_failure_beginning, delayed_write_failure_end)
2879 (cross_device_failure, enospc_failure_1, enospc_failure)
2880 (oappend_failure): Remove functions.
2881 (tests): Adjust test case list.
2882 (do_test): Remove file system search code. Check for ENOSYS from
2883 copy_file_range. Do not free xdevfile.
2884 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2885 copy_file_range. Do not document the EXDEV error, which future
2886 kernels may not report. Update the wording to reflect that
2887 further errors are possible.
2888 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2889 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2891 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2892 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2894 * sysdeps/unix/sysv/linux/kernel-features.h
2895 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2897 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2898 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2900 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2901 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2904 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2906 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2907 used as a mask for the mode argument of __vfprintf_internal.
2908 * stdio-common/printf-parse.h (printf_arg): New union member:
2910 * stdio-common/vfprintf-internal.c
2911 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2912 (PARSE_FLOAT_VA_ARG): Likewise.
2913 (SETUP_FLOAT128_INFO): Likewise.
2914 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2915 SETUP_FLOAT128_INFO.
2916 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2917 floating-point value to the new union member, pa_float128.
2918 (printf_positional): Zero-initialize args_value[cnt] with memset.
2920 2019-06-27 Florian Weimer <fweimer@redhat.com>
2923 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2924 buffer size if necessary.
2925 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2927 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2929 (large_buffer_checks): Likewise.
2930 (do_test): Call large_buffer_checks.
2932 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2934 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2935 * sysdeps/x86/dl-lookupcfg.h: Here.
2936 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2938 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2941 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2942 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2944 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2945 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2946 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2947 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2948 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2950 * sysdeps/powerpc/powerpc32/fpu/Makefile
2951 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2952 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2953 and fctidz optimization.
2954 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2955 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2957 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2958 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2959 CFLAGS-s_lround-power5+.c): New rule.
2960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2980 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2981 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2982 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2983 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2984 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2985 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2986 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2988 2019-06-26 Vincent Chen <vincentc@andestech.com>
2990 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2991 specific system calls, fp_udfiex_crtl and udftrap.
2993 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2995 * nptl/tst-eintr1.c (tf1): Add return statement.
2996 (do_test): Remove unused th variable.
2998 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3000 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3001 Return error if get_character fails.
3003 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3005 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3007 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
3010 * localedata/locales/szl_PL (day): Use the correct Unicode
3011 sequences instead of non-ASCII characters.
3013 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3016 * localedata/locales/szl_PL (abday): Spelling corrections.
3020 (alt_mon): This, then apply spelling corrections.
3021 (mon): New entry, month names in the genitive case.
3023 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3026 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3027 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3028 (thousands_sep): Likewise.
3029 (grouping): Set to 3;3.
3031 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3033 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3034 PREPARE_VERSION_KNOWN.
3035 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3036 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3038 (VDSO_HASH_LINUX_2_6_39): Likewise.
3039 (VDSO_NAME_LINUX_4_9): Likewise.
3040 (VDSO_HASH_LINUX_4_9): Likewise.
3041 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3042 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3043 (_libc_vdso_platform_setup): Likewise.
3044 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3045 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3047 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3050 2019-06-20 Mike Crowe <mac@mcrowe.com>
3052 * nptl/eintr.c: Use libsupport.
3053 * nptl/tst-eintr1.c: Likewise.
3054 * nptl/tst-eintr2.c: Likewise.
3055 * nptl/tst-eintr3.c: Likewise.
3056 * nptl/tst-eintr4.c: Likewise.
3057 * nptl/tst-eintr5.c: Likewise.
3058 * nptl/tst-mutex-errorcheck.c: Likewise.
3059 * nptl/tst-mutex5.c: Likewise.
3061 * support/test-driver.h: Add verbose_printf macro.
3063 * support/xtime.h: Add xclock_now() helper function.
3065 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3066 Florian Weimer <fweimer@redhat.com>
3069 * libio/genops.c (_IO_unbuffer_all)
3070 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3071 buffers and access _IO_FILE_complete members of legacy libio streams.
3072 * libio/tst-bz24228.c: New file.
3073 * libio/tst-bz24228.map: Likewise.
3074 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3075 [build-shared] (generated): Add tst-bz24228.mtrace and
3077 [run-built-tests && build-shared] (tests-special): Add
3078 $(objpfx)tst-bz24228-mem.out.
3079 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3080 ($(objpfx)tst-bz24228-mem.out): New rule.
3082 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3084 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3085 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3086 (__FPU_MFFSL): Likewise.
3087 (_FPU_SETCW): Likewise.
3089 2019-06-19 Stan Shebs <stanshebs@google.com>
3090 Raoni Fassina Firmino <raoni@linux.ibm.com>
3093 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3094 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3095 static-linking version.
3096 * sysdeps/unix/sysv/linux/powerpc/Makefile
3097 (tests-static): Add test-gettimebasefreq-static.
3099 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3102 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3105 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3106 between the currency symbol and the minus sign).
3107 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3109 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3112 * string/test-strcasestr.c (check_result): Add NULL check.
3113 * nss/tst-field.c (check_rewrite): Likewise.
3114 * benchtests/bench-strstr.c (do_one_test): Likewise.
3115 * string/test-strstr.c (check_result): Likewise.
3116 * argp/argp-test.c (popt): Increase size of buf to 12.
3117 * benchtests/bench-malloc-simple.c (bench):
3118 Do not initialize tests array out of bounds.
3120 2019-06-19 Florian Weimer <fweimer@redhat.com>
3123 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3126 2019-06-18 Florian Weimer <fweimer@redhat.com>
3129 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3130 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3131 fail when called from dlopen.
3132 * elf/Makefile [have-fpie && build-shared] (tests): Add
3134 (tst-dlopen-pie): Link with -ldl.
3135 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3136 * elf/tst-dlopen-pie.c (do_test): New file.
3138 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3141 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3142 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3143 between the currency symbol and the minus sign).
3144 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3145 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3147 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3149 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3150 sysdep-rtld-routines): Remove rules.
3151 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3152 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3153 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3154 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3155 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3156 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3157 vDSO path for SHARED.
3158 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3159 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3160 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3161 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3162 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3163 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3165 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3166 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3167 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3168 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3169 CFLAGS-s_llround-power5+.c): New rule.
3170 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3172 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3174 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3176 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3178 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3181 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3183 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3185 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3186 * sysdeps/powerpc/powerpc64/fpu/Makefile
3187 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3189 (libm-sysdep_routines): Remove s_llround-* objects.
3190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3200 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3201 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3202 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3203 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3204 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3205 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3206 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3207 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3208 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3209 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3210 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3211 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3212 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3213 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3215 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3216 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3217 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3218 * sysdeps/powerpc/powerpc32/fpu/Makefile
3219 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3220 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3222 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3223 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3224 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3226 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3227 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3228 CFLAGS-s_lrint-ppc32.c): New rule.
3229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3239 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3240 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3241 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3242 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3254 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3255 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3257 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3258 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3260 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3262 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3265 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3267 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3269 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3270 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3271 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3273 (libm-sysdep_routines): Remove s_llrint-* objects.
3274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3279 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3280 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3281 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3282 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3283 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3284 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3285 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3286 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3287 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3289 2019-06-14 Florian Weimer <fweimer@redhat.com>
3291 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3292 argument to __glibc_has_include to inhibit macro expansion.
3294 2019-06-14 Florian Weimer <fweimer@redhat.com>
3296 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3297 function-like macro, so that __has_include can inhibit expansion
3300 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3302 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3306 Allow memset in libc.so.
3308 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3310 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3311 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3312 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3313 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3314 symbols at load time.
3315 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3317 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3319 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3320 (DT_AARCH64_VARIANT_PCS): Define.
3322 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3325 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3335 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3336 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3338 Remove s_finite* objects.
3339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3345 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3346 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3347 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3348 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3350 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3351 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3354 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3364 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3365 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3367 Remove s_isinf* and s_isinf* objects.
3368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3374 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3375 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3376 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3377 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3380 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3382 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3383 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3384 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3386 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3402 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3403 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3404 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3405 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3406 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3407 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3409 Remove s_isnan-* and s_isnanf-* objects.
3410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3419 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3420 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3421 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3422 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3423 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3424 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3425 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3426 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3429 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3431 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3432 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3433 CFLAGS-bench-isfinite.c): New rule.
3434 * benchtests/isnan-input: New file.
3435 * benchtests/isinf-input: New file.
3436 * benchtests/isfinite-input: New file.
3438 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3439 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3440 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3441 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3443 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3453 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3456 Remove s_copysign-power6 s_copysign-ppc64.
3457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3463 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3464 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3465 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3466 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3468 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3469 round_to_integer_float, round_mode): Add RINT handling.
3470 (reset_fenv_mode): New symbol.
3471 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3472 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3473 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3474 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3475 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3476 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3478 2019-06-12 Florian Weimer <fweimer@redhat.com>
3481 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3482 * libio/freopen.c (freopen): Use it.
3484 2019-06-12 Florian Weimer <fweimer@redhat.com>
3486 Linux: Deprecate sysctl.
3487 * include/sysctl.h (__sysctl): Remove declaration.
3488 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3490 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3491 (sysctl): Add deprecation attribute.
3492 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3493 directly, to avoid the deprecation warning. Do not include
3495 (__sysctl): Remove hidden alias.
3497 2019-06-12 Florian Weimer <fweimer@redhat.com>
3499 Linux: Use kernel headers for statx definitions if available.
3500 * include/bits/statx-generic.h: New file.
3501 * include/bits/types/struct_statx.h: Likewise.
3502 * include/bits/types/struct_statx_timestamp.h: Likewise.
3503 * io/Makefile (headers): Add bits/statx-generic.h.
3504 * io/bits/statx-generic.h: New file. Partly copied from
3506 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3507 define original_statx.
3508 * io/bits/types/struct_statx.h: Likewise.
3509 * io/bits/types/struct_statx_timestamp.h: Likewise.
3510 (statx_generic): Use original_statx.
3511 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3512 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3514 2019-06-12 Florian Weimer <fweimer@redhat.com>
3516 * misc/sys/cdefs.h (__glibc_has_include): Define.
3518 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3520 * string/memmem.c (__memmem): Rewrite to improve performance.
3522 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3524 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3526 (two_way_long_needle): Block inlining.
3527 * string/strstr.c (strstr2): Add new function.
3528 (strstr3): Likewise.
3529 (STRSTR): Completely rewrite strstr to improve performance.
3531 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3533 * benchtests/bench-strstr.c (test_hard_needle): New function.
3535 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3537 * malloc/tst-calloc.c: Include <libc-diag.h>.
3538 (null_test): Ignore -Wunused-result around calls to calloc.
3539 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3540 (do_test): Ignore -Wunused-result around call to malloc.
3542 2019-06-07 Florian Weimer <fweimer@redhat.com>
3544 Linux: Add getdents64 system call.
3545 * include/dirnent.h (getdents): Add comment and change buffer
3546 argument type to void *.
3547 (getdents64): Likewise. Add hidden prototype.
3548 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3550 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3552 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3553 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3554 argument type to void *.
3555 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3556 Add hidden definition and getdents64 alias.
3557 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3559 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3560 * manual/filesys.texi (Accessing Directories): Add Low-level
3561 Directory Access node reference.
3562 (Opening a Directory): Cross-reference it.
3563 (Low-level Directory Access): New node.
3564 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3566 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3568 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3569 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3571 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3573 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3575 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3577 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3579 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3581 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3583 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3584 (GLIBC_2.30): Likewise.
3585 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3586 (GLIBC_2.30): Likewise.
3587 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3588 (GLIBC_2.30): Likewise.
3589 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3590 (GLIBC_2.30): Likewise.
3591 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3594 (GLIBC_2.30): Likewise.
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3596 (GLIBC_2.30): Likewise.
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3598 (GLIBC_2.30): Likewise.
3599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3600 (GLIBC_2.30): Likewise.
3601 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3603 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3605 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3607 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3608 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3610 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3612 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3614 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3617 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3619 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3623 (_FPU_GETCW): Use __FPU_MFFS().
3624 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3626 2019-06-06 Florian Weimer <fweimer@redhat.com>
3628 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3629 internal GCC preprocessor identifier __has_include__.
3631 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3633 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3634 with call to equivalent function.
3636 2019-06-04 Florian Weimer <fweimer@redhat.com>
3638 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3639 (do_release_shlib): Adjust for __twalk_r.
3640 (__gconv_release_shlib): Call __twalk_r.
3642 2019-06-04 Andreas Schwab <schwab@suse.de>
3645 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3646 no irreversible characters occurred.
3647 * iconv/gconv_simple.c (internal_ucs4_loop)
3648 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3649 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3650 (ucs4_internal_loop_single, internal_ucs4le_loop)
3651 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3652 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3653 (ucs4le_internal_loop_single): Add const to outend.
3654 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3655 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3656 * iconv/Makefile (tests): Add tst-iconv7.
3657 * iconv/tst-iconv7.c: New file.
3659 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3661 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3663 2019-06-01 Florian Weimer <fweimer@redhat.com>
3665 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3666 * sysdeps/unix/sysv/linux/arm/Makefile
3667 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3668 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3669 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3670 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3671 compatibility symbols.
3673 2019-05-31 Florian Weimer <fweimer@redhat.com>
3675 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3676 system calls for the arm architecture: breakpoint, get_tls,
3677 set_tls, usr26, usr32.
3679 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3681 * sysdeps/powerpc/Makefile
3682 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3683 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3684 Declare '.machine power7' to get support for ldbrx.
3685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3686 directive based on the directory of the file.
3687 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3688 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3689 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3690 '.machine' directive.
3691 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3692 (VADDUQM_V7_V8): Remove.
3693 (__STRCASECMP): Replace macros with actual instructions.
3694 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3695 '.machine' directive.
3696 (VCLZD_V8_v7): Remove.
3697 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3699 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3701 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3703 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3705 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3707 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3709 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3710 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3711 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3712 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3713 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3714 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3716 2019-05-28 mansayk <6688000@gmail.com>
3719 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3721 2019-05-28 mansayk <6688000@gmail.com>
3724 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3725 (abmon): Likewise, but remove the trailing dots.
3727 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3729 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3731 2019-05-27 Florian Weimer <fweimer@redhat.com>
3733 * nptl/nptl-init.c: Add comment.
3735 2019-05-24 Florian Weimer <fweimer@redhat.com>
3737 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3738 struct in_addr/struct in6_addr alignment.
3740 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3743 (F_SEAL_FUTURE_WRITE): New macro.
3745 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3747 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3748 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3749 * elf/tst-ldconfig_aux-cache.root: New directory.
3750 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3751 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3752 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3754 2019-05-22 Zack Weinberg <zackw@panix.com>
3756 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3758 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3759 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3761 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3766 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3767 Issue an #error if used with a compiler in SPE-float mode.
3768 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3769 * sysdeps/powerpc/powerpc32/setjmp_common.S
3770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3776 Remove code to preserve SPE register state.
3778 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3779 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3780 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3781 Remove __SPE__ ifndefs.
3783 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3785 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3786 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3787 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3788 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3789 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3790 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3791 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3792 (INNER_LOOP_ITERS_MEDIUM): New define.
3793 (INNER_LOOP_ITERS_SMALL): New define.
3794 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3795 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3796 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3797 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3798 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3800 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3802 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3804 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3805 (SEMTIMEDOP_IPC_ARGS): Likewise.
3807 2019-05-21 Florian Weimer <fweimer@redhat.com>
3810 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3811 before updating __counter field and release it afterwards. Add
3813 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3814 requirement for __counter member.
3816 2019-05-21 Florian Weimer <fweimer@redhat.com>
3819 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3820 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3821 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3822 instead of __gconv_release_step.
3823 * libio/Makefile (tests): Add tst-wfile-gconv.
3824 (tests-container): Add tst-wfile-ascii.
3825 (tst-wfile-gconv-ENV): Enable mtrace.
3826 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3827 (tests-special): Add tst-wfile-gconv-mem.out.
3828 (tst-wfile-gconv.out): Depend on locales.
3829 (tst-wfile-gconv-mem.out): Add mtrace rule.
3830 * libio/tst-wfile-ascii.c: New file.
3831 * libio/tst-wfile-gconv.c: Likewise.
3833 2019-05-20 Florian Weimer <fweimer@redhat.com>
3836 libio: Remove codecvt vtable.
3837 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3839 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3840 __libio_codecvt_encoding.
3841 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3842 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3843 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3844 * libio/iofwide.c (__libio_codecvt): Remove variable.
3845 (_IO_fwide): Do not copy __libio_codecvt.
3846 (__libio_codecvt_out): Rename from do_out and export.
3847 (do_unshift): Remove function.
3848 (__libio_codecvt_in): Rename from do_in and export.
3849 (__libio_codecvt_encoding): Rename from do_encoding and export.
3850 (do_always_noconv): Remove function.
3851 (__libio_codecvt_length): Rename from do_length and export.
3852 (do_max_length): Remove function.
3853 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3855 (struct _IO_codecvt): Remove fields __codecvt_destr,
3856 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3857 __codecvt_do_encoding, __codecvt_do_always_noconv,
3858 __codecvt_do_length, __codecvt_do_max_length.
3859 * libio/libioP.h (enum __codecvt_result): Define; moved from
3861 (__libio_codecvt_out, __libio_codecvt_in)
3862 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3864 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3865 (_IO_wfile_underflow): Call __libio_codecvt_in.
3866 (_IO_wfile_underflow): Likewise.
3867 (_IO_wfile_underflow_mmap): Likewise.
3868 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3869 __libio_codecvt_length.
3870 (adjust_wide_data): Call __libio_codecvt_encoding,
3872 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3873 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3874 __libio_codecvt_length.
3876 2019-05-20 Florian Weimer <fweimer@redhat.com>
3878 * support/support.h (support_sbindir_prefix): Declare.
3879 (support_install_rootsbindir): Update comment.
3880 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3881 * support/support_paths.c (support_sbindir_prefix): Define.
3883 2019-05-20 Mike Crowe <mac@mcrowe.com>
3885 * support/timespec.c: Add backslash to correct newline in failure
3888 * support/timespec.h: Correct confusing comment.
3890 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3892 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3894 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3895 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3896 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3897 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3900 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3903 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3905 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3906 (NT_ARM_PACG_KEYS): Likewise.
3908 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3910 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3911 (tcache_put): Remove redundant assert.
3912 (tcache_get): Remove redundant asserts.
3913 (__libc_malloc): Check tcache count is not zero.
3914 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3916 2019-05-17 Florian Weimer <fweimer@redhat.com>
3918 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3920 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3922 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3923 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3925 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3927 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3928 (__ASSUME_STATX): Likewise.
3930 2019-05-16 Florian Weimer <fweimer@redhat.com>
3932 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3934 (LINE_PARSER): Do not map IPv4 addresses.
3935 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3937 (_nss_nis_gethostent_r): Always pass AF_INET to
3938 internal_nis_gethostent_r.
3939 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3941 (_nss_nis_gethostbyname2_r): Adjust call to
3942 internal_nis_gethostent_r.
3943 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3944 call to internal_nis_gethostent_r.
3945 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3947 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3948 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3949 Remove flags argument. Do not map IPv4 addresses.
3950 (internal_nisplus_gethostent_r): Adjust call to
3951 _nss_nisplus_parse_hostent.
3952 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3953 to _nss_nisplus_parse_hostent.
3954 (_nss_nisplus_gethostbyname2_r): Adjust call to
3955 internal_gethostbyname2_r.
3956 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3957 Adjust call to internal_gethostbyname2_r.
3958 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3959 _nss_nisplus_parse_hostent.
3960 (_nss_nisplus_gethostbyname4_r): Adjust call to
3961 internal_gethostbyname2_r.
3963 2019-05-16 Florian Weimer <fweimer@redhat.com>
3965 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3967 (LINE_PARSER): Remove address mapping.
3968 (EXTRA_ARGS_VALUE): Remove flags argument.
3969 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3970 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3971 gethostbyname3_multi.
3972 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3973 _nss_files_gethostbyname3_r.
3974 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3976 2019-05-16 Florian Weimer <fweimer@redhat.com>
3978 * support/support_test_compare_blob.c (report_blob): Report
3979 incorrect NULL blobs.
3981 2019-05-15 Mark Wielaard <mark@klomp.org>
3984 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3985 __libc_once_get (once) and static_buf == NULL.
3986 (__dlerror): Check we have a valid key, set result to static_buf
3989 2019-05-15 Andreas Schwab <schwab@suse.de>
3992 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3993 __codecvt_do_length.
3994 * libio/Makefile (tests): Add tst-wfile-sync.
3995 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3996 * libio/tst-wfile-sync.c: New file.
3997 * libio/tst-wfile-sync.input: New file.
3999 2019-05-15 Florian Weimer <fweimer@redhat.com>
4001 nss: Turn __nss_database_lookup into a compatibility symbol.
4002 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4003 __nss_database_lookup.
4004 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4005 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4006 __nss_database_lookup.
4007 (__nss_next): Move to …
4008 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4010 (__nss_database_lookup): New function.
4011 * nss/Versions (GLIBC_2.0): Update comment.
4012 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4013 * grp/initgroups.c (internal_getgrouplist): Call
4014 __nss_database_lookup2 instead of __nss_database_lookup.
4015 * nscd/aicache.c (addhstaiX): Likewise.
4016 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4017 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4018 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4019 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4020 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4022 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4023 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4026 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4028 * support/support.h (support_install_rootsbindir): New variable.
4029 * support/support_paths.c: Likewise.
4030 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4032 2019-05-15 Florian Weimer <fweimer@redhat.com>
4034 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4035 * iconv/gconv_int.h (__gconv_transliterate): … here.
4036 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4037 * iconv/skeleton.c: Likewise.
4039 2019-05-14 Florian Weimer <fweimer@redhat.com>
4041 Linux: Add the tgkill function.
4042 * bits/signal_ext.h: New file.
4043 * manual/signal.texi (Signaling Another Process): Document tgkill.
4044 * signal/Makefile (headers): Add bits/signal_ext.h.
4045 * signal/signal.h: Include <bits/signal_ext.h>.
4046 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4047 (tst-tgkill): Link with libpthread.
4048 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4049 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4050 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4051 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4053 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4054 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4055 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4056 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4057 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4058 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4059 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4060 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4061 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4062 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4063 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4065 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4066 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4067 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4076 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4077 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4078 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4079 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4080 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4081 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4082 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4083 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4085 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4087 * manual/search.texi (Tree Search Function): Adjust twalk_r
4090 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4093 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4096 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4097 * support/support.h (support_bindir_prefix): New variable.
4098 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4100 * config.make.in (bindir): New variable.
4102 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4103 (lll_trylock): Call __lll_trylock.
4104 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4105 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4106 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4107 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4108 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4109 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4110 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4111 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4112 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4113 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4114 lowlevellock-futex.h.
4116 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4117 initialization for LLL_LOCK_INITIALIZER different than 0.
4118 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4119 Assume LLL_LOCK_INITIALIZER being 0.
4120 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4121 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4123 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4124 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4126 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4127 Optimize futex call and add systemtap probe.
4129 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4130 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4131 __libc_disable_asynccancel, __librt_enable_asynccancel,
4132 __libc_disable_asynccancel, __librt_enable_asynccancel,
4133 __librt_disable_asynccancel): Move to ...
4134 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4135 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4136 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4137 * sysdeps/generic/single-thread.h: New file.
4138 * sysdeps/unix/sysdep.h: Include single-thread.h.
4139 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4140 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4142 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4145 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4146 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4148 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4149 * localedata/unicode-gen/PropList.txt: Likewise.
4150 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4151 * localedata/charmaps/UTF-8: Regenerate.
4152 * localedata/locales/i18n_ctype: Likewise.
4153 * localedata/locales/tr_TR: Likewise.
4154 * localedata/locales/translit_circle: Likewise.
4155 * localedata/locales/translit_cjk_compat: Likewise.
4156 * localedata/locales/translit_combining: Likewise.
4157 * localedata/locales/translit_compat: Likewise.
4158 * localedata/locales/translit_font: Likewise.
4159 * localedata/locales/translit_fraction: Likewise.
4161 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4164 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4165 (do_set_tcache_count): Only update if count is small enough.
4166 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4168 2019-05-10 Florian Weimer <fweimer@redhat.com>
4170 * nptl/sem_close.c (struct walk_closure): Define.
4171 (walker): Adjust for __twalk_r.
4172 (sem_close): Call __twalk_r.
4174 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4176 * support/timespec.c (test_timespec_before_impl,
4177 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4180 2019-05-09 Mike Crowe <mac@mcrowe.com>
4182 * nptl/tst-abstime.c: Use libsupport.
4184 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4185 small bug where only tv.tv_usec was checked which could cause an
4186 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4189 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4192 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4193 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4195 * nptl/tst-cond11.c: Use libsupport.
4197 * support/timespec.h: New file. Provide timespec helper functions
4198 along with macros in the style of those in check.h.
4199 * support/timespec.c: New file. Implement check functions declared
4200 in support/timespec.h.
4201 * support/timespec-add.c: New file from gnulib containing
4202 timespec_add implementation that handles overflow.
4203 * support/timespec-sub.c: New file from gnulib containing
4204 timespec_sub implementation that handles overflow.
4205 * support/README: Mention timespec.h.
4207 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4210 * nptl/Makefile: Move tst-eintr1 to xtests.
4212 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4214 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4216 (round_mode): Add definition for TRUNC.
4217 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4218 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4219 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4220 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4221 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4223 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4225 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4227 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4229 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4231 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4233 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4235 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4237 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4238 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4239 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4240 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4241 s_truncf-power5+, and s_truncf-ppc64.
4242 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4243 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4245 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4247 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4248 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4250 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4253 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4255 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4256 s_truncf-power5+, and s_truncf-ppc64.
4257 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4259 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4260 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4262 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4263 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4264 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4265 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4266 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4268 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4270 (round_mode): Add definition for ROUND.
4271 (round_to_integer_float): Likewise.
4272 * sysdeps/powerpc/fpu/s_round.c: New file.
4273 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4274 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4275 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4276 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4278 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4280 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4282 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4284 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4286 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4288 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4290 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4292 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4293 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4294 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4295 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4296 s_roundf-power5+, and s_roundf-ppc64.
4297 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4298 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4300 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4302 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4303 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4305 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4308 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4310 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4311 s_roundf-power5+, and s_roundf-ppc64.
4312 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4314 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4315 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4317 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4318 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4319 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4320 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4321 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4323 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4325 (round_mode): Add definition for FLOOR.
4326 * sysdeps/powerpc/fpu/s_floor.c: New file.
4327 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4328 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4329 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4346 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4347 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4348 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4349 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4350 s_floorf-power5+, and s_floorf-ppc64.
4351 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4352 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4354 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4356 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4357 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4359 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4362 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4364 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4365 s_floorf-power5+, and s_floorf-ppc64.
4366 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4374 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4375 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4376 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4377 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4379 2019-05-08 Mike Crowe <mac@mcrowe.com>
4381 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4382 clock_gettime wrapper for use in tests that fails the test rather
4383 than returning failure.
4385 * support/xtime.h: New file to declare xclock_gettime.
4387 * support/Makefile: Add xclock_gettime.c.
4389 * support/README: Mention xtime.h.
4391 2019-05-08 Florian Weimer <fweimer@redhat.com>
4393 malloc/tst-mallocfork2: Use process-shared barriers.
4394 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4395 (signal_count, sigusr1_sender_pid): Remove.
4396 (iterations): Define constant.
4397 (shared): New variable.
4398 (sigusr1_received): Update comment.
4399 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4400 (signal_sender): Optional use barriers to avoid sending signals
4401 during irrelevant times.
4402 (do_it): Initialize variable shared. Use xfork for error
4403 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4404 the iteration count, independent of signal delivery. Check for
4405 deadlocks in fork. Introduce barriers for reducing signal
4406 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4407 replaced by the barriers. Count signals during fork/free/malloc
4409 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4411 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4413 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4415 (clock_adjtime64) New syscall.
4416 (clock_getres_time64) Likewise.
4417 (clock_gettime64) Likewise.
4418 (clock_nanosleep_time64) Likewise.
4419 (clock_settime64) Likewise.
4420 (futex_time64) Likewise.
4421 (io_pgetevents_time64) Likewise.
4422 (io_uring_enter) Likewise.
4423 (io_uring_register) Likewise.
4424 (io_uring_setup) Likewise.
4425 (mq_timedreceive_time64) Likewise.
4426 (mq_timedsend_time64) Likewise.
4427 (pidfd_send_signal) Likewise.
4428 (ppoll_time64) Likewise.
4429 (pselect6_time64) Likewise.
4430 (recvmmsg_time64) Likewise.
4431 (rt_sigtimedwait_time64) Likewise.
4432 (sched_rr_get_interval_time64) Likewise.
4433 (semtimedop_time64) Likewise.
4434 (timer_gettime64) Likewise.
4435 (timer_settime64) Likewise.
4436 (timerfd_gettime64) Likewise.
4437 (timerfd_settime64) Likewise.
4438 (utimensat_time64) Likewise.
4440 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4441 version to 9 branch.
4443 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4445 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4446 __memmove_thunderx2 to the list of implementations
4447 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4448 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4449 (__memmove_thunderx2): Rewritten using SIMD ld/st
4450 (__memcpy_thunderx2): Fixed handling overlapping cases.
4451 Used ldp/stp instead of ldr/str if possible. Made loops
4454 2019-05-03 Florian Weimer <fweimer@redhat.com>
4456 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4458 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4461 * elf/tst-pldd.c (in_str_list): New function.
4462 (do_test): Add default names for ld and libc as one option.
4464 2019-05-02 Florian Weimer <fweimer@redhat.com>
4466 misc: Add twalk_r function.
4467 * include/search.h (__twalk_r): Declare.
4468 * manual/examples/twalk.c: New file.
4469 * manual/search.texi (Tree Search Function): Document twalk_r.
4470 * misc/Versions (2.30): Export twalk_r.
4471 (GLIBC_PRIVATE): Export __twalk_r.
4472 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4473 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4474 (twalk_r): Add weak alias.
4475 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4476 (walk_trace): New variable.
4477 (struct twalk_with_twalk_r_closure): Define.
4478 (twalk_with_twalk_r_action): New function.
4479 (twalk_with_twalk_r): Likewise.
4480 (walk_action): Call walk_trace_add.
4481 (walk_tree_with): Rename from walk_tree. Add walk argument.
4482 (walk_tree): New function.
4483 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4484 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4486 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4488 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4489 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4490 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4491 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4492 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4493 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4495 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4497 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4499 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4500 (GLIBC_2.30): Likewise.
4501 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4502 (GLIBC_2.30): Likewise.
4503 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4504 (GLIBC_2.30): Likewise.
4505 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4506 (GLIBC_2.30): Likewise.
4507 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4510 (GLIBC_2.30): Likewise.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4512 (GLIBC_2.30): Likewise.
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4514 (GLIBC_2.30): Likewise.
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4516 (GLIBC_2.30): Likewise.
4517 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4519 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4521 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4523 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4524 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4526 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4528 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4530 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4533 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4535 Make mktime etc. compatible with __time64_t
4536 Keep these functions compatible with Gnulib while adding
4537 __time64_t support. The basic idea is to move private API
4538 declarations from include/time.h to time/mktime-internal.h, since
4539 the former file cannot easily be shared with Gnulib whereas the
4541 Also, do some other minor cleanup while in the neighborhood.
4542 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4543 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4544 since Gnulib needs it.
4545 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4546 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4547 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4548 (in_time_t_range): New static function.
4549 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4550 so that glibc users are not tempted to use __time64_t.
4551 * time/mktime-internal.h: Rewrite so that it does both glibc
4552 and Gnulib work. Include time.h if not _LIBC.
4553 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4554 (__time64_t): New type or macro, moved here from
4556 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4557 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4558 from include/time.h.
4559 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4560 New macros, taken from GNulib.
4561 (__mktime_internal): New prototype, moved here from include/time.h.
4562 * time/mktime.c (mktime_min, mktime_max, convert_time)
4563 (ranged_convert, __mktime_internal, __mktime64):
4564 * time/timegm.c (__timegm64):
4565 Use __time64_t, not time_t.
4566 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4567 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4569 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4570 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4571 for libc_hidden_def.
4573 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4575 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4577 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4580 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4581 from `-Wmaybe-uninitialized'.
4582 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4584 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4586 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4588 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4589 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4590 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4591 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4592 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4594 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4611 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4612 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4613 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4614 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4616 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4619 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4620 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4622 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4625 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4628 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4629 s_ceilf-power5+, and s_ceilf-ppc64.
4630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4635 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4636 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4637 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4638 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4640 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4641 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4642 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4644 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4646 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4647 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4648 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4649 (sem_getvalue): Likewise.
4651 2019-04-26 Florian Weimer <fweimer@redhat.com>
4653 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4654 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4656 2019-04-26 Florian Weimer <fweimer@redhat.com>
4658 Makeconfig: Move -Wl,-rpath-link options before library references.
4659 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4660 (link-libc): Remove $(link-libc-rpath-link).
4662 2019-04-25 Florian Weimer <fweimer@redhat.com>
4664 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4665 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4666 (+link-static-before-libc): Remove $(CC).
4667 (+link-static, +link-static-tests): Add $(CC).
4668 (+link-before-libc): Remove $(CC).
4669 (+link, +link-pie, +link-pie-printers): Add $(CC).
4671 2019-04-26 Florian Weimer <fweimer@redhat.com>
4673 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4674 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4675 (+link-static-before-libc): Remove $(CC).
4676 (+link-static, +link-static-tests): Add $(CC).
4677 (+link-before-libc): Remove $(CC).
4678 (+link, +link-pie, +link-pie-printers): Add $(CC).
4680 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4683 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4685 2019-04-25 Florian Weimer <fweimer@redhat.com>
4687 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4688 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4689 (bench-link-targets): New variable.
4690 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4692 2019-04-25 Florian Weimer <fweimer@redhat.com>
4694 Also enable BIND_NOW for programs if --enable-bind-now.
4695 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4696 (+link-pie): Use $(link-extra-flags).
4697 (+link-static): Likewise.
4698 [! $(build-pie-default)] (+link): Likewise.
4699 * manual/install.texi (Configuring and compiling): Update
4700 --enable-bind-now description.
4701 * INSTALL: Regenerated.
4703 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4705 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4706 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4708 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4711 * malloc/Makefile (others): Add memusagestat.
4712 ($(objpfx)memusagestat): Delete rule.
4713 (LDLIBS-memusagestat): New variable.
4715 2019-04-24 Florian Weimer <fweimer@redhat.com>
4717 * locale/Makefile (tests-special): Guard setting by
4718 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4719 to run while cross-compiling.
4721 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4724 * elf/Makefile (tests-container): Add tst-pldd.
4725 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4726 (E(find_maps)): Avoid use alloca, use default read file operations
4727 instead of explicit LFS names, and fix infinite loop.
4728 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4729 (get_process_info): Use _Static_assert instead of assert, use default
4730 directory operations instead of explicit LFS names, and free some
4732 * elf/tst-pldd.c: New file.
4734 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4736 * malloc/arena.c (do_set_mallopt_check): Removed.
4738 2019-04-23 Florian Weimer <fweimer@redhat.com>
4740 locale: Add LOCPATH diagnostics to the locale program.
4741 * locale/programs/locale.c (setlocale_failed): New variable.
4742 (try_setlocale): New function.
4743 (quote_string): Likewise.
4744 (setlocale_diagnostics): Likewise.
4745 (main): Call try_setlocale instead of setlocale. Call
4746 setlocale_diagnostics.
4747 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4748 (tst-locale-locpath.out): New target.
4749 * locale/tst-locale-locpath.sh: New file.
4751 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4753 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4756 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4759 * malloc/hooks.c (malloc_check, realloc_check): Use
4760 __builtin_add_overflow on overflow check and adapt to
4761 checked_request2size change.
4762 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4763 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4764 allocation size to PTRDIFF_MAX.
4765 (REQUEST_OUT_OF_RANGE): Remove macro.
4766 (checked_request2size): Change to inline function and limit maximum
4767 requested size to PTRDIFF_MAX.
4768 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4769 maximum allocation size to PTRDIFF_MAX.
4770 (_mid_memalign): Use _int_memalign call for overflow check.
4771 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4772 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4773 limit maximum requested size to PTRDIFF_MAX.
4774 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4775 valloc, pvalloc): Add __attribute_alloc_size__.
4776 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4777 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4778 larger than PTRDIFF_MAX.
4779 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4780 around tests of malloc with negative sizes.
4781 * malloc/tst-posix_memalign.c (do_test): Likewise.
4782 * malloc/tst-pvalloc.c (do_test): Likewise.
4783 * malloc/tst-valloc.c (do_test): Likewise.
4784 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4785 with resulting size allocation larger than PTRDIFF_MAX with
4786 reallocarray_nowarn.
4787 (reallocarray_nowarn): New function.
4788 * NEWS: Mention the malloc function semantic change.
4790 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4792 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4793 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4795 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4796 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4797 * sysdeps/powerpc/fpu/s_fma.c: New file.
4798 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4800 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4801 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4803 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4804 the magic flag store.
4805 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4807 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4809 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4810 Remove rt_sigreturn call.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4813 Remove rt_sigreturn call.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4819 * support/Makefile (libsupport-routines): Add support_subprocess,
4820 xposix_spawn, xposix_spawn_file_actions_addclose, and
4821 xposix_spawn_file_actions_adddup2.
4822 (tst-support_capture_subprocess-ARGS): New rule.
4823 * support/capture_subprocess.h (support_capture_subprogram): New
4825 * support/support_capture_subprocess.c (support_capture_subprocess):
4826 Refactor to use support_subprocess and support_capture_poll.
4827 (support_capture_subprogram): New function.
4828 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4829 str_to_write_mode, test_common, parse_int, handle_restart,
4830 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4831 (do_test): Add support_capture_subprogram tests.
4832 * support/subprocess.h: New file.
4833 * support/support_subprocess.c: Likewise.
4834 * support/xposix_spawn.c: Likewise.
4835 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4836 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4837 * support/xspawn.h: Likewise.
4839 2019-04-17 Mike Gerow <gerow@google.com>
4841 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4844 2019-04-11 Florian Weimer <fweimer@redhat.com>
4846 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4847 domain with empty string.
4848 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4850 2019-04-11 Florian Weimer <fweimer@redhat.com>
4852 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4854 (alloc_buffer_next): Change return type to non-const. Update
4857 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4859 * manual/time.texi (Formatting Calendar Time): Add missing percent
4860 sign to conversion specifier.
4862 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4863 Kwok Cheung Yeung <kcy@codesourcery.com>
4866 * malloc/mtrace.c: Define prototypes for all hooks.
4867 (set_default_hooks): New function.
4868 (set_trace_hooks): Likewise.
4869 (save_default_hooks): Likewise.
4870 (tr_freehook): Use new s*_hooks functions.
4871 (tr_mallochook): Likewise.
4872 (tr_reallochook): Likewise.
4873 (tr_memalignhook): Likewise.
4875 (muntrace): Likewise.
4877 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4879 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4880 (generic_stpcpy): New function.
4881 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4882 (generic_stpncpy): New function.
4883 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4884 (generic_strcat): New function.
4885 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4886 (generic_strcpy): New function.
4887 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4888 (STUPID_STRNCAT): Remove function.
4889 (generic_strncat): New function.
4890 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4891 (STUPID_STRNCPY): Remove function.
4892 (generic_strncpy): New function.
4893 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4894 (generic_strnlen): New function.
4895 (memchr_strnlen): New function.
4896 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4897 (memchr_strlen): Likewise.
4899 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4901 * benchtests/bench-strstr.c (input): Add realistic input text.
4902 (stupid_strstr): Remove function.
4903 (basic_strstr): Add function.
4904 (twoway_strstr): Add function.
4905 (do_one_test): Add result checking.
4906 (do_test): Use new input text. Remove accidental early matches.
4907 (test_main): Improve range of tests, reduce unaligned cases.
4909 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4911 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4912 (basic_memmem): Add function.
4913 (twoway_memmem): Add function.
4915 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4917 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4918 * benchtests/bench-malloc-thread.c: Likewise.
4919 * benchtests/bench-skeleton.c: Likewise.
4920 * benchtests/bench-strtod.c: Likewise.
4921 * benchtests/bench-timing.h: Likewise.
4923 2019-04-08 Florian Weimer <fweimer@redhat.com>
4925 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4927 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4928 RES_INSECURE2 security checks.
4929 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4930 RES_INSECURE2 handling.
4932 2019-04-08 Florian Weimer <fweimer@redhat.com>
4934 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4935 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4936 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4938 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4939 (tests-internal): Update justification for tst-resolv-res_init,
4940 tst-resolv-res_init-thread.
4941 (tst-res_use_inet6): Remove target.
4942 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4943 * resolv/res_debug.c (p_option): Remove "inet6" support.
4944 * resolv/res_init.c (res_setoptions): Likewise.
4945 * resolv/res_use_inet6.h: Remove file.
4946 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4948 (res_use_inet6): Always return false.
4949 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4950 * resolv/resolv_context.h: Adjust file comment.
4951 (struct resolv_context): Update comment on __next field.
4952 (__resolv_context_put): Update comment.
4953 * resolv/tst-res_use_inet6.c: Remove file.
4954 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4956 (test_cases): Adjust test case.
4957 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4958 (thread_byname2_af_inet6): Use old byname_inet6 code.
4959 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4960 (gai): Remove do_inet6 argument.
4961 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4962 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4963 (thread_gai_unspec_inet6): Remove functions.
4964 (do_test): Adjust thread_funcs.
4965 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4967 (gaih_inet): Do not disable RES_USE_INET6 flag.
4969 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4971 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4972 and remove redundant code.
4974 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4976 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4978 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4986 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4987 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4988 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4989 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4990 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4992 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4994 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4997 Remove wcsrchr optimizations.
4998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5000 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5003 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5005 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5008 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5012 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5013 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5014 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5015 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5016 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5017 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5019 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5021 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5024 Remove wcschr optimizations.
5025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5027 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5030 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5032 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5039 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5040 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5041 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5042 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5043 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5044 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5046 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5048 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5051 Remove wcscpy optimizations.
5052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5054 * include/loop_unroll.h: New file.
5055 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5056 besides generic implementation.
5058 2019-04-03 DJ Delorie <dj@redhat.com>
5060 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5061 snprintf truncating output.
5063 2019-04-02 DJ Delorie <dj@redhat.com>
5065 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5068 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5071 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5073 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5074 (mkreftable): Add rules for the new Japanese era and the new dates.
5076 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5077 Rafał Lużyński <digitalfreak@lingonborough.com>
5079 * time/tst-strftime2.c (date_t): Explicitly define the type.
5080 (dates): Use natural month and year numbers to express a date.
5081 (is_before): New function to compare dates.
5082 (mkreftable): Minor improvements to simplify maintenance.
5083 (do_test): Reflect the changes in dates array.
5086 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5087 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5088 * time/tst-strftime2.c (locales): Likewise.
5089 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5090 2010-04-01, and 2011-04-01.
5091 (mkreftable): Add rules for the new locales and the new dates.
5093 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5095 * localedata/locales/ja_JP: Add comments to era entries.
5097 2019-04-01 DJ Delorie <dj@redhat.com>
5100 * time/strptime_l.c (%Ey): Fix fencepost error.
5101 * time/tst-strftime3.c: New.
5102 * time/Makefile (tests): Add tst-strftime3.
5104 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5106 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5107 conditional branch to DIVBYZERO. Fix unwind info.
5108 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5109 excb after conditional branch to $powerof2. Add missing unop
5110 instructions and .align directives and reorder instructions to
5113 2019-04-01 Richard Henderson <rth@twiddle.net>
5115 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5117 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5120 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5122 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5123 $libc_cv_riscv_float_abi in `test' invocation.
5124 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5126 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5128 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5130 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5132 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5133 (_GET_SI_FPSCR): Likewise.
5134 (_SET_SI_FPSCR): Likewise.
5136 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5138 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5140 (signbit): Use builtin for clang 3.3.
5141 (isinf): Use builtin for clang 3.7.
5143 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5145 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5147 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5149 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5152 2019-03-25 Mike Crowe <mac@mcrowe.com>
5154 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5155 pthread_rwlock_timedrdlock with calls to
5156 pthread_rwlock_timedwrlock to ensure that the latter is tested
5157 too. Use new function name in diagnostic messages too.
5159 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5160 (do_test) Use libsupport test macros rather than hand-coded
5161 conditionals and error messages. Ensure that sem_init returns zero
5162 rather than not -1. Use <support/test-driver.c> rather than
5165 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5166 test macros rather than hand-coded conditionals and error messages.
5167 Use <support/test-driver.c> rather than test-skeleton.c.
5169 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5171 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5173 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5174 (NT_MIPS_MSA): Likewise.
5176 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5178 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5179 * benchtests/README: Update description.
5180 * benchtests/bench-timing.h: Default to hp-timing.
5181 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5182 HP_TIMING_PRINT): Remove.
5183 (HP_TIMING_NOW): Add generic implementation.
5184 (hp_timing_t): Change to uint64_t.
5186 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5188 * nptl/descr.h: Likewise.
5189 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5190 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5191 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5192 Abstract hp-timing usage with RTLD_* macros.
5193 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5194 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5195 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5196 HP_TIMING_NONAVAIL): Likewise.
5197 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5199 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5200 HP_SMALL_TIMING_AVAIL): Likewise.
5201 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5202 HP_SMALL_TIMING_AVAIL): Likewise.
5203 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5204 HP_SMALL_TIMING_AVAIL): Likewise.
5205 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5206 HP_SMALL_TIMING_AVAIL): Likewise.
5207 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5209 * sysdeps/generic/hp-timing-common.h: Update comment with
5210 HP_TIMING_AVAIL removal.
5212 * include/random-bits.h: New file.
5213 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5214 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5216 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5217 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5220 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5221 * rt/Makefile (clock-routines): Remove get_clockfreq.
5222 * rt/get_clockfreq.c: Remove file.
5223 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5224 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5225 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5226 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5227 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5229 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5230 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5231 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5232 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5233 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5235 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5236 pthread_clock_settime.
5237 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5238 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5239 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5240 * elf/rtld.c (_dl_start_final): Likewise.
5241 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5242 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5244 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5245 (_dl_cpuclock_offset): Remove.
5246 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5247 cpuclock_offset_ununsed.
5248 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5249 cpuclock_offset set.
5250 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5251 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5252 * nptl/pthread_clock_gettime.c: Remove file.
5253 * nptl/pthread_clock_settime.c: Likewise.
5254 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5255 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5256 and CLOCK_PROCESS_CPUTIME_ID support.
5257 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5258 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5259 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5260 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5261 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5263 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5265 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5267 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5268 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5269 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5271 * sysdeps/s390/memmem-arch13.S: New file.
5272 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5273 if it is only used as fallback.
5274 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5275 * sysdeps/s390/multiarch/ifunc-impl-list.c
5276 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5278 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5280 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5281 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5282 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5284 * sysdeps/s390/multiarch/ifunc-impl-list.c
5285 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5286 * sysdeps/s390/strstr-arch13.S: New file.
5287 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5288 if it is only used as fallback.
5289 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5291 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5293 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5294 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5295 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5296 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5298 * sysdeps/s390/multiarch/ifunc-impl-list.c
5299 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5300 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5301 S390_IS_ARCH13_MIE3): New defines.
5303 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5305 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5306 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5307 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5308 * sysdeps/s390/configure: Regenerated.
5310 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5312 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5313 Add vxe2, vxp, dflt, sort flags.
5314 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5315 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5317 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5318 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5319 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5320 HWCAP_S390_DFLT): Define.
5322 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5325 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5326 of compiler warning.
5327 * locale/programs/ld-collate.c (collate_output): Likewise.
5329 2019-03-21 DJ Delorie <dj@redhat.com>
5332 * iconv/iconvconfig.c (write_output): Replace floating point math
5333 with integer math to avoid imprecise results.
5334 * locale/programs/ld-collate.c (collate_output): Likewise.
5336 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5338 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5339 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5341 2019-03-20 mansayk <6688000@gmail.com>
5344 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5345 (abday): Likewise, but remove the trailing dots.
5347 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5349 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5351 (HWCAP_PACA): Likewise.
5352 (HWCAP_PACG): Likewise.
5353 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5355 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5357 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5359 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5362 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5364 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5366 (old_getpagesize): New syscall.
5368 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5371 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5372 * localedata/locales/cmn_TW (era): Likewise.
5373 * localedata/locales/hak_TW (era): Likewise.
5374 * localedata/locales/lzh_TW (era): Likewise.
5375 * localedata/locales/nan_TW (era): Likewise.
5377 2019-03-14 Adam Maris <amaris@redhat.com>
5379 * malloc/malloc.c (_int_malloc): Check for large bin list
5380 corruption when inserting unsorted chunk.
5382 2019-03-14 Florian Weimer <fweimer@redhat.com>
5384 Remove obsolete, never-implemented XSI STREAMS declarations.
5385 * manual/terminal.texi (Allocation): Remove portability note and
5387 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5389 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5390 * sysdeps/unix/inet/Subdirs (streams): Remove.
5391 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5392 (conformtest-headers-UNIX98): Likewise.
5393 (conformtest-headers-XOPEN2K): Likewise.
5394 (conformtest-headers-POSIX2008): Likewise.
5395 * posix/compat-streams.c: New file.
5396 * posix/Makefile (routines): Add it.
5397 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5398 getpmsg, isastream, putmsg, putpmsg.
5399 (GLIBC_2.30): New section.
5400 * bits/stropts.h: Remove file.
5401 * bits/xtitypes.h: Likewise.
5402 * conform/data/stropts.h-data: Likewise.
5403 * include/stropts.h: Likewise.
5404 * include/sys/stropts.h: Likewise.
5405 * include/xtitypes.h: Likewise.
5406 * streams/Makefile: Likewise.
5407 * streams/fattach.c: Likewise.
5408 * streams/fdetach.c: Likewise.
5409 * streams/getmsg.c: Likewise.
5410 * streams/getpmsg.c: Likewise.
5411 * streams/isastream.c: Likewise.
5412 * streams/putmsg.c: Likewise.
5413 * streams/putpmsg.c: Likewise.
5414 * streams/stropts.h: Likewise.
5415 * streams/sys/stropts.h: Likewise.
5416 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5417 * sysdeps/s390/bits/xtitypes.h: Likewise.
5418 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5419 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5420 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5421 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5422 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5423 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5424 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5425 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5426 * sysdeps/x86/bits/xtitypes.h: Likewise.
5428 2019-03-14 Florian Weimer <fweimer@redhat.com>
5430 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5432 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5433 but not with libnss_files.
5434 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5436 2019-03-14 Zack Weinberg <zackw@panix.com>
5438 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5439 Specify encoding="utf-8" when opening headers to check.
5441 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5443 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5445 (Context.checkout_tar): Handle variable major version for Linux
5448 2019-03-13 Florian Weimer <fweimer@redhat.com>
5451 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5453 2019-03-13 Zack Weinberg <zackw@panix.com>
5455 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5457 * include/inttypes.h: Adjust to match.
5458 * include/stdint.h: New wrapper.
5460 2019-03-13 Zack Weinberg <zackw@panix.com>
5462 * scripts/check-obsolete-constructs.py: New test script.
5463 * scripts/check-installed-headers.sh: Remove tests for
5464 obsolete typedefs, superseded by check-obsolete-constructs.py.
5465 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5466 as a special test. Update commentary.
5467 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5468 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5470 * posix/sys/types.h (__u_intN_t): Remove.
5471 (u_int8_t): Typedef using __uint8_t.
5472 (u_int16_t): Typedef using __uint16_t.
5473 (u_int32_t): Typedef using __uint32_t.
5474 (u_int64_t): Typedef using __uint64_t.
5476 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5478 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5480 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5481 Ignore types other than AT_HWCAP.
5482 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5483 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5485 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5486 in the case of falling back to generic output mechanism.
5487 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5490 2019-03-12 Florian Weimer <fweimer@redhat.com>
5492 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5494 2019-03-12 Florian Weimer <fweimer@redhat.com>
5497 resolv: Enable full ICMP errors for UDP DNS sockets
5498 * resolv/res_enable_icmp.c: New file.
5499 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5500 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5501 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5504 2019-03-11 Mao Han <han_mao@c-sky.com>
5506 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5507 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5509 2019-03-11 Mao Han <han_mao@c-sky.com>
5511 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5512 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5513 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5515 2019-03-11 Mao Han <han_mao@c-sky.com>
5517 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5519 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5522 2019-03-11 Mao Han <han_mao@c-sky.com>
5524 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5525 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5528 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5531 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5532 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5534 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5535 * localedata/unicode-gen/PropList.txt: Likewise.
5536 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5537 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5538 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5539 * localedata/charmaps/UTF-8: Regenerate.
5540 * localedata/locales/i18n_ctype: Likewise.
5541 * localedata/locales/tr_TR: Likewise.
5542 * localedata/locales/translit_circle: Likewise.
5543 * localedata/locales/translit_cjk_compat: Likewise.
5544 * localedata/locales/translit_combining: Likewise.
5545 * localedata/locales/translit_compat: Likewise.
5546 * localedata/locales/translit_font: Likewise.
5547 * localedata/locales/translit_fraction: Likewise.
5549 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5551 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5552 than after operators.
5553 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5554 (setitimer_locked): Likewise.
5555 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5556 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5557 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5558 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5559 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5560 (PPC_CPU_SUPPORTED): Likewise.
5561 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5562 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5563 (stat_overflow): Likewise.
5564 (statfs_overflow): Likewise.
5565 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5566 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5567 (eq_ttyname_r): Likewise.
5568 (run_chroot_tests): Likewise.
5570 2019-03-07 Florian Weimer <fweimer@redhat.com>
5572 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5575 2019-03-07 Martin Liska <mliska@suse.cz>
5577 * math/Makefile: Change location where math-vector-fortran.h is
5579 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5580 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5581 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5582 * scripts/check-installed-headers.sh: Skip Fortran header files.
5583 * scripts/check-wrapper-headers.py: Likewise.
5585 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5587 * nptl/nptl-init.c (__have_futex_clock_realtime,
5588 __have_futex_clock_realtime): Remove definition.
5589 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5590 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5591 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5592 __ASSUME_FUTEX_CLOCK_REALTIME support.
5593 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5594 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5595 * sysdeps/unix/sysv/linux/kernel-features.h
5596 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5597 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5600 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5602 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5603 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5604 __GI___wcscpy and wcscpy.
5606 2019-03-04 Florian Weimer <fweimer@redhat.com>
5608 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5610 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5613 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5615 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5616 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5618 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5621 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5622 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5624 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5626 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5628 (do_test): Likewise.
5629 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5630 (do_test_call_varg): Likewise.
5631 (do_test_call_rarg): Likewise.
5632 * sysdeps/ieee754/ldbl-opt/Makefile
5633 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5635 ($(objpfx)tst-nldbl-warn.c): New rule.
5636 ($(objpfx)tst-nldbl-error.c): Likewise.
5637 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5640 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5643 * include/bits/error-ldbl.h: New file.
5644 * include/error.h: Include stdarg.h. Declare internal functions
5645 __error_internal and __error_at_line_internal.
5646 * misc/Makefile (headers): Add bits/error-ldbl.h.
5647 * misc/bits/error-ldbl.h: New file.
5648 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5649 avoid the inclusion of bits/error.h.
5650 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5651 and __nldbl_error_at_line.
5652 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5653 (__nldbl_error, __ndlbl_error_at_line): New functions.
5654 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5655 Redirect error and error_at_line.
5656 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5665 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5666 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5667 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5669 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5672 * include/bits/err-ldbl.h: New file.
5673 * include/err.h: Add prototypes for the internal functions:
5674 __vwarnx_internal and __vwarn_internal.
5675 * misc/Makefile (headers): Add bits/err-ldbl.h.
5676 * misc/bits/err-ldbl.h: New file.
5677 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5678 defined, i.e.: when -mlong-double-64 is in use.
5679 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5680 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5681 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5682 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5683 (VA_CALL): New macro.
5684 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5685 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5687 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5688 declare prototypes for the new functions.
5689 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5698 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5699 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5700 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5702 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5704 * sysdeps/ieee754/ldbl-opt/Makefile
5705 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5706 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5707 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5709 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5712 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5713 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5714 * argp/bits/argp-ldbl.h: New file.
5715 * include/argp.h: Include stdarg.h. Add prototypes for internal
5716 functions: __argp_error_internal and __argp_failure_internal.
5717 * include/bits/argp-ldbl.h: New file.
5718 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5719 __nldbl_argp_error and __nldbl_argp_failure.
5720 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5721 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5722 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5723 Redirect argp_error and argp_failure calls.
5724 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5733 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5734 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5735 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5737 2019-03-01 Florian Weimer <fweimer@redhat.com>
5740 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5741 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5742 code, to avoid creating an ABI tag note.
5743 (modules-names-nobuild): Add tst-big-note-lib.
5745 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5747 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5748 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5750 2019-03-01 Florian Weimer <fweimer@redhat.com>
5753 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5754 (__netlink_assert_response): Add additional missing newlines.
5756 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5758 * sysdeps/powerpc/powerpc32/dl-machine.c
5759 (__elf_machine_fixup_plt): Use space before '('.
5760 (__process_machine_rela): Likewise.
5761 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5763 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5765 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5767 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5768 (pattern): Likewise.
5770 (check_result): Likewise.
5771 (check_excepts): Likewise.
5772 (check_op): Likewise.
5773 (fail_xr): Likewise.
5774 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5775 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5777 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5780 (__makecontext): Likewise.
5781 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5784 2019-02-28 Florian Weimer <fweimer@redhat.com>
5787 elf: Add test with a local IFUNC resolver.
5788 * elf/ifuncmain9.c: New file.
5789 * elf/ifuncmain9pic.c: Likewise.
5790 * elf/ifuncmain9picstatic.c: Likewise.
5791 * elf/ifuncmain9pie.c: Likewise.
5792 * elf/ifuncmain9static.c: Likewise.
5793 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5794 ifuncmain9static, ifuncmain9picstatic.
5795 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5796 Add ifuncmain9, ifuncmain9pic.
5797 * elf/Makefile [multi-arch && build-shared && have-fpie]
5798 (ifunc-pie-tests): Add ifuncmain9pie.
5799 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5800 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5801 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5803 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5805 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5806 * configure: Regenerated.
5807 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5809 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5812 symbol as __wcspcy instead of wcscpy.
5814 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5816 * include/stdio.h (__renameat2): New hidden prototype.
5817 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5818 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5819 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5820 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5822 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5824 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5827 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5828 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5829 * benchtests/bench-strlen.c (do_test): Likewise.
5830 (test_main): Likewise.
5831 * catgets/gencat.c (read_old): Likewise.
5832 * elf/cache.c (load_aux_cache): Likewise.
5833 * iconvdata/bug-iconv8.c (do_test): Likewise.
5834 * math/test-tgmath-ret.c (do_test): Likewise.
5835 * nis/nis_call.c (rec_dirsearch): Likewise.
5836 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5837 * nptl/tst-audit-threads.c (do_test): Likewise.
5838 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5839 * nss/nss_test1.c (init): Likewise.
5840 * nss/test-netdb.c (test_hosts): Likewise.
5841 * posix/execvpe.c (maybe_script_execute): Likewise.
5842 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5843 * stdio-common/tst-printf.c (do_test): Likewise.
5844 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5845 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5846 * stdlib/qsort.c (STACK_SIZE): Likewise.
5847 * stdlib/test-canon.c (do_test): Likewise.
5848 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5849 * string/memcmp.c (OPSIZ): Likewise.
5850 * string/test-strcpy.c (do_test): Likewise.
5851 (do_random_tests): Likewise.
5852 * string/test-strlen.c (do_test): Likewise.
5853 (test_main): Likewise.
5854 * string/test-strrchr.c (do_test): Likewise.
5855 (do_random_tests): Likewise.
5856 * string/tester.c (test_memrchr): Likewise.
5857 (test_memchr): Likewise.
5858 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5859 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5860 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5861 (read_encoded_value_with_base): Likewise.
5862 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5863 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5864 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5865 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5866 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5867 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5869 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5871 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5872 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5873 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5875 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5877 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5879 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5881 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5882 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5883 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5884 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5885 * time/test_time.c (main): Likewise.
5887 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5889 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5891 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5894 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5897 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5899 * include/wchar.h (__wcscpy): New prototype.
5900 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5901 (__wcscpy): Route internal symbol to generic implementation.
5902 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5903 Add internal __wcscpy alias.
5904 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5905 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5906 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5907 * wcsmbs/wcscpy.c (wcscpy): Add
5908 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5909 use generic implementation.
5910 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5912 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5915 * sysdeps/m68k/wcpcpy.c: Remove file.
5916 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5918 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5920 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5921 than after operators.
5922 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5923 * sysdeps/mach/hurd/getcwd.c
5924 (__hurd_canonicalize_directory_name_internal): Likewise.
5925 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5926 (pthread_mutex_consistent): Likewise.
5927 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5929 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5930 (__pthread_mutex_transfer_np): Likewise.
5931 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5932 (__pthread_mutex_unlock): Likewise.
5933 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5934 (mtx_owned_p): Likewise.
5935 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5936 (pthread_mutexattr_getrobust): Likewise.
5937 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5938 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5940 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5941 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5942 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5943 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5944 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5945 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5946 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5948 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5950 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5951 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5952 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5953 (____longjmp_chk): Likewise.
5954 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5957 (INTERNAL_SYSCALL): Likewise.
5958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5959 (INTERNAL_SYSCALL): Likewise.
5960 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5961 (__get_clockfreq_via_cpuinfo): Likewise.
5963 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5965 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5966 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5967 (WORD_COPY_BWD): Likewise.
5968 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5971 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5972 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5974 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5976 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5978 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5979 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5980 rather than after operators.
5981 * elf/cache.c (print_cache): Likewise.
5982 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5983 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5984 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5985 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5986 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5987 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5988 (reauth_proc): Likewise.
5989 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5990 (__file_name_split_at): Likewise.
5991 (__directory_name_split_at): Likewise.
5992 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5993 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5994 * iconv/gconv_dl.c (do_print): Likewise.
5995 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5996 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5997 * locale/setlocale.c (new_composite_name): Likewise.
5998 * malloc/memusagestat.c (main): Likewise.
5999 * misc/fstab.c (fstab_convert): Likewise.
6000 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6002 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6003 (getgrent_next_file): Likewise.
6004 (internal_getgrnam_r): Likewise.
6005 (internal_getgrgid_r): Likewise.
6006 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6008 (internal_getgrent_r): Likewise.
6009 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6010 (getpwent_next_nss): Likewise.
6011 (getpwent_next_file): Likewise.
6012 (internal_getpwnam_r): Likewise.
6013 (internal_getpwuid_r): Likewise.
6014 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6016 (getspent_next_nss): Likewise.
6017 (internal_getspnam_r): Likewise.
6018 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6019 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6020 * string/strchr.c (STRCHR): Likewise.
6021 * string/strchrnul.c (STRCHRNUL): Likewise.
6022 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6023 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6024 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6025 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6026 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6028 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6029 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6030 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6031 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6032 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6033 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6034 (open_file): Likewise.
6035 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6036 (pthread_mutexattr_setprotocol): Likewise.
6037 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6038 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6039 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6040 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6041 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6043 (elf_machine_rela): Likewise.
6044 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6045 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6046 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6047 * sysdeps/posix/rename.c (rename): Likewise.
6048 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6049 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6050 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6051 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6052 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6053 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6054 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6056 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6058 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6059 * time/tzfile.c (__tzfile_compute): Likewise.
6061 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6063 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6064 rather than after operators.
6065 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6066 * crypt/md5.c (md5_finish_ctx): Likewise.
6067 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6068 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6069 * elf/cache.c (load_aux_cache): Likewise.
6070 * elf/dl-load.c (open_verify): Likewise.
6071 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6072 * elf/readelflib.c (process_elf_file): Likewise.
6073 * elf/rtld.c (dl_main): Likewise.
6074 * elf/sprof.c (generate_call_graph): Likewise.
6075 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6076 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6077 * hurd/dtable.c (reauth_dtable): Likewise.
6078 * hurd/getdport.c (__getdport): Likewise.
6079 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6080 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6081 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6083 * hurd/hurdioctl.c (fioctl): Likewise.
6084 * hurd/hurdselect.c (_hurd_select): Likewise.
6085 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6086 (STOPSIGS): Likewise.
6087 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6088 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6089 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6090 * hurd/msgportdemux.c (msgport_server): Likewise.
6091 * hurd/setauth.c (_hurd_setauth): Likewise.
6092 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6093 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6094 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6095 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6096 * login/tst-utmp.c (do_check): Likewise.
6097 (simulate_login): Likewise.
6098 * mach/lowlevellock.h (lll_lock): Likewise.
6099 (lll_trylock): Likewise.
6100 * math/test-fenv.c (ALL_EXC): Likewise.
6101 * math/test-fenvinline.c (ALL_EXC): Likewise.
6102 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6103 * nis/nis_call.c (__do_niscall3): Likewise.
6104 * nis/nis_callback.c (cb_prog_1): Likewise.
6105 * nis/nis_defaults.c (searchaccess): Likewise.
6106 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6107 * nis/nis_ismember.c (internal_ismember): Likewise.
6108 * nis/nis_local_names.c (nis_local_principal): Likewise.
6109 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6110 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6112 * nis/ypclnt.c (yp_match): Likewise.
6113 (yp_first): Likewise.
6114 (yp_next): Likewise.
6115 (yp_master): Likewise.
6116 (yp_order): Likewise.
6117 * nscd/hstcache.c (cache_addhst): Likewise.
6118 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6119 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6120 (internal_getpwuid_r): Likewise.
6121 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6122 * posix/glob.h (__GLOB_FLAGS): Likewise.
6123 * posix/regcomp.c (peek_token): Likewise.
6124 (peek_token_bracket): Likewise.
6125 (parse_expression): Likewise.
6126 * posix/regexec.c (sift_states_iter_mb): Likewise.
6127 (check_node_accept_bytes): Likewise.
6128 * posix/tst-spawn3.c (do_test): Likewise.
6129 * posix/wordexp-test.c (testit): Likewise.
6130 * posix/wordexp.c (parse_tilde): Likewise.
6131 (exec_comm): Likewise.
6132 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6133 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6134 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6135 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6136 * stdio-common/tst-fileno.c (do_test): Likewise.
6137 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6138 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6139 * stdlib/strtod_l.c (round_and_return): Likewise.
6140 (____STRTOF_INTERNAL): Likewise.
6141 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6142 * string/strcspn.c (STRCSPN): Likewise.
6143 * string/test-memmem.c (simple_memmem): Likewise.
6144 * termios/tcsetattr.c (tcsetattr): Likewise.
6145 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6146 * time/asctime.c (asctime_internal): Likewise.
6147 * time/strptime_l.c (__strptime_internal): Likewise.
6148 * time/sys/time.h (timercmp): Likewise.
6149 * time/tzfile.c (__tzfile_compute): Likewise.
6151 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6154 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6156 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6158 * argp/argp-help.c (__argp_error_internal): New function,
6159 renamed from __argp_error, but that takes a 'mode_flags'
6160 parameter to control the format of long double parameters.
6161 (__argp_error): Converted into a call __argp_error_internal.
6162 (__argp_failure_internal): New function, renamed from
6163 __argp_failure, but that takes a 'mode_flags' parameter.
6164 (__argp_failure): Converted into a call __argp_failure_internal.
6165 * misc/err.c (__vwarnx_internal): New function, renamed from
6166 vwarnx, but that takes a 'mode_flags' parameter.
6167 (vwarnx): Converted into a call to __vwarnx_internal.
6168 (__vwarn_internal): New function, renamed from vwarn, but that
6169 takes a 'mode_flags' parameter.
6170 (vwarn): Converted into a call to __vwarn_internal.
6171 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6172 call to __vfxprintf with 'mode_flags'.
6173 (__error_internal): New function, renamed from error, but that
6174 takes a 'mode_flags' parameter.
6175 (error): Converted into a call to __error_internal.
6176 (__error_at_line_internal): New function, renamed from
6177 error_at_line, but that takes a 'mode_flags' parameter.
6178 (error_at_line): Converted into a call to
6179 __error_at_line_internal.
6180 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6181 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6184 2019-02-20 Martin Liska <mliska@suse.cz>
6186 * math/Makefile: Install math-vector-fortran.h.
6187 * bits/math-vector-fortran.h: New file.
6188 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6190 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6192 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6193 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6195 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6197 * nptl/pthread_mutex_trylock.c: Fix comment.
6199 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6201 * nptl/pthread_tryjoin.c: Fix comment.
6203 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6206 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6207 after R_SPARC_H34 case.
6209 2019-02-18 Florian Weimer <fweimer@redhat.com>
6211 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6212 (getanswer): Do not call Dprintf.
6213 (res_gethostbyname2_context): Likewise.
6214 (res_gethostbyaddr_context): Likewise.
6216 2019-02-18 Florian Weimer <fweimer@redhat.com>
6218 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6220 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6222 * libio/stdfiles.c: Update comment.
6223 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6224 set _IO_stdin, _IO_stdout, _IO_stderr.
6225 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6226 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6228 (_IO_deallocate_file): New inline function.
6229 * libio/iolibio.h (_IO_vprintf): Remove definition.
6230 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6231 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6232 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6234 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6235 __builtin_expect. Use _IO_legacy_file.
6237 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6239 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6240 Initialize ctid with a known value and remove update of ctid
6242 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6243 as assumed current value of ctid_ptr.
6245 2019-02-16 Florian Weimer <fweimer@redhat.com>
6247 Check that non-sysdeps headers have wrapper headers.
6248 * scripts/check-wrapper-headers.py: New file.
6249 * Makefile (tests-special): Add check-wrapper-headers.out.
6250 (check-wrapper-headers.out): New target.
6251 * Rules (tests-special): Add check-wrapper-headers.out.
6252 (check-wrapper-headers.out): New target.
6254 2019-02-16 Florian Weimer <fweimer@redhat.com>
6256 Add missing header wrappers under include/.
6257 * include/ar.h: New file.
6258 * include/bits/mqueue2.h: Likewise.
6259 * include/bits/stdio.h: Likewise.
6260 * include/bits/stdio2.h: Likewise.
6261 * include/fstab.h: Likewise.
6262 * include/fts.h: Likewise.
6263 * include/lastlog.h: Likewise.
6264 * include/netinet/icmp6.h: Likewise.
6265 * include/netinet/igmp.h: Likewise.
6266 * include/netinet/ip6.h: Likewise.
6267 * include/re_comp.h: Likewise.
6268 * include/regexp.h: Likewise.
6269 * include/rpcsvc/bootparam.h: Likewise.
6270 * include/rpcsvc/yp_prot.h: Likewise.
6271 * include/sys/random.h: Likewise.
6272 * include/sys/stropts.h: Likewise.
6273 * include/sys/ttychars.h: Likewise.
6274 * include/sys/vfs.h: Likewise.
6275 * include/wait.h: Likewise.
6277 2019-02-16 Florian Weimer <fweimer@redhat.com>
6279 * nptl_db/proc_service.h: Move to ...
6280 * sysdeps/nptl/proc_service.h: ... here.
6281 * nptl_db/thread_db.h: Move to ...
6282 * sysdeps/nptl/thread_db.h: ... here.
6283 * nptl/descr.h: Include <thread_db.h>.
6285 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6287 * io/Makefile (tests): Add tst-lockf.
6288 * io/lockf.c (lockf): Use __fcntl and only define for
6289 !__OFF_T_MATCHES_OFF64_T.
6290 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6291 __OFF_T_MATCHES_OFF64_T case.
6292 * io/tst-lockf.c: New file.
6293 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6294 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6295 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6296 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6297 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6299 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6300 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6301 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6303 2019-02-15 Florian Weimer <fweimer@redhat.com>
6306 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6307 pd->result after the thread descriptor has been freed.
6309 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6311 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6312 from function return type.
6314 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6316 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6318 * scripts/test_printers_common.py: Set TERM to a known harmless
6321 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6323 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6324 (xdr_u_int): Likewise.
6325 (xdr_enum): Likewise.
6326 (xdr_bytes): Reword fall-through comment.
6327 (xdr_string): Likewise.
6329 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6332 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6333 (tests): Add tst-join8 tst-join9.
6334 * nptl/lll_timedwait_tid.c: Remove file.
6335 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6336 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6337 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6338 * nptl/pthread_join_common.c (timedwait_tid): New function.
6339 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6341 * nptl/tst-join5.c (thread_join): New function.
6342 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6344 * nptl/tst-join8.c: New file.
6345 * nptl/tst-join9.c: Likewise.
6346 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6347 lll_futex_timed_wait_cancel): Add generic macros.
6348 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6350 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6351 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6352 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6353 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6355 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6357 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6358 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6359 (lll_futex_timed_wait_cancel): New macro.
6361 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6363 * benchtests/Makefile: Add malloc-simple benchmark.
6364 * benchtests/bench-malloc-simple.c: New benchmark.
6366 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6368 * benchtests/bench-memmove.c (do_one_test): Remove unused
6371 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6375 2019-01-13 Jim Wilson <jimw@sifive.com>
6378 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6379 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6381 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6383 * nptl/Makefile (tests): Add tst-unwind-thread.
6384 (CFLAGS-tst-unwind-thread.c): Define.
6385 * nptl/tst-unwind-thread.c: New file.
6386 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6389 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6391 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6393 * nis/nis_call.c (__do_niscall3): Likewise.
6395 * catgets/gencat.c (normalize_line): Use braces around empty
6397 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6398 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6399 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6400 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6401 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6402 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6403 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6406 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6409 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6411 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6412 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6413 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6414 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6415 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6416 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6417 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6418 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6419 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6420 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6421 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6422 * benchtests/bench-bcopy.c: Delete file.
6423 * benchtests/bench-bzero.c: Likewise.
6424 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6425 (simple_memccpy): Remove.
6426 (generic_memccpy): Add function.
6427 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6428 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6429 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6430 (generic_mempcpy): Add new function.
6431 * benchtests/bench-memset.c (simple_bzero): Remove.
6432 (builtin_bzero): Remove.
6433 (builtin_memset): Remove.
6434 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6435 (generic_rawmemchr): Add new function.
6437 2019-02-12 Florian Weimer <fweimer@redhat.com>
6439 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6441 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6444 * elf/Makefile (tests): Add tst-audit13.
6445 (modules-names): Add tst-audit13mod1.
6446 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6448 * elf/tst-audit13.c: New file.
6449 * elf/tst-audit13mod1.c: Likewise.
6451 2019-02-12 Florian Weimer <fweimer@redhat.com>
6454 * elf/rtld.c (unload_audit_module): New function.
6455 (report_audit_module_load_error): Likewise.
6456 (load_audit_module): Likewise. Extracted from dl_main. Call
6457 _dl_close if the laversion symbol cannot be found. Use early
6458 returns for error handling. Add malloc error check. Check for a
6459 zero return value from la_version. Remove spurious comment about
6460 static TLS initialization. Remove useless casts.
6461 (notify_audit_modules_of_loaded_object): New function. Extracted
6463 (load_audit_module): Likewise.
6464 (dl_main): Call load_audit_modules.
6466 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6468 * elf/dl-exception.c (_dl_exception_create_format): Add
6469 fall-through comments.
6470 * elf/ldconfig.c (parse_conf_include): Likewise.
6471 * elf/rtld.c (print_statistics): Likewise.
6472 * locale/programs/charmap.c (parse_charmap): Likewise.
6473 * misc/mntent_r.c (__getmntent_r): Likewise.
6474 * posix/wordexp.c (parse_arith): Likewise.
6475 (parse_backtick): Likewise.
6476 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6477 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6480 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6482 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6483 Use float instead of double.
6485 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6487 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6489 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6491 * sysdeps/powerpc/bits/mathinline.h: Remove.
6493 2019-02-08 Florian Weimer <fweimer@redhat.com>
6495 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6496 * math/bits/math-finite.h: Move to ...
6497 * bits/math-finite.h: ... here.
6499 2019-02-08 Florian Weimer <fweimer@redhat.com>
6501 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6502 * bits/unistd_ext.h: here.
6504 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6507 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6508 * nss/tst-nss-files-hosts-long.c: New file.
6509 * nss/tst-nss-files-hosts-long.root: New directory.
6510 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6511 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6513 2019-02-08 Florian Weimer <fweimer@redhat.com>
6515 * include/bits/unistd_ext.h: Remove file.
6516 * posix/bits/unistd_ext.h: Move to ...
6517 * sysdeps/generic/bits/unistd_ext.h: ... here.
6519 2019-02-08 Florian Weimer <fweimer@redhat.com>
6521 * include/bits/unistd_ext.h: New file.
6523 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6525 * time/tst-strftime2.c: Use array_length macros instead of magic
6528 2019-02-08 Florian Weimer <fweimer@redhat.com>
6531 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6533 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6534 locking if the new do_locking argument is true.
6535 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6536 __run_fork_handlers.
6538 2019-02-08 Florian Weimer <fweimer@redhat.com>
6541 Linux: Add gettid system call wrapper.
6542 * posix/Makefile (headers): Add bits/unistd_ext.h.
6543 * posix/bits/unistd_ext.h: New file.
6544 * posix/unistd.h: Include it.
6545 * manual/process.texi (Process Identification): Document gettid.
6546 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6547 tst-gettid, tst-gettid-kill.
6548 (tst-gettid): Link with $(shared-thread-library).
6549 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6550 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6551 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6552 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6553 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6554 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6556 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6558 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6559 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6561 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6563 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6565 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6567 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6569 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6571 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6573 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6574 (GLIBC_2.30): Likewise.
6575 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6576 (GLIBC_2.30): Likewise.
6577 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6578 (GLIBC_2.30): Likewise.
6579 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6580 (GLIBC_2.30): Likewise.
6581 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6584 (GLIBC_2.30): Likewise.
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6586 (GLIBC_2.30): Likewise.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6588 (GLIBC_2.30): Likewise.
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6590 (GLIBC_2.30): Likewise.
6591 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6593 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6595 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6597 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6598 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6600 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6602 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6604 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6606 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6608 2019-02-08 Florian Weimer <fweimer@redhat.com>
6610 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6611 compatibility symbols.
6613 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6616 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6617 Add compiler barriers and comments.
6619 2019-02-07 Florian Weimer <fweimer@redhat.com>
6621 * include/array_length.h (array_length): Do not use a statement
6622 expression and _Static_assert, so that array_length can be used at
6623 file scope and as a constant expression.
6625 2019-02-07 Florian Weimer <fweimer@redhat.com>
6627 * support/xdlfcn.h (xdlmopen): Declare.
6628 * support/xdlmopen.c: New file.
6629 * support/Makefile (libsupport-routines): Add xdlmopen.
6631 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6633 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6634 before return type, without separate inline.
6635 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6636 * elf/dl-tunables.h (tunable_is_name): Likewise.
6637 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6638 (do_set_top_pad): Likewise.
6639 (do_set_mmap_threshold): Likewise.
6640 (do_set_mmaps_max): Likewise.
6641 (do_set_mallopt_check): Likewise.
6642 (do_set_perturb_byte): Likewise.
6643 (do_set_arena_test): Likewise.
6644 (do_set_arena_max): Likewise.
6645 (do_set_tcache_max): Likewise.
6646 (do_set_tcache_count): Likewise.
6647 (do_set_tcache_unsorted_limit): Likewise.
6648 * nis/nis_subr.c (count_dots): Likewise.
6649 * nptl/allocatestack.c (advise_stack_range): Likewise.
6650 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6652 (reduce_sincos): Likewise.
6653 (do_sincos): Likewise.
6654 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6655 (do_set_elision_enable): Likewise.
6656 (TUNABLE_CALLBACK_FNDECL): Likewise.
6658 2019-02-06 Florian Weimer <fweimer@redhat.com>
6660 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6661 (xdlsym): Use dlerror to detect a NULL symbol.
6663 2019-02-06 Florian Weimer <fweimer@redhat.com>
6665 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6667 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6669 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6671 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6673 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6675 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6676 __wmemcmp and weak alias to wmemcmp.
6678 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6681 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6682 TLS_TCB_AT_TP tls variant.
6683 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6684 Add alignment checks.
6685 * support/Makefile (libsupport-routines): Add xposix_memalign and
6687 * support/support.h: Add xposix_memalign.
6688 * support/xthread.h: Add xpthread_attr_setstack.
6689 * support/xposix_memalign.c: New File.
6690 * support/xpthread_attr_setstack.c: Likewise.
6692 2019-02-05 Florian Weimer <fweimer@redhat.com>
6695 arm: Use "nr" constraint for Systemtap probes, to avoid the
6696 compiler using memory operands for constants, due to the "o"
6697 alternative in the default "nor" constraint.
6698 * include/stap-probe.h [USE_STAP_PROBE]: Include
6699 <stap-probe-machine.h>
6700 * sysdeps/generic/stap-probe-machine.h: New file.
6701 * sysdeps/arm/stap-probe-machine.h: Likewise.
6703 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6705 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6706 with 0, not tcache->entries[tc_idx].
6708 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6711 2019-02-04 Andreas Schwab <schwab@suse.de>
6715 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6716 looking up collating elements match against (wide) character
6717 sequence instead of name. Correct alignment adjustment.
6718 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6719 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6720 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6721 (LOCALES): Add cs_CZ.ISO-8859-2.
6722 * posix/tst-fnmatch4.c: New file.
6723 * posix/tst-fnmatch5.c: New file.
6724 * include/wchar.h (__wmemcmp): Declare.
6725 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6726 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6727 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6728 * sysdeps/s390/wmemcmp.c: Likewise.
6730 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6734 * NEWS: Updated for CVE-2019-7309.
6735 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6736 upper 32 bits of RDX register for x32. Use unsigned Jcc
6737 instructions, instead of signed.
6738 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6739 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6741 2019-02-04 Florian Weimer <fweimer@redhat.com>
6743 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6744 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6745 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6747 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6748 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6749 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6750 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6752 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6754 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6756 (posix_spawn_file_actions_addopen): Likewise.
6757 (posix_spawn_file_actions_addclose): Likewise.
6758 (posix_spawn_file_actions_adddup2): Likewise.
6759 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6761 (posix_spawn_file_actions_addfchdir_np): Likewise.
6763 2019-02-04 David Newall <glibc@davidnewall.com>
6765 elf: Implement --preload option for the dynamic linker.
6766 * elf/rtld.c (preloadarg): New variable.
6767 (handle_preload_list): Pass through “where” argument to
6769 (dl_main): Handle "--preload" and add second call to
6770 handle_preload_list.
6771 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6772 (tst-rtld-preload-OBJS): Set variable.
6773 (tst-rtld-preload.out): New target.
6774 * elf/tst-rtld-preload.sh: New file.
6776 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6778 * Makefile (testrun.sh): Exit in case of incorrect argument.
6780 2019-02-04 Florian Weimer <fweimer@redhat.com>
6782 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6785 2019-02-03 Florian Weimer <fweimer@redhat.com>
6787 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6788 implicit overflow checks.
6790 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6792 * stdlib/isomac.c: Include <unistd.h>.
6794 2019-02-03 Florian Weimer <fweimer@redhat.com>
6796 * include/time.h (__tzfile_default): Use int, not long int, for
6798 * time/tzfile.c (struct ttinfo): Change type of the offset member
6800 (__tzfile_read): Remove useless cast.
6801 (__tzfile_default): Adjust prototype.
6802 * time/tzset.c (tz_rule): Change type of the offset member to int.
6803 (parse_offset): Change the type of the sign variable to int.
6805 2019-02-03 Florian Weimer <fweimer@redhat.com>
6808 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6809 * libio/getchar.c (getchar): Likewise.
6810 * libio/getchar_u.c (getchar_unlocked): Likewise.
6811 * libio/getwchar.c (getwchar): Likewise.
6812 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6813 * libio/iogets.c (_IO_gets): Likewise.
6814 * libio/vscanf.c (_IO_vscanf): Likewise.
6815 * libio/vwscanf.c (__vwscanf): Likewise.
6816 * libio/tst-bz24153.c: New file.
6817 * libio/Makefile (tests): Add it.
6819 2019-02-02 Florian Weimer <fweimer@redhat.com>
6822 * manual/resource.texi (Basic Scheduling Functions): Add
6823 portability note. Change process to task throughout the section.
6824 Remove incorrect comment about sched_yield as it affects
6825 tasks/threads, not entire processes.
6826 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6827 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6829 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6831 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6832 * configure: Regenerated.
6833 * manual/install.texi (Tools for Compilation): Update minimum GCC
6835 * INSTALL: Regenerated.
6837 2019-02-01 Florian Weimer <fweimer@redhat.com>
6839 * support/support_test_compare_string.c
6840 (support_test_compare_string): Use "string" in error message.
6841 * support/tst-test_compare_string.c (do_test): Adjust.
6843 2019-02-01 Florian Weimer <fweimer@redhat.com>
6845 * support/support_format_address_family.c
6846 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6848 2019-02-01 Florian Weimer <fweimer@redhat.com>
6850 * manual/socket.texi (Internet Address Formats): Clarify the byte
6851 order of struct sockaddr_in, struct sockaddr_in6. Document
6852 sin6_flowinfo and sin6_scope_id.
6854 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6856 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6857 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6858 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6859 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6860 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6861 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6863 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6865 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6866 [!MEMCHR](MEMCHR): Set to __memchr.
6867 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6868 Add memchr_generic and memchr_nosimd.
6869 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6870 (__libc_ifunc_impl_list): Add memchr ifuncs.
6871 * sysdeps/aarch64/multiarch/memchr.c: New file.
6872 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6873 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6875 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6877 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6879 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6880 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6881 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6882 Add IS_EMAG check for ifunc dispatch.
6883 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6884 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6886 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6888 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6889 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6891 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6894 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6896 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6898 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6900 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6901 syscall-template file.
6903 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6904 Torvald Riegel <triegel@redhat.com>
6905 Rik Prohaska <prohaska7@gmail.com>
6908 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6909 tst-rwlock-trywrlock-stall.
6910 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6911 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6912 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6913 Set __wrphase_fute to 1 only if we started the write phase.
6914 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6915 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6916 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6917 * support/xpthread_rwlock_destroy.c: New file.
6918 * support/xthread.h: Declare xpthread_rwlock_destroy.
6920 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6922 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6925 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6928 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6929 * libio/fileops.c (_IO_new_file_underflow): Likewise
6930 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6931 * libio/putchar.c (putchar): Likewise.
6932 * libio/putchar_u.c (putchar_unlocked): Likewise.
6933 * libio/putwchar.c (putchar): Likewise.
6934 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6935 * libio/tst-bz24051.c: New test.
6936 * libio/Makefile (tests): Add tst-bz24051
6938 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6941 regex: fix read overrun [BZ #24114]
6942 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6943 https://debbugs.gnu.org/34140
6944 * posix/regexec.c (proceed_next_node):
6945 Do not read past end of input buffer.
6947 2019-01-31 Florian Weimer <fweimer@redhat.com>
6950 * nss/nss_files/files-alias.c (get_next_alias): Handle
6951 continuation line without newline at the end.
6952 * nss/tst-nss-files-alias-truncated.c: New file.
6953 * nss/Makefile [$(build-shared)] (tests): Add
6954 tst-nss-files-alias-truncated.
6955 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6956 * support/namespace.h (struct support_chroot_configuration): Add
6958 (struct support_chroot): Add path_aliases member.
6959 * support/support_chroot.c (support_chroot_create): Handle
6961 (support_chroot_free): Free path_aliases.
6963 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6965 * version.h (RELEASE): Set to "development".
6966 (VERSION): Set to "2.29.9000".
6967 * NEWS: Add section for 2.30.
6969 * version.h (RELEASE): Set to "stable".
6970 (VERSION): Set to "2.29".
6971 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6973 * NEWS: Add the list of bugs fixed in 2.29.
6974 * manual/contrib.texi: Update contributors list with some more
6976 * manual/install.texi: Update latest versions of packages
6978 * INSTALL: Regenerated.
6980 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6982 * po/be.po: Update translations.
6983 * po/bg.po: Likewise.
6984 * po/ca.po: Likewise.
6985 * po/cs.po: Likewise.
6986 * po/da.po: Likewise.
6987 * po/de.po: Likewise.
6988 * po/el.po: Likewise.
6989 * po/eo.po: Likewise.
6990 * po/es.po: Likewise.
6991 * po/fi.po: Likewise.
6992 * po/fr.po: Likewise.
6993 * po/gl.po: Likewise.
6994 * po/hr.po: Likewise.
6995 * po/hu.po: Likewise.
6996 * po/ia.po: Likewise.
6997 * po/id.po: Likewise.
6998 * po/it.po: Likewise.
6999 * po/ja.po: Likewise.
7000 * po/ko.po: Likewise.
7001 * po/lt.po: Likewise.
7002 * po/nb.po: Likewise.
7003 * po/nl.po: Likewise.
7004 * po/pl.po: Likewise.
7005 * po/pt_BR.po: Likewise.
7006 * po/ru.po: Likewise.
7007 * po/rw.po: Likewise.
7008 * po/sk.po: Likewise.
7009 * po/sl.po: Likewise.
7010 * po/sv.po: Likewise.
7011 * po/tr.po: Likewise.
7012 * po/uk.po: Likewise.
7013 * po/vi.po: Likewise.
7014 * po/zh_CN.po: Likewise.
7015 * po/zh_TW.po: Likewise.
7017 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7020 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7021 of $f3 register on $y_is_neg path.
7023 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7026 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7027 sigaltstack.ss_flags.
7029 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7032 * manual/time.texi (strftime): Document "%Ey".
7033 * time/strftime_l.c (__strftime_internal): Set the default width
7034 padding with zero of "%Ey" to 2.
7037 * manual/time.texi (strftime): Document "%EC" and "%EY".
7038 * time/Makefile (tests): Add tst-strftime2.
7039 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7040 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7041 override padding for "%Ey".
7042 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7043 "%Ey" in the subformat as if decorated with that flag.
7044 * time/tst-strftime2.c: New file.
7046 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7048 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7052 * elf/Makefile (tests): Add tst-audit13.
7053 (modules-names): Add tst-audit13mod1.
7054 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7056 * elf/rtld.c (dl_main): Handle invalid audit module version.
7057 * elf/tst-audit13.c: New file.
7058 * elf/tst-audit13mod1.c: Likewise.
7060 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7062 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7063 returned by __hurd_at_flags.
7064 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7065 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7066 directly instead of __hurd_file_name_lookup.
7068 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7070 * scripts/build-many-glibcs.py (Context.checkout): Default
7071 binutils version to 2.32 branch.
7073 2019-01-21 Florian Weimer <fweimer@redhat.com>
7077 resolv: Reject trailing characters in host names
7078 * include/arpa/inet.h (__inet_aton_exact): Declare.
7079 (inet_aton): Remove hidden prototype. No longer used internally.
7080 * nscd/gai.c (__inet_aton): Do not define.
7081 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7082 * nss/digits_dots.c (__inet_aton): Likewise.
7083 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7084 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7085 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7086 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7087 (tst-resolv-trailing): Likewise.
7088 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7090 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7091 Make static. Add endp parameter.
7092 (__inet_aton_exact): New function.
7093 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7094 (__inet_addr): Call inet_aton_end.
7095 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7096 not just IPv6. Call __inet_aton_exact.
7097 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7098 (tests): Make const. Add additional test cases with trailing
7100 (do_test): Use array_length.
7101 * resolv/tst-inet_aton_exact.c: New file.
7102 * resolv/tst-resolv-trailing.c: Likewise.
7103 * resolv/tst-resolv-nondecimal.c: Likewise.
7104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7106 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7110 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7111 Clear the upper 32 bits of RSI register.
7112 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7113 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7114 and tst-size_t-wcsnlen.
7115 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7116 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7118 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7122 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7123 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7124 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7125 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7126 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7128 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7132 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7133 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7134 * sysdeps/x86_64/strcmp.S: Likewise.
7135 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7136 tst-size_t-strncmp and tst-size_t-wcsncmp.
7137 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7138 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7139 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7141 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7145 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7146 RDX_LP for length. Clear the upper 32 bits of RDX register.
7147 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7148 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7149 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7150 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7152 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7156 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7157 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7158 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7159 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7161 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7165 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7166 length. Clear the upper 32 bits of RDX register.
7167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7168 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7170 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7172 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7174 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7176 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7180 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7181 length. Clear the upper 32 bits of RDX register.
7182 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7183 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7184 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7186 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7187 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7189 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7193 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7194 upper 32 bits of RDX register.
7195 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7196 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7198 * sysdeps/x86_64/x32/test-size_t.h: New file.
7199 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7200 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7202 2019-01-18 Florian Weimer <fweimer@redhat.com>
7205 resolv: Do not send queries for non-host-names in nss_dns.
7206 * resolv/nss_dns/dns-host.c (check_name): New function.
7207 (_nss_dns_gethostbyname2_r): Use it.
7208 (_nss_dns_gethostbyname_r): Likewise.
7209 (_nss_dns_gethostbyname4_r): Likewise.
7211 2019-01-21 Florian Weimer <fweimer@redhat.com>
7213 * resolv/inet_addr.c: Reformat to GNU style.
7214 (__inet_addr, __inet_aton): Update comment.
7216 2019-01-18 Florian Weimer <fweimer@redhat.com>
7218 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7219 ("malloc: Use current (C11-style) atomics for fastbin access").
7220 This commit introduces a substantial performance regression on
7222 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7223 (REMOVE_FB): Define.
7224 (_int_malloc): Use it and reindent.
7225 (_int_free): Use CAS loop with
7226 catomic_compare_and_exchange_val_rel.
7227 (malloc_consolidate): Use atomic_exchange_acq.
7230 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7232 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7234 (LDFLAGS-tst-minsigstksz-2): Likewise.
7235 (LDFLAGS-tst-minsigstksz-3): Likewise.
7236 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7237 (LDFLAGS-tst-minsigstksz-4): Likewise.
7239 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7241 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7244 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7246 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7248 2019-01-16 Zack Weinberg <zackw@panix.com>
7250 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7251 (xget_sigstack_location): New test support functions.
7252 * support/xsigstack.c: New file, implementing them.
7253 * support/tst-xsigstack.c: New test for them.
7254 * support/Makefile: Update.
7256 * signal/tst-minsigstksz-1.c
7257 * signal/tst-minsigstksz-2.c
7258 * signal/tst-minsigstksz-3.c
7259 * signal/tst-minsigstksz-3a.c
7260 * signal/tst-minsigstksz-4.c: New tests.
7261 * signal/Makefile: Run them.
7263 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7265 * po/libc.pot: Regenerate.
7267 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7269 * math/libm-test-fma.inc (fma_test_data): Set
7270 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7272 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7274 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7275 (do_test): Changed __vector __int128_t to __vector unsigned int.
7277 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7280 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7281 stpcpy-avx2 and stpncpy-avx2.
7282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7283 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7284 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7286 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7287 ifunc-strcpy.h}: rename header for a more generic name.
7288 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7289 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7290 AVX unaligned load is fast and vzeroupper is preferred.
7291 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7292 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7293 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7294 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7295 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7296 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7298 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7300 * argp/argp-help.c: Fix typo in comment.
7301 * misc/sys/cdefs.h: Likewise.
7302 * posix/regexec.c (sift_states_iter_mb): Likewise.
7303 * socket/sockatmark.c: Likewise.
7304 * socket/sys/socket.h: Likewise.
7305 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7306 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7307 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7308 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7309 * sysdeps/unix/sockatmark.c: Likewise.
7310 * time/strptime_l.c: Likewise.
7312 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7314 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7315 missing space after the cast of "_NL_CURRENT".
7317 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7319 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7320 ifdef to fix read of VSCR.
7321 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7322 tst-ucontext-ppc64-vscr.c to test list.
7323 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7325 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7327 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7330 2019-01-09 Jim Wilson <jimw@sifive.com>
7332 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7334 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7336 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7337 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7338 __memcpy_falkor for ares.
7339 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7341 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7344 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7347 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7348 4_FP_W_TYPEs are used for IEEE quad precision.
7349 * soft-fp/extendhftf2.c: Likewise.
7350 * soft-fp/extendsftf2.c: Likewise.
7351 * soft-fp/extendxftf2.c: Likewise.
7352 * soft-fp/trunctfdf2.c: Likewise.
7353 * soft-fp/trunctfhf2.c: Likewise.
7354 * soft-fp/trunctfsf2.c: Likewise.
7355 * soft-fp/trunctfxf2.c: Likewise.
7356 * sysdeps/alpha/ots_cvttx.c: Likewise.
7357 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7358 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7359 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7360 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7361 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7362 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7363 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7364 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7365 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7366 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7367 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7368 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7369 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7370 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7371 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7372 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7373 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7375 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7378 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7379 code with -fmath-errno.
7380 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7381 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7382 * string/test-strerror-errno.c: New file.
7384 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7387 * localedata/locales/en_US (date_fmt): Add, set to
7388 "%a %d %b %Y %r %Z".
7390 2019-01-07 Florian Weimer <fweimer@redhat.com>
7393 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7394 instead of @var{errno}.
7395 (Parsing of Integers): Likewise.
7396 (Parsing of Floats): Likewise.
7397 * manual/filesys.texi (Working with Directory Trees): Likewise.
7398 (Temporary Files): Likewise.
7399 * manual/job.texi (Terminal Access Functions): Likewise.
7400 * manual/llio.texi (Synchronizing I/O): Likewise.
7401 * manual/math.texi (SVID Random): Likewise.
7402 * manual/message.texi (The catgets Functions): Likewise.
7403 (Translation with gettext): Likewise.
7404 (Locating gettext catalog): Likewise.
7405 (Charset conversion in gettext): Likewise.
7406 * manual/nss.texi (NSS Module Function Internals): Likewise.
7407 * manual/search.texi (Hash Search Function): Likewise.
7408 * manual/setjmp.texi (System V contexts): Likewise.
7409 * manual/time.texi (Sleeping): Likewise.
7410 * manual/users.texi (Lookup User): Likewise.
7411 (Lookup Group): Likewise.
7413 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7415 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7418 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7421 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7422 __builtin_unreachable for default case in switch.
7423 (__ieee754_yn): Likewise.
7424 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7425 (__ieee754_ynl): Likewise.
7426 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7427 (__ieee754_ynl): Likewise.
7428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7429 (__ieee754_ynl): Likewise.
7431 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7433 * manual/maint.texi: Use @{ and @}.
7435 2019-01-04 Florian Weimer <fweimer@redhat.com>
7437 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7439 (do_in_chroot_1): Call it.
7441 Improve error reporting in case it is not possible to create a
7442 collision for the PTY name required by the test.
7444 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7446 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7447 lll_wait_tid with timeout.
7448 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7449 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7450 futex_reltimed_wait_cancelable for cancelabla mode.
7451 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7452 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7454 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7455 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7456 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7457 SYSCALL_CANCEL_NCS): New macro.
7458 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7459 (lll_timedwait_tid): Remove macro.
7460 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7462 (lll_timedwait_tid): Likewise.
7463 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7465 (lll_timedwait_tid): Likewise.
7466 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7468 (lll_timedwait_tid): Likewise.
7469 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7470 Use INTERNAL_SYSCALL_CANCEL.
7471 * sysdeps/unix/sysv/linux/futex-internal.h
7472 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7473 instead of __pthread_{enable,disable}_asynccancel.
7474 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7475 (lll_futex_wait_cancel): New macro.
7477 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7478 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7480 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7481 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7483 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7484 in backtrace analysis.
7485 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7487 (tf_send): Likewise.
7489 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7490 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7491 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7492 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7493 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7494 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7495 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7496 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7497 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7498 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7499 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7500 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7502 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7503 tst-cancel-wrappers.sh.
7504 (generated): Remove tst-cancel-wrappers.out.
7505 (tst-cancel-wrappers.out): Remove rule.
7506 * nptl/tst-cancel-wrappers.sh: Remove file.
7508 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7510 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7511 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7514 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7517 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7518 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7519 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7520 close-on-exec reset for adddup2 file action.
7521 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7523 2019-01-03 Zack Weinberg <zackw@panix.com>
7525 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7526 parameter. Only use deprecated scanf when __USE_GNU is defined
7527 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7528 than 201103L, whichever is relevant for the language being compiled.
7530 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7531 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7532 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7533 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7534 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7538 * libio/iovswscanf.c
7543 * stdio-common/fscanf.c
7544 * stdio-common/scanf.c
7545 * stdio-common/vfscanf.c
7546 * stdio-common/vfwscanf.c
7547 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7548 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7549 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7550 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7551 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7552 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7553 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7554 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7555 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7556 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7557 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7558 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7559 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7560 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7561 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7563 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7564 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7565 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7567 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7568 with a preprocessor macro.
7570 * stdio-common/bug21.c, stdio-common/scanf14.c:
7571 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7572 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7573 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7574 to xscanf, xfscanf, xsscanf.
7576 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7577 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7578 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7579 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7581 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7582 override feature selection macros or provide definitions of u_char etc.
7583 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7584 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7585 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7588 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7591 bits/termios-misc.h.
7592 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7593 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7594 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7595 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7596 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7597 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7599 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7600 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7601 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7602 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7603 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7604 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7606 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7607 (sysdep_headers): Add termios-misc.h.
7609 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7610 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7611 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7615 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7616 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7617 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7618 TCSAFLUSH): Move to termios-tcflow.h.
7619 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7620 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7621 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7622 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7626 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7627 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7628 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7629 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7630 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7631 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7632 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7633 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7635 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7636 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7637 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7638 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7642 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7643 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7644 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7645 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7646 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7648 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7649 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7650 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7651 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7656 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7657 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7658 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7659 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7660 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7661 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7662 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7663 __MAX_BAUD): Move to termios-baud.h.
7664 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7665 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7666 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7667 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7668 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7670 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7672 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7673 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7674 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7675 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7676 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7677 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7679 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7680 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7682 [USE_MISC] (XTABS): Likewise.
7683 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7684 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7685 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7686 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7688 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7690 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7691 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7692 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7693 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7694 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7695 IUTF8): Move to termios-c_iflag.h.
7696 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7697 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7698 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7699 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7701 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7703 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7704 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7705 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7706 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7707 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7708 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7709 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7710 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7711 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7712 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7713 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7714 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7716 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7717 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7718 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7719 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7722 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7724 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7726 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7728 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7730 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7732 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7733 _HAVE_C_OSPEED): Define.
7734 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7735 _HAVE_C_OSPEED): Likewise.
7736 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7737 _HAVE_C_OSPEED): Likewise.
7738 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7739 (cfsetospeed): Check for define value instead of existence.
7740 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7741 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7742 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7743 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7744 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7747 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7749 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7750 (TIOCSER_TEMT): Likewise.
7751 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7752 (TEOCSER_TEMT): Likewise.
7754 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7757 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7759 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7761 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7763 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7765 * sysdeps/htl/pt-barrierattr-setpshared.c
7766 (pthread_barrierattr_setpshared): Add stub warning.
7767 * sysdeps/htl/pt-condattr-setpshared.c
7768 (pthread_condattr_setpshared): Likewise.
7769 * sysdeps/htl/pt-mutexattr-setpshared.c
7770 (pthread_mutexattr_setpshared): Likewise.
7771 * sysdeps/htl/pt-rwlockattr-setpshared.c
7772 (pthread_rwlockattr_setpshared): Likewise.
7773 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7774 (pthread_mutexattr_setpshared): Likewise.
7776 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7778 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7779 constants to match with Linux 4.20.
7781 * sysdeps/mips/mips32/libm-test-ulps: Update.
7782 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7784 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7787 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7788 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7789 than __typeof (...) for the a_ptr variable.
7791 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7793 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7794 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7795 * libio/Makefile (tests): Add tst-sprintf-ub and
7797 (CFLAGS-tst-sprintf-ub.c): New variable.
7798 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7799 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7800 destination buffer and check for overflows in fortified mode.
7801 * libio/libioP.h (PRINTF_CHK): New macro.
7802 * libio/tst-sprintf-chk-ub.c: New file.
7803 * libio/tst-sprintf-ub.c: Likewise.
7805 2019-01-02 Florian Weimer <fweimer@redhat.com>
7808 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7811 2019-01-02 Florian Weimer <fweimer@redhat.com>
7813 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7815 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7817 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7820 * sysdeps/unix/sysv/linux/netpacket/packet.h
7821 (PACKET_IGNORE_OUTGOING): New macro.
7823 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7826 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7828 (riscv_flush_icache): New syscall.
7830 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7831 trailing whitespace removed.
7832 * scripts/config.guess: Update to version 2019-01-01.
7833 * scripts/config.sub: Update to version 2019-01-01.
7834 * scripts/move-if-change: Update from gnulib.
7836 * NEWS: Update copyright dates.
7837 * catgets/gencat.c (print_version): Likewise.
7838 * csu/version.c (banner): Likewise.
7839 * debug/catchsegv.sh: Likewise.
7840 * debug/pcprofiledump.c (print_version): Likewise.
7841 * debug/xtrace.sh (do_version): Likewise.
7842 * elf/ldconfig.c (print_version): Likewise.
7843 * elf/ldd.bash.in: Likewise.
7844 * elf/pldd.c (print_version): Likewise.
7845 * elf/sotruss.sh: Likewise.
7846 * elf/sprof.c (print_version): Likewise.
7847 * iconv/iconv_prog.c (print_version): Likewise.
7848 * iconv/iconvconfig.c (print_version): Likewise.
7849 * locale/programs/locale.c (print_version): Likewise.
7850 * locale/programs/localedef.c (print_version): Likewise.
7851 * login/programs/pt_chown.c (print_version): Likewise.
7852 * malloc/memusage.sh (do_version): Likewise.
7853 * malloc/memusagestat.c (print_version): Likewise.
7854 * malloc/mtrace.pl: Likewise.
7855 * manual/libc.texinfo: Likewise.
7856 * nptl/version.c (banner): Likewise.
7857 * nscd/nscd.c (print_version): Likewise.
7858 * nss/getent.c (print_version): Likewise.
7859 * nss/makedb.c (print_version): Likewise.
7860 * posix/getconf.c (main): Likewise.
7861 * scripts/test-installation.pl: Likewise.
7862 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7864 * All files with FSF copyright notices: Update copyright dates
7865 using scripts/update-copyrights.
7866 * locale/programs/charmap-kw.h: Regenerated.
7867 * locale/programs/locfile-kw.h: Likewise.
7869 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7871 * timezone/zdump.c: Update from tzcode 2018i.
7872 * timezone/zic.c: Likewise.
7874 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7876 regex: improve Gnulib port to AIX
7877 From the glibc point of view, this removes duplicate macro
7878 definitions and is obviously safe.
7879 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7880 * posix/regex_internal.h:
7881 (__attribute__, __attribute_warn_unused_result__):
7882 Remove; already defined elsewhere.
7884 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7887 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7888 copying operation. (ncopies had the wrong type, resulting in an
7889 integer wraparound and too few elements being copied.)
7891 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7894 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7895 <asm/syscalls.h> exists with __has_include__ before including it.
7897 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7899 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7902 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7904 * hurd/lookup-retry: Include <unistd.h>.
7905 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7906 Release it on return. Handle "pid" magical lookup retry.
7908 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7911 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7912 (t_fmt_ampm): Likewise.
7913 * localedata/locales/aa_ER (t_fmt): Likewise.
7914 (t_fmt_ampm): Likewise.
7915 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7916 (t_fmt_ampm): Likewise.
7917 * localedata/locales/aa_ET (t_fmt): Likewise.
7918 (t_fmt_ampm): Likewise.
7919 * localedata/locales/am_ET (t_fmt): Likewise.
7920 (t_fmt_ampm): Likewise.
7921 * localedata/locales/byn_ER (t_fmt): Likewise.
7922 (t_fmt_ampm): Likewise.
7923 * localedata/locales/om_ET (t_fmt): Likewise.
7924 (t_fmt_ampm): Likewise.
7925 * localedata/locales/sid_ET (t_fmt): Likewise.
7926 (t_fmt_ampm): Likewise.
7927 * localedata/locales/so_DJ (t_fmt): Likewise.
7928 (t_fmt_ampm): Likewise.
7929 * localedata/locales/so_ET (t_fmt): Likewise.
7930 (t_fmt_ampm): Likewise.
7931 * localedata/locales/so_SO (t_fmt): Likewise.
7932 (t_fmt_ampm): Likewise.
7933 * localedata/locales/ti_ER (t_fmt): Likewise.
7934 (t_fmt_ampm): Likewise.
7935 * localedata/locales/ti_ET (t_fmt): Likewise.
7936 (t_fmt_ampm): Likewise.
7937 * localedata/locales/tig_ER (t_fmt): Likewise.
7938 (t_fmt_ampm): Likewise.
7939 * localedata/locales/wal_ET (t_fmt): Likewise.
7940 (t_fmt_ampm): Likewise.
7942 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7943 * localedata/locales/ar_IN (t_fmt): Likewise.
7944 * localedata/locales/bhb_IN (t_fmt): Likewise.
7945 * localedata/locales/bho_IN (t_fmt): Likewise.
7946 * localedata/locales/bi_VU (t_fmt): Likewise.
7947 * localedata/locales/bn_BD (t_fmt): Likewise.
7948 * localedata/locales/bn_IN (t_fmt): Likewise.
7949 * localedata/locales/brx_IN (t_fmt): Likewise.
7950 * localedata/locales/doi_IN (t_fmt): Likewise.
7951 * localedata/locales/en_HK (t_fmt): Likewise.
7952 (t_fmt_ampm): Likewise.
7953 * localedata/locales/en_IN (t_fmt): Likewise.
7954 * localedata/locales/en_PH (t_fmt): Likewise.
7955 * localedata/locales/gu_IN (t_fmt): Likewise.
7956 * localedata/locales/hi_IN (t_fmt): Likewise.
7957 * localedata/locales/hif_FJ (t_fmt): Likewise.
7958 * localedata/locales/hne_IN (t_fmt): Likewise.
7959 * localedata/locales/kn_IN (t_fmt): Likewise.
7960 * localedata/locales/kok_IN (t_fmt): Likewise.
7961 * localedata/locales/ks_IN (t_fmt): Likewise.
7962 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7963 * localedata/locales/mag_IN (t_fmt): Likewise.
7964 * localedata/locales/mai_IN (t_fmt): Likewise.
7965 * localedata/locales/mjw_IN (t_fmt): Likewise.
7966 * localedata/locales/ml_IN (t_fmt): Likewise.
7967 * localedata/locales/mni_IN (t_fmt): Likewise.
7968 * localedata/locales/mr_IN (t_fmt): Likewise.
7969 * localedata/locales/ms_MY (t_fmt): Likewise.
7970 * localedata/locales/pa_IN (t_fmt): Likewise.
7971 * localedata/locales/raj_IN (t_fmt): Likewise.
7972 * localedata/locales/sa_IN (t_fmt): Likewise.
7973 * localedata/locales/sat_IN (t_fmt): Likewise.
7974 * localedata/locales/sd_IN (t_fmt): Likewise.
7975 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7976 * localedata/locales/tcy_IN (t_fmt): Likewise.
7977 * localedata/locales/the_NP (t_fmt): Likewise.
7978 * localedata/locales/to_TO (t_fmt): Likewise.
7979 * localedata/locales/ur_IN (t_fmt): Likewise.
7981 * localedata/locales/hif_FJ (d_t_fmt): Set to
7982 "%A %d %b %Y %I:%M:%S %p".
7983 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7985 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7986 * localedata/locales/ar_BH (t_fmt): Likewise.
7987 * localedata/locales/ar_DZ (t_fmt): Likewise.
7988 * localedata/locales/ar_EG (t_fmt): Likewise.
7989 * localedata/locales/ar_IQ (t_fmt): Likewise.
7990 * localedata/locales/ar_JO (t_fmt): Likewise.
7991 * localedata/locales/ar_KW (t_fmt): Likewise.
7992 * localedata/locales/ar_LB (t_fmt): Likewise.
7993 * localedata/locales/ar_LY (t_fmt): Likewise.
7994 * localedata/locales/ar_OM (t_fmt): Likewise.
7995 * localedata/locales/ar_QA (t_fmt): Likewise.
7996 * localedata/locales/ar_SD (t_fmt): Likewise.
7997 * localedata/locales/ar_SS (t_fmt): Likewise.
7998 * localedata/locales/ar_SY (t_fmt): Likewise.
7999 * localedata/locales/ar_TN (t_fmt): Likewise.
8000 * localedata/locales/ar_YE (t_fmt): Likewise.
8002 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8003 (t_fmt_ampm): Likewise.
8004 * localedata/locales/gez_ET (t_fmt): Likewise.
8005 (t_fmt_ampm): Likewise.
8007 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8008 (t_fmt_ampm): Likewise.
8009 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8011 * localedata/locales/zh_HK (t_fmt):
8012 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8014 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8015 because this locale does not use the 12-hour clock.
8016 (t_fmt): Set to "%Z %H:%M:%S".
8017 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8019 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8020 because this locale does not use the 12-hour clock.
8021 (t_fmt): Set to "%H:%M:%S %Z".
8022 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8024 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8025 because this locale does not use the 12-hour clock.
8026 (t_fmt): Set to "%T".
8027 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8028 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8030 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8031 because this locale does not use the 12-hour clock.
8032 (t_fmt): Set to "%H:%M:%S %Z".
8033 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8035 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8036 because this locale does not use the 12-hour clock.
8037 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8038 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8040 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8044 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8045 (t_fmt_ampm): Likewise.
8046 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8047 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8048 (d_fmt): Set to "%-d.%-m.%y".
8050 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8052 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8053 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8054 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8056 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8057 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8058 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8060 * support/blob_repeat.c (check_mul_overflow_size_t,
8061 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8063 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8065 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8067 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8069 regex: simplify Gnulib port
8070 This simplifies the code, by removing stuff intended for porting
8071 to Gnulib but no longer needed there.
8072 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8073 uses of libc_hidden_def, weak_alias.
8074 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8075 _Restrict_ except for public-facing headers.
8076 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8077 Remove; already defined elsewhere.
8078 * posix/regex.c, posix/regex_internal.h:
8079 Use __GNUC_PREREQ instead of rolling our own.
8080 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8082 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8084 * benchtests/bench-strlen.c (generic_strlen): New function.
8085 (memchr_strlen): New function.
8087 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8089 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8090 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8091 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8093 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8095 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8097 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8099 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8100 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8101 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8102 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8103 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8104 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8105 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8107 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8110 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8111 PLT reference in libc.so.
8112 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8113 _Q_lltoq and _Q_qtod PLT references in libc.so.
8115 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8117 * benchtests/bench-memchr.c: Cleanup defines.
8118 * benchtests/bench-memcmp.c: Likewise.
8119 * benchtests/bench-memset.c: Likewise.
8120 * benchtests/bench-memset-large.c: Likewise.
8121 * benchtests/bench-memset-walk.c: Likewise.
8122 * benchtests/bench-stpcpy.c: Likewise.
8123 * benchtests/bench-stpncpy.c: Likewise.
8124 * benchtests/bench-strcat.c: Likewise.
8125 * benchtests/bench-strchr.c: Likewise.
8126 * benchtests/bench-strcmp.c: Likewise.
8127 * benchtests/bench-strcpy.c: Likewise.
8128 * benchtests/bench-strcspn.c: Likewise.
8129 * benchtests/bench-string.h: Likewise.
8130 * benchtests/bench-strlen.c: Likewise.
8131 * benchtests/bench-strncat.c: Likewise.
8132 * benchtests/bench-strncmp.c: Likewise.
8133 * benchtests/bench-strncpy.c: Likewise.
8134 * benchtests/bench-strnlen.c: Likewise.
8135 * benchtests/bench-strpbrk.c: Likewise.
8136 * benchtests/bench-strrchr.c: Likewise.
8137 * benchtests/bench-strspn.c: Likewise.
8139 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8141 * stdlib/longlong.h: Update from GCC.
8144 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8145 * configure: Regenerated.
8146 * manual/install.texi (Tools for Compilation): Update minimum GCC
8148 * INSTALL: Regenerated.
8150 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8152 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8154 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8156 * malloc/malloc.c (mremap_chunk): Additional checks.
8158 2018-12-21 Mao Han <han_mao@c-sky.com>
8160 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8161 * scripts/build-many-glibcs.py: Add C-SKY targets.
8162 * sysdeps/csky/Implies: New file.
8163 * sysdeps/csky/Makefile: Likewise.
8164 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8165 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8166 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8167 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8168 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8169 * sysdeps/csky/abiv2/memmove.S: Likewise.
8170 * sysdeps/csky/abiv2/memset.S: Likewise.
8171 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8172 * sysdeps/csky/abiv2/start.S: Likewise.
8173 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8174 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8175 * sysdeps/csky/abiv2/strlen.S: Likewise.
8176 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8177 * sysdeps/csky/abort-instr.h: Likewise.
8178 * sysdeps/csky/atomic-machine.h: Likewise.
8179 * sysdeps/csky/bits/endian.h: Likewise.
8180 * sysdeps/csky/bits/fenv.h: Likewise.
8181 * sysdeps/csky/bits/link.h: Likewise.
8182 * sysdeps/csky/bits/setjmp.h: Likewise.
8183 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8184 * sysdeps/csky/bsd-setjmp.S: Likewise.
8185 * sysdeps/csky/configure: Likewise.
8186 * sysdeps/csky/configure.ac: Likewise.
8187 * sysdeps/csky/dl-machine.h: Likewise.
8188 * sysdeps/csky/dl-procinfo.c: Likewise.
8189 * sysdeps/csky/dl-procinfo.h: Likewise.
8190 * sysdeps/csky/dl-sysdep.h: Likewise.
8191 * sysdeps/csky/dl-tls.h: Likewise.
8192 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8193 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8194 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8195 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8196 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8197 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8198 * sysdeps/csky/fpu/fegetround.c: Likewise.
8199 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8200 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8201 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8202 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8203 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8204 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8205 * sysdeps/csky/fpu/fesetround.c: Likewise.
8206 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8207 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8208 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8209 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8210 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8211 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8212 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8213 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8214 * sysdeps/csky/fpu_control.h: Likewise.
8215 * sysdeps/csky/gccframe.h: Likewise.
8216 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8217 * sysdeps/csky/ldsodefs.h: Likewise.
8218 * sysdeps/csky/libc-tls.c: Likewise.
8219 * sysdeps/csky/linkmap.h: Likewise.
8220 * sysdeps/csky/machine-gmon.h: Likewise.
8221 * sysdeps/csky/memusage.h: Likewise.
8222 * sysdeps/csky/nofpu/Implies: Likewise.
8223 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8224 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8225 * sysdeps/csky/nptl/Makefile: Likewise.
8226 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8227 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8228 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8229 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8230 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8231 * sysdeps/csky/nptl/tls.h: Likewise.
8232 * sysdeps/csky/preconfigure: Likewise.
8233 * sysdeps/csky/sfp-machine.h: Likewise.
8234 * sysdeps/csky/sotruss-lib.c: Likewise.
8235 * sysdeps/csky/stackinfo.h: Likewise.
8236 * sysdeps/csky/sysdep.h: Likewise.
8237 * sysdeps/csky/tininess.h: Likewise.
8238 * sysdeps/csky/tst-audit.h: Likewise.
8239 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8240 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8241 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8242 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8243 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8244 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8245 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8246 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8247 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8248 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8249 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8250 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8251 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8252 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8253 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8254 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8255 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8256 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8257 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8258 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8259 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8260 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8261 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8262 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8263 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8264 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8265 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8266 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8267 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8268 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8269 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8270 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8271 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8272 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8273 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8274 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8275 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8276 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8277 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8278 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8279 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8280 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8281 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8282 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8284 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8286 * include/time.h (__difftime64): Add.
8287 * time/difftime.c (subtract): convert to 64-bit time.
8288 * time/difftime.c (__difftime64): Add.
8289 * time/difftime.c (__difftime): Wrap around __difftime64.
8291 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8293 * manual/examples/add.c: Remove redundant "if not".
8294 * manual/examples/argp-ex1.c: Likewise.
8295 * manual/examples/argp-ex2.c: Likewise.
8296 * manual/examples/argp-ex3.c: Likewise.
8297 * manual/examples/argp-ex4.c: Likewise.
8298 * manual/examples/atexit.c: Likewise.
8299 * manual/examples/db.c: Likewise.
8300 * manual/examples/dir.c: Likewise.
8301 * manual/examples/dir2.c: Likewise.
8302 * manual/examples/execinfo.c: Likewise.
8303 * manual/examples/filecli.c: Likewise.
8304 * manual/examples/filesrv.c: Likewise.
8305 * manual/examples/fmtmsgexpl.c: Likewise.
8306 * manual/examples/genpass.c: Likewise.
8307 * manual/examples/inetcli.c: Likewise.
8308 * manual/examples/inetsrv.c: Likewise.
8309 * manual/examples/isockad.c: Likewise.
8310 * manual/examples/longopt.c: Likewise.
8311 * manual/examples/memopen.c: Likewise.
8312 * manual/examples/memstrm.c: Likewise.
8313 * manual/examples/mkdirent.c: Likewise.
8314 * manual/examples/mkfsock.c: Likewise.
8315 * manual/examples/mkisock.c: Likewise.
8316 * manual/examples/mygetpass.c: Likewise.
8317 * manual/examples/pipe.c: Likewise.
8318 * manual/examples/popen.c: Likewise.
8319 * manual/examples/rprintf.c: Likewise.
8320 * manual/examples/search.c: Likewise.
8321 * manual/examples/select.c: Likewise.
8322 * manual/examples/setjmp.c: Likewise.
8323 * manual/examples/sigh1.c: Likewise.
8324 * manual/examples/sigusr.c: Likewise.
8325 * manual/examples/stpcpy.c: Likewise.
8326 * manual/examples/strdupa.c: Likewise.
8327 * manual/examples/strftim.c: Likewise.
8328 * manual/examples/subopt.c: Likewise.
8329 * manual/examples/swapcontext.c: Likewise.
8330 * manual/examples/termios.c: Likewise.
8331 * manual/examples/testopt.c: Likewise.
8332 * manual/examples/testpass.c: Likewise.
8333 * manual/examples/timeval_subtract.c: Likewise.
8335 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8337 * sysdeps/x86/fpu/math_private.h: New file.
8338 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8340 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8345 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8347 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8348 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8349 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8350 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8352 (_dl_show_auxv): Give a special treatment to
8353 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8354 and AT_L3_CACHEGEOMETRY.
8355 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8356 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8357 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8358 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8360 2018-12-19 Andreas Schwab <schwab@suse.de>
8362 * nscd/connections.c (check_use): Don't abort on invalid len.
8364 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8366 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8367 values in the 64bit value cases.
8369 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8375 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8381 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8384 (__gmtime64_r): Add.
8386 (__gmtime64_r): Add.
8387 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8393 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8396 (__localtime64_r): Add.
8398 (__localtime64_r): Add.
8399 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8401 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8403 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8404 kernel_sigction definition.
8406 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8408 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8410 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8411 __syscall_rt_sigaction.
8412 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8413 (kernel_sigaction): Use Linux generic defintion.
8415 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8416 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8417 (__syscall_rt_sigaction): Remove implementation.
8418 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8420 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8421 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8422 INTERNAL_SYSCALL): Remove definitions.
8423 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8424 action and signal set size.
8425 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8426 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8428 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8429 James Clarke <jrtc27@jrtc27.com>
8432 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8433 Define if SA_RESTORER is defined.
8434 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8435 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8437 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8438 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8440 (HAS_SA_RESTORER): Define.
8441 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8442 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8443 (HAS_SA_RESTORER): Define.
8444 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8445 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8446 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8447 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8448 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8450 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8452 * sysdeps/unix/sysv/linux/kernel-features.h
8453 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8454 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8455 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8456 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8457 (__ASSUME_ST_INO_64_BIT): Likewise.
8458 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8459 <kernel-features.h>.
8460 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8461 Remove conditional code.
8462 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8463 <kernel-features.h>.
8464 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8465 Remove conditional code.
8466 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8467 <kernel-features.h>.
8468 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8469 Remove conditional code.
8470 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8471 <kernel-features.h>.
8472 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8473 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8475 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8477 * sysdeps/s390/multiarch/ifunc-resolve.h
8478 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8479 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8480 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8481 Delete macro definition.
8482 (s390_libc_ifunc_init): Rename to
8483 s390_libc_ifunc_expr_stfle_init.
8484 * sysdeps/s390/bzero: Use
8485 s390_libc_ifunc_expr_stfle_init instead of
8486 s390_libc_ifunc_init.
8487 * sysdeps/s390/memcmp.c: Likewise.
8488 * sysdeps/s390/memcpy.c: Likewise.
8489 * sysdeps/s390/mempcpy.c: Likewise.
8490 * sysdeps/s390/memset.c: Likewise.
8492 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8494 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8495 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8497 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8499 * sysdeps/s390/multiarch/Makefile
8500 (sysdep_routines): Remove wmemcmp variants.
8501 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8502 * sysdeps/s390/multiarch/ifunc-impl-list.c
8503 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8504 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8505 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8506 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8507 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8508 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8509 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8510 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8512 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8514 * sysdeps/s390/multiarch/Makefile
8515 (sysdep_routines): Remove wmemset variants.
8516 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8517 * sysdeps/s390/multiarch/ifunc-impl-list.c
8518 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8519 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8520 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8521 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8522 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8523 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8524 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8525 * sysdeps/s390/ifunc-wmemset.h: New file.
8527 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8529 * sysdeps/s390/multiarch/Makefile
8530 (sysdep_routines): Remove wmemchr variants.
8531 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8532 * sysdeps/s390/multiarch/ifunc-impl-list.c
8533 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8534 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8535 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8536 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8537 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8538 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8539 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8540 * sysdeps/s390/ifunc-wmemchr.h: New file.
8542 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8544 * sysdeps/s390/multiarch/Makefile
8545 (sysdep_routines): Remove wcscspn variants.
8546 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8547 * sysdeps/s390/multiarch/ifunc-impl-list.c
8548 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8549 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8550 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8551 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8552 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8553 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8554 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8555 * sysdeps/s390/ifunc-wcscspn.h: New file.
8557 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8559 * sysdeps/s390/multiarch/Makefile
8560 (sysdep_routines): Remove wcspbrk variants.
8561 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8562 * sysdeps/s390/multiarch/ifunc-impl-list.c
8563 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8564 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8565 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8566 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8567 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8568 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8569 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8570 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8572 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8574 * sysdeps/s390/multiarch/Makefile
8575 (sysdep_routines): Remove wcsspn variants.
8576 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8577 * sysdeps/s390/multiarch/ifunc-impl-list.c
8578 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8579 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8580 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8581 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8582 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8583 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8584 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8585 * sysdeps/s390/ifunc-wcsspn.h: New file.
8587 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8589 * sysdeps/s390/multiarch/Makefile
8590 (sysdep_routines): Remove wcsrchr variants.
8591 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8592 * sysdeps/s390/multiarch/ifunc-impl-list.c
8593 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8594 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8595 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8596 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8597 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8598 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8599 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8600 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8602 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8604 * sysdeps/s390/multiarch/Makefile
8605 (sysdep_routines): Remove wcschrnul variants.
8606 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8607 * sysdeps/s390/multiarch/ifunc-impl-list.c
8608 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8609 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8610 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8611 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8612 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8613 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8614 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8615 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8617 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8619 * sysdeps/s390/multiarch/Makefile
8620 (sysdep_routines): Remove wcschr variants.
8621 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8622 * sysdeps/s390/multiarch/ifunc-impl-list.c
8623 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8624 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8625 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8626 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8627 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8628 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8629 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8630 * sysdeps/s390/ifunc-wcschr.h: New file.
8632 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8634 * sysdeps/s390/multiarch/Makefile
8635 (sysdep_routines): Remove wcsncmp variants.
8636 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8637 * sysdeps/s390/multiarch/ifunc-impl-list.c
8638 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8639 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8640 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8641 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8642 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8643 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8644 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8645 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8647 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8649 * sysdeps/s390/multiarch/Makefile
8650 (sysdep_routines): Remove wcscmp variants.
8651 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8652 * sysdeps/s390/multiarch/ifunc-impl-list.c
8653 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8654 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8655 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8656 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8657 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8658 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8659 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8660 * sysdeps/s390/ifunc-wcscmp.h: New file.
8662 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8664 * sysdeps/s390/multiarch/Makefile
8665 (sysdep_routines): Remove wcsncat variants.
8666 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8667 * sysdeps/s390/multiarch/ifunc-impl-list.c
8668 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8669 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8670 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8671 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8672 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8673 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8674 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8675 * sysdeps/s390/ifunc-wcsncat.h: New file.
8677 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8679 * sysdeps/s390/multiarch/Makefile
8680 (sysdep_routines): Remove wcscat variants.
8681 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8682 * sysdeps/s390/multiarch/ifunc-impl-list.c
8683 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8684 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8685 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8686 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8687 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8688 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8689 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8690 * sysdeps/s390/ifunc-wcscat.h: New file.
8692 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8694 * sysdeps/s390/multiarch/Makefile
8695 (sysdep_routines): Remove wcpncpy variants.
8696 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8697 * sysdeps/s390/multiarch/ifunc-impl-list.c
8698 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8699 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8700 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8701 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8702 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8703 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8704 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8705 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8707 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8709 * sysdeps/s390/multiarch/Makefile
8710 (sysdep_routines): Remove wcsncpy variants.
8711 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8712 * sysdeps/s390/multiarch/ifunc-impl-list.c
8713 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8714 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8715 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8716 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8717 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8718 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8719 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8720 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8722 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8724 * sysdeps/s390/multiarch/Makefile
8725 (sysdep_routines): Remove wcpcpy variants.
8726 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8727 * sysdeps/s390/multiarch/ifunc-impl-list.c
8728 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8729 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8730 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8731 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8732 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8733 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8734 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8735 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8737 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8739 * sysdeps/s390/multiarch/Makefile
8740 (sysdep_routines): Remove wcscpy variants.
8741 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8742 * sysdeps/s390/multiarch/ifunc-impl-list.c
8743 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8744 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8745 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8746 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8747 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8748 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8749 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8750 * sysdeps/s390/ifunc-wcscpy.h: New file.
8752 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8754 * sysdeps/s390/multiarch/Makefile
8755 (sysdep_routines): Remove wcsnlen variants.
8756 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8757 * sysdeps/s390/multiarch/ifunc-impl-list.c
8758 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8759 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8760 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8761 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8762 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8763 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8764 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8765 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8767 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8769 * sysdeps/s390/multiarch/Makefile
8770 (sysdep_routines): Remove wcslen variants.
8771 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8772 * sysdeps/s390/multiarch/ifunc-impl-list.c
8773 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8774 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8775 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8776 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8777 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8778 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8779 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8780 * sysdeps/s390/ifunc-wcslen.h: New file.
8782 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8784 * sysdeps/s390/multiarch/Makefile
8785 (sysdep_routines): Remove memrchr variants.
8786 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8787 * sysdeps/s390/multiarch/ifunc-impl-list.c
8788 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8789 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8790 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8791 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8792 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8793 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8794 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8795 * sysdeps/s390/ifunc-memrchr.h: New file.
8797 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8799 * sysdeps/s390/multiarch/Makefile
8800 (sysdep_routines): Remove memccpy variants.
8801 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8802 * sysdeps/s390/multiarch/ifunc-impl-list.c
8803 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8804 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8805 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8806 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8807 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8808 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8809 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8810 * sysdeps/s390/ifunc-memccpy.h: New file.
8812 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8814 * sysdeps/s390/multiarch/Makefile
8815 (sysdep_routines): Remove rawmemchr variants.
8816 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8817 * sysdeps/s390/multiarch/ifunc-impl-list.c
8818 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8819 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8820 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8821 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8822 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8823 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8824 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8825 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8827 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8829 * sysdeps/s390/multiarch/Makefile
8830 (sysdep_routines): Remove memchr variants.
8831 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8832 * sysdeps/s390/multiarch/ifunc-impl-list.c
8833 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8834 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8835 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8836 * sysdeps/s390/multiarch/memchr.c: Move to ...
8837 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8838 * sysdeps/s390/ifunc-memchr.h: New file.
8839 * sysdeps/s390/s390-64/memchr.S: Move to ...
8840 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8841 for 31/64bit and ifunc handling.
8842 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8843 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8844 * sysdeps/s390/s390-32/memchr.S: Likewise.
8846 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8848 * sysdeps/s390/multiarch/Makefile
8849 (sysdep_routines): Remove strcspn variants.
8850 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8851 * sysdeps/s390/multiarch/ifunc-impl-list.c
8852 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8853 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8854 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8855 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8856 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8857 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8858 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8859 * sysdeps/s390/ifunc-strcspn.h: New file.
8861 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8863 * sysdeps/s390/multiarch/Makefile
8864 (sysdep_routines): Remove strpbrk variants.
8865 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8866 * sysdeps/s390/multiarch/ifunc-impl-list.c
8867 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8868 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8869 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8870 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8871 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8872 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8873 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8874 * sysdeps/s390/ifunc-strpbrk.h: New file.
8876 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8878 * sysdeps/s390/multiarch/Makefile
8879 (sysdep_routines): Remove strspn variants.
8880 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8881 * sysdeps/s390/multiarch/ifunc-impl-list.c
8882 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8883 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8884 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8885 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8886 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8887 * sysdeps/s390/multiarch/strspn.c: Move to ...
8888 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8889 * sysdeps/s390/ifunc-strspn.h: New file.
8891 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8893 * sysdeps/s390/multiarch/Makefile
8894 (sysdep_routines): Remove strrchr variants.
8895 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8896 * sysdeps/s390/multiarch/ifunc-impl-list.c
8897 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8898 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8899 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8900 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8901 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8902 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8903 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8904 * sysdeps/s390/ifunc-strrchr.h: New file.
8906 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8908 * sysdeps/s390/multiarch/Makefile
8909 (sysdep_routines): Remove strchrnul variants.
8910 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8911 * sysdeps/s390/multiarch/ifunc-impl-list.c
8912 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8913 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8914 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8915 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8916 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8917 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8918 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8919 * sysdeps/s390/ifunc-strchrnul.h: New file.
8921 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8923 * sysdeps/s390/multiarch/Makefile
8924 (sysdep_routines): Remove strchr variants.
8925 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8926 * sysdeps/s390/multiarch/ifunc-impl-list.c
8927 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8928 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8929 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8930 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8931 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8932 * sysdeps/s390/multiarch/strchr.c: Move to ...
8933 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8934 * sysdeps/s390/ifunc-strchr.h: New file.
8936 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8938 * sysdeps/s390/multiarch/Makefile
8939 (sysdep_routines): Remove strncmp variants.
8940 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8941 * sysdeps/s390/multiarch/ifunc-impl-list.c
8942 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8943 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8944 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8945 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8946 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8947 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8948 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8949 * sysdeps/s390/ifunc-strncmp.h: New file.
8951 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8953 * sysdeps/s390/multiarch/Makefile
8954 (sysdep_routines): Remove strcmp variants.
8955 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8956 * sysdeps/s390/multiarch/ifunc-impl-list.c
8957 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8958 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8959 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8960 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8961 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8962 * sysdeps/s390/ifunc-strcmp.h: New file.
8963 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8964 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8965 for 31/64bit and ifunc handling.
8966 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8967 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8968 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8970 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8972 * sysdeps/s390/multiarch/Makefile
8973 (sysdep_routines): Remove strncat variants.
8974 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8975 * sysdeps/s390/multiarch/ifunc-impl-list.c
8976 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8977 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8978 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8979 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8980 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8981 * sysdeps/s390/multiarch/strncat.c: Move to ...
8982 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8983 * sysdeps/s390/ifunc-strncat.h: New file.
8985 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8987 * sysdeps/s390/multiarch/Makefile
8988 (sysdep_routines): Remove strcat variants.
8989 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8990 * sysdeps/s390/multiarch/ifunc-impl-list.c
8991 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8992 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8993 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8994 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8995 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8996 * sysdeps/s390/multiarch/strcat.c: Move to ...
8997 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8998 * sysdeps/s390/ifunc-strcat.h: New file.
9000 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9002 * sysdeps/s390/multiarch/Makefile
9003 (sysdep_routines): Remove stpncpy variants.
9004 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9005 * sysdeps/s390/multiarch/ifunc-impl-list.c
9006 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9007 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9008 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9009 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9010 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9011 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9012 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9013 * sysdeps/s390/ifunc-stpncpy.h: New file.
9015 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9017 * sysdeps/s390/multiarch/Makefile
9018 (sysdep_routines): Remove strncpy variants.
9019 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9020 * sysdeps/s390/multiarch/ifunc-impl-list.c
9021 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9022 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9023 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9024 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9025 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9026 * sysdeps/s390/ifunc-strncpy.h: New file.
9027 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9028 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9029 and adjust ifunc handling.
9030 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9031 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9032 and adjust ifunc handling.
9033 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9034 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9036 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9038 * sysdeps/s390/multiarch/Makefile
9039 (sysdep_routines): Remove stpcpy variants.
9040 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9041 * sysdeps/s390/multiarch/ifunc-impl-list.c
9042 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9043 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9044 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9045 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9046 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9047 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9048 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9049 * sysdeps/s390/ifunc-stpcpy.h: New file.
9051 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9053 * sysdeps/s390/multiarch/Makefile
9054 (sysdep_routines): Remove strcpy variants.
9055 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9056 * sysdeps/s390/multiarch/ifunc-impl-list.c
9057 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9058 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9059 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9060 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9061 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9062 * sysdeps/s390/ifunc-strcpy.h: New file.
9063 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9064 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9065 for 31/64bit and ifunc handling.
9066 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9067 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9068 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9070 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9072 * sysdeps/s390/multiarch/Makefile
9073 (sysdep_routines): Remove strnlen variants.
9074 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9075 * sysdeps/s390/multiarch/ifunc-impl-list.c
9076 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9077 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9078 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9079 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9080 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9081 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9082 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9083 * sysdeps/s390/ifunc-strnlen.h: New file.
9085 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9087 * sysdeps/s390/multiarch/Makefile
9088 (sysdep_routines): Remove strlen variants.
9089 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9090 * sysdeps/s390/multiarch/ifunc-impl-list.c
9091 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9092 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9093 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9094 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9095 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9096 * sysdeps/s390/multiarch/strlen.c: Move to ...
9097 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9098 * sysdeps/s390/ifunc-strlen.h: New file.
9100 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9102 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9103 * sysdeps/s390/multiarch/ifunc-impl-list.c
9104 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9105 * sysdeps/s390/ifunc-memmem.h: New file.
9106 * sysdeps/s390/memmem.c: Likewise.
9107 * sysdeps/s390/memmem-c.c: Likewise.
9108 * sysdeps/s390/memmem-vx.c: Likewise.
9110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9112 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9113 * sysdeps/s390/multiarch/ifunc-impl-list.c
9114 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9115 * sysdeps/s390/ifunc-strstr.h: New file.
9116 * sysdeps/s390/strstr.c: Likewise.
9117 * sysdeps/s390/strstr-c.c: Likewise.
9118 * sysdeps/s390/strstr-vx.c: Likewise.
9120 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9122 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9123 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9124 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9125 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9127 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9128 * sysdeps/s390/memmove-c.c: New file.
9129 * sysdeps/s390/memmove.c: Likewise.
9130 * sysdeps/s390/multiarch/ifunc-impl-list.c
9131 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9133 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9135 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9136 * sysdeps/s390/configure.ac: Add check for z13 support.
9137 * sysdeps/s390/configure: Regenerated.
9139 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9141 * sysdeps/s390/memcopy.h: New file.
9143 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9145 * sysdeps/s390/s390-32/bcopy.S: Remove.
9146 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9148 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9150 * sysdeps/s390/ifunc-memcpy.h: New File.
9151 * sysdeps/s390/memcpy.S: Move to ...
9152 * sysdeps/s390/memcpy-z900.S ... here.
9153 Move implementations from memcpy-s390x.s to here.
9154 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9155 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9156 Remove memcpy/mempcpy variants.
9157 * sysdeps/s390/Makefile (sysdep_routines):
9158 Add memcpy/mempcpy variants.
9159 * sysdeps/s390/multiarch/ifunc-impl-list.c
9160 (__libc_ifunc_impl_list): Adjust ifunc variants for
9162 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9164 * sysdeps/s390/memcpy.c: ... here.
9165 Adjust ifunc variants for memcpy.
9166 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9167 * sysdeps/s390/mempcpy.c: ... here.
9168 Adjust ifunc variants for mempcpy.
9169 * sysdeps/s390/mempcpy.S: Delete file.
9171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9173 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9174 * sysdeps/s390/memcpy.S: ... here.
9175 Adjust to be usable for 31/64bit.
9176 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9177 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9178 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9179 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9180 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9181 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9182 Adjust to be usable for 31/64bit.
9183 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9184 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9185 * sysdeps/s390/multiarch/memcpy.c: ... here.
9186 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9188 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9190 * sysdeps/s390/ifunc-memcmp.h: New File.
9191 * sysdeps/s390/memcmp.S: Move to ...
9192 * sysdeps/s390/memcmp-z900.S ... here.
9193 Move implementations from memcmp-s390x.s to here.
9194 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9195 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9196 Remove memcmp variants.
9197 * sysdeps/s390/Makefile (sysdep_routines):
9198 Add memcmp variants.
9199 * sysdeps/s390/multiarch/ifunc-impl-list.c
9200 (__libc_ifunc_impl_list): Adjust ifunc variants for
9202 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9204 * sysdeps/s390/memcmp.c: ... here.
9205 Adjust ifunc variants for memcmp.
9207 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9209 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9210 * sysdeps/s390/memcmp.S: ... here.
9211 Adjust to be usable for 31/64bit.
9212 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9213 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9214 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9216 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9217 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9218 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9219 Adjust to be usable for 31/64bit.
9220 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9221 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9222 * sysdeps/s390/multiarch/memcmp.c: ... here.
9223 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9225 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9227 * sysdeps/s390/s390-32/bzero.S: Delete file.
9228 * sysdeps/s390/s390-64/bzero.S: Likewise.
9229 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9230 * sysdeps/s390/bzero.c: New file.
9231 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9232 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9233 * sysdeps/s390/multiarch/ifunc-impl-list.c
9234 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9236 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9238 * sysdeps/s390/ifunc-memset.h: New File.
9239 * sysdeps/s390/memset.S: Move to ...
9240 * sysdeps/s390/memset-z900.S ... here.
9241 Move implementations from memset-s390x.s to here.
9242 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9243 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9244 Remove memset variants.
9245 * sysdeps/s390/Makefile (sysdep_routines):
9246 Add memset variants.
9247 * sysdeps/s390/multiarch/ifunc-impl-list.c
9248 (__libc_ifunc_impl_list): Adjust ifunc variants for
9250 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9252 * sysdeps/s390/memset.c: ... here.
9253 Adjust ifunc variants for memset.
9255 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9257 * sysdeps/s390/s390-64/memset.S: Move to ...
9258 * sysdeps/s390/memset.S: ... here.
9259 Adjust to be usable for 31/64bit.
9260 * sysdeps/s390/s390-32/memset.S: Delete File.
9261 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9262 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9264 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9265 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9266 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9267 Adjust to be usable for 31/64bit.
9268 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9269 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9270 * sysdeps/s390/multiarch/memset.c: ... here.
9271 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9273 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9275 * sysdeps/s390/multiarch/ifunc-resolve.h
9276 (s390_libc_ifunc_init, s390_libc_ifunc,
9277 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9279 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9281 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9282 * sysdeps/s390/configure.ac: Add check for z10 support.
9283 * sysdeps/s390/configure: Regenerated.
9285 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9287 * sysdeps/i386/atomic-machine.h: Merged with ...
9288 * sysdeps/x86_64/atomic-machine.h: To ...
9289 * sysdeps/x86/atomic-machine.h: This. New file.
9291 2018-12-18 Florian Weimer <fweimer@redhat.com>
9293 Rewrite locale/gen-translit.pl in Python.
9294 * locale/Makefile (generated): Add C-translit.h.
9295 (before-compile): Add $(objpfx)C-translit.h.
9296 (C-translit.h): Move to $(objpfx). Create target directory.
9297 Build using Python script.
9298 * locale/gen-translit.py: New file.
9299 * locale/gen-translit.pl: Remove file.
9300 * locale/C-translit.h.in: Change comment character to '#' for
9301 easier parsing without a C preprocessor.
9302 * locale/C-translit.h: Remove generated file.
9303 * manual/install.texi (Tools for Compilation): Do not mention
9305 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9306 Remove locale/C-translit.h.
9307 * scripts/update-copyrights: Likewise.
9308 * INSTALL: Regenerate.
9310 2018-12-18 Florian Weimer <fweimer@redhat.com>
9313 * localedata/locales/bi_VU: Remove executable bit from file.
9315 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9318 (__localtime64): Add.
9319 * manual/maint.texi: Document Y2038 symbol handling.
9321 (__localtime64): Add.
9322 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9324 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9326 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9329 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9330 to allow extra macros from first or second sources.
9331 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9332 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9333 (tests-special): Add $(objpfx)tst-mman-consts.out.
9334 ($(objpfx)tst-mman-consts.out): New makefile target.
9336 2018-12-17 Mao Han <han_mao@c-sky.com>
9338 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9339 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9340 without stat64 system call support.
9341 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9342 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9343 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9344 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9345 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9346 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9347 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9348 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9349 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9350 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9351 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9353 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9355 regex: fix storage-exhaustion error
9357 * posix/regexec.c (get_subexp):
9358 Do not continue if storage is exhausted.
9360 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9362 regex: fix heap-use-after-free error
9364 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9365 https://debbugs.gnu.org/32592
9366 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9367 call extend_buffers which reallocates the re_string_t internal buffer.
9368 Local variable 'buf' was not updated in such case, resulting in
9370 * posix/regexec.c (get_subexp): Update 'buf' after call to
9373 2018-12-15 Florian Weimer <fweimer@redhat.com>
9375 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9376 (minimum_stride_size): Use it.
9377 (support_blob_repeat_allocate): Likewise.
9379 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9381 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9386 2018-12-14 Florian Weimer <fweimer@redhat.com>
9388 * manual/process.texi (Process Creation Concepts): Remove
9389 documentation of process (ID) lifetime. List more process
9390 creation functions. Reference Process Identification section.
9391 (Process Identification): Add information about process ID
9392 lifetime. Describe Linux thread/task IDs.
9393 * manual/signal.texi (Signaling Another Process): Mention that the
9394 signal is always sent to the process.
9396 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9398 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9399 and tst-ldbl-efgcvt.
9400 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9401 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9402 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9403 (fcvt_tests, output_error, output_r_error, do_test): Use the
9404 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9405 select the type of floating-point variables and arguments; to
9406 produce extra tests for double and conversion specifiers for
9407 printf; and to set the names of called functions.
9408 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9409 in tst-efgcvt-template.c.
9410 * misc/tst-ldbl-efgcvt.c: Likewise.
9412 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9414 * nss/Makefile (tst-nss-test3.out): New rule.
9416 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9418 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9421 2018-12-13 fanjinke <fanjinke@hygon.cn>
9423 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9426 2018-12-13 Andreas Schwab <schwab@suse.de>
9429 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9430 (__pthread_rwlock_rdlock_full): Update expected value for
9431 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9432 * nptl/tst-rwlock-pwn.c: New file.
9433 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9435 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9437 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9440 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9442 * benchtests/scripts/compare_bench.py (do_compare): write to
9443 stderr in casestat is not present.
9444 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9445 stderr in case timings field is not present. Also string showing
9446 the output filename goes into the stderr.
9448 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9450 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9451 and ZeroDivisorError exceptions.
9452 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9453 argument to loop through user provided statistics.
9454 * benchtests/scripts/compare_bench.py (main): Include the --stats
9457 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9459 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9462 2018-12-12 Florian Weimer <fweimer@redhat.com>
9464 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9465 clause to copyright header.
9467 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9470 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9471 registers saved in the stack frame.
9472 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9473 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9475 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9477 * include/bits/monetary-ldbl.h: New file.
9478 * include/bits/printf-ldbl.h: Likewise.
9479 * include/bits/stdio-ldbl.h: Likewise.
9480 * include/bits/stdlib-ldbl.h: Likewise.
9481 * include/bits/syslog-ldbl.h: Likewise.
9482 * include/bits/wchar-ldbl.h: Likewise.
9484 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9486 * libio/libio.h: Remove redirection for _IO_vfprintf.
9488 2018-12-11 Andreas Schwab <schwab@suse.de>
9490 * Makerules: Remove all references to abilist-pattern.
9491 (update-all-abi): Simplify find expression.
9493 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9496 * math/auto-libm-test-in: Add new test case.
9497 * math/auto-libm-test-out-pow: Regenerated.
9498 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9500 2018-12-10 DJ Delorie <dj@redhat.com>
9503 * support/test-container.c: Move postclean step to before we
9506 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9508 * scripts/gen-as-const.py (main): Handle --python option.
9509 * scripts/gen-py-const.awk: Remove.
9510 * Makerules (py-const-script): Use gen-as-const.py.
9511 ($(py-const)): Likewise.
9512 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9513 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9514 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9515 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9516 ~PTHREAD_MUTEX_NO_ELISION_NP.
9517 * manual/README.pretty-printers: Update reference to
9520 * scripts/glibcextract.py: New file.
9521 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9522 or tempfile. Import glibcexctract.
9523 (compute_c_consts): Remove. Moved to glibcextract.py.
9524 (gen_test): Update reference to compute_c_consts.
9526 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9527 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9528 * sysdeps/unix/sysv/linux/Makefile
9529 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9530 Redirect stderr as well as stdout.
9532 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9535 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9536 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9537 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9538 ALWAYS_USE_VSYSCALL.
9539 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9540 ALWAYS_USE_VSYSCALL.
9541 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9542 ALWAYS_USE_VSYSCALL.
9544 2018-12-10 Florian Weimer <fweimer@redhat.com>
9547 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9548 offset instead of count for clarity. Fix typo in comment.
9549 (__old_getdents64): Keep track of previous offset. Use it to call
9551 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9552 that d_off is never zero.
9554 2018-12-10 Andreas Schwab <schwab@suse.de>
9556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9557 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9559 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9560 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9562 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9564 * timezone/private.h: Update from tzcode 2018g.
9565 * timezone/tzfile.h: Likewise.
9566 * timezone/tzselect.ksh: Likewise.
9567 * timezone/zdump.c: Likewise.
9568 * timezone/zic.c: Likewise.
9570 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9573 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9574 (do_test): Adjust buffer size and fix format.
9576 2018-12-07 DJ Delorie <dj@redhat.com>
9579 * malloc/tst-tcfree3.c: New.
9580 * malloc/Makefile: Add it.
9582 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9584 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9586 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9588 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9589 used as a mask for the mode argument of __vfscanf_internal and
9590 __vfwscanf_internal.
9591 * stdio-common/vfscanf-internal.c
9592 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9593 (__strtof128_internal): Define to __wcstof128_internal.
9594 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9595 __strtof128_internal or __wcstof128_internal when the format of
9596 long double is the same as _Float128.
9598 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9600 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9601 * posix/confstr.c (confstr): Rename to __confstr.
9602 (__confstr): Add hidden def.
9603 (confstr): Add weak alias for __confstr.
9604 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9607 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9609 * NEWS: Mention getcpu.
9610 * include/sched.h (__getcpu): New libc_hidden_proto.
9611 * manual/resource.texi: Document getcpu.
9612 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9613 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9614 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9615 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9616 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9617 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9618 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9619 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9620 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9621 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9622 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9623 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9624 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9626 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9627 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9628 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9637 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9638 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9639 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9640 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9641 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9642 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9643 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9644 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9645 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9646 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9647 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9650 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9652 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9654 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9656 2018-12-07 Florian Weimer <fweimer@redhat.com>
9659 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9660 * posix/Versions (GLIBC_2.29): Export
9661 posix_spawn_file_actions_addfchdir_np.
9662 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9663 * posix/spawn_faction_destroy.c
9664 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9665 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9666 and the field action.fchdir_action.
9667 * posix/tst-spawn-chdir.c (add_chdir): New function.
9668 (do_test): Add do_fchdir loop. Call add_chdir.
9669 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9670 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9671 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9672 posix_spawn_file_actions_addfchdir_np.
9673 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9675 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9677 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9678 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9680 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9682 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9684 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9686 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9688 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9690 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9691 (GLIBC_2.29): Likewise.
9692 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9693 (GLIBC_2.29): Likewise.
9694 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9695 (GLIBC_2.29): Likewise.
9696 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9697 (GLIBC_2.29): Likewise.
9698 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9701 (GLIBC_2.29): Likewise.
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9703 (GLIBC_2.29): Likewise.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9705 (GLIBC_2.29): Likewise.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9707 (GLIBC_2.29): Likewise.
9708 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9710 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9712 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9714 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9715 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9717 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9719 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9721 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9724 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9726 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9727 trailing whitespace removed.
9728 * scripts/config.guess: Update to version 2018-11-28.
9729 * scripts/config.sub: Update to version 2018-11-28.
9730 * scripts/install-sh: Update to version 2018-03-11.20.
9731 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9732 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9734 2018-12-07 Florian Weimer <fweimer@redhat.com>
9738 * inet/tst-if_index-long.c: New file.
9739 * inet/Makefile (tests): Add tst-if_index-long.
9741 2018-12-07 Florian Weimer <fweimer@redhat.com>
9743 * support/check.h (support_record_failure_is_failed): Declare.
9744 * support/descriptors.h: New file.
9745 * support/support_descriptors.c: Likewise.
9746 * support/tst-support_descriptors.c: Likewise.
9747 * support/support_record_failure.c
9748 (support_record_failure_is_failed): New function.
9749 * support/Makefile (libsupport-routines): Add support_descriptors.
9750 (tests): Add tst-support_descriptors.
9752 2018-12-05 Zack Weinberg <zackw@panix.com>
9753 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9755 * stdio-common/vfprintf-internal.c
9756 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9757 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9758 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9759 and __no_long_double.
9760 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9761 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9762 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9763 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9764 and __nldbl_*syslog* functions.
9765 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9766 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9767 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9768 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9769 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9770 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9771 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9772 (__nldbl_vwprintf, __nldbl_wprintf):
9773 Directly call the appropriate __v*printf_internal routine, passing
9774 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9776 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9777 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9778 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9779 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9780 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9781 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9782 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9783 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9784 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9785 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9786 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9787 (__nldbl_syslog, __nldbl_vsyslog):
9788 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9789 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9791 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9794 2018-12-05 Zack Weinberg <zackw@panix.com>
9795 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9798 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9799 Moved here from debug/vsprintf_chk.c.
9800 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9801 and completion logic for the strfile to match exactly what
9802 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9803 _IO_str_init_static_internal instead of maxlen-1.
9804 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9805 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9806 __vsprintf_internal.
9808 * debug/vsprintf_chk.c (__vsprintf_chk)
9809 * debug/sprintf_chk.c (__sprintf_chk):
9810 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9811 'flags' argument is positive, and slen as maxlen. No need to lock
9812 the FILE and/or construct a temporary FILE. Minimize and normalize
9813 header inclusions and variable names. Do not libc_hidden_def anything.
9815 * debug/asprintf_chk.c (__asprintf_chk)
9816 * debug/dprintf_chk.c (__dprintf_chk)
9817 * debug/fprintf_chk.c (__fprintf_chk)
9818 * debug/fwprintf_chk.c (__fwprintf_chk)
9819 * debug/printf_chk.c (__printf_chk)
9820 * debug/snprintf_chk.c (__snprintf_chk)
9821 * debug/swprintf_chk.c (__swprintf_chk)
9822 * debug/vasprintf_chk.c (__vasprintf_chk)
9823 * debug/vdprintf_chk.c (__vdprintf_chk)
9824 * debug/vfprintf_chk.c (__vfprintf_chk)
9825 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9826 * debug/vprintf_chk.c (__vprintf_chk)
9827 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9828 * debug/vswprintf_chk.c (__vswprintf_chk)
9829 * debug/vwprintf_chk.c (__vwprintf_chk)
9830 * debug/wprintf_chk.c (__wprintf_chk):
9831 Directly call the corresponding vxxprintf_internal function, passing
9832 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9833 the FILE and/or construct a temporary FILE. Minimize and normalize
9834 header inclusions and variable names. Do not libc_hidden_def anything.
9836 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9837 __obstack_vprintf_internal.
9838 (__obstack_vprintf_chk): Convert into a wrapper that calls
9839 __obstack_vprintf_internal (these two functions already had the
9840 same code) and move to new file...
9841 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9843 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9844 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9845 * debug/Makefile (routines): Add vobprintf_chk.
9847 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9848 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9849 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9850 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9851 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9852 (__nldbl___obstack_vfprintf_chk):
9853 Directly call the corresponding vxxprintf_internal function,
9854 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9855 duplicate comparison of slen with 0 or maxlen from the corresponding
9856 non-__nldbl function.
9858 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9859 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9860 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9861 Remove libc_hidden_proto.
9863 * stdio-common/vfprintf-internal.c
9864 (__vfprintf_internal, __vfwprintf_internal):
9865 Do not check _IO_FLAGS2_FORTIFY.
9866 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9867 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9868 a comment explaining why it has the maxlen argument.
9869 (_IO_acquire_lock_clear_flags2_fct): Remove.
9870 (_IO_acquire_lock_clear_flags2): Remove.
9871 (_IO_release_lock): Remove conditional statement which will
9873 (_IO_acquire_lock): Remove variable which is now unused.
9874 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9875 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9877 * stdio-common/Makefile (tests): Add tst-bz11319 and
9878 tst-bz11319-fortify2.
9879 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9880 * stdio-common/tst-bz11319-fortify2.c: New file.
9881 * stdio-common/tst-bz11319.c: Likewise.
9883 2018-12-05 Zack Weinberg <zackw@panix.com>
9884 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9886 * misc/syslog.c: Include libioP.h, not iolibio.h.
9887 (__vsyslog_internal): New function with the former body of
9888 __vsyslog_chk; takes mode_flags argument same as
9889 __v*printf_internal. Call __vfprintf_internal directly.
9891 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9892 Remove libc_hidden_def.
9893 (__syslog, __syslog_chk): Use __vsyslog_internal.
9894 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9896 * include/sys/syslog.h: Add multiple inclusion guard.
9897 Add prototype for __vsyslog_internal.
9898 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9900 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9901 Use __vsyslog_internal.
9903 2018-12-05 Zack Weinberg <zackw@panix.com>
9904 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9906 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9907 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9908 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9910 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9911 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9913 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9914 Include wctype.h here if COMPILE_WPRINTF is defined.
9915 Define __vfprintf_internal or __vfwprintf_internal, depending
9917 Temporarily, on entry to this function, update mode_flags
9918 according to the environmental settings corresponding to
9919 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9920 Throughout, check mode_flags instead of __ldbl_is_dbl and
9921 _IO_FLAGS2_FORTIFY on the destination FILE.
9922 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9923 Include vfprintf-internal.c. Don't include wctype.h.
9924 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9925 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9927 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9928 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9930 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9932 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9933 and add mode_flags argument; use __vfprintf_internal.
9934 (__vdprintf): New function. Alias vdprintf to this.
9935 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9936 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9937 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9938 (__obstack_printf): Use __obstack_printf_internal.
9939 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9940 public aliases __vsnprintf and vsnprintf.
9941 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9943 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9944 public aliases _IO_vsprintf and vsprintf.
9945 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9946 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9947 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9948 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9949 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9951 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9952 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9953 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9954 * stdio-common/printf.c: Use __vfprintf_internal.
9956 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9957 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9958 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9960 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9961 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9962 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9963 __vfwprintf_internal.
9965 * libio/libio.h: Remove libc_hidden_proto and declaration for
9967 Remove declaration of _IO_vfwprintf.
9968 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9970 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9972 * include/stdio.h: Add prototype for __vasprintf.
9973 (__vsnprintf): Remove declaration, because there are no more
9975 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9976 declaration, because there are no more internal calls.
9978 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9979 __vsnprintf_internal, instead of _IO_vsnprintf.
9980 * argp/argp-help.c (__argp_error, __argp_failure): Use
9981 __vasprintf_internal, instead of _IO_vasprintf.
9982 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9983 redefine, because there are no more internal calls.
9985 2018-12-05 Zack Weinberg <zackw@panix.com>
9986 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9988 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9989 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9990 Include libio/strfile.h instead of libioP.h.
9991 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9992 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9993 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9994 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9995 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9996 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9997 necessary. Do not set __no_long_double. Normalize variable names.
9998 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9999 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10000 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10001 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10002 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10003 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10004 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10005 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10006 Do not set __no_long_double. Normalize variable names.
10008 2018-12-05 Zack Weinberg <zackw@panix.com>
10009 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10011 * stdio-common/isoc99_scanf.c
10012 * stdio-common/isoc99_fscanf.c
10013 * stdio-common/isoc99_sscanf.c
10014 * stdio-common/isoc99_vscanf.c
10015 * stdio-common/isoc99_vfscanf.c
10016 * stdio-common/isoc99_vsscanf.c
10017 * wcsmbs/isoc99_wscanf.c
10018 * wcsmbs/isoc99_fwscanf.c
10019 * wcsmbs/isoc99_swscanf.c
10020 * wcsmbs/isoc99_vwscanf.c
10021 * wcsmbs/isoc99_vfwscanf.c
10022 * wcsmbs/isoc99_vswscanf.c:
10023 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10024 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10025 No need to lock and unlock the FILE passed to that function.
10027 * stdio-common/vfscanf-internal.c
10028 (__vfscanf_internal, __vfwscanf_internal):
10029 Don't look at _IO_FLAGS2_SCANF_STD.
10030 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10031 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10032 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10034 2018-12-05 Zack Weinberg <zackw@panix.com>
10035 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10037 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10038 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10039 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10040 * libio/strfile.h: Add multiple inclusion guard.
10041 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10043 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10044 consistency with the other version of this file.
10045 (ldbl_compat_symbol): New macro.
10046 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10049 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10050 Define __vfscanf_internal or __vfwscanf_internal, depending on
10051 COMPILE_WSCANF; don't define any other public symbols.
10052 Remove errval and code to set errp.
10053 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10054 as the mode_flags argument.
10055 (encode_error, conv_error, input_error): Don't set errval.
10056 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10057 Include vfscanf-internal.c.
10058 * stdio-common/vfscanf.c: New file defining the public entry
10059 point vfscanf, which calls __vfscanf_internal.
10060 * stdio-common/vfwscanf.c: New file defining the public entry
10061 point vfwscanf, which calls __vfwscanf_internal.
10063 * stdio-common/iovfscanf.c: New file.
10064 * stdio-common/iovfwscanf.c: Likewise.
10066 * stdio-common/Makefile (routines): Add vfscanf-internal,
10067 vfwscanf-internal, iovfscanf, iovfwscanf.
10068 * stdio-common/Versions: Mention GLIBC_2.29, so that
10069 it can be used in SHLIB_COMPAT expressions.
10070 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10071 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10072 Call __vfscanf_internal, instead of _IO_vfscanf.
10073 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10075 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10078 * libio/iovsscanf.c: Clean up includes, when possible. Use
10079 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10080 __vfscanf_internal or __vfwscanf_internal directly.
10081 * libio/iovswscanf.c: Likewise.
10082 * libio/swscanf.c: Likewise.
10083 * libio/vscanf.c: Likewise.
10084 * libio/vwscanf.c: Likewise.
10085 * libio/wscanf.c: Likewise.
10086 * stdio-common/isoc99_fscanf.c: Likewise.
10087 * stdio-common/isoc99_scanf.c: Likewise.
10088 * stdio-common/isoc99_sscanf.c: Likewise.
10089 * stdio-common/isoc99_vfscanf.c: Likewise.
10090 * stdio-common/isoc99_vscanf.c: Likewise.
10091 * stdio-common/isoc99_vsscanf.c: Likewise.
10092 * stdio-common/scanf.c: Likewise.
10093 * stdio-common/sscanf.c: Likewise.
10094 * wcsmbs/isoc99_fwscanf.c: Likewise.
10095 * wcsmbs/isoc99_swscanf.c: Likewise.
10096 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10097 * wcsmbs/isoc99_vswscanf.c: Likewise.
10098 * wcsmbs/isoc99_vwscanf.c: Likewise.
10099 * wcsmbs/isoc99_wscanf.c: Likewise.
10101 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10104 (__tz_compute): Replace time_t with __time64_t.
10105 (__tz_convert): Replace time_t* with __time64_t.
10106 (__offtime): Replace time_t* with __time64_t.
10108 (__gmtime_r): Adjust call to __tz_convert.
10109 (gmtime): Likewise.
10111 (__localtime_r): Likewise.
10112 (localtime): Likewise.
10113 * time/offtime.c: Replace time_t with __time64_t.
10114 * time/tzset.c: Likewise.
10116 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10118 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10119 dynamic linker unless [$(run-built-tests) = yes].
10121 2018-12-03 DJ Delorie <dj@delorie.com>
10123 * support/test-container.c (check_for_unshare_hints): New.
10124 (main): Call it if unshare fails. Add support for "su" scriptlet
10127 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10129 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10130 'START' to indicate that start text should be output.
10131 (gen_test): Likewise.
10132 (main): Generate 'START' for first symbol or '--' line, or at end
10133 of input if not previously generated.
10135 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10138 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10139 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10140 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10141 ALWAYS_USE_VSYSCALL.
10143 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10146 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10149 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10152 * locale/programs/localedef.c: Declare boolean hard_links default true.
10153 (options): Add --no-hard-links option.
10154 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10155 * locale/programs/localedef.h: Declare prototype for hard_links.
10156 * locale/programs/locfile.c (write_locale_data): Don't use hard
10157 links if hard_links is false.
10159 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10161 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10162 cpu_features_basic.
10163 (__cache_sysconf): Likewise.
10164 (init_cacheinfo): Likewise.
10165 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10166 populate COMMON_CPUID_INDEX_80000007 and
10167 COMMON_CPUID_INDEX_80000008.
10168 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10169 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10170 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10171 (init_cpu_features): Use _Static_assert on
10172 index_arch_Fast_Unaligned_Load.
10173 __get_cpuid_registers and __get_arch_feature. Updated for
10174 cpu_features_basic. Set stepping in cpu_features.
10175 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10176 (FEATURE_INDEX_2): New.
10177 (FEATURE_INDEX_MAX): Changed to enum.
10178 (COMMON_CPUID_INDEX_D_ECX_1): New.
10179 (COMMON_CPUID_INDEX_80000007): Likewise.
10180 (COMMON_CPUID_INDEX_80000008): Likewise.
10181 (cpuid_registers): Likewise.
10182 (cpu_features_basic): Likewise.
10183 (CPU_FEATURE_USABLE): Likewise.
10184 (bit_arch_XXX_Usable): Likewise.
10185 (cpu_features): Use cpuid_registers and cpu_features_basic.
10186 (bit_arch_XXX): Reweritten.
10187 (bit_cpu_XXX): Likewise.
10188 (index_cpu_XXX): Likewise.
10189 (reg_XXX): Likewise.
10190 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10192 (CHECK_CPU_FEATURE): New.
10193 (CHECK_CPU_FEATURE_USABLE): Likewise.
10194 (cpu_kinds): Likewise.
10195 (do_test): Print vendor, family, model and stepping. Check
10196 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10197 (TEST_FUNCTION): Removed.
10198 Include <support/test-driver.c> instead of
10199 "../../test-skeleton.c".
10200 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10201 Check POPCNT instead of POPCOUNT.
10202 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10204 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10206 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10207 there is no element in `consts'.
10209 2018-12-01 Florian Weimer <fweimer@redhat.com>
10211 * support/support_capture_subprocess.c
10212 (support_capture_subprocess): Check that pipe descriptors have
10213 expected values. Close original pipe descriptors in subprocess.
10215 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10218 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10219 attr with __pthread_default_barrierattr.
10220 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10221 attr with __pthread_default_condattr.
10222 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10223 attr with __pthread_default_mutexattr.
10224 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10225 attr with __pthread_default_rwlockattr.
10227 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10229 * manual/tunables.texi (POSIX Thread Tunables): New node.
10230 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10231 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10232 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10233 __pthread_tunables_init.
10234 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10235 (max_adaptive_count): Define.
10236 * nptl/pthread_mutex_conf.c: New file.
10237 * nptl/pthread_mutex_conf.h: New file.
10238 * sysdeps/generic/adaptive_spin_count.h: New file.
10239 * sysdeps/nptl/dl-tunables.list: New file.
10240 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10241 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10242 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10245 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10248 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10249 * stdlib/on_exit.c (__on_exit): Likewise.
10250 * stdlib/Makefile (tests): Add tst-bz20544.
10251 * stdlib/tst-bz20544.c: New test.
10253 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10256 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10257 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10260 2018-11-30 Florian Weimer <fweimer@redhat.com>
10262 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10263 Extend error logging.
10264 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10267 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10269 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10270 __sigismember instead of sigismember.
10271 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10272 cancel_handler): New definitions.
10273 (do_system): Use posix_spawn instead of fork and execl and remove
10275 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10276 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10277 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10278 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10279 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10280 * sysdeps/unix/sysv/linux/system.c: Likewise.
10284 * NEWS: Add new semantic for atfork with popen and system.
10285 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10288 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10291 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10292 modification order when accessing reloc_result->addr.
10293 * include/link.h (reloc_result): Add field init.
10294 * nptl/Makefile (tests): Add tst-audit-threads.
10295 (modules-names): Add tst-audit-threads-mod1 and
10296 tst-audit-threads-mod2.
10297 Add rules to build tst-audit-threads.
10298 * nptl/tst-audit-threads-mod1.c: New file.
10299 * nptl/tst-audit-threads-mod2.c: Likewise.
10300 * nptl/tst-audit-threads.c: Likewise.
10301 * nptl/tst-audit-threads.h: Likewise.
10303 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10305 * scripts/gen-as-const.py: New file.
10306 * scripts/gen-as-const.awk: Remove.
10307 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10309 ($(objpfx)test-as-const-%.c): Likewise.
10311 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10313 * elf/dl-exception.c: Include <_itoa.h>.
10315 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10317 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10318 returned by __f_setlk.
10320 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10321 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10323 * elf/Makefile (tests-internal): Add tst-create_format1.
10324 * elf/dl-exception.c (_dl_exception_create_format): Support
10326 * elf/tst-create_format1.c: New file.
10328 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10330 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10331 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10333 * argp/argp-help.c (__argp_failure): Likewise.
10335 2018-11-29 Mao Han <han_mao@c-sky.com>
10337 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10338 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10339 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10340 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10341 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10342 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10343 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10344 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10345 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10346 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10347 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10348 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10349 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10350 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10351 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10352 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10353 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10354 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10355 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10356 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10357 (R_CKCORE_TLS_TPOFF32): New defines.
10359 2018-11-29 Florian Weimer <fweimer@redhat.com>
10361 * posix/Makefile (before-compile): Remove testcases.h and
10363 (generated): Add testcases.h and ptestcases.h.
10364 (testcases.h, ptestcases.h): Move to $(objpfx).
10365 (runtests.o): Add dependency on testcases.h.
10366 (runptests.o): Add dependency on ptestcases.h.
10367 * posix/testcases.h, posix/ptestcases.h: Remove files.
10368 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10369 not touch posix/testcases.h and posix/ptestcases.h.
10371 2018-11-28 Florian Weimer <fweimer@redhat.com>
10373 support: Add signal support to support_capture_subprocess_check.
10374 * support/capture_subprocess.h (support_capture_subprocess_check):
10375 Adjust comment and rename parameter.
10376 * support/support_capture_subprocess_check.c
10377 (print_actual_status): New function.
10378 (support_capture_subprocess_check): Support negative
10379 status_or_signal. Call print_actual_status.
10380 * support/tst-support_capture_subprocess.c (do_test): Call
10381 support_capture_subprocess_check.
10382 * libio/tst-vtables-common.c (termination_status)
10383 (init_termination_status): Remove.
10384 (check_for_termination): Adjust support_capture_subprocess_check
10386 (do_test): Remove call to init_termination_status.
10388 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10390 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10391 source directory instead of a copy.
10392 (CommandList.create_copy_dir): Remove.
10394 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10396 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10398 2018-11-28 Florian Weimer <fweimer@redhat.com>
10400 * support/support.h (support_quote_string): Do not use str
10403 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10405 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10406 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10408 2018-11-27 Florian Weimer <fweimer@redhat.com>
10410 * support/support.h (support_quote_string): Declare.
10411 * support/support_quote_string.c: New file.
10412 * support/tst-support_quote_string.c: Likewise.
10413 * support/Makefile (libsupport-routines): Add
10414 support_quote_string.
10415 (tests): Add tst-support_quote_string.
10417 2018-11-27 Florian Weimer <fweimer@redhat.com>
10421 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10422 descriptor leak in case of ENODEV error.
10424 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10427 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10428 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10429 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10431 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10433 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10434 Error for unknown lines.
10436 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10438 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10439 Touch additional files.
10441 2018-11-26 Florian Weimer <fweimer@redhat.com>
10444 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10447 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10450 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10451 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10452 SHARED. Include sysdep.h.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10454 ALWAYS_USE_VSYSCALL.
10455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10456 ALWAYS_USE_VSYSCALL.
10458 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10461 * nptl/Makefile (tests-static): Add tst-cond11-static.
10463 * nptl/tst-cond11-static.c: New File.
10464 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10465 tst-affinity-static.
10467 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10469 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10470 (USE_VSYSCALL): Likewise.
10471 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10472 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10474 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10479 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10482 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10483 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10486 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10488 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10489 (tst-cet-legacy-1a-ARGS): New.
10490 ($(objpfx)tst-cet-legacy-1a): New target.
10491 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10493 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10495 * conform/conformtest.py (CompileSubTest.__init__): Set
10496 self.run_early to False.
10497 (ExecuteSubTest.__init__): Likewise.
10498 (HeaderTests.run): Try running all non-optional, non-XFAILed
10499 compilation tests in a single execution of the compiler.
10501 * conform/conformtest.py (CompileSubTest): New class.
10502 (ExecuteSubTest): Likewise.
10503 (ElementTest.run): Rename to gen_subtests. Append tests to
10504 self.subtests instead of running them.
10505 (ConstantTest.run): Likewise.
10506 (SymbolTest.run): Likewise.
10507 (TypeTest.run): Likewise.
10508 (TagTest.run): Likewise.
10509 (FunctionTest.run): Likewise.
10510 (VariableTest.run): Likewise.
10511 (MacroFunctionTest.run): Likewise.
10512 (MacroStrTest.run): Likewise.
10513 (HeaderTests.handle_test_line): Generate subtests for tests.
10514 (HeaderTests.run): Run subtests for tests.
10516 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10518 * math/Versions (GLIBC_2.29): Add pow.
10519 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10521 * math/w_pow.c: New file.
10522 * sysdeps/i386/fpu/w_pow.c: New file.
10523 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10524 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10525 and add necessary aliases.
10526 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10527 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10528 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10529 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10530 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10531 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10532 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10535 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10536 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10537 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10538 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10539 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10545 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10546 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10547 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10548 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10549 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10550 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10551 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10552 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10554 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10555 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10556 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10558 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10560 * math/Versions (GLIBC_2.29): Add log2.
10561 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10563 * math/w_log2.c: New file.
10564 * sysdeps/i386/fpu/w_log2.c: New file.
10565 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10566 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10567 and add necessary aliases.
10568 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10569 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10570 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10571 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10572 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10573 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10574 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10575 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10576 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10577 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10578 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10579 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10580 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10581 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10582 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10587 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10588 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10589 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10590 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10591 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10592 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10593 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10595 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10597 * math/Versions (GLIBC_2.29): Add log.
10598 * math/w_log_compat.c (__log_compat): Change to versioned compat
10600 * math/w_log.c: New file.
10601 * sysdeps/i386/fpu/w_log.c: New file.
10602 * sysdeps/ia64/fpu/e_log.S: Update.
10603 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10604 and add necessary aliases.
10605 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10606 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10607 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10608 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10609 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10610 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10611 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10612 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10613 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10614 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10615 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10616 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10617 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10618 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10619 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10624 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10625 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10626 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10627 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10628 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10629 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10630 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10631 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10633 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10634 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10635 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10636 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10638 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10640 * math/Versions (GLIBC_2.29): Add exp and exp2.
10641 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10642 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10643 * math/w_exp_compat.c (__exp_compat): Likewise.
10644 * math/w_exp.c: New file.
10645 * math/w_exp2.c: New file.
10646 * sysdeps/i386/fpu/w_exp.c: New file.
10647 * sysdeps/i386/fpu/w_exp2.c: New file.
10648 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10649 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10650 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10651 and add necessary aliases.
10652 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10653 and add necessary aliases.
10654 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10655 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10656 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10657 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10658 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10659 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10660 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10661 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10662 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10663 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10664 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10665 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10666 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10667 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10668 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10669 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10670 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10675 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10676 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10677 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10678 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10679 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10680 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10681 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10682 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10683 (__ieee754_exp): Rename to __exp.
10684 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10685 (__ieee754_exp): Rename to __exp.
10686 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10687 (__ieee754_exp): Rename to __exp.
10688 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10690 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10692 2018-11-20 DJ Delorie <dj@redhat.com>
10694 * malloc/malloc.c (tcache_entry): Add key field.
10695 (tcache_put): Set it.
10696 (tcache_get): Likewise.
10697 (_int_free): Check for double free in tcache.
10698 * malloc/tst-tcfree1.c: New.
10699 * malloc/tst-tcfree2.c: New.
10700 * malloc/Makefile: Run the new tests.
10701 * manual/probes.texi: Document memory_tcache_double_free probe.
10703 * dlfcn/dlerror.c (check_free): Prevent double frees.
10705 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10707 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10709 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10711 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10712 in tests. Use names for format arguments.
10713 (ConstantTest.run): Likewise.
10714 (SymbolTest.run): Likewise.
10715 (TypeTest.run): Likewise.
10716 (TagTest.run): Likewise.
10717 (FunctionTest.run): Likewise.
10718 (VariableTest.run): Likewise.
10719 (MacroFunctionTest.run): Likewise.
10720 (MacroStrTest.run): Likewise.
10721 (HeaderTests.__init__): Set self.num_tests.
10722 (HeaderTests.handle_test_line): Set test.num. Increment
10725 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10727 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10728 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10731 2018-11-19 Mao Han <han_mao@c-sky.com>
10733 * scripts/config.guess: Update to version 2018-08-29.
10734 * scripts/config.sub: Update to version 2018-08-29.
10736 2018-11-19 Florian Weimer <fweimer@redhat.com>
10738 support: Print timestamps in timeout handler.
10739 * support/support_test_main.c (print_timestamp): New function.
10740 (signal_handler): Use it to print the termination time and the
10741 time of the last write to standard output.
10743 2018-11-16 Zack Weinberg <zackw@panix.com>
10744 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10746 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10747 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10749 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10750 and add flags argument. Check flags instead of __ldbl_is_dbl when
10751 deciding whether to set is_long_double.
10752 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10753 passing zero for flags argument.
10754 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10756 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10757 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10758 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10759 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10760 variable names. Remove libc_hidden_def/libc_hidden_proto from
10761 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10762 longer called from within the library.
10763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10764 for __nldbl___vstrfmon_l, declare it explicitly.
10766 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10768 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10770 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10772 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10773 F_SETLK64, F_SETLKW64, respectively.
10774 * sysdeps/mach/hurd/f_setlk.c: New file.
10775 * sysdeps/mach/hurd/f_setlk.h: New file.
10776 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10778 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10779 (__libc_fcntl): Move non-flock operations to...
10780 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10781 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10783 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10785 mktime: DEBUG_MKTIME cleanup
10786 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10787 And it’s no longer needed now that glibc and Gnulib both have
10788 their own testing mechanisms for mktime.
10789 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10791 mktime: fix non-EOVERFLOW errno handling
10793 mktime was not properly reporting failures when the underlying
10794 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10795 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10796 The problem could happen on non-glibc platforms, with Gnulib.
10797 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10798 (tm_diff): ... this simpler function, which does not change errno.
10799 All callers changed to deal with errno themselves.
10800 (ranged_convert, __mktime_internal): Return failure immediately if
10801 the underlying function reports any failure other than EOVERFLOW.
10802 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10805 mktime: fix bug with Y2038 DST transition
10807 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10808 mishandle a DST transition that jumps over the Y2038 boundary.
10809 No such DST transitions are known so this is only a theoretical
10810 bug, but we might as well do things right.
10812 mktime: make more room for overflow
10814 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10815 This is so that we can add tm_diff results to a previous guess,
10816 which will be useful in a later patch.
10818 mktime: simplify offset guess
10820 * time/mktime.c (__mktime_internal): Omit excess precision.
10822 mktime: new test for mktime failure
10824 Based on a test suggested by Albert Aribaud in:
10825 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10826 * time/Makefile (tests): Add bug-mktime4.
10827 * time/bug-mktime4.c: New file.
10829 mktime: fix EOVERFLOW bug
10831 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10832 Include libc-config.h, not config.h, for __set_errno.
10833 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10835 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10837 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10838 __attribute_copy__ to copy attributes from name. Drop static qualifier
10839 to avoid warnings about leaf attribute not having effect on static
10842 2018-11-13 Florian Weimer <fweimer@redhat.com>
10844 * malloc/malloc.c (fastbin_push_entry): New function.
10845 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10846 (REMOVE_FB): Remove macro.
10847 (_int_malloc): Use fastbin_pop_entry and reindent.
10848 (_int_free): Use fastbin_push_entry.
10849 (malloc_consolidate): Use atomic_exchange_acquire.
10851 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10853 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10854 alias attribute, not with strong_alias.
10856 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10857 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10858 with additional parameter thread.
10859 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10860 in terms of __hidden_ver2.
10861 (hidden_tls_def): New macro.
10862 (libc_hidden_tls_def): Likewise.
10863 (rtld_hidden_tls_def): Likewise.
10864 (libm_hidden_tls_def): Likewise.
10865 (libmvec_hidden_tls_def): Likewise.
10866 (libresolv_hidden_tls_def): Likewise.
10867 (librt_hidden_tls_def): Likewise.
10868 (libdl_hidden_tls_def): Likewise.
10869 (libnss_files_hidden_tls_def): Likewise.
10870 (libnsl_hidden_tls_def): Likewise.
10871 (libnss_nisplus_hidden_tls_def): Likewise.
10872 (libutil_hidden_tls_def): Likewise.
10873 (libutil_hidden_tls_def): Likweise.
10874 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10875 libc_hidden_tls_def.
10876 (__sim_disabled_exceptions_thread): Likewise.
10877 (__sim_round_mode_thread): Likewise.
10879 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10880 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10881 copy attributes from name.
10883 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10885 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10886 Use __attribute_copy__ to copy attributes from name.
10888 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10889 with __hidden_ver1 call.
10890 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10891 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10892 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10893 (__cosf): Do not declare here.
10894 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10895 (__sincosf): Do not declare here.
10896 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10897 (__sinf): Do not declare here.
10899 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10900 (__BIG_ENDIAN): Likewise.
10901 (__BYTE_ORDER): Likewise.
10902 (strong_alias): Likewise.
10903 (_strong_alias): Likewise.
10905 2018-11-12 Florian Weimer <fweimer@redhat.com>
10907 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10908 function. Move after the definition of in_smallbin_range. Do not
10909 use __builtin_expect for paths that lead to a noreturn function.
10910 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10911 because it is unclear whether this is in fact an unlikely
10913 (_int_malloc, _int_free): Adjust.
10914 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10916 * malloc/arena.c (heap_trim): Likewise.
10918 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10920 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10921 it, free it if needed.
10922 (reauthenticate): Test and use ccwdir.
10923 (child_init_port): In non-resetids case, test and use ccwdir.
10924 (child_chdir): New nested function to set ccwdir.
10925 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10926 * hurd/hurd/port.h (_hurd_port_move): New function.
10927 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10928 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10929 * hurd/Versions (_hurd_port_move): Export function.
10930 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10932 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10933 of dtablesize for allocating dtable_cloexec.
10935 2018-11-09 Martin Sebor <msebor@redhat.com>
10937 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10938 it's already defined.
10939 (_strong_alias): Use __attribute_copy__.
10940 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10941 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10942 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10943 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10944 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10945 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10946 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10947 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10948 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10949 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10950 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10951 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10952 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10953 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10954 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10955 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10956 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10957 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10958 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10960 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10962 * misc/tst-efgcvt.c: Include support/check.h and
10963 support/test-driver.c. Do not include test-skeleton.c.
10964 (error_count): Remove.
10965 (output_error): Replace increments to error_count with calls to
10966 support_record_failure.
10967 (output_r_error): Likewise.
10968 (special): Likewise.
10969 (do_test): Unconditionally return zero.
10970 (TEST_FUNCTION): Remove.
10972 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10974 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10976 ($(linknamespace-header-tests)): Likewise.
10978 * conform/conformtest.py: New file.
10979 * conform/conformtest.pl: Remove.
10980 * conform/GlibcConform.pm: Likewise.
10981 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10982 (KEYWORDS_C99): Likewise.
10983 (KEYWORDS): Likewise.
10984 * conform/Makefile ($(conformtest-header-tests)): Use
10985 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10986 option. Use --header instead of --headers.
10987 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10989 * conform/data/spawn.h-data: Likewise.
10990 * conform/data/fcntl.h-data (openat): Add space after function
10992 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10993 (wcscasecmp_l): Likewise.
10994 * conform/data/termios.h-data (c_cc): Add space after element
10997 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10999 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11000 instead of manually comparing and reporting mismatching strings.
11001 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11002 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11004 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11006 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11007 __ASSUME_SOCKETCALL.
11008 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11009 (__ASSUME_SOCKETCALL): Remove.
11010 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11011 (__ASSUME_SOCKETCALL): Likewise.
11012 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11013 (__ASSUME_SOCKETCALL): Likewise.
11014 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11015 (__ASSUME_SOCKETCALL): Likewise.
11016 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11017 (__ASSUME_SOCKETCALL): Likewise.
11018 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11019 (__ASSUME_SOCKETCALL): Likewise.
11020 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11021 (__ASSUME_SOCKETCALL): Likewise.
11023 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11026 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11027 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11028 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11029 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11030 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11033 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11036 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11038 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11041 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11042 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11043 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11044 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11046 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11048 * support/support_test_compare_string.c
11049 (support_test_compare_string): Fix printf format.
11051 2018-11-07 Florian Weimer <fweimer@redhat.com>
11053 Implement TEST_COMPARE_STRING.
11054 * support/check.h (TEST_COMPARE_STRING): Define.
11055 (support_test_compare_string): Declare.
11056 * support/Makefile (libsupport-routines): Add
11057 support_test_compare_string.
11058 (tests): Add tst-test_compare_string.
11059 * support/support_test_compare_string.c: New file.
11060 * support/tst-test_compare_string.c: Likewise.
11062 2018-11-07 Andreas Schwab <schwab@suse.de>
11065 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11066 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11069 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11072 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11073 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11074 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11075 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11078 2018-11-06 Florian Weimer <fweimer@redhat.com>
11081 * posix/Makefile (routines): Add spawn_faction_addchdir.
11082 (tests): Add tst-spawn-chdir.
11083 * posix/Versions (GLIBC_2.29): Add
11084 posix_spawn_file_actions_addchdir_np.
11085 * posix/spawn_faction_addchdir.c: New file.
11086 * posix/spawn_faction_destroy.c
11087 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11088 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11089 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11091 * posix/tst-spawn-chdir.c: New file.
11092 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11093 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11094 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11095 posix_spawn_file_actions_addchdir_np.
11096 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11098 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11100 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11101 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11103 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11105 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11107 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11109 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11111 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11113 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11114 (GLIBC_2.29): Likewise.
11115 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11116 (GLIBC_2.29): Likewise.
11117 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11118 (GLIBC_2.29): Likewise.
11119 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11120 (GLIBC_2.29): Likewise.
11121 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11124 (GLIBC_2.29): Likewise.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11126 (GLIBC_2.29): Likewise.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11128 (GLIBC_2.29): Likewise.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11130 (GLIBC_2.29): Likewise.
11131 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11133 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11135 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11137 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11138 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11140 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11142 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11144 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11147 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11149 * misc/Makefile (tests): Add tst-ldbl-error.
11150 * misc/tst-ldbl-error.c: New file.
11152 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11154 * misc/Makefile (tests): Add tst-ldbl-warn.
11155 * misc/tst-ldbl-warn.c: New file.
11157 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11159 * argp/Makefile (tests): Add tst-ldbl-argp.
11160 * argp/tst-ldbl-argp.c: New file.
11162 2018-11-05 Arjun Shankar <arjun@redhat.com>
11164 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11165 __gconv_path_elem and call __gconv_get_path unconditionally.
11167 2018-11-05 Andreas Schwab <schwab@suse.de>
11170 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11171 creating the first helper thread failed.
11173 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11175 * sysdeps/mach/hurd/msync.c: New file.
11177 2018-11-02 Florian Weimer <fweimer@redhat.com>
11179 * support/shell-container.c (copy_func): Call
11180 support_copy_file_range instead of copy_file_range to support
11181 cross-device copies.
11183 2018-11-02 Florian Weimer <fweimer@redhat.com>
11185 * support/test-container.c: Include <libc-pointer-arith.h> for
11188 2018-11-01 Zong Li <zong@andestech.com>
11190 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11191 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11192 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11193 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11195 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11196 variable to avoid overlap arguments.
11198 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11200 * posix/bug-regex22.c (main): Use puts with distinct error
11201 messages for unexpected success of re_compile_pattern, not printf
11202 with NULL argument to %s.
11204 * stdio-common/bug22.c: Include <libc-diag.h>.
11205 (do_test): Disable -Wformat-overflow= warnings around fprintf
11206 calls outputting more than INT_MAX characters.
11207 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11208 around printf call with NULL %s argument.
11211 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11212 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11214 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11215 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11216 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11217 (__ASSUME_SENDTO_SYSCALL): Likewise.
11218 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11219 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11221 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11222 (__ASSUME_CONNECT_SYSCALL): Likewise.
11223 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11224 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11225 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11227 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11229 [__LINUX_KERNEL_VERSION >= 0x040400]
11230 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11231 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11233 (listen): Likewise.
11234 (setsockopt): Likewise.
11236 2018-11-01 Fredrik Noring <noring@nocrew.org>
11238 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11239 with the ISA override.
11241 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11243 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11246 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11248 * manual/errno.texi (EIEIO): Document how translators should
11249 translate the error message.
11250 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11251 printing trailing whitespaces refused by git.
11252 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11253 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11254 * hurd/Makefile (user-interfaces): Add pci.
11256 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11258 * conform/linknamespace.py: New file.
11259 * conform/linknamespace.pl: Remove file.
11260 * conform/Makefile ($(linknamespace-header-tests)): Use
11261 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11264 2018-10-30 Florian Weimer <fweimer@redhat.com>
11266 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11269 2018-10-30 Florian Weimer <fweimer@redhat.com>
11271 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11273 2018-10-30 Florian Weimer <fweimer@redhat.com>
11275 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11276 support_blob_repeat.
11278 2018-10-30 Florian Weimer <fweimer@redhat.com>
11280 Avoid spurious test failures in stdlib/test-bz22786.
11281 * support/Makefile (libsupport-routines): Add blob_repeat.
11282 (tests): Add tst-support_blob_repeat.
11283 * support/blob_repeat.h: New file.
11284 * support/blob_repeat.c: Likewise.
11285 * support/tst-support_blob_repeat.c: Likewise.
11286 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11287 support_blob_repeat_allocate.
11289 2018-10-30 Andreas Schwab <schwab@suse.de>
11292 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11293 Don't use tail call.
11294 * elf/tst-unwind-main.c: New file.
11295 * elf/Makefile (tests): Add tst-unwind-main.
11296 (CFLAGS-tst-unwind-main.c): Define.
11298 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11301 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11302 n_cs_precedes to 0.
11303 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11305 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11307 * conform/glibcconform.py: Do not import shutil.
11308 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11311 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11312 critic_missing for versions before 3.4.
11313 * configure: Regenerated.
11314 * manual/install.texi (Tools for Compilation): Document
11315 requirement for Python to build glibc.
11316 * INSTALL: Regenerated.
11317 * Rules [PYTHON]: Make code unconditional.
11318 * benchtests/Makefile [PYTHON]: Likewise.
11319 * conform/Makefile [PYTHON]: Likewise.
11320 * manual/Makefile [PYTHON]: Likewise.
11321 * math/Makefile [PYTHON]: Likewise.
11323 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11325 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11326 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11327 answer to interrupt_operation, return EIEIO instead of EINTR.
11328 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11329 _hurd_intr_rpc_msg_about_to global point to start of controlled
11330 assembly snippet. Make it check canceled flag.
11331 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11332 the _hurd_intr_rpc_msg_about_to point.
11333 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11334 issue, remove cancel flag check.
11336 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11338 * scripts/build-many-glibcs.py: Remove compatibility for missing
11339 os.cpu_count and re.fullmatch.
11341 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11344 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11345 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11346 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11348 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11350 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11353 2018-10-25 Florian Weimer <fweimer@redhat.com>
11357 XFAIL siginfo_t si_band conform test on sparc64.
11358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11359 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11360 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11361 (conformtest-xfail-conds): Add sparc64-linux.
11362 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11364 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11366 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11368 * elf/elf.h (NT_MIPS_DSP): New macro.
11369 (NT_MIPS_FP_MODE): Likewise.
11371 2018-10-25 Zong Li <zong@andestech.com>
11373 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11374 name by adding the file extension (.so).
11376 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11378 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11379 (test-xfail-ISO11/threads.h/linknamespace,
11380 test-xfail-ISO11/threads.h/conform): Add.
11382 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11384 * math/gen-libm-test.py: Import os.
11385 (ALL_FLOATS_MANUAL): New constant.
11386 (ALL_FLOATS_SUFFIX): Likewise.
11387 (Ulps.all_functions): New function.
11388 (real_all_ulps): Likewise.
11389 (generate_err_table_sub): Likewise.
11390 (generate_err_table): Likewise.
11391 (main): Handle -s and -m options.
11392 * manual/libm-err-tab.pl: Remove.
11393 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11394 instead of libm-err-tab.pl.
11395 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11397 * manual/install.texi (Tools for Compilation): Document
11398 requirement for Python to build manual.
11399 * INSTALL: Regenerated.
11401 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11403 * bits/time64.h: New file.
11404 * include/time.h: Replace internal_time_t with __time64_t.
11405 * posix/bits/types (__time64_t): Add.
11406 * stdlib/Makefile: Add bits/time64.h to includes.
11407 * time/tzfile.c: Replace internal_time_t with __time64_t.
11409 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11411 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11412 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11413 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11414 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11415 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11417 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11418 * posix/spawn_faction_addclose.c
11419 (__posix_spawn_file_actions_addclose): Add hidden definition.
11420 * posix/spawn_faction_adddup2.c
11421 (__posix_spawn_file_actions_adddup2): Likewise.
11422 * posix/spawn_faction_destroy.c
11423 (__posix_spawn_file_actions_destroy): Likewise.
11424 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11426 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11427 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11428 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11430 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11431 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11434 2018-10-24 Andreas Schwab <schwab@suse.de>
11437 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11439 * elf/cache.c (print_cache): Likewise.
11441 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11443 * bits/timesize.h: New file.
11444 * stdlib/Makefile (headers): Add bits/timesize.h.
11445 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11446 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11447 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11448 (__SEM_PAD_AFTER_TIME): Likewise.
11449 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11450 (__SHM_PAD_AFTER_TIME): Likewise.
11451 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11452 (__MSQ_PAD_BEFORE_TIME): Likewise.
11453 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11454 (__SEM_PAD_BEFORE_TIME): Likewise.
11455 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11456 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11457 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11458 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11459 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11460 (__MSQ_PAD_BEFORE_TIME): Likewise.
11461 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11462 (__SEM_PAD_BEFORE_TIME): Likewise.
11463 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11464 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11465 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11466 (__MSQ_PAD_BEFORE_TIME): Likewise.
11467 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11468 (__SEM_PAD_BEFORE_TIME): Likewise.
11469 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11470 (__SHM_PAD_BEFORE_TIME): Likewise.
11471 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11472 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11473 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11475 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11477 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11478 USE_RDTSCP is defined.
11479 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11480 USE_RDTSCP is defined.
11482 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11484 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11488 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11489 independently of other flags.
11491 2018-10-23 Florian Weimer <fweimer@redhat.com>
11493 * time/tst-mktime2.c (N_STRINGS): Remove.
11494 (set_timezone): New function.
11495 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11496 (mktime_test1): Report localtime failure and check errno value.
11498 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11499 (do_test): Remove alarm call. Use set_timezone and array_length.
11501 2018-10-23 Andreas Schwab <schwab@suse.de>
11503 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11504 (__start_context): Use END instead of PSEUDO_END.
11506 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11508 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11511 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11515 * wcsmbs/c32rtomb.c: New file.
11516 * wcsmbs/mbrtoc32.c: Likewise.
11517 * wcsmbs/tst-c32-state.c: Likewise.
11518 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11519 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11520 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11521 (tests): Add tst-c32-state.
11522 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11525 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11527 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11528 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11530 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11533 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11534 pair and return 0 in that case, and use saved character to
11535 interpret following character.
11536 * wcsmbs/tst-c16-surrogate.c: New file.
11537 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11538 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11539 Depend on $(gen-locales)
11541 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11544 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11545 (struct siginfo_t): Use correct type for si_band.
11547 2018-10-19 Florian Weimer <fweimer@redhat.com>
11550 * resource/bits/types/struct_rusage.h (struct rusage): Update
11551 comment on struct. Remove extraneous field comment.
11553 2018-10-18 David S. Miller <davem@davemloft.net>
11555 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11556 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11557 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11558 sysdep_routines in subdir elf.
11559 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11560 version for __vdso_clock_gettime.
11561 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11563 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11564 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11566 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11568 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11570 * sysdeps/i386/init-arch.h: Removed.
11571 * sysdeps/i386/i586/init-arch.h: Likewise.
11572 * sysdeps/i386/i686/init-arch.h: Likewise.
11573 * sysdeps/i386/i686/hp-timing.h: Likewise.
11574 * sysdeps/x86_64/hp-timing.h: Likewise.
11575 * sysdeps/i386/isa.h: New file.
11576 * sysdeps/i386/i586/isa.h: Likewise.
11577 * sysdeps/i386/i686/isa.h: Likewise.
11578 * sysdeps/x86_64/isa.h: Likewise.
11579 * sysdeps/x86/hp-timing.h: New file.
11580 * sysdeps/x86/init-arch.h: Include <isa.h>.
11582 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11584 * math/libm-test-pow.inc (pow_test_data): Do not allow
11585 divide-by-zero exception for pow(+/- 0, -Inf).
11587 2018-10-17 Zack Weinberg <zackw@panix.com>
11589 * manual/job.texi (Job Control is Optional): Remove node, as
11590 job control has not been optional in quite some time.
11591 (Job Control): Mention briefly that systems older than
11592 POSIX.1-2001 might not support job control.
11593 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11594 defined on systems conforming to POSIX.1-2001.
11596 2018-10-17 Arjun Shankar <arjun@redhat.com>
11599 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11601 * (__gconv_read_conf): Mark function static.
11602 * (once): New static variable.
11603 * (__gconv_load_conf): New function.
11604 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11605 * iconv/gconv_db.c (once): Remove static variable.
11606 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11608 * (__gconv_find_transform): Likewise.
11609 * iconv/tst-iconv-mt.c: New test.
11610 * iconv/Makefile: Add tst-iconv_mt.
11612 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11616 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11617 (shmatt_t): Define as __syscall_ulong_t.
11618 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11619 and [__SHM_PAD_AFTER_TIME].
11620 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11621 Define shm_segsz and associated padding based on
11622 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11623 Use __syscall_ulong_t instead of unsigned long int.
11624 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11626 [__USE_MISC] (struct shm_info): Likewise.
11627 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11628 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11629 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11630 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11631 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11632 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11633 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11634 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11635 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11636 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11637 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11641 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11642 (SHMLBA): Remove macro.
11643 (__getpagesize): Remove function declaration.
11644 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11646 (SHMLBA): Remove macro.
11647 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11649 (SHMLBA): Remove macro.
11650 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11652 (SHMLBA): Remove macro.
11653 (__getpagesize): Remove function declaration.
11654 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11656 (SHMLBA): Remove macro.
11657 (__getshmlba): Remove function declaration.
11658 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11659 (SHMLBA): Remove macro.
11660 (__getpagesize): Remove function declaration.
11661 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11662 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11663 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11664 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11665 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11666 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11667 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11668 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11669 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11670 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11672 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11675 * nptl/tst-mutex10.c: New File.
11676 * nptl/Makefile (tests): Add tst-mutex10.
11677 (tst-mutex10-ENV): New variable.
11678 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11679 Ensure that elision path is used if elision is available.
11680 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11682 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11684 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11685 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11686 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11687 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11689 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11690 (__pthread_mutex_cond_lock_adjust): Likewise.
11691 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11693 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11694 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11695 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11696 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11698 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11699 Use atomic_load_relaxed and atomic_store_relaxed.
11700 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11701 Use atomic_store_relaxed.
11703 2018-10-17 Andreas Schwab <schwab@suse.de>
11705 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11706 * crypt/badsalttest.c (TIMEOUT): Likewise.
11707 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11708 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11709 * io/test-lfs.c (TIMEOUT): Likewise.
11710 * libio/tst-atime.c (TIMEOUT): Likewise.
11711 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11712 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11713 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11714 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11715 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11716 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11717 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11718 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11719 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11720 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11721 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11722 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11723 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11724 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11725 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11726 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11727 * nptl/tst-once2.c (TIMEOUT): Likewise.
11728 * nptl/tst-once3.c (TIMEOUT): Likewise.
11729 * nptl/tst-once4.c (TIMEOUT): Likewise.
11730 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11731 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11732 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11733 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11734 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11735 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11736 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11737 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11738 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11739 * posix/tst-chmod.c (TIMEOUT): Likewise.
11740 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11741 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11742 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11743 * posix/tst-regex2.c (TIMEOUT): Likewise.
11744 * posix/tst-waitid.c (TIMEOUT): Likewise.
11745 * rt/tst-aio.c (TIMEOUT): Likewise.
11746 * rt/tst-aio10.c (TIMEOUT): Likewise.
11747 * rt/tst-aio4.c (TIMEOUT): Likewise.
11748 * rt/tst-aio5.c (TIMEOUT): Likewise.
11749 * rt/tst-aio6.c (TIMEOUT): Likewise.
11750 * rt/tst-aio64.c (TIMEOUT): Likewise.
11751 * rt/tst-aio7.c (TIMEOUT): Likewise.
11752 * rt/tst-aio9.c (TIMEOUT): Likewise.
11753 * rt/tst-clock.c (TIMEOUT): Likewise.
11754 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11755 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11756 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11757 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11758 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11759 * rt/tst-timer4.c (TIMEOUT): Likewise.
11760 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11761 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11762 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11763 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11764 * time/tst-ftime.c (TIMEOUT): Likewise.
11765 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11767 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11769 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11770 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11773 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11777 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11778 instead of <bits/wordsize.h>.
11779 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11780 and [__SEM_PAD_AFTER_TIME].
11781 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11782 __syscall_ulong_t instead of unsigned long int.
11783 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11784 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11785 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11786 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11787 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11788 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11789 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11790 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11791 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11792 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11793 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11795 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11797 regex: simplify by using intprops.h
11799 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11800 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11801 intprops.h defines them.
11803 regex: __builtin_expect → __glibc_unlikely
11805 This refactoring was prompted by a problem when the regex code is
11806 used as part of Gnulib and when the builder’s compiler does not grok
11807 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11808 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11809 Although this refactoring does not fix the problem directly,
11810 we might as well have Gawk use the now-preferred glibc style for when
11811 __builtin_expect is unavailable.
11812 * posix/regex_internal.h (BE): Remove.
11813 All uses replaced by __glibc_unlikely or __glibc_likely.
11815 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11819 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11820 instead of <bits/wordsize.h>.
11821 (msgqnum_t): Define as __syscall_ulong_t.
11822 (msglen_t): Likewise.
11823 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11824 and [__MSQ_PAD_AFTER_TIME].
11825 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11826 __syscall_ulong_t instead of unsigned long int.
11827 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11828 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11829 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11830 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11831 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11832 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11833 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11834 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11835 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11836 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11837 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11839 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11841 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11842 (struct shmid_ds): Condition padding after time fields on
11843 [__WORDSIZE == 32].
11844 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11845 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11846 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11848 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11849 (struct semid_ds): Condition padding after time fields on
11850 [__WORDSIZE == 32].
11851 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11852 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11853 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11854 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11856 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11857 (struct msqid_ds): Condition padding after time fields on
11858 [__WORDSIZE == 32].
11859 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11860 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11861 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11862 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11864 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11866 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11868 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11870 * libio/tst-readline.c (TIMEOUT): Define.
11872 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11874 mktime fix for Gnulib + coreutils
11876 This fix affects only Gnulib. Problem discovered when
11877 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11879 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11880 Do not define since it is not used. Defining an unused static
11881 function prompts a warning from GCC when Coreutils is configured
11882 with --enable-gcc-warnings.
11884 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11886 * benchtests/scripts/compare_bench.py (main): set float type on
11887 threshold argument.
11889 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11892 * localedata/locales/kl_GL (mon): Update, the relative case.
11893 (alt_mon): Add, fill with month names in the nominative case.
11894 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11895 (d_fmt): Set to "%b %d %Y".
11897 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11899 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11900 <bits/mman-linux.h>.
11901 (PROT_READ): Don't define here.
11902 (PROT_WRITE): Likewise.
11903 (PROT_EXEC): Likewise.
11904 (PROT_NONE): Likewise.
11905 (PROT_GROWSDOWN): Likewise.
11906 (PROT_GROWSUP): Likewise.
11907 (MAP_SHARED): Likewise.
11908 (MAP_PRIVATE): Likewise.
11909 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11910 [__USE_MISC] (MAP_FILE): Likewise.
11911 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11912 [__USE_MISC] (MAP_ANON): Likewise.
11913 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11914 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11915 (MCL_CURRENT): Likewise.
11916 (MCL_FUTURE): Likewise.
11917 (MCL_ONFAULT): Likewise.
11918 [__USE_MISC] (MADV_NORMAL): Likewise.
11919 [__USE_MISC] (MADV_RANDOM): Likewise.
11920 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11921 [__USE_MISC] (MADV_WILLNEED): Likewise.
11922 [__USE_MISC] (MADV_DONTNEED): Likewise.
11923 [__USE_MISC] (MADV_FREE): Likewise.
11924 [__USE_MISC] (MADV_REMOVE): Likewise.
11925 [__USE_MISC] (MADV_DONTFORK): Likewise.
11926 [__USE_MISC] (MADV_DOFORK): Likewise.
11927 [__USE_MISC] (MADV_HWPOISON): Likewise.
11928 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11929 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11930 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11931 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11932 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11933 (__MAP_ANONYMOUS): New macro.
11934 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11935 <bits/mman-linux.h> inclusion.
11936 (MAP_FIXED): Likewise.
11937 (MS_SYNC): Likewise.
11938 (MS_ASYNC): Likewise.
11939 (MS_INVALIDATE): Likewise.
11940 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11941 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11942 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11943 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11944 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11945 [__USE_MISC] (MADV_DODUMP): Likewise.
11946 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11947 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11950 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11952 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11953 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11954 Add test-nldbl-redirect.
11955 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11956 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11957 $(objpfx)libnldbl_nonshared.a.
11959 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11961 * support/support.h (support_objdir_elf_ldso): New variable.
11962 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11963 * support/Makefile (CFLAGS-support_paths.c): Add definition
11964 for OBJDIR_ELF_LDSO_PATH.
11965 * support/test-container.c (main): Search for the ld.so
11966 which is also used by the testsuite.
11968 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
11971 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11972 should be "sap" rather than "sab".
11973 (day): Fix spelling of Sunday, should be "sapaat" rather than
11976 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11978 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11980 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11983 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11984 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11985 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11987 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11989 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11991 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11993 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11995 (CFLAGS-elision-unlock.c): Likewise.
11996 (CFLAGS-elision-timed.c): Likewise.
11997 (CFLAGS-elision-trylock.c): Likewise.
11998 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12000 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12003 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12004 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12005 new fd_to_filename interface.
12006 * libio/freopen64.c (freopen64): Likewise.
12007 * libio/tst-memstream.h: New file.
12008 * libio/tst-memstream4.c: Likewise.
12009 * libio/tst-wmemstream4.c: Likewise.
12010 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12011 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12012 and remove internal dynamic allocation.
12014 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12016 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12017 (MREMAP_MAYMOVE): Do not define here.
12018 [__USE_GNU] (MREMAP_FIXED): Likewise.
12019 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12020 (MREMAP_MAYMOVE): Define here instead.
12021 [__USE_GNU] (MREMAP_FIXED): Likewise.
12022 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12023 (MREMAP_MAYMOVE): Remove.
12024 [__USE_GNU] (MREMAP_FIXED): Likewise.
12026 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12028 * math/fromfp.h: Do not include <math_private.h>.
12029 * math/s_cacosh_template.c: Likewise.
12030 * math/s_casin_template.c: Likewise.
12031 * math/s_casinh_template.c: Likewise.
12032 * math/s_ccos_template.c: Likewise.
12033 * math/s_cproj_template.c: Likewise.
12034 * math/s_fdim_template.c: Likewise.
12035 * math/s_fmaxmag_template.c: Likewise.
12036 * math/s_fminmag_template.c: Likewise.
12037 * math/s_iseqsig_template.c: Likewise.
12038 * math/s_ldexp_template.c: Likewise.
12039 * math/s_nextdown_template.c: Likewise.
12040 * math/w_log1p_template.c: Likewise.
12041 * math/w_scalbln_template.c: Likewise.
12042 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12043 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12044 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12045 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12046 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12047 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12048 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12049 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12050 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12051 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12052 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12053 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12054 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12055 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12056 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12057 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12058 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12063 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12064 * sysdeps/ieee754/k_standardf.c: Likewise.
12065 * sysdeps/ieee754/k_standardl.c: Likewise.
12066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12067 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12068 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12069 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12070 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12071 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12072 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12073 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12074 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12075 * sysdeps/ieee754/s_signgam.c: Likewise.
12076 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12077 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12078 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12079 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12080 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12081 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12082 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12083 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12084 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12085 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12086 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12087 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12088 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12089 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12090 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12091 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12092 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12093 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12094 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12095 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12096 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12097 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12098 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12099 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12100 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12101 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12102 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12103 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12104 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12105 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12106 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12107 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12108 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12109 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12110 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12111 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12112 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12114 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12116 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12119 * sysdeps/i386/dl-cet.c: Removed.
12120 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12122 (_dl_runtime_profile_shstk): Likewise.
12123 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12124 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12126 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12129 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12130 do_test_with_invalid_iov): New tests.
12131 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12132 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12133 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12135 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12136 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12137 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12139 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12141 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12142 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12143 (MATH_REDIRECT_BINARY_ARGS): New macro.
12144 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12145 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12146 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12148 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12149 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12150 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12151 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12152 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12153 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12154 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12161 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12162 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12167 * sysdeps/generic/math_private_calls.h
12168 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12169 Do not declare and define as an inline function.
12170 * math/divtc3.c (__divtc3): Use copysign functions instead of
12171 __copysign variants.
12172 * math/multc3.c (__multc3): Likewise.
12173 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12174 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12175 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12176 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12178 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12179 (__ieee754_yn): Likewise.
12180 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12181 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12182 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12183 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12184 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12186 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12187 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12193 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12194 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12196 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12197 (__ieee754_ynf): Likewise.
12198 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12199 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12200 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12201 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12203 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12204 (__ieee754_ynl): Likewise.
12205 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12206 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12207 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12210 (__ieee754_ynl): Likewise.
12211 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12212 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12213 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12214 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12216 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12218 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12220 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12221 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12222 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12224 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12225 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12226 using MATH_REDIRECT.
12227 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12229 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12230 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12231 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12232 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12235 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12240 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12241 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12243 (round): Redirect to __round.
12244 (__roundl): Call round instead of __round.
12245 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12247 [_ARCH_PWR5X] (__roundf): Likewise.
12248 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12249 functions instead of __round variants.
12250 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12251 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12253 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12255 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12257 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12260 (__ieee754_expl): Call roundl instead of __roundl.
12262 2018-09-27 Andreas Schwab <schwab@suse.de>
12265 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12266 (do_test): Make st1 static.
12268 2018-09-26 Andreas Schwab <schwab@suse.de>
12271 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12272 * elf/Makefile (tests): Add tst-unwind-ctor.
12273 (modules-names): Add tst-unwind-ctor-lib.
12274 ($(objpfx)tst-unwind-ctor): Depend on
12275 $(objpfx)tst-unwind-ctor-lib.so.
12277 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12279 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12280 file. Most contents moved from ....
12281 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12282 and include <bits/mman-map-flags-generic.h>.
12283 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12284 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12285 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12286 <bits/mman-map-flags-generic.h>.
12287 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12288 macros defined in <bits/mman-map-flags-generic.h>.
12289 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12290 <bits/mman-map-flags-generic.h>.
12291 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12292 defined in <bits/mman-map-flags-generic.h>.
12294 2018-09-26 Andreas Schwab <schwab@suse.de>
12296 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12299 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12300 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12301 Fangrui Song <maskray@google.com>
12304 * config.make.in (have-textrel_ifunc): New define.
12305 * configure.ac: Add check if linker supports textrel relocation with
12307 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12309 (CFLAGS-tst-ifunc-textrel.c): New rule.
12310 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12311 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12312 * elf/tst-ifunc-textrel.c: New file.
12314 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12316 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12317 <bits/procfs-prregset.h>.
12318 (prgregset_t): Define using __prgregset_t.
12319 (prfpregset_t): Define using __prfpregset_t.
12320 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12321 (sysdep_headers): Add bits/procfs-prregset.h.
12322 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12323 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12324 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12325 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12327 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12328 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12329 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12331 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12332 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12333 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12334 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12335 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12336 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12337 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12338 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12339 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12340 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12341 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12342 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12343 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12344 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12345 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12346 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12347 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12348 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12349 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12350 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12351 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12352 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12353 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12354 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12356 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12357 AArch64 version. Include <bits/procfs.h>.
12358 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12359 (sysdep_headers): Add bits/procfs.h.
12360 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12361 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12362 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12363 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12364 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12365 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12366 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12367 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12368 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12369 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12370 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12371 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12372 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12373 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12374 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12375 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12376 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12378 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12380 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12383 2018-09-25 Arjun Shankar <arjun@redhat.com>
12385 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12386 (__gconv_max_path_elem_len): Likewise.
12387 (__gconv_nmodules): Likewise.
12388 (__gconv_get_path): Likewise.
12389 (path_elem): Move to ...
12390 * iconv/gconv_conf.c: ... here.
12391 (__gconv_get_path): Mark function static.
12392 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12393 * iconv/gconv_open.c: ... here.
12395 2018-09-24 Andreas Schwab <schwab@suse.de>
12397 * scripts/haveversions.awk: New file.
12398 * Makerules ($(common-objpfx)Versions.def)
12399 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12400 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12402 * Makeconfig ($(common-objpfx)Versions.def)
12403 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12404 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12406 ($(common-objpfx)Versions.mk): New rule. Include it.
12407 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12408 Emit error if build-obsolete-nsl = yes.
12409 * manual/install.texi (Configuring and compiling): Describe
12410 --enable-obsolete-nsl as unavaiable after version 2.28.
12411 * INSTALL: Regenerate.
12413 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12415 * NEWS: Add note about new TLE support on powerpc64le.
12416 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12417 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12419 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12420 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12421 * sysdeps/powerpc/powerpc32/sysdep.h,
12422 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12423 ABORT_TRANSACTION): Remove macros.
12424 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12425 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12426 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12428 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12429 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12431 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12433 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12436 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12437 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12438 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12439 which is the same as in it_IT.
12440 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12441 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12443 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12445 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12446 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12447 using MATH_REDIRECT.
12448 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12450 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12451 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12452 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12454 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12460 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12461 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12462 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12463 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12464 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12465 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12466 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12468 (ceil): Redirect to __ceil.
12469 (floor): Redirect to __floor.
12470 (trunc): Redirect to __trunc.
12471 (__truncl): Call trunc instead of __trunc.
12472 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12474 [_ARCH_PWR5X] (__truncf): Likewise.
12475 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12476 trunc functions instead of __trunc variants.
12477 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12479 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12481 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12483 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12486 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12487 [__i586__ || __pentium__].
12488 [__i486__]: Handle explicitly.
12489 (HAS_CPUID): Define to 1 if above macros are undefined.
12490 (HAS_I586): Likewise.
12491 (HAS_I686): Likewise.
12493 2018-09-20 Florian Weimer <fweimer@redhat.com>
12495 * misc/tst-gethostid.c: New file.
12496 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12497 (tst-gethostid): Link with -ldl.
12499 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12501 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12502 value from gethostbyname_r.
12504 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12506 * stdlib/tst-setcontext9.c (f1): Rename to...
12508 (f1b): New function implementing lower half of f1 in alternate stack.
12510 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12512 Fix mktime localtime offset confusion
12514 * include/time.h (__mktime_internal): The localtime offset is now
12515 of type long int instead of time_t. This is the longstanding type
12516 in glibc, and it is more than enough to represent difference
12517 between localtime and gmtime even if it is 32 bits and time_t is
12518 64. Changing it now will let us avoid an unnecessary change when
12519 time_t is widened to 64 bits on 32-bit platforms.
12520 * time/mktime-internal.h (mktime_offset_t): Now long int.
12522 Merge mktime, timegm from upstream Gnulib
12523 [BZ #23603][BZ #16346]
12524 This fixes some obscure problems with integer overflow.
12525 Although it looks scary, it is almost all a byte-for-byte copy
12526 from Gnulib, and the Gnulib code has been tested reasonably well.
12527 * include/intprops.h: New file, copied from Gnulib.
12528 * include/verify.h, time/mktime-internal.h:
12529 New tiny files, simplified from Gnulib.
12530 * time/mktime.c: Copy from Gnulib. This has the following changes:
12531 Do not include config.h if DEBUG_MKTIME is nonzero.
12532 Include stdbool.h, intprops.h, verify.h.
12533 Include string.h only if needed.
12534 Include stdlib.h on MS-Windows.
12535 Include mktime-internal.h.
12536 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12537 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12538 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12539 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12540 simplify later conditionals; default the others to zero. Use
12541 these conditionals to express only the code needed on the current
12542 platform. In uses of these conditionals, explicitly spell out how
12543 _LIBC affects things, so it’s easier to review from a glibc
12545 (WRAPV): Remove; no longer needed now that we have
12546 systematic overflow checking.
12547 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12548 compartmentalize tzset issues. Move system-dependent tzsettish
12549 code here from mktime.
12550 (verify): Remove; now done by verify.h. All uses changed.
12551 (long_int): Use a more-conservative definition, to avoid
12553 (SHR): Remove, replacing with ...
12554 (shr): New function, which means we needn’t worry about side
12555 effects in args, and conversion analysis is simpler.
12556 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12557 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12558 (time_t_avg, time_t_add_ok): Remove.
12559 (mktime_min, mktime_max): New constants.
12560 (leapyear, isdst_differ): Use bool for booleans.
12561 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12562 Use long_int, not time_t, for mktime differences.
12563 (long_int_avg): New function, replacing time_t_avg.
12564 INT_ADD_WRAPV replaces time_t_add_ok.
12565 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12567 (convert_time): New function.
12568 (ranged_convert): Use it.
12569 (__mktime_internal): Last arg now points to mktime_offset_t, not
12570 time_t. All uses changed. This is a no-op on glibc, where
12571 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12572 offset guess. Directly check for integer overflow instead of
12573 using a heuristic that works only 99.9...% of the time.
12574 Access *OFFSET only once, to avoid an unlikely race if the
12575 compiler delays a load and if this cascades into a signed integer
12577 (mktime): Move tzsettish code to my_tzset, and move
12578 localtime_offset to within mktime so that it doesn’t
12579 need a separate ifdef.
12580 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12581 instead of localtime.
12582 * time/timegm.c: Copy from Gnulib. This has the following changes:
12583 Include mktime-internal.h.
12584 [!_LIBC]: Include config.h and time.h. Do not include
12585 timegm.h or time_r.h. Make __mktime_internal a macro,
12586 and include mktime-internal.h to get its declaration.
12587 (timegm): Temporary is now mktime_offset_t, not time_t.
12588 This affects only Gnulib.
12590 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12593 * string/test-strstr.c (pr23637): New function.
12594 (test_main): Add tests with longer needles.
12595 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12596 * string/strstr.c (AVAILABLE): Likewise.
12598 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12600 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12602 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12604 * NEWS: Mention pow improvements.
12605 * math/Makefile (type-double-routines): Add e_pow_log_data.
12606 * sysdeps/generic/math_private.h (__exp1): Remove.
12607 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12608 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12609 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12611 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12612 (exp_inline): Remove.
12613 (__ieee754_exp): Only single double input is handled.
12614 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12615 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12616 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12617 (__pow_log_data): Define.
12618 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12619 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12620 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12621 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12623 (CFLAGS-e_pow-fma4.c): Likewise.
12625 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12627 Simplify tzfile fstat failure code
12629 * time/tzfile.c (__tzfile_read): Simplify slightly.
12631 Fix tzfile low-memory assertion failure
12633 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12634 when registering time zone abbreviations.
12636 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12638 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12639 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12640 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12641 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12642 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12643 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12644 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12645 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12646 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12648 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12650 (__ceill): Call ceil instead of __ceil.
12651 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12653 (__floorl): Call floor instead of __floor.
12655 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12657 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12658 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12659 using MATH_REDIRECT.
12660 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12662 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12664 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12665 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12666 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12669 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12674 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12675 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12678 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12679 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12680 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12682 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12683 functions instead of __ceil variants.
12684 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12685 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12687 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12689 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12690 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12692 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12693 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12696 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12698 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12699 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12700 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12701 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12702 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12703 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12704 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12705 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12706 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12707 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12708 (ILL_BADIADDR): Remove constant.
12709 (TRAP_BRANCH): Likewise.
12710 (TRAP_HWBKPT): Likewise.
12712 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12715 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12716 Remove [_MIPS_SIM = _ABIN32] conditional case.
12717 (struct elf_prpsinfo): Likewise.
12720 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12721 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12722 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12724 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12725 elf_prpsinfo): Likewise.
12726 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12727 elf_prpsinfo): Likewise.
12728 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12731 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12732 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12733 using MATH_REDIRECT.
12734 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12736 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12737 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12738 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12739 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12742 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12743 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12746 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12747 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12748 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12749 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12750 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12751 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12752 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12753 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12754 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12758 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12759 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12760 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12761 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12762 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12764 * math/e_scalbf.c (invalid_fn): Likewise.
12765 * math/e_scalbl.c (invalid_fn): Likewise.
12766 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12768 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12770 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12771 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12772 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12774 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12776 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12778 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12779 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12781 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12782 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12784 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12785 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12786 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12787 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12788 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12789 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12790 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12791 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12792 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12793 && !NO_MATH_REDIRECT] (floor): Likewise.
12794 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12796 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12799 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12800 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12801 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12803 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12808 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12809 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12812 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12813 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12814 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12816 [_ARCH_PWR5X] (__floorf): Likewise.
12817 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12819 [__SSE4_1__] (__floorf): Likewise.
12820 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12821 instead of __floor variants.
12822 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12823 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12824 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12825 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12826 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12827 * math/w_tgamma_compat.c (__tgamma): Likewise.
12828 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12829 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12830 * math/w_tgammal_compat.c (__tgammal): Likewise.
12831 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12834 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12835 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12836 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12837 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12839 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12840 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12842 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12845 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12848 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12850 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12851 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12852 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12853 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12855 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12857 * elf/Makefile (modules-names-tests): New variable.
12859 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12861 * NEWS: Mention log2 improvements.
12862 * math/Makefile (type-double-routines): Add e_log2_data.
12863 * sysdeps/i386/fpu/e_log2_data.c: New file.
12864 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12865 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12866 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12867 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12868 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12869 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12871 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12873 * NEWS: Mention log improvement.
12874 * math/Makefile (type-double-routines): Add e_log_data.
12875 * sysdeps/i386/fpu/e_log_data.c: New file.
12876 * sysdeps/ia64/fpu/e_log_data.c: New file.
12877 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12878 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12879 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12880 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12881 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12882 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12884 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12885 Xuepeng Guo <xuepeng.guo@intel.com>
12888 * sysdeps/i386/start.S: Include <sysdep.h>
12889 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12890 enabled. Add cfi_undefined (eip).
12892 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12894 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12896 (EXTRACT_WORDS64): Likewise.
12897 (INSERT_WORDS64): Likewise.
12898 (GET_FLOAT_WORD): Likewise.
12899 (SET_FLOAT_WORD): Likewise.
12901 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12903 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12904 build, but not for second build if --full-gcc. Use
12905 --enable-languages=all for second build if --full-gcc.
12906 (get_parser): Add --full-gcc option.
12907 (main): Update call to Context.
12909 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12912 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12913 Single Quotation Mark).
12914 (thousands_sep): Likewise.
12915 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12916 * localedata/locales/it_IT (thousands_sep): Use ".".
12917 (grouping): Use "3;3".
12919 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12921 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12922 x86_64 and i686 configs using --enable-obsolete-rpc
12923 --enable-obsolete-nsl.
12925 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12927 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12929 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12931 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12932 Increment size of new_argv by one.
12934 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
12937 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12938 * localedata/locales/ar_IN (d_fmt): Likewise.
12939 * localedata/locales/bhb_IN (d_fmt): Likewise.
12940 * localedata/locales/bho_IN (d_fmt): Likewise.
12941 * localedata/locales/bn_BD (d_fmt): Likewise.
12942 * localedata/locales/bn_IN (d_fmt): Likewise.
12943 * localedata/locales/doi_IN (d_fmt): Likewise.
12944 * localedata/locales/gu_IN (d_fmt): Likewise.
12945 * localedata/locales/hi_IN (d_fmt): Likewise.
12946 * localedata/locales/hne_IN (d_fmt): Likewise.
12947 * localedata/locales/kn_IN (d_fmt): Likewise.
12948 * localedata/locales/mag_IN (d_fmt): Likewise.
12949 * localedata/locales/mai_IN (d_fmt): Likewise.
12950 * localedata/locales/mjw_IN (d_fmt): Likewise.
12951 * localedata/locales/ml_IN (d_fmt): Likewise.
12952 * localedata/locales/mni_IN (d_fmt): Likewise.
12953 * localedata/locales/mr_IN (d_fmt): Likewise.
12954 * localedata/locales/pa_IN (d_fmt): Likewise.
12955 * localedata/locales/raj_IN (d_fmt): Likewise.
12956 * localedata/locales/sat_IN (d_fmt): Likewise.
12957 * localedata/locales/sd_IN (d_fmt): Likewise.
12958 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12959 * localedata/locales/ta_IN (d_fmt): Likewise.
12960 * localedata/locales/ta_LK (d_fmt): Likewise.
12961 * localedata/locales/tcy_IN (d_fmt): Likewise.
12962 * localedata/locales/ur_IN (d_fmt): Likewise.
12964 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12965 * localedata/locales/ks_IN (d_fmt): Likewise.
12966 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12968 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12969 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12970 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12971 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12973 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12975 * NEWS: Mention exp and exp2 improvements.
12976 * math/Makefile (libm-support): Remove t_exp.
12977 (type-double-routines): Add math_err and e_exp_data.
12978 * sysdeps/aarch64/libm-test-ulps: Update.
12979 * sysdeps/arm/libm-test-ulps: Update.
12980 * sysdeps/i386/fpu/e_exp_data.c: New file.
12981 * sysdeps/i386/fpu/math_err.c: New file.
12982 * sysdeps/i386/fpu/t_exp.c: Remove.
12983 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12984 * sysdeps/ia64/fpu/math_err.c: New file.
12985 * sysdeps/ia64/fpu/t_exp.c: Remove.
12986 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12987 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12988 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12990 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12991 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12992 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12993 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12994 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12995 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12996 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12997 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12998 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12999 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13003 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13005 * sysdeps/alpha/fpu/math_private.h: Remove.
13007 * sysdeps/generic/math_private.h
13008 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13009 Move this inline function ....
13010 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13011 * include/math.h [!_ISOMAC]: To here....
13013 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13015 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13017 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13018 * include/fenv.h [!_ISOMAC]: ... to here.
13019 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13020 (feraiseexcept): Likewise.
13021 * math/fromfp.h: Do not include <fenv_private.h>.
13022 * math/s_cexp_template.c: Likewise.
13023 * math/s_csin_template.c: Likewise.
13024 * math/s_csinh_template.c: Likewise.
13025 * math/s_ctan_template.c: Likewise.
13026 * math/s_ctanh_template.c: Likewise.
13027 * math/s_iseqsig_template.c: Likewise.
13028 * math/w_acos_compat.c: Likewise.
13029 * math/w_acosf_compat.c: Likewise.
13030 * math/w_acosl_compat.c: Likewise.
13031 * math/w_asin_compat.c: Likewise.
13032 * math/w_asinf_compat.c: Likewise.
13033 * math/w_asinl_compat.c: Likewise.
13034 * math/w_j0_compat.c: Likewise.
13035 * math/w_j0f_compat.c: Likewise.
13036 * math/w_j0l_compat.c: Likewise.
13037 * math/w_j1_compat.c: Likewise.
13038 * math/w_j1f_compat.c: Likewise.
13039 * math/w_j1l_compat.c: Likewise.
13040 * math/w_jn_compat.c: Likewise.
13041 * math/w_jnf_compat.c: Likewise.
13042 * math/w_log10_compat.c: Likewise.
13043 * math/w_log10f_compat.c: Likewise.
13044 * math/w_log10l_compat.c: Likewise.
13045 * math/w_log2_compat.c: Likewise.
13046 * math/w_log2f_compat.c: Likewise.
13047 * math/w_log2l_compat.c: Likewise.
13048 * math/w_log_compat.c: Likewise.
13049 * math/w_logf_compat.c: Likewise.
13050 * math/w_logl_compat.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13052 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13056 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13057 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13058 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13059 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13060 * sysdeps/ieee754/k_standardl.c: Likewise.
13061 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13062 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13063 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13064 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13065 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13066 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13067 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13068 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13073 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13074 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13075 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13078 * math/w_ilogb_template.c: Include <fenv.h> instead of
13080 * math/w_llogb_template.c: Likewise.
13081 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13082 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13084 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13086 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13087 * math/fromfp.h: Include <fenv_private.h>.
13088 * math/math-narrow.h: Likewise.
13089 * math/s_cexp_template.c: Likewise.
13090 * math/s_csin_template.c: Likewise.
13091 * math/s_csinh_template.c: Likewise.
13092 * math/s_ctan_template.c: Likewise.
13093 * math/s_ctanh_template.c: Likewise.
13094 * math/s_iseqsig_template.c: Likewise.
13095 * math/w_acos_compat.c: Likewise.
13096 * math/w_acosf_compat.c: Likewise.
13097 * math/w_acosl_compat.c: Likewise.
13098 * math/w_asin_compat.c: Likewise.
13099 * math/w_asinf_compat.c: Likewise.
13100 * math/w_asinl_compat.c: Likewise.
13101 * math/w_ilogb_template.c: Likewise.
13102 * math/w_j0_compat.c: Likewise.
13103 * math/w_j0f_compat.c: Likewise.
13104 * math/w_j0l_compat.c: Likewise.
13105 * math/w_j1_compat.c: Likewise.
13106 * math/w_j1f_compat.c: Likewise.
13107 * math/w_j1l_compat.c: Likewise.
13108 * math/w_jn_compat.c: Likewise.
13109 * math/w_jnf_compat.c: Likewise.
13110 * math/w_llogb_template.c: Likewise.
13111 * math/w_log10_compat.c: Likewise.
13112 * math/w_log10f_compat.c: Likewise.
13113 * math/w_log10l_compat.c: Likewise.
13114 * math/w_log2_compat.c: Likewise.
13115 * math/w_log2f_compat.c: Likewise.
13116 * math/w_log2l_compat.c: Likewise.
13117 * math/w_log_compat.c: Likewise.
13118 * math/w_logf_compat.c: Likewise.
13119 * math/w_logl_compat.c: Likewise.
13120 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13121 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13122 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13123 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13136 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13137 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13138 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13140 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13141 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13142 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13143 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13148 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13149 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13150 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13151 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13152 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13153 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13154 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13155 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13156 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13157 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13158 * sysdeps/ieee754/k_standardl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13184 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13185 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13186 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13189 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13190 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13191 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13194 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13195 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13196 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13197 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13198 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13199 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13200 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13201 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13202 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13203 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13204 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13205 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13206 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13207 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13208 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13209 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13210 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13211 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13212 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13213 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13214 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13215 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13216 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13217 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13218 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13219 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13220 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13221 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13222 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13223 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13224 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13225 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13226 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13227 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13228 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13229 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13231 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13234 * include/stdio.h (__libc_fatal): Mention newline in comment.
13235 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13236 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13238 * nss/nsswitch.c (__nss_next2): Likewise.
13239 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13240 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13241 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13242 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13243 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13244 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13245 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13246 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13247 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13248 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13249 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13250 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13251 (__netlink_assert_response): Likewise.
13253 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13255 * conform/glibcconform.py: New file.
13256 * conform/list-header-symbols.py: Likewise.
13257 * conform/list-header-symbols.pl: Remove.
13258 * conform/Makefile (tests-special): Only add linknamespace tests
13260 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13262 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13265 * support/Makefile (libsupport-routines): Add
13266 support_copy_file_range and xcopy_file_range.
13267 * support/support.h: Include <sys/types.h>.
13268 (support_copy_file_range): New prototype.
13269 * support/support_copy_file_range.c: New file. Copied and
13270 modified from io/copy_file_range-compat.c.
13271 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13272 instead of copy_file_range.
13273 * support/xcopy_file_range.c: New file.
13274 * support/xunistd.h (xcopy_file_range): New prototype.
13276 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13278 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13279 xpthread_create and xpthread_join.
13281 2018-08-30 Florian Weimer <fweimer@redhat.com>
13283 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13285 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13287 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13290 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13292 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13293 and minus_oflow as non-finite.
13295 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13297 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13298 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13299 moved to fenv_private.h except for ...
13300 (TOINT_INTRINSICS): Kept in math_private.h.
13301 (roundtoint): Likewise.
13302 (converttoint): Likewise.
13303 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13304 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13305 * sysdeps/arm/math_private.h: Remove.
13306 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13308 * sysdeps/generic/math_private.h: ... this file. Include
13309 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13310 Include <fenv_private.h>. Remove functions and macros moved to
13312 * sysdeps/i386/fpu/math_private.h: Remove.
13313 * sysdeps/mips/math_private.h: Move to ....
13314 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13315 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13316 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13317 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13318 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13319 * sysdeps/powerpc/fpu/math_private.h: Do not include
13321 * sysdeps/riscv/rvf/math_private.h: Move to ....
13322 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13323 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13325 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13326 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13327 * sysdeps/sparc/fpu/math_private.h: Remove.
13328 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13329 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13330 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13332 * sysdeps/x86_64/fpu/math_private.h: Do not include
13333 <sysdeps/i386/fpu/fenv_private.h>.
13335 2018-08-28 Florian Weimer <fweimer@redhat.com>
13338 * posix/tst-regcomp-truncated.c: New file.
13339 * posix/Makefile (tests): Add it.
13340 (tst-regcomp-truncated.out): Depend on generated locales.
13342 2018-08-28 Florian Weimer <fweimer@redhat.com>
13344 * support/test-container.c (main): Treat unshare failure with
13345 EPERM as an unsupported test.
13347 2018-08-28 Florian Weimer <fweimer@redhat.com>
13350 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13351 * nscd/netgroupcache.c
13352 (addgetnetgrentX): Add tofreep parameter. Do not free
13353 heap-allocated buffer.
13354 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13355 (addgetnetgrentX_ignore): New function.
13356 (addgetnetgrent): Call it.
13357 (readdgetnetgrent): Likewise.
13359 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13361 * string/memmem.c: Use memcmp for first match.
13363 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13366 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13368 2018-08-27 DJ Delorie <dj@redhat.com>
13370 * support/Makefile (others): Don't list programs explicitly as a
13371 dependency of "others".
13373 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13375 * sysdeps/generic/math-tests-trap-force.h: New file.
13376 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13377 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13378 * sysdeps/powerpc/math-tests.h: Remove file.
13379 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13381 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13382 Torvald Riegel <triegel@redhat.com>
13385 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13386 Update r to include the set wake-request flag if waiters are
13387 remaining after spinning.
13389 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13391 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13393 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13396 regex: fix uninitialized memory access
13397 I introduced this bug into gnulib in commit
13398 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13399 eventually it was merged into glibc. The bug was found by
13400 project-repo <bugs@feusi.co> and reported here:
13401 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13402 Diagnosis and draft fix reported by Assaf Gordon here:
13403 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13404 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13405 * posix/regex_internal.c (build_wcs_upper_buffer):
13406 Fix bug when mbrtowc returns 0.
13408 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13410 * po/be.po: Update translation.
13412 2018-08-24 DJ Delorie <dj@delorie.com>
13414 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13417 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13420 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13421 create temporary files in source tree.
13423 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13425 * sysdeps/generic/math-tests-trap.h: New file.
13426 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13427 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13428 * sysdeps/aarch64/math-tests.h: Remove file.
13429 * sysdeps/arm/math-tests.h: Likewise.
13430 * sysdeps/riscv/math-tests.h: Likewise.
13431 * sysdeps/aarch64/math-tests-trap.h: New file.
13432 * sysdeps/arm/math-tests-trap.h: Likewise.
13433 * sysdeps/riscv/math-tests-trap.h: Likewise.
13435 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13437 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13438 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13439 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13440 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13441 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13442 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13446 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13447 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13448 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13449 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13450 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13451 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13452 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13453 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13454 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13456 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13458 * sysdeps/generic/math-tests-exceptions.h: New file.
13459 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13460 (EXCEPTION_TESTS_float): Do not define here.
13461 (EXCEPTION_TESTS_double): Likewise.
13462 (EXCEPTION_TESTS_long_double): Likewise.
13463 (EXCEPTION_TESTS_float128): Likewise.
13464 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13466 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13467 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13468 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13469 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13470 * sysdeps/mips/math-tests.h: Likewise.
13471 * sysdeps/nios2/math-tests.h: Likewise.
13472 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13473 (EXCEPTION_TESTS_float): Do not define here.
13474 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13475 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13476 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13478 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13480 * NEWS: Move optimized sinf entry to 2.29.
13482 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13484 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13486 2018-08-22 DJ Delorie <dj@redhat.com>
13488 * Makefile (testroot.pristine): New rules to initialize the
13489 test-in-container "testroot".
13490 * Makerules (all-testsuite): Add tests-container.
13491 * Rules (tests-expected): Add tests-container.
13492 (binaries-all-tests): Likewise.
13493 (tests-container): New, run these tests in the testroot container.
13494 * support/Makefile (others): Add *-container, support_paths.c,
13495 xmkdirp, and links-dso-program.
13496 * support/links-dso-program-c.c: New.
13497 * support/links-dso-program.cc: New.
13498 * support/test-container.c: New.
13499 * support/shell-container.c: New.
13500 * support/echo-container.c: New.
13501 * support/true-container.c: New.
13502 * support/xmkdirp.c: New.
13503 * support/xsymlink.c: New.
13504 * support/support_paths.c: New.
13505 * support/support.h: Add support paths prototypes.
13506 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13508 * nss/tst-nss-test3.c: Convert to test-in-container.
13509 * nss/tst-nss-test3.root/: New.
13511 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13513 regex: port Gnulib code to z/OS POSIX environment
13514 Problem reported by Arnold Robbins in:
13515 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13516 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13519 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13521 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13522 (ROUNDING_TESTS_double): Remove.
13523 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13524 (ROUNDING_TESTS_double): Remove.
13525 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13526 (ROUNDING_TESTS_double): Remove.
13527 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13528 (ROUNDING_TESTS_float): Remove.
13529 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13530 (ROUNDING_TESTS_float): Remove.
13531 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13532 (ROUNDING_TESTS_float): Remove.
13533 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13534 !TEST_MATHVEC here.
13535 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13536 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13538 * sysdeps/generic/math-tests-rounding.h: New file.
13539 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13540 (ROUNDING_TESTS_float): Do not define here.
13541 (ROUNDING_TESTS_double): Likewise.
13542 (ROUNDING_TESTS_long_double): Likewise.
13543 (ROUNDING_TESTS_float128): Likewise.
13544 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13545 (ROUNDING_TESTS_double): Undefine before defining.
13546 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13547 (ROUNDING_TESTS_double): Undefine before defining.
13548 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13549 (ROUNDING_TESTS_double): Undefine before defining.
13550 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13551 (ROUNDING_TESTS_float): Undefine before defining.
13552 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13553 (ROUNDING_TESTS_float): Undefine before defining.
13554 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13555 (ROUNDING_TESTS_float): Undefine before defining.
13556 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13557 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13559 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13560 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13561 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13562 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13563 (ROUNDING_TESTS_float): Do not define here.
13564 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13565 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13566 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13567 (ROUNDING_TESTS_float): Likewise.
13568 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13569 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13570 * sysdeps/mips/math-tests.h [__mips_soft_float]
13571 (ROUNDING_TESTS_float): Likewise.
13572 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13573 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13574 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13575 (ROUNDING_TESTS_double): Likewise.
13576 (ROUNDING_TESTS_long_double): Likewise.
13578 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13580 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13581 (PF_XDP): New macro.
13582 (AF_XDP): New macro.
13583 (SOL_XDP): New macro.
13585 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13587 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13588 (TCP_INQ): Likewise.
13589 (TCP_CM_INQ): Likewise.
13590 (TCP_REPAIR_ON): Likewise.
13591 (TCP_REPAIR_OFF): Likewise.
13592 (TCP_REPAIR_OFF_NO_WP): Likewise.
13593 (struct tcp_zerocopy_receive): New type.
13595 2018-08-21 Florian Weimer <fweimer@redhat.com>
13597 * support/support.h (support_descriptor_supports_holes): Declare.
13598 * support/Makefile (libsupport-routines): Add
13599 support_descriptor_supports_holes.
13600 * support/support_descriptor_supports_holes.c: New file.
13601 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13602 and stop testing if holes are not supported.
13603 * io/test-lfs.c (do_prepare): Likewise.
13604 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13606 * timezone/tst-tzset.c (create_tz_file): Likewise.
13607 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13609 (do_prepare): Set it.
13610 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13612 2018-08-21 Florian Weimer <fweimer@redhat.com>
13615 * Makeconfig (+cflags): Do not sort (and deduplicate).
13617 2018-08-21 Florian Weimer <fweimer@redhat.com>
13619 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13620 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13622 2018-08-20 Florian Weimer <fweimer@redhat.com>
13624 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13625 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13627 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13629 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13630 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13631 and ssi_arch members.
13633 * elf/elf.c (NT_VMCOREDD): New macro.
13634 (AT_MINSIGSTKSZ): Likewise.
13636 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13639 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13640 s_cosf-ppc64 and s_cosf-power8.
13641 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13642 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13643 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13644 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13651 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13652 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13654 2018-08-17 Florian Weimer <fweimer@redhat.com>
13656 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13658 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13660 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13662 2018-08-16 Florian Weimer <fweimer@redhat.com>
13664 * configure.ac: Add --with-nonshared-cflags option.
13665 * config.make.in (extra-nonshared-cflags): Set variable.
13666 * Makeconfig (CFLAGS-.oS): Use it.
13667 * manual/install.texi (Configuring and compiling): Document
13668 --with-nonshared-cflags.
13669 * configure: Regenerate.
13670 * INSTALL: Likewise.
13672 2018-08-16 Florian Weimer <fweimer@redhat.com>
13674 * Makeconfig (ASFLAGS): Always append required assembler flags.
13676 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13678 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13679 (malloc_consolidate): Likewise.
13681 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13683 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13685 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13687 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13690 * benchtests/bench-strlen.c: Print performance numbers in json.
13692 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13694 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13695 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13696 only for little endian.
13697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13698 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13699 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13700 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13701 Add check for little endian.
13702 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13703 (__strcmp_power9): Add check for little endian.
13704 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13705 Add check for little endian.
13706 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13707 (__strncmp_power9): Add check for little endian.
13708 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13709 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13710 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13711 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13712 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13714 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13716 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13717 [!STRLEN](STRLEN): Set to __strlen.
13718 * sysdeps/aarch64/multiarch/strlen.c: New file.
13719 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13720 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13721 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13722 (__libc_ifunc_impl_list): Add strlen.
13723 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13724 strlen_generic and strlen_asimd.
13726 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13728 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13729 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13730 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13732 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13734 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13736 2018-08-14 Florian Weimer <fweimer@redhat.com>
13739 * include/stdio.h (__vfxprintf): Declare.
13740 * stdio-common/fxprintf.c (__vfxprintf): New function.
13741 (__fxprintf): Call it.
13742 * misc/err.c (convert_and_print): Remove function.
13743 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13744 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13745 * misc/Makefile (tests): Add tst-warn-wide.
13746 * misc/tst-warn-wide.c: New file.
13748 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13749 Szabolcs Nagy <szabolcs.nagy@arm.com>
13751 * NEWS: Mention sinf, cosf, sincosf.
13752 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13753 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13754 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13755 constants rather than including generic sincosf.h.
13756 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13757 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13758 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13759 (reduced_cos): Remove.
13760 (sinf_poly): New function.
13761 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13763 2018-08-14 Florian Weimer <fweimer@redhat.com>
13767 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13768 processing, bail out if no room, and close the stream before
13770 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13771 (tst-nss-files-alias-leak): Link with libdl.
13772 (tst-nss-files-alias-leak.out): Depend on nss_files.
13774 * nss/tst-nss-files-alias-leak.c: New file.
13776 2018-08-14 Florian Weimer <fweimer@redhat.com>
13778 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13779 server_user, stat_user.
13781 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13783 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13785 (io_pgetevents): New syscall.
13788 * manual/install.texi (Configuring and compiling): Do not list
13789 tools used for testing pretty printers here.
13790 (Tools for Compilation): List Python, PExpect and GDB here.
13791 Update descriptions of uses of Perl and Python.
13792 * INSTALL: Regenerate.
13794 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13797 2018-08-13 Florian Weimer <fweimer@redhat.com>
13799 * misc/error.c (error): Add missing va_end call.
13800 (error_at_line): Likewise.
13802 2018-08-13 Florian Weimer <fweimer@redhat.com>
13804 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13806 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13808 * benchtests/scripts/benchout.schema.json (properties): Add
13811 * benchtests/bench-skeleton.c (main): Add duration and
13812 iterations attributes.
13814 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13816 regex: Gnulib unibyte RRI uses bytes not chars
13817 Adjust the non-glibc code to agree with what Gawk needs for
13818 rational range interpretation (RRI) for regular expression ranges.
13819 In unibyte locales, Gawk wants ranges to use the underlying byte
13820 rather than the character code point. This change does not affect
13822 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13823 In unibyte locales, use the byte value rather than
13824 running it through btowc.
13826 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13828 * sysdeps/generic/math-tests-snan.h: New file.
13829 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13830 (SNAN_TESTS_float): Do not define here.
13831 (SNAN_TESTS_double): Likewise.
13832 (SNAN_TESTS_long_double): Likewise.
13833 (SNAN_TESTS_float128): Likewise.
13834 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13835 * sysdeps/i386/fpu/math-tests.h: Remove file.
13836 * sysdeps/ia64/math-tests-snan.h: New file.
13837 * sysdeps/ia64/math-tests.h: Remove file.
13838 * sysdeps/x86/math-tests.h: Likewise.
13839 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13841 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13842 Szabolcs Nagy <szabolcs.nagy@arm.com>
13844 * math/Makefile: Add s_sincosf_data.c.
13845 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13846 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13847 (sincosf_poly): Likewise.
13848 (reduce_small): Likewise.
13849 (reduce_large): Likewise.
13850 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13851 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13852 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13853 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13855 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13856 Szabolcs Nagy <szabolcs.nagy@arm.com>
13858 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13859 (converttoint): Use lround.
13860 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13861 document the semantics when TOINT_INTRINSICS is set.
13862 (converttoint): Likewise.
13863 (TOINT_RINT): Remove.
13864 (TOINT_SHIFT): Remove.
13865 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13868 2018-08-10 Florian Weimer <fweimer@redhat.com>
13871 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13873 (__old_getdents64): Use getdents64. Convert entries without
13875 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13876 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13877 tst-readdir64-compat.
13879 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13881 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13884 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13886 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13887 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13888 code to s390x-mcount.h and #include it.
13889 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13890 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13893 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13895 * stdlib/Versions: Remove __fentry__.
13896 * sysdeps/i386/Versions: Add __fentry__.
13897 * sysdeps/x86_64/Versions: Add __fentry__.
13899 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13901 * sysdeps/s390/Makefile: Register the new tests.
13902 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13903 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13904 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13905 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13906 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13907 * sysdeps/s390/tst-dl-runtime.c: New file.
13909 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13911 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13914 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13916 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13919 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13921 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13924 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13926 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13929 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13931 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13932 Use symbolic offsets for stack variables.
13934 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13936 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13937 Use symbolic offsets for stack variables.
13939 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13941 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13942 Use symbolic offsets for stack variables.
13944 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13946 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13947 Use symbolic offsets for stack variables.
13949 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13951 * math/gen-libm-test.py: New file.
13952 * math/gen-libm-test.pl: Remove.
13953 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13954 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13956 ($(libm-test-c-noauto-obj)): Likewise.
13957 ($(libm-test-c-auto-obj)): Likewise.
13958 ($(libm-test-c-narrow-obj)): Likewise.
13959 (regen-ulps): Likewise.
13960 * math/README.libm-test: Update references to gen-libm-test.pl.
13961 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13962 referencing gen-libm-test.pl.
13963 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13964 * math/libm-test-support.c: Likewise.
13965 * math/libm-test-support.h: Likewise.
13966 * sysdeps/generic/libm-test-ulps: Likewise.
13968 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13970 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13973 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13975 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13976 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13978 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13980 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13982 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13983 __pthread_setspecific): Add hidden proto.
13984 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13985 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13987 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13989 * benchtests/bench-string.h (buf1_size, buf2_size): New
13991 (init_sizes): New function.
13992 (test_init): Use it.
13993 (alloc_buf, exit_error): New functions.
13994 (alloc_bufs): Use ALLOC_BUF.
13995 (realloc_bufs): Remove.
13996 * benchtests/bench-memcmp.c (do_test): Adjust.
13997 * benchtests/bench-memset-large.c (do_test): Likewise.
13998 * benchtests/bench-memset-walk.c (do_test): Likewise.
13999 * benchtests/bench-memset.c (do_test): Likewise.
14000 * benchtests/bench-strncmp.c (do_test): Likewise.
14002 2018-08-06 Andreas Schwab <schwab@suse.de>
14004 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14005 of CONST_THREAD_AREA.
14007 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14009 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14010 (STATE_SAVE_MASK): Likewise.
14011 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14012 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14013 (STATE_SAVE_MASK): Likewise.
14014 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14015 instead of <cpu-features.h>.
14017 2018-08-03 DJ Delorie <dj@redhat.com>
14019 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14020 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14022 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14024 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14026 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14027 after TEST_* calls.
14028 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14029 * math/libm-test-logb.inc (logb_test_data): Likewise.
14031 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14033 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14034 * string/strstr.c (AVAILABLE): Likewise.
14036 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14038 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14040 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14041 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14042 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14044 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14046 * po/be.po: Update translation.
14048 * po/be.po: Update translation.
14050 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14052 * sysdeps/x86/cpu-features-offsets.sym
14053 (rtld_global_ro_offsetof): Removed.
14054 (CPU_FEATURES_SIZE): Likewise.
14055 (CPUID_OFFSET): Likewise.
14056 (CPUID_SIZE): Likewise.
14057 (CPUID_EAX_OFFSET): Likewise.
14058 (CPUID_EBX_OFFSET): Likewise.
14059 (CPUID_ECX_OFFSET): Likewise.
14060 (CPUID_EDX_OFFSET): Likewise.
14061 (FAMILY_OFFSET): Likewise.
14062 (MODEL_OFFSET): Likewise.
14063 (FEATURE_OFFSET): Likewise.
14064 (FEATURE_SIZ): Likewise.
14065 (COMMON_CPUID_INDEX_1): Likewise.
14066 (COMMON_CPUID_INDEX_7): Likewise.
14067 (FEATURE_INDEX_1): Likewise.
14068 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14070 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14072 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14073 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14074 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14075 (install-locales): Depend on install-locale-archive.
14076 (install-locale-archive): Define.
14077 (install-locale-files): Define.
14078 (build-one-locale): Define macro.
14079 * manual/install.texi (Running make install): Document.
14080 * manual/INSTALL: Regenerate.
14082 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14084 * benchtests/scripts/compare_strings.py: Import traceback.
14085 (parse_file): Pretty-print error.
14087 * NEWS: Mention the change.
14088 * elf/dl-tunables.list: Rename tune namespace to cpu.
14089 * sysdeps/powerpc/dl-tunables.list: Likewise.
14090 * sysdeps/x86/dl-tunables.list: Likewise.
14091 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14093 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14094 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14095 * manual/README.tunables: Likewise.
14096 * manual/tunables.texi: Likewise.
14097 * sysdeps/powerpc/cpu-features.c: Likewise.
14098 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14099 (init_cpu_features): Likewise.
14100 * sysdeps/x86/cpu-features.c: Likewise.
14101 * sysdeps/x86/cpu-features.h: Likewise.
14102 * sysdeps/x86/cpu-tunables.c: Likewise.
14103 * sysdeps/x86_64/Makefile: Likewise.
14104 * sysdeps/x86/dl-cet.c: Likewise.
14106 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14109 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14110 [__mips_hard_float].
14111 (FE_UNDERFLOW): Likewise.
14112 (FE_OVERFLOW): Likewise.
14113 (FE_DIVBYZERO): Likewise.
14114 (FE_INVALID): Likewise.
14115 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14116 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14117 (FE_UPWARD): Likewise.
14118 (FE_DOWNWARD): Likewise.
14119 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14120 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14121 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14122 [__mips_hard_float].
14123 (FP_ROUNDMODE): Likewise.
14124 (FP_RND_NEAREST): Likewise.
14125 (FP_RND_ZERO): Likewise.
14126 (FP_RND_PINF): Likewise.
14127 (FP_RND_MINF): Likewise.
14128 (FP_EX_INVALID): Likewise.
14129 (FP_EX_OVERFLOW): Likewise.
14130 (FP_EX_UNDERFLOW): Likewise.
14131 (FP_EX_DIVZERO): Likewise.
14132 (FP_EX_INEXACT): Likewise.
14133 (FP_INIT_ROUNDMODE): Likewise.
14134 * sysdeps/mips/nofpu/fesetenv.c: New file.
14135 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14137 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14139 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14140 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14141 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14142 conditional on [FE_UPWARD].
14144 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14146 regex: fix memory leak in Gnulib
14147 Problem and fix reported by Assaf Gordon in:
14148 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14149 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14150 range_ends members too, as they are defined in 'struct
14151 re_charset_t' even if not _LIBC. This affects only Gnulib.
14153 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14155 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14157 (get_common_indices): This.
14158 (init_cpu_features): Updated.
14160 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14162 * sysdeps/generic/math-tests-snan-payload.h: New file.
14163 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14164 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14165 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14166 * sysdeps/generic/math-tests.h: Include
14167 <math-tests-snan-payload.h>.
14168 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14169 * sysdeps/hppa/math-tests.h: Remove file.
14170 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14171 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14172 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14175 * sysdeps/generic/math-tests-snan-cast.h: New file.
14176 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14177 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14178 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14179 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14181 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14183 * version.h (RELEASE): Set to "development".
14184 (VERSION): Set to "2.28.9000".
14185 * NEWS (2.29): New section.
14187 * version.h (RELEASE): Set to "stable".
14188 (VERSION): Set to "2.28".
14189 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14190 * NEWS: Add the list of bugs fixed in 2.28.
14192 * po/ca.po: Update to latest version.
14193 * po/cs.po: Likewise
14194 * po/da.po: Likewise
14195 * po/el.po: Likewise
14196 * po/eo.po: Likewise
14197 * po/es.po: Likewise
14198 * po/fi.po: Likewise
14199 * po/fr.po: Likewise
14200 * po/gl.po: Likewise
14201 * po/hu.po: Likewise
14202 * po/ia.po: Likewise
14203 * po/id.po: Likewise
14204 * po/it.po: Likewise
14205 * po/ja.po: Likewise
14206 * po/ko.po: Likewise
14207 * po/lt.po: Likewise
14208 * po/nb.po: Likewise
14209 * po/nl.po: Likewise
14210 * po/pt_BR.po: Likewise
14211 * po/ru.po: Likewise
14212 * po/rw.po: Likewise
14213 * po/sk.po: Likewise
14214 * po/sl.po: Likewise
14215 * po/tr.po: Likewise
14216 * po/zh_CN.po: Likewise
14217 * po/zh_TW.po: Likewise
14219 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14221 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14223 (init): ... before initializing libpthread.
14225 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14226 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14227 (__mach_setup_tls): ... new function.
14228 (mach_setup_tls): New alias.
14229 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14230 __mach_setup_thread.
14231 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14232 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14233 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14234 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14236 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14238 * manual/install.texi: Update versions.
14239 * INSTALL: Regenerate.
14241 * manual/contrib.texi (Contributors): Update contributions.
14243 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14245 * po/be.po: Update translations.
14247 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14249 * sysdeps/sh/libm-test-ulps: Update.
14251 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14253 * po/bg.po: Update translations.
14254 * po/de.po: Likewise.
14255 * po/hr.po: Likewise.
14256 * po/pt_BR.po: Likewise.
14257 * po/sv.po: Likewise.
14258 * po/vi.po: Likewise.
14260 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14263 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14264 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14265 (CFLAGS-tst-cet-property-1.o): New.
14266 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14267 ($(objpfx)tst-cet-property-2): Likewise.
14268 ($(objpfx)tst-cet-property-2.out): Likewise.
14269 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14270 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14271 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14272 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14273 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14275 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14278 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14280 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14282 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14283 __sbrk): Do not set attribute_hidden.
14284 * sysdeps/mach/hurd/not-errno.h: New file.
14285 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14286 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14288 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14290 * po/uk.po: Update translations.
14291 * po/cs.po: Likewise.
14292 * po/pl.po: Likewise.
14294 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14296 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14297 parse beyond the note end.
14299 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14301 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14302 kernel does not support OFD locks.
14303 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14305 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14307 * sysdeps/mach/hurd/Versions (libc): Make __access and
14308 __access_noerrno external so they can override the ld symbols.
14309 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14310 __writev, __open64, __access_noerrno extern so they can be overrided.
14311 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14312 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14314 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14316 * po/libc.pot: Regenerate.
14318 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14320 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14322 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14325 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14327 (init_cpu_features): Call get_extended_indices for both Intel
14329 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14330 Remove "for AMD" comment.
14332 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14335 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14336 COMMON_CPUID_INDEX_80000001.
14338 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14340 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14341 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14343 2018-07-26 Florian Weimer <fweimer@redhat.com>
14345 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14346 aliases for symbols not in the implementation namespace.
14348 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14351 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14352 lowercase in LATIN script.
14353 * localedata/Makefile (test-input): Add en_US.UTF-8.
14354 * localedata/en_US.UTF-8.in: New file.
14355 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14356 and restore old tests.
14357 * posix/tst-regexloc.c (do_test): Add back range expression test.
14359 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14361 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14363 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14365 * nptl/threads.h: Move to ...
14366 * sysdeps/nptl/threads.h: ... here.
14367 * sysdeps/hurd/stdc-predef.h: New file.
14369 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14371 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14372 tst-cet-setcontext-1 if CET is enabled.
14373 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14374 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14376 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14378 * include/threads.h: Move to ...
14379 * sysdeps/nptl/threads.h: ... here.
14380 * sysdeps/htl/threads.h: New file.
14381 * conform/Makefile (linknamespace-libs-ISO11): Use
14382 static-thread-library instead of linking libpthread.
14383 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14385 2018-07-25 Florian Weimer <fweimer@redhat.com>
14387 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14388 nanoseconds into seconds.
14389 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14390 (do_test): Likewise.
14391 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14392 (do_test): Likewise. Avoid nanosecond overflow and spurious
14393 timeouts due to system load.
14394 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14395 (child_wait): Increment it.
14396 (do_test): Wait as long as necessary until all expected threads
14399 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14400 H.J. Lu <hongjiu.lu@intel.com>
14402 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14404 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14405 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14406 (__push___start_context): New.
14407 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14409 (__getcontext): Record the current shadow stack base. Save the
14410 caller's shadow stack pointer and base.
14411 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14412 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14413 (__push___start_context): New prototype.
14414 (__makecontext): Call __push___start_context to allocate a new
14415 shadow stack, push __start_context onto the new stack as well
14416 as the new shadow stack.
14417 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14419 (__setcontext): Restore the target shadow stack.
14420 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14422 (__swapcontext): Record the current shadow stack base. Save
14423 the caller's shadow stack pointer and base. Restore the target
14425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14426 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14427 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14429 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14431 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14432 tst-setcontext8 and tst-setcontext9.
14433 * stdlib/tst-setcontext6.c: New file.
14434 * stdlib/tst-setcontext7.c: Likewise.
14435 * stdlib/tst-setcontext8.c: Likewise.
14436 * stdlib/tst-setcontext9.c: Likewise.
14438 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14440 * stdlib/Makefile ((tests): Add tst-setcontext5.
14441 * stdlib/tst-setcontext5.c: New file.
14443 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14445 * stdlib/Makefile (tests): Add tst-setcontext4.
14446 * stdlib/tst-setcontext4.c: New file.
14448 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14450 * stdlib/Makefile (tests): Add tst-swapcontext1.
14451 * stdlib/tst-swapcontext1.c: New test.
14453 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14455 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14456 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14457 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14458 and tst-cet-legacy-4c.
14459 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14460 and tst-cet-legacy-mod-4.
14461 (CFLAGS-tst-cet-legacy-2.c): New.
14462 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14463 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14464 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14465 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14466 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14467 ($(objpfx)tst-cet-legacy-1): Likewise.
14468 ($(objpfx)tst-cet-legacy-2): Likewise.
14469 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14470 ($(objpfx)tst-cet-legacy-2a): Likewise.
14471 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14472 ($(objpfx)tst-cet-legacy-4): Likewise.
14473 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14474 ($(objpfx)tst-cet-legacy-4a): Likewise.
14475 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14476 (tst-cet-legacy-4a-ENV): Likewise.
14477 ($(objpfx)tst-cet-legacy-4b): Likewise.
14478 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14479 (tst-cet-legacy-4b-ENV): Likewise.
14480 ($(objpfx)tst-cet-legacy-4c): Likewise.
14481 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14482 (tst-cet-legacy-4c-ENV): Likewise.
14483 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14484 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14485 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14486 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14487 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14488 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14489 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14490 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14491 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14492 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14493 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14495 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14497 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14498 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14500 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14501 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14504 2018-07-25 Andreas Schwab <schwab@suse.de>
14507 * locale/weightwc.h (findidx): Handle the case where usrc is a
14508 prefix of cp but one character too short.
14510 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14512 * NEWS: Add ISO C threads addition.
14514 2018-07-24 Florian Weimer <fweimer@redhat.com>
14516 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14517 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14518 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14521 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14523 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14524 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14525 <sys/prctl.h> and <asm/prctl.h>.
14526 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14527 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14529 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14530 ARCH_CET_LEGACY_BITMAP.
14531 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14532 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14533 * sysdeps/x86/libc-start.c: Include <startup.h>.
14535 2018-07-24 Florian Weimer <fweimer@redhat.com>
14537 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14538 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14540 2018-07-24 Rical Jasan <rj@2c3t.io>
14541 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14542 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14545 * manual/debug.texi: Update adjacent chapter name.
14546 * manual/probes.texi: Likewise.
14547 * manual/threads.texi (ISO C Threads): New section.
14548 (POSIX Threads): Convert to a section.
14550 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14551 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14554 * nptl/Makefile (tests): Add new test files.
14555 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14556 * nptl/tst-cnd-basic.c: Likewise.
14557 * nptl/tst-cnd-broadcast.c: Likewise.
14558 * nptl/tst-cnd-timedwait.c: Likewise.
14559 * nptl/tst-mtx-basic.c: Likewise.
14560 * nptl/tst-mtx-recursive.c: Likewise.
14561 * nptl/tst-mtx-timedlock.c: Likewise.
14562 * nptl/tst-mtx-trylock.c: Likewise.
14563 * nptl/tst-thrd-basic.c: Likewise.
14564 * nptl/tst-thrd-detach.c: Likewise.
14565 * nptl/tst-thrd-sleep.c: Likewise.
14566 * nptl/tst-tss-basic.c: Likewise.
14568 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14571 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14572 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14574 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14597 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14598 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14599 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14600 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14602 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14603 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14604 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14605 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14607 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14608 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14609 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14611 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14612 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14625 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14635 * conform/data/threads.h-data (thread_local): New macro.
14636 (TSS_DTOR_ITERATIONS): Likewise.
14638 (tss_dtor_t): Likewise.
14639 (tss_create): New function.
14640 (tss_get): Likewise.
14641 (tss_set): Likewise.
14642 (tss_delete): Likewise.
14643 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14644 tss_get, and tss_set objects.
14645 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14646 * nptl/tss_create.c: New file.
14647 * nptl/tss_delete.c: Likewise.
14648 * nptl/tss_get.c: Likewise.
14649 * nptl/tss_set.c: Likewise.
14650 * sysdeps/nptl/threads.h (thread_local): New define.
14651 (TSS_DTOR_ITERATIONS): Likewise.
14652 (tss_t): New typedef.
14653 (tss_dtor_t): Likewise.
14654 (tss_create): New prototype.
14655 (tss_get): Likewise.
14656 (tss_set): Likewise.
14657 (tss_delete): Likewise.
14660 * conform/data/threads.h-data (cnd_t): New type.
14661 (cnd_init): New function.
14662 (cnd_signal): Likewise.
14663 (cnd_broadcast): Likewise.
14664 (cnd_wait): Likewise.
14665 (cnd_timedwait): Likewise.
14666 (cnd_destroy): Likewise.
14667 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14668 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14670 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14671 * nptl/cnd_broadcast.c: New file.
14672 * nptl/cnd_destroy.c: Likewise.
14673 * nptl/cnd_init.c: Likewise.
14674 * nptl/cnd_signal.c: Likewise.
14675 * nptl/cnd_timedwait.c: Likewise.
14676 * nptl/cnd_wait.c: Likewise.
14677 * sysdeps/nptl/threads.h (cnd_t): New type.
14678 (cnd_init): New prototype.
14679 (cnd_signa): Likewise.
14680 (cnd_broadcast): Likewise.
14681 (cnd_wait): Likewise.
14682 (cnd_timedwait): Likewise.
14683 (cnd_destroy): Likewise.
14686 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14687 (once_flag): New type.
14688 (call_once): New function.
14689 * nptl/Makefile (libpthread-routines): Add call_once object.
14690 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14691 * nptl/call_once.c: New file.
14692 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14693 (once_flag): New type.
14694 (call_once): New prototype.
14697 * conform/data/threads.h-data (mtx_plain): New constant.
14698 (mtx_recursive): Likewise.
14699 (mtx_timed): Likewise.
14701 (mtx_init): New function.
14702 (mtx_lock): Likewise.
14703 (mtx_timedlock): Likewise.
14704 (mtx_trylock): Likewise.
14705 (mtx_unlock): Likewise.
14706 (mtx_destroy): Likewise.
14707 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14708 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14709 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14710 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14711 * nptl/mtx_destroy.c: New file.
14712 * nptl/mtx_init.c: Likewise.
14713 * nptl/mtx_lock.c: Likewise.
14714 * nptl/mtx_timedlock.c: Likewise.
14715 * nptl/mtx_trylock.c: Likewise.
14716 * nptl/mtx_unlock.c: Likewise.
14717 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14718 (mtx_recursive): Likewise.
14719 (mtx_timed): Likewise.
14721 (mtx_init): New prototype.
14722 (mtx_lock): Likewise.
14723 (mtx_timedlock): Likewise.
14724 (mtx_trylock): Likewise.
14725 (mtx_unlock): Likewise.
14726 (mtx_destroy): Likewise.
14729 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14730 (linknamespace-libs-ISO11): Add libpthread.a.
14731 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14733 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14734 * nptl/Makefile (headers): Add threads.h.
14735 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14736 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14738 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14739 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14740 thrd_join, thrd_sleep, and thrd_yield symbols.
14741 * nptl/descr.h (struct pthread): Add c11 field.
14742 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14743 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14744 routine with expected function prototype.
14745 (__pthread_create_2_1): Add C11 threads check based on attribute
14747 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14748 * nptl/thrd_create.c: New file.
14749 * nptl/thrd_current.c: Likewise.
14750 * nptl/thrd_detach.c: Likewise.
14751 * nptl/thrd_equal.c: Likewise.
14752 * nptl/thrd_exit.c: Likewise.
14753 * nptl/thrd_join.c: Likewise.
14754 * nptl/thrd_priv.h: Likewise.
14755 * nptl/thrd_sleep.c: Likewise.
14756 * nptl/thrd_yield.c: Likewise.
14757 * include/threads.h: Likewise.
14759 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14761 * bits/indirect-return.h: New file.
14762 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14763 * sysdeps/x86/bits/indirect-return.h: Likewise.
14764 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14765 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14766 (swapcontext): Add __INDIRECT_RETURN.
14767 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14768 (prepare_test_buffer): Use it.
14770 2018-07-24 Andreas Schwab <schwab@suse.de>
14773 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14774 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14776 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14778 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14779 Redefine if shadow stack is enabled.
14780 (SYSCALL_ERROR_LABEL): Likewise.
14781 (__vfork): Pop shadow stack and jump back to to caller directly
14782 when shadow stack is in use.
14783 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14784 Redefine if shadow stack is enabled.
14785 (SYSCALL_ERROR_LABEL): Likewise.
14786 (__vfork): Pop shadow stack and jump back to to caller directly
14787 when shadow stack is in use.
14789 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14791 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14794 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14797 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14799 * scripts/build-many-glibcs.py (Context.checkout): Default
14800 binutils version to 2.31 branch.
14802 2018-07-20 Zong Li <zong@andestech.com>
14804 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14805 URL of gcc's tarball.
14807 2018-07-20 Florian Weimer <fweimer@redhat.com>
14810 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14811 not compare an extra byte after the end of the weights.
14813 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14815 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14817 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14819 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14820 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14821 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14822 list of libraries whose stack executability is expected.
14823 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14824 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14826 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14827 libc.so libpthread.so.
14829 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14831 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14833 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14835 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14837 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14839 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14841 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14842 library to improve command line parsing.
14843 (__main__): make schema file as optional parameter (--schema),
14844 defaulting to benchtests/scripts/benchout.schema.json.
14845 (main): move out of the parsing stuff to __main_ and leave it
14846 only as caller of main comparison functions.
14848 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14850 * NEWS: Add a note for Intel CET status.
14851 * manual/install.texi: Likewise.
14852 * INSTALL: Regenerated.
14854 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14857 * localedata/locales/oc_FR (mon): Rename to...
14858 (alt_mon): This, then update October (typo fix).
14859 (mon): New content (genitive case, month names preceded by
14863 * localedata/locales/oc_FR (abday): Update all items.
14864 (day): Update Wednesday and Saturday (typo fixes).
14865 (abmon): Update all items, except May.
14866 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14867 (LC_IDENTIFICATION): Bump the revision number and date.
14868 Keep the "category" entries in alphabetic order.
14869 (LC_ADDRESS): Remove no longer needed comment.
14870 (LC_COLLATE): Use “copy "ca_ES"”.
14871 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14874 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14876 * grp/tst_fgetgrent.c: Include <unistd.h>.
14877 (main): Use mkstemp instead of tmpnam.
14878 * io/test-utime.c (main): Likewise.
14879 * posix/annexc.c (macrofile): Change to modifiable array.
14880 (main): Remove macrofile here.
14881 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14883 (check_header): Do not remove macrofile here.
14884 * posix/bug-getopt1.c: Include <stdlib.h>.
14885 (do_test): Use mkstemp instead of tmpnam.
14886 * posix/bug-getopt2.c: Include <stdlib.h>.
14887 (do_test): Use mkstemp instead of tmpnam.
14888 * posix/bug-getopt3.c: Include <stdlib.h>.
14889 (do_test): Use mkstemp instead of tmpnam.
14890 * posix/bug-getopt4.c: Include <stdlib.h>.
14891 (do_test): Use mkstemp instead of tmpnam.
14892 * posix/bug-getopt5.c: Include <stdlib.h>.
14893 (do_test): Use mkstemp instead of tmpnam.
14894 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14895 (main): Use mkstemp instead of tmpnam.
14896 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14897 (main): Use mkstemp instead of tmpnam.
14898 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14899 (main): use mkstemp instead of tmpnam.
14900 * stdlib/isomac.c (macrofile): Change to modifiable array.
14901 (main): Remove macrofile here.
14902 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14904 (check_header): Do not remove macrofile here.
14906 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14908 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14909 glibc.tune.x86_shstk.
14911 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14913 * NEWS: Mention --enable-cet.
14914 * manual/install.texi: Document --enable-cet.
14915 * INSTALL: Regenerated.
14917 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14919 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14920 Add _CET_NOTRACK before indirect jump to jump table.
14922 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14924 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14925 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14928 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14930 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14931 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14934 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14936 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14937 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14940 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14942 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14943 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14946 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14948 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14949 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14951 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14953 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14955 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14956 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14959 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14961 * sysdeps/i386/i686/multiarch/memset-sse2.S
14962 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14965 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14967 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14968 indirect jump to jump table.
14970 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14972 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14973 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14975 (MEMCPY): Likewise.
14977 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14979 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14980 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14982 (MEMCPY): Likewise.
14984 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14986 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14987 _CET_NOTRACK before indirect jump to jump table.
14989 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14991 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14992 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14995 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14997 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14998 indirect jump to jump table.
15000 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15003 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15004 (LOCALES): Likewise.
15005 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15006 * localedata/locales/sah_RU: New file.
15007 * localedata/sah_RU.UTF-8.in: New file.
15009 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15011 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15013 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15014 _CET_ENDBR to indirect jump targets and adjust jump destination
15016 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15018 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15019 _CET_ENDBR to indirect jump targets and adjust jump destination
15021 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15023 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15024 _CET_ENDBR to indirect jump targets and adjust jump destination
15027 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15029 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15032 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15034 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15036 (_dl_tlsdesc_undefweak): Likewise.
15037 (_dl_tlsdesc_dynamic): Likewise.
15038 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15039 (_dl_tlsdesc_resolve_rel): Likewise.
15040 (_dl_tlsdesc_resolve_rela): Likewise.
15041 (_dl_tlsdesc_resolve_hold): Likewise.
15042 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15043 (_dl_tlsdesc_undefweak): Likewise.
15044 (_dl_tlsdesc_dynamic): Likewise.
15045 (_dl_tlsdesc_resolve_rela): Likewise.
15046 (_dl_tlsdesc_resolve_hold): Likewise.
15048 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15050 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15052 * sysdeps/x86_64/crti.S (_init): Likewise.
15055 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15058 * localedata/locales/os_RU (mon): Rename to...
15060 (mon): Import from CLDR (genitive case).
15062 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15064 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15065 cet-tunables.h> when CET is enabled.
15067 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15070 * configure.ac: Add --enable-cet.
15071 * configure: Regenerated.
15072 * elf/Makefille (all-built-dso): Add a comment.
15073 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15074 Include <dl-prop.h>.
15075 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15077 * elf/dl-open.c: Include <dl-prop.h>.
15078 (dl_open_worker): Call _dl_open_check.
15079 * elf/rtld.c: Include <dl-prop.h>.
15080 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15082 * sysdeps/generic/dl-prop.h: New file.
15083 * sysdeps/i386/dl-cet.c: Likewise.
15084 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15085 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15086 * sysdeps/x86/cet-tunables.h: Likewise.
15087 * sysdeps/x86/check-cet.awk: Likewise.
15088 * sysdeps/x86/configure: Likewise.
15089 * sysdeps/x86/configure.ac: Likewise.
15090 * sysdeps/x86/dl-cet.c: Likewise.
15091 * sysdeps/x86/dl-procruntime.c: Likewise.
15092 * sysdeps/x86/dl-prop.h: Likewise.
15093 * sysdeps/x86/libc-start.h: Likewise.
15094 * sysdeps/x86/link_map.h: Likewise.
15095 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15097 (_dl_runtime_profile): Likewise.
15098 (_dl_runtime_resolve_shstk): New.
15099 (_dl_runtime_profile_shstk): Likewise.
15100 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15102 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15103 (CFLAGS-.os): Likewise.
15104 (CFLAGS-.op): Likewise.
15105 (CFLAGS-.oS): Likewise.
15106 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15108 (tests-special): Add $(objpfx)check-cet.out.
15109 (cet-built-dso): New.
15110 (+$(cet-built-dso:=.note)): Likewise.
15111 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15112 ($(objpfx)check-cet.out): New.
15113 (generated): Add check-cet.out.
15114 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15116 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15117 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15118 (init_cpu_features): Call get_cet_status to check CET status
15119 and update dl_x86_feature_1 with CET status. Call
15120 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15121 (set_x86_shstk). Disable and lock CET in libc.a.
15122 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15123 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15124 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15125 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15126 (_CET_ENDBR): Define if not defined.
15127 (ENTRY): Add _CET_ENDBR.
15128 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15130 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15132 (_dl_runtime_profile): Likewise.
15134 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15137 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15138 restore r2 on longjmp.
15139 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15141 Added rules to build test tst-setjmp-bug21895-static.
15142 Added module setjmp-bug21895 and rules to build a shared object from it.
15143 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15144 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15146 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15148 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15149 * benchtests/bench-strstr.c: Likewise.
15150 * string/memmem.c (FASTSEARCH): Define.
15151 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15152 Add support for FASTSEARCH.
15153 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15154 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15155 (FASTSEARCH): Define.
15156 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15157 * string/test-strstr.c: Likewise.
15159 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15162 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15164 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15165 H.J. Lu <hongjiu.lu@intel.com>
15167 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15168 (__longjmp): Restore shadow stack pointer if shadow stack is
15169 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15170 isn't defined for __longjmp_cancel.
15171 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15172 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15173 and SHADOW_STACK_POINTER_OFFSET is defined.
15174 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15175 (setjmp): Save shadow stack pointer if shadow stack is enabled
15176 and SHADOW_STACK_POINTER_OFFSET is defined.
15177 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15178 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15179 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15180 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15182 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15183 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15184 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15185 Remove jmp_buf-ssp.sym.
15186 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15188 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15189 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15190 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15192 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15193 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15194 (__longjmp): Restore shadow stack pointer if shadow stack is
15195 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15196 isn't defined for __longjmp_cancel.
15197 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15198 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15199 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15201 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15204 * nptl/pthread_create.c: Include <tls-setup.h>.
15205 (__pthread_create_2_1): Call tls_setup_tcbhead.
15206 * sysdeps/generic/tls-setup.h: New file.
15207 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15208 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15209 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15211 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15213 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15214 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15215 (X86_FEATURE_1_SHSTK): Likewise.
15216 (CET_ENABLED): Likewise.
15217 (IBT_ENABLED): Likewise.
15218 (SHSTK_ENABLED): Likewise.
15220 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15223 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15224 (LOCALES): Likewise.
15225 * localedata/dsb_DE.UTF-8.in: New file.
15226 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15228 2018-07-12 Florian Weimer <fweimer@redhat.com>
15230 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15231 __mprotect, not mprotect.
15233 2018-07-11 Florian Weimer <fweimer@redhat.com>
15235 * io/Makefile (headers): Add bits/statx.h.
15237 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15239 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15240 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15242 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15243 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15246 2018-07-10 Florian Weimer <fweimer@redhat.com>
15248 * io/Makefile (routines): Add statx.
15249 (tests-internal): Add tst-statx.
15250 * io/Versions (GLIBC_2.28): Export statx.
15251 * io/bits/statx.h: New file.
15252 * io/sys/stat.h [__USE_GNU]: Include it.
15253 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15254 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15256 * io/statx.c: New file.
15257 * io/statx_generic.: Likewise.
15258 * io/tst-statx.: Likewise.
15259 * include/bits/statx.h: Likewise.
15260 * sysdeps/unix/sysv/linux/kernel-features.h
15261 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15262 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15263 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15264 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15266 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15267 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15268 * sysdeps/unix/sysv/linux/statx.c: New file.
15269 * manual/filesys.texi: Note that statx is undocumented.
15270 * sysdeps/**/libc*.abilist: Update.
15272 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15274 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15275 a kernel issue which lead to test failure in some cases.
15277 2018-07-10 Florian Weimer <fweimer@redhat.com>
15280 * posix/regexec.c (check_node_accept_bytes): When comparing
15281 weights, do not compare an extra byte after the end of the
15284 2018-07-10 Florian Weimer <fweimer@redhat.com>
15286 * libio/readline.c: Fix copyright year.
15287 * libio/tst-readline.c Likewise.
15288 * nss/tst-nss-files-hosts-getent.c: Likewise.
15290 2018-07-06 Florian Weimer <fweimer@redhat.com>
15293 * nss/nss_files/files-XXX.c (internal_getent): Use
15294 __libc_readline_unlocked. Seek back to the start of the line if
15295 parsing failes with ERANGE.
15296 (get_contents_ret, get_contents): Remove.
15297 * nss/tst-nss-files-hosts-getent.c: New file.
15298 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15299 (tst-nss-files-hosts-getent): Link with -ldl.
15301 2018-07-06 Florian Weimer <fweimer@redhat.com>
15303 * include/stdio.h (__libc_readline_unlocked): Declare.
15304 (__ftello64, __fseeko64): Declare aliases.
15305 * libio/readline.c: New file.
15306 * libio/tst-readline.c: Likewise.
15307 (routines): Add readline.
15308 (tests-internal): Add tst-readlime.
15309 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15310 __libc_readline_unlocked.
15311 * libio/fseeko.c (__fseeko): Rename from fseeko.
15312 (fseeko): Add alias.
15313 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15314 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15315 (fseeko64): Add alias.
15316 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15317 * libio/ftello64.c (__ftello64): Rename from ftello64.
15318 (ftello64): Add alias.
15320 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15322 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15325 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15327 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15328 Use dl_hwcap without masking.
15329 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15330 Remove HWCAP_CPUID.
15332 2018-07-06 Florian Weimer <fweimer@redhat.com>
15334 * conform/conformtest.pl (checknamespace): Escape literal braces
15335 in regular expressions.
15337 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15339 * sysdeps/x86/cpu-features.c (get_common_indeces):
15340 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15341 * sysdeps/x86/cpu-features.c (init_cpu_features):
15342 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15344 2018-07-05 Florian Weimer <fweimer@redhat.com>
15346 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15348 (CFLAGS-elf-init.oS): Likewise.
15350 2018-07-05 Florian Weimer <fweimer@redhat.com>
15351 Carlos O'Donell <carlos@redhat.com>
15353 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15354 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15355 with stack protector enabled because there is no risk of infinite
15358 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15362 * libc-abis (ABSOLUTE): New ABI.
15363 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15364 * NEWS: Mention the new ABI.
15366 2018-07-05 Florian Weimer <fweimer@redhat.com>
15369 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15370 (RENAME_WHITEOUT): Define.
15371 [__USE_GNU] (renameat2): Declare.
15372 * stdio-common/Makefile (routines): Add renameat2.
15373 (tests): Add tst-renameat2.
15374 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15375 * stdio-common/renameat2.c: New file.
15376 * stdio-common/tst-renameat2.c: Likewise.
15377 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15378 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15380 * sysdeps/unix/sysv/linux/kernel-features.h
15381 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15382 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15383 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15384 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15385 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15386 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15387 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15388 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15389 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15390 * include/stdio.h (__renameat): Add alias for renameat.
15391 * stdio-common/renameat.c (__renameat): Rename from renameat.
15392 Add hidden definition and alias.
15393 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15394 * sysdeps/mach/hurd/renameat.c: Likewise.
15395 * sysdeps/**/libc*.abilist: Add renameat2.
15397 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15399 * posix/bug-regex33.c: Fix build after regex sync.
15401 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15404 * localedata/tst-langinfo-setlocale.c: New file.
15405 * localedata/tst-langinfo-setlocale-static.c: New file.
15406 * localedata/tst-langinfo-newlocale.c: New file.
15407 * localedata/tst-langinfo-newlocale-static.c: New file.
15408 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15409 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15410 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15411 (tests-static): Remove tst-langinfo-static. Add
15412 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15413 (tests-special): Remove $(objpfx)tst-langinfo.out,
15414 $(objpfx)tst-langinfo-static.out. Add
15415 $(objpfx)tst-langinfo-setlocale.out,
15416 $(objpfx)tst-langinfo-newlocale.out,
15417 $(objpfx)tst-langinfo-setlocale-static.out,
15418 $(objpfx)tst-langinfo-newlocale-static.out.
15419 ($(objpfx)tst-langinfo.out): Remove.
15420 ($(objpfx)tst-langinfo-static.out): Remove.
15421 ($(objpfx)tst-langinfo-newlocale.out): New target.
15422 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15423 (test-xfail-tst-langinfo-newlocale-static): Add.
15424 ($(objpfx)tst-langinfo-setlocale.out): New target.
15425 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15426 * localedata/tst-langinfo.c: Call test_locale.
15427 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15430 2018-07-04 Florian Weimer <fweimer@redhat.com>
15432 testrun.sh: Implement --tool=strace, --tool=valgrind
15433 * Makefile (testrun-script): Define variable.
15434 (testrun.sh): Use variable.
15435 * manual/install.texi (Tools for Compilation): make 4.0 or later
15437 * configure.ac: Check for make 4.0 or later.
15438 * INSTALL: Regenerate.
15439 * configure: Likewise.
15441 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15447 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15448 * posix/PCRE.tests: Remove invalid test.
15449 * posix/bug-regex28.c: Fix expected values for used syntax.
15450 * posix/bug-regex37.c: New file.
15451 * posix/bug-regex38.c: Likewise.
15452 * posix/regcomp.c: Sync with gnulib.
15453 * posix/regex.c: Likewise.
15454 * posix/regex.h: Likewise.
15455 * posix/regex_internal.c: Likewise.
15456 * posix/regex_internal.h: Likewise.
15457 * posix/regexec.c: Likewise.
15459 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15462 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15463 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15464 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15465 * localedata/unicode-gen/PropList.txt: likewise.
15466 * localedata/unicode-gen/UnicodeData.txt: likewise.
15467 * localedata/charmaps/UTF-8: Regenerate.
15468 * localedata/locales/i18n_ctype: likewise.
15469 * localedata/locales/tr_TR: likewise.
15470 * localedata/locales/translit_circle: likewise.
15471 * localedata/locales/translit_cjk_compat: likewise.
15472 * localedata/locales/translit_combining: likewise.
15473 * localedata/locales/translit_compat: likewise.
15474 * localedata/locales/translit_font: likewise.
15475 * localedata/locales/translit_fraction: likewise.
15477 2018-07-03 Florian Weimer <fweimer@redhat.com>
15480 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15481 * stdio-common/tst-printf.sh: Adjust expected output.
15482 * LICENSES: Update.
15484 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15486 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15489 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15491 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15492 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15493 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15494 * stdio-common/tst-printfsz-islongdouble.c: New file.
15495 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15496 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15497 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15498 [subdir == stdio-common] (tests-internal): Add
15499 test-printf-size-ieee128, and test-printf-size-ibm128.
15500 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15501 (CFLAGS-test-printf-size-ibm128.c): New variables.
15502 [subdir == stdio-common] (tests-special): Add
15503 $(objpfx)test-printf-size-ieee128.out and
15504 $(objpfx)test-printf-size-ibm128.out.
15505 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15506 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15507 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15508 __printf_sizeieee128.
15509 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15511 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15513 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15516 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15518 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15519 (exp2f_inline): Likewise.
15520 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15521 (__math_uflowf): Likewise.
15522 (__math_may_uflowf): Likewise.
15523 (__math_divzerof): Likewise.
15524 (__math_invalidf): Likewise.
15525 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15526 (__math_oflowf): Likewise.
15527 (__math_uflowf): Likewise.
15528 (__math_may_uflowf): Likewise.
15529 (__math_divzerof): Likewise.
15530 (__math_invalidf): Likewise.
15532 2018-06-29 DJ Delorie <dj@redhat.com>
15533 Carlos O'Donell <carlos@redhat.com>
15536 * include/libc-symbols.h: Comment the freeres framework.
15537 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15538 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15539 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15540 * dlfcn/dlerror.c: Include libc-symbols.h
15541 (__dlerror_main_freeres): New function.
15542 * dlfcn/dlfreeres.c: New file.
15543 * dlfcn/sdlfreeres.c: New file.
15544 * include/dlfcn.h: Declare __dlerror_main_freeres.
15545 * malloc/set-freeres.c: Declare __libdl_freeres, and
15546 __libpthread_freeres.
15547 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15548 the releavant libraries are loaded.
15549 * malloc/thread-freeres.c: Add comments.
15550 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15551 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15552 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15553 (__free_stacks): Rename to...
15554 (free_stacks): ...this. Mark static.
15555 (queue_stack): Call free_stacks.
15556 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15557 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15558 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15559 ptr_freeres element from struct.
15560 (pthread_functions): Remove .ptr_freeres from struct initializer.
15561 [SHARED] (nptl_freeres): Remove.
15562 * nptl/nptlfreeres.c: New file.
15564 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15565 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15567 (__free_stacks): Rename to...
15568 (__nptl_stacks_freeres): ...this.
15569 (__shm_directory_freeres): Declare.
15570 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15571 (__nptl_unwind_freeres): ...this.
15572 * resolv/res-close.c: Add comment.
15573 * resolv/resolv_conf.c: Include libc-symbols.h.
15574 * string/strerror_l.c: Include libc-symbols.h.
15575 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15576 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15577 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15578 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15580 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15582 * stdlib/tst-strfmon_l.c: Add tests for long double.
15584 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15587 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15588 * localedata/locales/dsb_DE: New file.
15590 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15593 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15595 (alt_mon): New entry, import from CLDR (nominative case).
15597 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15600 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15602 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15604 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15605 Use vector registers.
15607 * sysdeps/aarch64/multiarch/memmove_falkor.S
15608 (__memcpy_falkor): Use vector registers.
15610 2018-06-29 Martin Sebor <msebor@redhat.com>
15612 * manual/stdio.texi (Customizing Printf): Mention interaction
15613 with GCC built-ins.
15615 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15618 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15619 `st_value' is 0 if `st_shndx' is SHN_ABS.
15620 * elf/tst-absolute-zero.c: New file.
15621 * elf/tst-absolute-zero-lib.c: New file.
15622 * elf/tst-absolute-zero-lib.lds: New file.
15623 * elf/Makefile (tests): Add `tst-absolute-zero'.
15624 (modules-names): Add `tst-absolute-zero-lib'.
15625 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15626 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15627 ($(objpfx)tst-absolute-zero: New dependency.
15629 2018-06-29 Zack Weinberg <zackw@panix.com>
15631 * configure.ac: New command-line option --disable-crypt.
15632 Force --disable-nss-crypt when --disable-crypt is given, with a
15633 warning if it was explicitly enabled.
15634 * configure: Regenerate.
15635 * config.make.in: New boolean substitution variable $(build-crypt).
15636 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15637 when $(build-crypt).
15638 * manual/install.texi: Document --disable-crypt.
15639 * INSTALL: Regenerate.
15641 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15642 which is never set.
15643 * conform/Makefile: Only include libcrypt.a in
15644 linknamespace-libs-xsi and linknamespace-libs-XPG4
15645 when $(build-crypt).
15646 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15647 USE_CRYPT to 1 when $(build-crypt).
15648 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15649 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15650 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15652 2018-06-29 Zack Weinberg <zackw@panix.com>
15654 * crypt/crypt.h, posix/unistd.h: Update comments and
15655 prototypes for crypt and crypt_r.
15657 * manual/crypt.texi (Cryptographic Functions): New initial
15659 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15660 (Unpredictable Bytes): Improve initial exposition. Clarify error
15661 behavior of getentropy and getrandom.
15662 * manual/examples/genpass.c: Generate a salt using getentropy
15663 instead of the current time. Use hash $5$ (SHA-2-256).
15664 * manual/examples/testpass.c: Demonstrate validation against
15665 hashes generated with three different one-way functions.
15667 * manual/intro.texi: crypt.texi does not need an overview
15670 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15671 * manual/terminal.texi: Consistently refer to "passphrases"
15672 * instead of "passwords", and to the "user database" instead
15673 * of the "password database".
15674 * manual/users.texi: Similarly. Add notes about how actual
15675 passphrase hashes are now stored in the shadow database.
15676 Remove 20-year-old junk todo note.
15678 2018-06-29 Zack Weinberg <zackw@panix.com>
15680 * manual/crypt.texi: Use a normal top-level @node declaration.
15681 Move most of the introductory text to the 'crypt' section.
15682 Move the example programs below the @deftypefun for 'crypt_r'.
15683 Move the 'getpass' section...
15684 * manual/terminal.texi: ...here.
15686 2018-06-29 Zack Weinberg <zackw@panix.com>
15687 Florian Weimer <fweimer@redhat.com>
15689 * posix/unistd.h: Do not declare encrypt.
15690 (_XOPEN_CRYPT): Remove macro definition.
15691 (crypt): Declare only for _USE_MISC.
15692 * stdlib/stdlib.h: Do not declare setkey.
15693 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15694 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15696 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15697 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15698 into compat symbols. Don't define initial_perm if it's not
15700 * crypt/cert.c: Link explicitly with the expected versions for
15701 setkey and encrypt. If they are not available at all, mark
15702 the test as unsupported.
15704 * sunrpc/des_crypt.c: Unconditionally block linkage with
15705 cbc_crypt and ecb_crypt for new binaries.
15706 * sunrpc/des_soft.c: Unconditionally block linkage with
15707 des_setparity for new binaries.
15709 * manual/crypt.texi: Remove the entire "DES Encryption"
15710 section. Also remove the paragraph talking about FIPS 140-2
15711 from the introduction.
15712 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15713 of libgcrypt for "real" encryption, not DES.
15714 * manual/conf.texi (Constants for Sysconf): Mention that
15715 _XOPEN_CRYPT is no longer impelemented.
15717 * conform/data/unistd.h-data: Remove crypt function declaration.
15719 2018-06-29 Florian Weimer <fweimer@redhat.com>
15722 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15723 (disallow_malloc_check): Remove variable.
15724 (__malloc_check_init): Adjust.
15725 (malloc_set_state): Update comment.
15726 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15729 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15732 * localedata/locales/ast_ES (mon): Rename to...
15734 (mon): Import from CLDR (genitive case).
15736 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15737 Jakub Sitnicki <jkbs@redhat.com>
15740 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15741 on NLM_F_DUMP_INTR.
15743 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15745 * manual/llio.texi: Remove spurious space.
15747 2018-06-28 Florian Weimer <fweimer@redhat.com>
15750 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15753 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15755 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15756 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15757 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15758 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15759 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15760 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15761 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15763 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15766 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15767 Copy and null-terminate entries that are not terminated, in
15768 addition to empty ones.
15770 2018-06-27 Florian Weimer <fweimer@redhat.com>
15773 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15774 (extend_alloca_account): Remove.
15775 * manual/stdio.texi (Variable Arguments Output): Update comment.
15777 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15779 * nptl/sockperf.c: Remove file.
15781 2018-06-27 Florian Weimer <fweimer@redhat.com>
15784 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15785 scratch_buffer instead of extend_alloca.
15787 2018-06-27 Florian Weimer <fweimer@redhat.com>
15790 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15791 scratch_buffer instead of extend_alloca. Update comments.
15793 2018-06-27 Florian Weimer <fweimer@redhat.com>
15796 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15797 instead of extend_alloca.
15799 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15802 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15803 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15805 * scripts/test-installation.pl: Put temporary files in build
15806 directory, not /tmp.
15807 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15808 (CFLAGS-bug4.c): Likewise.
15809 (CFLAGS-bug5.c): Likewise.
15810 (CFLAGS-test-fseek.c): Likewise.
15811 (CFLAGS-test-popen.c): Likewise.
15812 (CFLAGS-test_rdwr.c): Likewise.
15813 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15815 * stdio-common/bug4.c (main): Likewise.
15816 * stdio-common/bug5.c (main): Likewise.
15817 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15818 * stdio-common/test-popen.c (do_test): Likewise.
15819 * stdio-common/test_rdwr.c (main): Likewise.
15821 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15823 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15824 (sem_open): Set sem.newsem.pad to zero for valgrind.
15826 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15829 * NEWS: Mention fcntl64 addition.
15830 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15831 * login/utmp_file.c: Likewise.
15832 * sysdeps/posix/fdopendir.c: Likewise.
15833 * sysdeps/posix/opendir.c: Likewise.
15834 * sysdeps/unix/pt-fcntl.c: Likewise.
15835 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15836 __fcntl64_nocancel_adjusted): New prototype.
15837 (__fcntl_nocancel_adjusted): Remove prototype.
15838 * io/Makefile (routines): Add fcntl64.
15839 (CFLAGS-fcntl64.c): New rule.
15840 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15841 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15842 * io/fcntl.h (fcntl64): Add prototype and redirect if
15843 __USE_FILE_OFFSET64 is defined.
15844 * io/fcntl64.c: New file.
15845 * manual/llio.text: Add a note for which commands fcntl acts a
15846 cancellation point.
15847 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15848 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15849 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15851 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15852 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15854 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15855 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15856 to __fcntl64_nocancel.
15857 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15858 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15859 to __fcntl64_nocancel.
15860 * sysdeps/generic/not-cancel.h: Likewise.
15861 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15862 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15863 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15864 (fcntl64): New symbol.
15865 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15866 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15870 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15871 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15873 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15874 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15875 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15876 fcntl64): Likewise.
15877 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15879 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15880 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15881 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15882 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15884 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15885 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15890 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15894 2018-06-26 Florian Weimer <fweimer@redhat.com>
15896 Run thread shutdown functions in an explicit order.
15897 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15899 (__libc_thread_freeres): Call thread shutdown functions
15901 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15902 * include/string.h (__strerror_thread_freeres): Declare.
15903 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15904 arena_thread_freeres. No longer static. Remove thread shutdown
15906 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15908 * resolv/res-close.c (__res_thread_freeres): Renamed from
15909 res_thread_freeres. No longer static. Remove thread shutdown
15911 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15912 * resolv/resolv_conf.c (freeres): Remove incorrect section
15913 attribute and use libc_freeres_fn.
15914 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15915 strerror_thread_freeres. No longer static. Remove thread
15916 shutdown hook registration.
15917 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15918 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15919 shutdown hook registration.
15920 * Makerules (shlib.lds): Do not provide section boundary symbols
15921 for __libc_thread_subfreeres.
15922 * manual/memory.texi (Basic Allocation): Update comment.
15924 2018-06-26 Florian Weimer <fweimer@redhat.com>
15926 Remove always-defined _RPC_THREAD_SAFE_ macro.
15927 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15928 Do not define _RPC_THREAD_SAFE_.
15929 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15931 * sunrpc/clnt_perr.c: Likewise.
15932 * sunrpc/clnt_raw.c: Likewise.
15933 * sunrpc/clnt_simp.c: Likewise.
15934 * sunrpc/key_call.c: Likewise.
15935 * sunrpc/rpc_common.c: Likewise.
15936 * sunrpc/rpc_main.c: Likewise.
15937 * sunrpc/rpc_thread.c: Likewise.
15938 * sunrpc/svc.c: Likewise.
15939 * sunrpc/svc_raw.c: Likewise.
15940 * sunrpc/svc_simple.c: Likewise.
15941 * sumrpc/svcauth_des.c: Likewise.
15943 2018-06-26 Florian Weimer <fweimer@redhat.com>
15945 * libio/Makefile (tests-internal): Add tst-vtables,
15946 tst-vtables-interposed.
15947 * libio/tst-vtables.c: New file.
15948 * libio/tst-vtables-common.c: Likewise.
15949 * libio/tst-vtables-interposed.c: Likewise.
15951 2018-06-26 Florian Weimer <fweimer@redhat.com>
15953 * support/support_test_main.c (support_test_main): Only call
15954 setvbuf if not disables.
15955 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15956 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15958 2018-06-26 Florian Weimer <fweimer@redhat.com>
15961 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15963 2018-06-25 Florian Weimer <fweimer@redhat.com>
15966 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15967 Use struct scratch_buffer instead of extend_alloca.
15969 2018-06-25 Florian Weimer <fweimer@redhat.com>
15972 * nss/getent.c (initgroups_keys): Use dynarray instead of
15975 2018-06-25 Florian Weimer <fweimer@redhat.com>
15978 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15979 Use struct scratch_buffer instead of extend_alloca.
15981 2018-06-25 Florian Weimer <fweimer@redhat.com>
15984 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15985 back to malloc directly, without stack allocations.
15987 2018-06-25 Florian Weimer <fweimer@redhat.com>
15990 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15993 2018-06-25 Florian Weimer <fweimer@redhat.com>
15996 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15998 * nscd/hstcache.c (addhstbyX): Likewise.
15999 * nscd/pwdcache.c (addpwbyX): Likewise.
16000 * nscd/servicescache.c (addservbyX): Likewise.
16002 2018-06-25 Florian Weimer <fweimer@redhat.com>
16005 * nscd/connections.c (read_cmdline): New function.
16006 (restart): Use it. Update comment.
16008 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16011 * localedata/locales/csb_PL (mon): Rename to...
16013 (abmon): Rename to...
16014 (ab_alt_mon): This.
16015 (mon): Add with proper genitive forms, copy from Wikipedia.
16018 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16021 * localedata/locales/csb_PL (mon): Fix typos:
16022 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16023 (yesstr): Add, value is "jo".
16024 (nostr): Add, value is "nié".
16026 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16028 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16029 all log1p and significand functions on m680x0.
16030 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16031 of s_significand.c..
16032 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16033 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16034 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16035 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16036 s_log1p.c and include it..
16038 2018-06-21 Vincent Chen <vincentc@andestech.com>
16040 * elf/elf.h (R_NDS32_NONE): New define.
16041 (R_NDS32_32_RELA): Likewise.
16042 (R_NDS32_COPY): Likewise.
16043 (R_NDS32_GLOB_DAT): Likewise.
16044 (R_NDS32_JUMP_SLOT): Likewise.
16045 (R_NDS32_RELATIVE): Likewise.
16046 (R_NDS32_TLS_TPOFF): Likewise.
16047 (R_NDS32_TLS_DESC): Likewise.
16049 2018-06-21 Mark Wielaard <mark@klomp.org>
16051 * elf/elf.h (R_BPF_MAP_FD): Removed.
16052 (R_BPF_64_64, R_BPF_64_32): New.
16054 2018-06-21 Florian Weimer <fweimer@redhat.com>
16057 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16058 Renamed from libc_feholdsetround_ctx.
16059 (default_libc_feresetround_ctx): Renamed from
16060 libc_feresetround_ctx.
16061 (default_libc_feholdsetround_noex_ctx): Renamed from
16062 libc_feholdsetround_noex_ctx.
16063 (default_libc_feresetround_noex_ctx): Renamed from
16064 libc_feresetround_noex_ctx.
16065 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16066 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16067 forwardning to the old implementations under the new names.
16068 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16069 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16070 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16071 (libc_feresetround_ctx): Forward to default implements for i386
16072 and MATH_SET_BOTH_ROUNDING_MODES.
16073 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16074 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16076 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16078 * string/tst-cmp.c: Include <libc-diag.h>.
16079 (strncmp_max): Disable -Wstringop-overflow= around call to
16081 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16084 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16085 (main): Disable -Wunused-value around call to strpbrk.
16086 * string/bug-strspn1.c: Include <libc-diag.h>.
16087 (main): Disable -Wunused-value around call to strspn.
16089 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16090 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16092 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16093 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16095 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16097 * math/Makefile (libm-calls): Move s_significandF to...
16098 (gen-libm-calls): ... here.
16099 * math/s_significand_template.c: New file.
16100 * math/s_significand.c: Removed.
16101 * math/s_significandf.c: Removed.
16102 * math/s_significandl.c: Removed.
16103 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16104 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16106 * math/e_exp2_template.c (declare_mgen_finite_alias,
16107 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16108 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16109 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16111 2018-06-20 Florian Weimer <fweimer@redhat.com>
16113 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16115 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16118 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16119 floating-point number to strtod functions rather than possibly
16120 negating result of those functions.
16121 * stdio-common/tst-scanf-round.c: New file.
16122 * stdio-common/Makefile (tests): Add tst-scanf-round.
16123 ($(objpfx)tst-scanf-round): Depend on $(libm).
16125 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16127 * sysdeps/mach/hurd/localplt.data: Move to...
16128 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16129 R_386_GLOB_DAT like on Linux i386.
16131 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16133 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16134 (SHM_STAT_ANY): New macro.
16135 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16136 (SHM_STAT_ANY): Likewise.
16137 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16138 (SHM_STAT_ANY): Likewise.
16139 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16140 (SHM_STAT_ANY): Likewise.
16141 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16142 (SHM_STAT_ANY): Likewise.
16143 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16144 (SHM_STAT_ANY): Likewise.
16145 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16146 (SHM_STAT_ANY): Likewise.
16147 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16148 (SHM_STAT_ANY): Likewise.
16149 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16150 (SHM_STAT_ANY): Likewise.
16151 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16152 (SHM_STAT_ANY): Likewise.
16153 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16154 (SHM_STAT_ANY): Likewise.
16155 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16156 (SHM_STAT_ANY): Likewise.
16158 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16159 (SEM_STAT_ANY): New macro.
16160 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16161 (SEM_STAT_ANY): Likewise.
16162 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16163 (SEM_STAT_ANY): Likewise.
16164 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16165 (SEM_STAT_ANY): Likewise.
16166 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16167 (SEM_STAT_ANY): Likewise.
16168 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16169 (SEM_STAT_ANY): Likewise.
16170 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16171 (SEM_STAT_ANY): Likewise.
16172 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16173 (SEM_STAT_ANY): Likewise.
16174 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16175 (SEM_STAT_ANY): Likewise.
16176 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16177 (SEM_STAT_ANY): Likewise.
16179 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16180 (MSG_STAT_ANY): New macro.
16181 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16182 (MSG_STAT_ANY): Likewise.
16183 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16184 (MSG_STAT_ANY): Likewise.
16185 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16186 (MSG_STAT_ANY): Likewise.
16187 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16188 (MSG_STAT_ANY): Likewise.
16189 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16190 (MSG_STAT_ANY): Likewise.
16191 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16192 (MSG_STAT_ANY): Likewise.
16193 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16194 (MSG_STAT_ANY): Likewise.
16195 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16196 (MSG_STAT_ANY): Likewise.
16197 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16198 (MSG_STAT_ANY): Likewise.
16200 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16201 (MAP_TYPE): Change value to 0x2b.
16203 2018-06-18 Florian Weimer <fweimer@redhat.com>
16206 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16207 socket with SOCK_CLOEXEC.
16209 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16212 * sysdeps/powerpc/powerpc64/le/Makefile
16213 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16214 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16215 (gnulib-tests): Also add $(f128-loader-link) for
16216 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16218 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16220 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16221 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16223 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16224 (sendfile64): New strong alias.
16225 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16226 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16227 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16228 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16230 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16231 ___pthread_get_cleanup_stack.
16232 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16233 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16234 * mach/shortcut.awk: Make syscall stubs include
16235 <mach-shortcuts-hidden.h> and add hidden definition.
16236 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16237 (__mach_msg): Add hidden prototype.
16238 * mach/msg.c: Include <mach.h>.
16239 (__mach_msg): Add hidden definition.
16240 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16241 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16242 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16243 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16244 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16245 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16246 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16247 prototype and definition.
16248 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16249 hidden target for _hurd_self_sigstate.
16251 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16254 * stdlib/tst-strtod-nan-sign-main.c: New file.
16255 * stdlib/tst-strtod-nan-sign.c: Likewise.
16256 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16257 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16258 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16259 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16260 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16262 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16268 2018-06-14 Florian Weimer <fweimer@redhat.com>
16271 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16272 that the result stays within the ISO-8859-1 range.
16273 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16274 characters are defined in IBM273.
16276 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16278 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16279 __mach_task_self): Remove attribute_hidden.
16281 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16283 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16284 ignore -Wrestrict for one test.
16286 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16287 Szabolcs Nagy <szabolcs.nagy@arm.com>
16289 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16291 2018-06-14 Florian Weimer <fweimer@redhat.com>
16293 * scripts/update-abilist.sh: Accept empty list of files to patch.
16295 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16297 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16298 test-xfail-check-abi-libmachuser): Add.
16299 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16300 __libc_read and __libc_write to __read and __write.
16301 * sysdeps/hurd/include/hurd/port.h: New file.
16302 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16303 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16304 __thread_switch, __evc_wait): Move declarations to...
16305 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16307 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16308 use PLT to call _hurd_self_sigstate.
16310 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16313 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16314 MAX_EXP as overflowing.
16315 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16317 (round_str): Output also whether result overflows in each rounding
16319 * stdlib/tst-strtod-round-data: Add more tests.
16320 * stdlib/tst-strtod-round-data.h: Regenerated.
16321 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16322 (TEST): Handle extra arguments for overflow flags.
16323 (struct test_overflow): New type.
16324 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16325 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16326 (test_in_one_mode): Take argument with overflow information.
16327 (do_test): Update calls to test_in_one_mode.
16329 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16331 * elf/dl-load (_dl_dst_substitute): Correct comment.
16332 (_dl_dst_count): Likewise.
16334 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16335 lll_futex_timed_wait.
16337 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16340 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16342 * math/test-nan-const.c: New file.
16343 * math/Makefile (tests): Add test-nan-const.
16344 (CFLAGS-test-nan-const.c): New variable.
16346 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16348 * benchtests/scripts/compare_strings.py (process_results): Add
16349 funcs argument. Compare only functions which are selected.
16350 (main): Check if base function is among selected functions.
16351 Pass selected functions to process_results.
16352 (__main__): Add -f/--functions argument.
16354 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16355 Hongbo Zhang <hongbo.zhang@linaro.org>
16357 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16358 __memcpy_falkor for phecda core.
16359 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16360 __memmove_falkor for phecda core.
16361 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16362 __memset_falkor for phecda core.
16363 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16365 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16366 macro to identify phecda core.
16368 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16369 Andreas Schwab <schwab@suse.de>
16370 Dmitry V. Levin <ldv@altlinux.org>
16371 Florian Weimer <fweimer@redhat.com>
16378 * elf/dl-dst.h: Remove DL_DST_COUNT.
16379 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16380 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16381 (is_dst): Comment. Support ELF gABI.
16382 (_dl_dst_count): Comment. Simplify and count DSTs.
16383 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16384 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16387 2018-06-12 Zack Weinberg <zackw@panix.com>
16389 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16390 * sysdeps/unix/sysv/linux/dl-sysdep.c
16391 Include not-cancel.h. Use __close_nocancel instead of __close,
16392 __open64_nocancel instead of __open, __read_nocancel instead of
16393 __libc_read, and __write_nocancel instead of __libc_write.
16395 * csu/check_fds.c (check_one_fd)
16396 * sysdeps/posix/fdopendir.c (__fdopendir)
16397 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16398 instead of __fcntl and/or __libc_fcntl.
16400 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16401 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16402 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16403 Use __open64_nocancel instead of __open_nocancel.
16405 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16406 hidden_proto declarations to the end and issue them if either
16407 IS_IN(libc) or IS_IN(rtld).
16408 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16409 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16410 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16411 read_nocancel, waitpid_nocancel, write_nocancel.
16413 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16414 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16415 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16417 * nptl/pt-fcntl.c: New file.
16418 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16419 (libpthread-routines): Add pt-fcntl.
16420 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16421 (__libc_fcntl): Remove attribute_hidden.
16422 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16423 __fcntl_nocancel_adjusted, not fcntl_common.
16424 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16425 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16426 to fcntl_nocancel.c.
16427 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16430 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16432 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16433 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16434 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16435 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16436 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16437 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16438 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16439 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16440 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16441 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16442 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16443 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16444 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16445 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16446 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16447 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16448 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16449 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16450 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16451 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16453 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16454 libpthread-routines.
16455 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16458 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16459 __libc_read, and __write instead of __libc_write. Define
16460 __open64 in addition to __open.
16462 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16466 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16467 to _private_tm[3] and add __glibc_reserved2.
16468 Add _Static_assert of offset of __private_ss == 0x30.
16469 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16470 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16472 2018-06-12 Florian Weimer <fweimer@redhat.com>
16474 x86: Make strncmp usable from rtld.
16475 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16476 __strncmp_ia32 if in libc (and not in rtld).
16477 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16478 strncmp if not in libc (and not to __strncmp_sse2).
16480 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16483 * localedata/locales/gd_GB (mon): Rename to...
16485 (mon): Import from CLDR (genitive case).
16486 * localedata/locales/hsb_DE (mon): Rename to...
16488 (mon): Import from CLDR (genitive case).
16489 * localedata/locales/wa_BE (mon): Rename to...
16491 (mon): Add, fill with the proper genitive forms, but CLDR data
16492 is incomplete; completed according to the comments in this file.
16493 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16495 * localedata/locales/wa_BE (country_name): Reword
16496 "Beljike" -> "Beldjike".
16498 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16501 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16502 cases of non-finite arguments.
16503 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16505 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16508 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16510 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16513 * include/unistd.h (__execvpex): New prototype.
16514 * posix/Makefile (tests): Add tst-spawn4.
16515 (tests-internal): Add tst-spawn4-compat.
16516 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16517 * posix/tst-spawn4-compat.c: New file.
16518 * posix/tst-spawn4.c: Likewise.
16519 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16520 binaries as shell scripts.
16521 * sysdeps/posix/spawni.c (__spawni): Likewise.
16523 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16526 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16527 ($(all-built-dso:=.dynsym): New target.
16528 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16529 ($(objpfx)check-initfini.out): New target.
16530 (generated): Add check-initfini.out.
16531 * scripts/check-initfini.awk: New file.
16532 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16534 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16536 * sysdeps/arm/crti.S (_init): Mark as hidden.
16538 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16540 * sysdeps/i386/crti.S (_init): Mark as hidden.
16542 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16544 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16546 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16548 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16550 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16552 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16554 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16556 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16558 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16560 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16562 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16564 * sysdeps/sh/crti.S (_init): Mark as hidden.
16566 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16568 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16571 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16573 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16574 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16575 and TF redirection to KFtype and KF only when the default
16576 long double type is not the IEEE 128-bit floating point type.
16578 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16580 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16582 (HWCAP_USCAT): Likewise.
16583 (HWCAP_ILRCPC): Likewise.
16584 (HWCAP_FLAGM): Likewise.
16585 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16587 (_dl_aarch64_cap_flags): Add new flag names.
16589 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16590 (MAP_FIXED_NOREPLACE): New macro.
16591 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16592 (MAP_FIXED_NOREPLACE): Likewise.
16593 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16594 (MAP_FIXED_NOREPLACE): Likewise.
16595 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16596 (MAP_FIXED_NOREPLACE): Likewise.
16597 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16598 (MAP_FIXED_NOREPLACE): Likewise.
16599 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16600 (MAP_FIXED_NOREPLACE): Likewise.
16601 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16602 (MAP_FIXED_NOREPLACE): Likewise.
16603 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16604 (MAP_FIXED_NOREPLACE): Likewise.
16605 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16606 (MAP_FIXED_NOREPLACE): Likewise.
16607 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16608 (MAP_FIXED_NOREPLACE): Likewise.
16609 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16610 (MAP_FIXED_NOREPLACE): Likewise.
16611 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16612 (MAP_FIXED_NOREPLACE): Likewise.
16613 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16614 (MAP_FIXED_NOREPLACE): Likewise.
16615 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16616 (MAP_FIXED_NOREPLACE): Likewise.
16617 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16618 (MAP_FIXED_NOREPLACE): Likewise.
16620 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16623 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16625 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16628 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16630 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16632 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16634 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16636 * benchtests/scripts/compare_string.py: (process_results) Catch
16637 exception in non-existent base_func and catch exception in
16638 non-existent attribute.
16639 (parse_file) Catch exception if input file does not exist.
16641 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16643 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16644 options to avoid diff calculation and omit header, respectively.
16645 (main): process --no-diff and --no-header
16647 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16648 H.J. Lu <hongjiu.lu@intel.com>
16650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16651 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16654 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16655 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16656 and __wcsncmp_sse2.
16657 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16658 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16659 AVX unaligned load is fast and vzeroupper is preferred.
16660 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16661 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16662 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16663 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16664 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16665 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16666 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16667 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16668 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16669 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16672 2018-06-01 Florian Weimer <fweimer@redhat.com>
16674 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16675 configuring with --disable-multi-arch, building with
16676 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16679 2018-06-01 Florian Weimer <fweimer@redhat.com>
16681 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16682 results from building with “-march=x86-64 -mtune=generic
16683 -mfpmath=sse” and running on a Haswell-era CPU.
16685 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16688 * soft-fp/sqrttf2.c: Remove file.
16689 * soft-fp/sqrtdf2.c: Move to ....
16690 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16692 (__sqrtdf2): Make conditional on
16693 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16695 * soft-fp/sqrtsf2.c: Move to ....
16696 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16698 (__sqrtsf2): Make conditional on
16699 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16701 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16702 (gcc-double-routines): Remove sqrtdf2.
16703 (gcc-quad-routines): Remove sqrttf2.
16704 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16705 Do not filter out sqrtsf2 and sqrtdf2.
16706 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16707 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16709 2018-06-01 Florian Weimer <fweimer@redhat.com>
16711 * sysdeps/generic/libcidn.abilist: Remove file.
16713 2018-06-01 Florian Weimer <fweimer@redhat.com>
16716 * libio/strfile.h (struct _IO_str_fields): Rename members to
16717 discourage their use and add comment.
16718 (_IO_STR_DYNAMIC): Remove unused macro.
16719 * libio/strops.c (_IO_str_init_static_internal): Do not use
16720 callback pointers. Call malloc and free.
16721 (_IO_str_overflow): Do not use callback pointers. Call malloc
16723 (enlarge_userbuf): Likewise.
16724 (_IO_str_finish): Call free.
16725 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16726 _allocate_buffer_unused.
16727 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16729 (enlarge_userbuf): Likewise.
16730 (_IO_wstr_finish): Call free.
16731 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16732 _allocate_buffer_unused, _free_buffer_unused.
16733 * libio/memstream.c (__open_memstream): Likewise.
16734 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16735 * libio/wmemstream.c (open_wmemstream): Likewise.
16737 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16739 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16742 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16744 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16745 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16746 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16748 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16750 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16752 2018-05-29 Florian Weimer <fweimer@redhat.com>
16754 * support/Makefile (libsupport-routines): Add
16755 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16756 xpthread_barrierattr_setpshared.
16757 * support/xpthread_barrierattr_destroy.c: New file.
16758 * support/xpthread_barrierattr_init.c: Likewise.
16759 * support/xpthread_barrierattr_setpshared.c: Likewise.
16761 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16764 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16765 _r_debug and update DT_DEBUG for debugger.
16767 2018-05-29 Florian Weimer <fweimer@redhat.com>
16769 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16770 (tst-strtod5i.out): Likewise.
16772 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16774 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16775 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16776 (sparc64-quad-routines): New variable. Moved from ....
16777 [$(subdir) = soft-fp] (sysdep_routines): Add
16778 $(sparc64-quad-routines). Moved from ....
16779 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16780 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16781 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16783 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16784 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16785 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16786 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16787 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16788 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16789 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16790 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16791 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16792 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16793 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16794 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16795 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16796 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16797 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16798 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16799 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16800 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16801 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16802 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16803 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16804 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16805 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16806 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16807 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16808 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16809 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16810 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16811 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16812 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16813 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16814 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16815 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16816 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16817 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16818 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16819 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16820 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16821 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16822 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16823 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16824 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16825 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16826 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16827 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16828 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16829 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16830 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16831 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16832 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16833 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16834 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16835 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16836 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16837 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16838 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16839 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16840 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16842 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16843 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16844 (sparc32-quad-routines): New variable. Moved from ....
16845 [$(subdir) = soft-fp] (sysdep_routines): Add
16846 $(sparc32-quad-routines). Moved from ....
16847 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16848 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16850 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16851 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16852 * sysdeps/sparc/sparc32/q_add.c: ... here.
16853 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16854 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16855 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16856 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16857 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16858 * sysdeps/sparc/sparc32/q_div.c: ... here.
16859 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16860 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16861 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16862 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16863 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16864 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16865 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16866 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16867 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16868 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16869 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16870 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16871 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16872 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16873 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16874 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16875 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16876 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16877 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16878 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16879 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16880 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16881 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16882 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16883 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16884 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16885 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16886 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16887 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16888 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16889 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16890 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16891 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16892 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16893 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16894 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16895 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16896 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16897 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16898 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16899 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16900 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16901 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16902 * sysdeps/sparc/sparc32/q_util.c: ... here.
16903 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16904 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16905 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16906 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16908 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16909 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16911 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16912 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16913 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16914 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16916 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16922 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16923 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16925 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16928 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16931 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16933 * sysdeps/sh/Implies: Remove sh/soft-fp.
16934 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16935 * sysdeps/sh/sfp-machine.h: ... here.
16937 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16939 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16940 (__mempcpy_erms): Skip zero length.
16941 (__memmove_erms): Likewise.
16942 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16943 (__memset_erms): Likewise.
16945 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16947 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16948 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16949 Add functions moved from ....
16950 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16951 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16952 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16954 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16955 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16956 * sysdeps/alpha/e_sqrtl.c: ... here.
16957 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16958 * sysdeps/alpha/local-soft-fp.h: ... here.
16959 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16960 * sysdeps/alpha/ots_add.c: ... here.
16961 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16962 * sysdeps/alpha/ots_cmp.c: ... here.
16963 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16964 * sysdeps/alpha/ots_cmpe.c: ... here.
16965 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16966 * sysdeps/alpha/ots_cvtqux.c: ... here.
16967 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16968 * sysdeps/alpha/ots_cvtqx.c: ... here.
16969 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16970 * sysdeps/alpha/ots_cvttx.c: ... here.
16971 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16972 * sysdeps/alpha/ots_cvtxq.c: ... here.
16973 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16974 * sysdeps/alpha/ots_cvtxt.c: ... here.
16975 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16976 * sysdeps/alpha/ots_div.c: ... here.
16977 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16978 * sysdeps/alpha/ots_mul.c: ... here.
16979 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16980 * sysdeps/alpha/ots_nintxq.c: ... here.
16981 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16982 * sysdeps/alpha/ots_sub.c: ... here.
16983 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16984 * sysdeps/alpha/sfp-machine.h: ... here.
16986 2018-05-23 Florian Weimer <fweimer@redhat.com>
16994 Switch to extern IDNA implementation (libidn2).
16995 * libidn: Remove subdirectory.
16996 * LICENSES: Do not mention licensing conditions for the removed
16998 * config.h.in (HAVE_LIBIDN): Remove.
16999 * include/dlfcn.h (__libc_dlopen): Update comment.
17000 * include/idna.h: Remove file.
17001 * inet/Makefile (routines): Add idna.
17002 (tests-static, tests-internal): Add tst-idna_name_classify.
17003 (LOCALES): Generate locales for tests.
17004 (tst-idna_name_classify.out): Depend on generated locales.
17005 * inet/idna_name_classify.c: New file.
17006 * inet/tst-idna_name_classify.c: Likewise.
17007 * inet/net-internal.h (__idna_to_dns_encoding)
17008 (__idna_from_dns_encoding): Declare.
17009 * inet/net-internal.h (enum idna_name_classification): Define.
17010 (__idna_name_classify): Declare.
17011 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17012 __idna_from_dns_encoding.
17013 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17014 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17015 name as a fallback in case of encoding errors.
17016 (getnameinfo): Use DEPRECATED_NI_IDN.
17017 * inet/idna.c: New file.
17018 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17019 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17020 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17021 (modules-names): Add tst-no-libidn2.
17022 (extra-test-objs): Add tst-no-libidn2.os.
17023 (LDFLAGS-tst-no-libidn2.so): Set soname.
17024 (LOCALES): Set, and generate locales.
17025 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17026 (tst-resolv-ai_idn-latin1): Likewise.
17027 (tst-resolv-ai_idn-nolibidn2): Likewise.
17028 (tst-resolv-ai_idn.out): Depend on locales.
17029 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17030 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17032 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17033 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17034 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17035 * resolv/tst-resolv-ai_idn.c: New file.
17036 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17037 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17038 * resolv/tst-no-libidn2.c: Likewise.
17039 * support/support_format_addrinfo.c (format_ai_flags): Do not
17040 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17041 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17042 (gaih_inet): Call __idna_to_dns_encoding and
17043 __idna_from_dns_encoding, and use the original (punycode) name if
17044 __idna_from_dns_encoding fails due to an encoding error.
17045 (getaddrinfo): Use DEPRECATED_AI_IDN.
17046 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17047 * sysdeps/unix/inet/configure: Remove file.
17048 * sysdeps/unix/inet/configure.ac: Likewise.
17050 2018-05-23 Florian Weimer <fweimer@redhat.com>
17052 Implement allocate_once.
17053 * include/allocate_once.h: New file.
17054 * misc/allocate_once.c: Likewise.
17055 * misc/tst-allocate_once.c: Likewise.
17056 * misc/Makefile (routines): Add allocate_once.
17057 (tests-internal): Add tst-allocate_once.
17058 (generated): Add tst-allocate_once.mtrace,
17059 tst-allocate_once-mem.out.
17060 (tests-special): Add tst-allocate_once-mem.out.
17061 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17062 (tst-allocate_once-mem.out): Call mtrace.
17063 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17065 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17068 * string/test-memcpy.c (do_test1): New function.
17069 (test_main): Call it.
17071 2018-05-23 Andreas Schwab <schwab@suse.de>
17075 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17076 (L(preloop_large)): Save initial destination pointer in %r11 and
17077 use it instead of %rax after the loop.
17078 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17080 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17082 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17083 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17084 -I../soft-fp. Moved from ....
17085 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17086 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17087 * sysdeps/aarch64/e_sqrtl.c: ... here.
17088 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17089 * sysdeps/aarch64/sfp-machine.h: ... here.
17091 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17092 -Wmaybe-uninitialized around access to fq[0].
17093 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17097 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17098 aliases for non-libc case of versioned symbols.
17099 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17100 (llseek): Define as compat symbol if
17101 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17103 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17104 Make into a compat symbol, disabled for minimum symbol version
17105 GLIBC_2.28 and later.
17106 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17108 2018-05-22 Florian Weimer <fweimer@redhat.com>
17110 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17111 not add -mpreferred-stack-boundary=4.
17112 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17113 (stack-align-test-flags): Likewise.
17114 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17116 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17117 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17118 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17119 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17120 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17121 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17122 (CFLAGS-tst-align2.c): Likewise.
17124 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17126 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17127 (index_arch_Prefer_FSRM): Likewise.
17128 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17129 Also check Prefer_FSRM.
17130 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17131 Also return OPTIMIZE (erms) for Prefer_FSRM.
17133 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17135 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17136 (index_cpu_FSRM): Likewise.
17137 (reg_FSRM): Likewise.
17139 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17141 * math/gen-tgmath-tests.py: Import sys.
17142 (Tests.__init__): Initialize macros_seen.
17143 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17144 if requested to do so for this macro.
17145 (Tests.add_all_tests): Take argument for macro for which to
17147 (Tests.check_macro_list): New function.
17148 (main): Handle check-list argument and argument specifying macro
17149 for which to generate tests.
17150 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17151 [PYTHON] (tgmath3-macro-tests): Likewise.
17152 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17153 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17154 not test-tgmath3.c.
17155 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17156 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17158 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17159 [PYTHON] ($(foreach
17160 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17162 [PYTHON] (tests-special): Add
17163 $(objpfx)test-tgmath3-macro-list.out.
17164 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17166 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17167 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17171 * time/tzset.c (SECSPERDAY): Cast to time_t.
17172 * time/tst-y2039.c: New file.
17173 * time/Makefile (tests): Add tst-y2039.
17175 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17177 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17178 (PREFETCH_ONE_SET): Remove duplicate line.
17180 2018-05-17 Florian Weimer <fweimer@redhat.com>
17182 * sysdeps/generic/math-type-macros-double.h: Include
17183 <math-nan-payload-double.h> after <libm-alias-double.h>.
17184 * sysdeps/generic/math-type-macros-float.h: Include
17185 <math-nan-payload-float.h> after <libm-alias-float.h>.
17186 * sysdeps/generic/math-type-macros-float128.h: Include
17187 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17188 * sysdeps/generic/math-type-macros-ldouble.h: Include
17189 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17191 2018-05-17 Andreas Schwab <schwab@suse.de>
17193 * resolv/res_send.c (__res_context_send): Don't set errno when
17194 returing error after malloc failure.
17196 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17198 * nptl/allocatestack.c (allocate_stack): Remove the
17199 !__ASSUME_PRIVATE_FUTEX paths.
17200 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17201 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17203 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17204 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17205 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17206 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17207 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17208 !__ASSUME_PRIVATE_FUTEX path.
17209 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17210 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17211 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17212 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17213 !__ASSUME_PRIVATE_FUTEX macros.
17214 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17215 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17216 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17217 * sysdeps/unix/sysv/linux/kernel-features.h
17218 (__ASSUME_PRIVATE_FUTEX): Removed.
17220 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17222 * math/Makefile (libm-narrow-fns): Add div.
17223 (libm-test-funcs-narrow): Likewise.
17224 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17225 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17226 * math/gen-auto-libm-tests.c (test_functions): Add div.
17227 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17228 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17229 (NARROW_DIV_TRIVIAL): Likewise.
17230 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17232 (__ddivl): Likewise.
17233 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17235 (CFLAGS-nldbl-ddiv.c): New variable.
17236 (CFLAGS-nldbl-fdiv.c): Likewise.
17237 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17239 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17241 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17242 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17243 * math/auto-libm-test-in: Add tests of div.
17244 * math/auto-libm-test-out-narrow-div: New generated file.
17245 * math/libm-test-narrow-div.inc: New file.
17246 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17247 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17248 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17249 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17250 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17251 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17260 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17261 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17262 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17263 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17265 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17266 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17267 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17268 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17269 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17270 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17271 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17272 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17273 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17274 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17275 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17276 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17277 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17282 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17283 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17284 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17285 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17286 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17287 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17288 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17289 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17291 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17294 * nscd/nscd-client.h (sendfileall): Remove prototype.
17295 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17296 (handle_request): Use writeall instead of sendfileall.
17297 * nscd/aicache.c (addhstaiX): Likewise.
17298 * nscd/grpcache.c (cache_addgr): Likewise.
17299 * nscd/hstcache.c (cache_addhst): Likewise.
17300 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17301 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17302 * nscd/pwdcache.c (cache_addpw): Likewise.
17303 * nscd/servicescache.c (cache_addserv): Likewise.
17304 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17305 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17306 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17309 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17311 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17312 Include <string/strncat.c>.
17313 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17315 (__GI___strncat): New hidden alias.
17317 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17319 * sysdeps/mips/mips32/libm-test-ulps: Update.
17320 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17322 2018-05-16 Florian Weimer <fweimer@redhat.com>
17324 * support/Makefile (libsupport-routines): Add support_quote_blob,
17325 support_test_compare_blob.
17326 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17327 * support/check.h (TEST_COMPARE_BLOB): Define.
17328 (support_test_compare_blob): Declare.
17329 * support/support.h (support_quote_blob): Declare.
17330 * support/support_quote_blob.c: New file.
17331 * support/support_test_compare_blob.c: Likewise.
17332 * support/tst-support_quote_blob.c: Likewise.
17333 * support/tst-test_compare_blob.c: Likewise.
17335 2018-05-16 Florian Weimer <fweimer@redhat.com>
17337 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17338 of <strtod_nan_double.h>.
17339 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17340 instead of SET_MANTISSA.
17341 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17342 of include <strtod_nan_float.h>.
17343 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17344 instead of <strtod_nan_ldouble.h>.
17345 * stdlib/strtod_nan_double.h: Move to ...
17346 * sysdeps/generic/math-nan-payload-double.h: ... here.
17347 (FLOAT): Remove definition.
17348 (SET_MANTISSA): Rename to ...
17349 (SET_NAN_PAYLOAD): ... this.
17350 * stdlib/strtod_nan_float.h: Move to ...
17351 * sysdeps/generic/math-nan-payload-float.h: ... here.
17352 (FLOAT): Remove definition.
17353 (SET_MANTISSA): Rename to ...
17354 (SET_NAN_PAYLOAD): ... this.
17355 * sysdeps/generic/math-type-macros-double.h: Include
17356 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17357 instead of <math-svid-compat.h>.
17358 * sysdeps/generic/math-type-macros-float.h: Include
17359 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17360 instead of <math-svid-compat.h>.
17361 * sysdeps/generic/math-type-macros-float128.h: Include
17362 <math-nan-payload-float128.h>.
17363 * sysdeps/generic/math-type-macros-ldouble.h: Include
17364 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17365 instead of <math-svid-compat.h>.
17366 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17367 check for definition.
17368 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17369 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17370 Include <ieee754_float128.h>.
17371 (FLOAT): Remove definition.
17372 (SET_MANTISSA): Rename to ...
17373 (SET_NAN_PAYLOAD): ... this.
17374 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17375 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17376 Do not include <float128_private.h>.
17377 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17379 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17380 (FLOAT): Remove definition.
17381 (SET_MANTISSA): Rename to ...
17382 (SET_NAN_PAYLOAD): ... this.
17383 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17384 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17385 (FLOAT): Remove definition.
17386 (SET_MANTISSA): Rename to ...
17387 (SET_NAN_PAYLOAD): ... this.
17388 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17389 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17390 (FLOAT): Remove definition.
17391 (SET_MANTISSA): Rename to ...
17392 (SET_NAN_PAYLOAD): ... this.
17393 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17394 of "../stdlib/strtod_nan_double.h".
17395 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17396 of "../stdlib/strtod_nan_float.h".
17397 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17398 instead of "../stdlib/strtod_nan_ldouble.h".
17399 * manual/arith.texi (Parsing of Floats): Adjust comment.
17401 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17403 * math/Makefile (libm-narrow-fns): Add mul.
17404 (libm-test-funcs-narrow): Likewise.
17405 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17406 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17407 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17408 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17409 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17410 (NARROW_MUL_TRIVIAL): Likewise.
17411 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17412 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17414 (__dmull): Likewise.
17415 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17417 (CFLAGS-nldbl-dmul.c): New variable.
17418 (CFLAGS-nldbl-fmul.c): Likewise.
17419 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17421 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17423 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17424 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17425 * math/auto-libm-test-in: Add tests of mul.
17426 * math/auto-libm-test-out-narrow-mul: New generated file.
17427 * math/libm-test-narrow-mul.inc: New file.
17428 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17431 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17432 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17433 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17439 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17440 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17441 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17442 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17443 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17444 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17445 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17447 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17448 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17449 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17450 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17451 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17452 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17453 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17454 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17455 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17456 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17457 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17458 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17459 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17464 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17465 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17466 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17467 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17471 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17473 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17475 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17476 with *%eax in call.
17478 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17480 * sysdeps/i386/ldsodefs.h: Removed.
17481 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17482 * sysdeps/x86/ldsodefs.h: This.
17483 (La_i86_regs): New.
17484 (La_i86_retval): Likewise.
17485 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17486 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17488 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17490 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17493 2018-05-13 Alan Modra <amodra@gmail.com>
17495 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17496 R_PARISC_TLS_DTPOFF32 reloc addend.
17498 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17500 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17501 * math/math.h: Restrict the prototype definition for the functions
17502 issignaling(_Float128) and iszero(_Float128); and template
17503 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17504 __HAVE_FLOAT128_UNLIKE_LDBL.
17505 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17506 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17507 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17508 __f128() constants; define the type _Float128 as long double;
17509 and reuse long double in __CFLOAT128.
17511 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17513 * sysdeps/generic/math_private.h: Do not include
17515 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17517 * math/fromfp.h: Include <math-barriers.h>.
17518 * math/math-narrow.h: Likewise.
17519 * math/s_nextafter.c: Likewise.
17520 * math/s_nexttowardf.c: Likewise.
17521 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17522 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17523 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17524 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17525 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17526 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17527 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17531 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17533 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17534 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17535 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17536 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17537 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17538 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17539 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17540 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17541 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17542 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17543 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17544 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17545 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17546 * sysdeps/ieee754/k_standardl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17551 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17552 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17553 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17554 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17555 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17556 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17557 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17558 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17559 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17560 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17562 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17563 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17564 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17565 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17566 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17567 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17568 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17570 2018-05-11 Florian Weimer <fweimer@redhat.com>
17572 Use 64-bit epoch values in the time zone file parser.
17573 * include/time.h (internal_time_t): Define.
17574 (__tzfile_compute): Use it.
17575 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17577 (transitions): Switch to internal_time_t.
17578 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17580 (__tzfile_compute): Use internal_time_t for timer argument. Check
17581 for truncation before calling __offtime.
17583 2018-05-11 Florian Weimer <fweimer@redhat.com>
17586 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17587 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17589 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17590 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17591 export without --enable-obsolete-rpc.
17592 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17593 symbol. This should not have been exported, ever.
17595 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17598 * localedata/locales/gd_GB (abmon): Fix typo in May:
17599 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17601 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17603 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17604 Use multiple registers to copy data in loop tail.
17606 * sysdeps/aarch64/multiarch/memmove_falkor.S
17607 (__memmove_falkor): Use multiple registers to move data in
17610 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17612 * math/math-underflow.h: New file.
17613 * sysdeps/generic/math_private.h: Do not include <float.h>.
17614 (fabs_tg): Remove macro. Moved to math-underflow.h.
17615 (min_of_type_f): Likewise.
17616 (min_of_type_): Likewise.
17617 (min_of_type_l): Likewise.
17618 (min_of_type_f128): Likewise.
17619 (min_of_type): Likewise.
17620 (math_check_force_underflow): Likewise.
17621 (math_check_force_underflow_nonneg): Likewise.
17622 (math_check_force_underflow_complex): Likewise.
17623 * math/e_exp2_template.c: Include <math-underflow.h>.
17624 * math/k_casinh_template.c: Likewise.
17625 * math/s_catan_template.c: Likewise.
17626 * math/s_catanh_template.c: Likewise.
17627 * math/s_ccosh_template.c: Likewise.
17628 * math/s_cexp_template.c: Likewise.
17629 * math/s_clog10_template.c: Likewise.
17630 * math/s_clog_template.c: Likewise.
17631 * math/s_csin_template.c: Likewise.
17632 * math/s_csinh_template.c: Likewise.
17633 * math/s_csqrt_template.c: Likewise.
17634 * math/s_ctan_template.c: Likewise.
17635 * math/s_ctanh_template.c: Likewise.
17636 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17637 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17640 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17644 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17645 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17646 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17647 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17648 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17649 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17650 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17651 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17653 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17654 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17655 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17656 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17657 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17658 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17659 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17660 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17661 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17662 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17663 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17664 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17665 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17666 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17667 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17672 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17673 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17674 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17675 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17676 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17677 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17678 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17680 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17682 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17683 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17686 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17687 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17689 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17690 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17691 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17692 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17693 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17694 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17695 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17696 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17702 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17703 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17704 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17706 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17711 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17713 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17714 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17716 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17717 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17718 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17719 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17721 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17723 * sysdeps/generic/math-barriers.h: New file.
17724 * sysdeps/generic/math_private.h [!math_opt_barrier]
17725 (math_opt_barrier): Move to math-barriers.h.
17726 [!math_opt_barrier] (math_force_eval): Likewise.
17727 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17728 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17730 (math_force_eval): Likewise.
17731 * sysdeps/alpha/fpu/math-barriers.h: New file.
17732 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17734 (math_force_eval): Likewise.
17735 * sysdeps/x86/fpu/math-barriers.h: New file.
17736 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17738 (math_force_eval): Likewise.
17739 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17740 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17741 multiple-include guard for rename.
17742 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17743 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17745 (math_force_eval): Likewise.
17747 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17751 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17753 * stdlib/Makefile (test-bz22786): New test.
17754 * stdlib/test-bz22786.c: New test.
17756 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17758 * include/math-narrow-eval.h: New file. Contents moved from ....
17759 * sysdeps/generic/math_private.h: ... here.
17760 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17761 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17762 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17763 * stdlib/strtod_l.c: Likewise.
17764 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17765 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17766 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17767 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17768 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17769 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17770 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17771 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17772 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17778 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17779 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17780 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17781 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17782 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17783 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17784 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17785 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17786 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17787 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17788 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17789 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17790 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17791 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17792 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17794 2018-05-08 Andreas Schwab <schwab@suse.de>
17796 * sysdeps/nptl/internaltypes.h: Fix comment.
17798 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17800 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17801 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17804 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17806 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17807 of I into loop header.
17808 * benchtests/bench-memmove-walk.c
17809 (test_main): Likewise.
17811 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17814 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17815 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17817 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17820 * elf/dl-load.c (open_verify): Fix stack overflow.
17821 * elf/Makefile (tst-big-note): New test.
17822 * elf/tst-big-note-lib.S: New.
17823 * elf/tst-big-note.c: New.
17825 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17827 * scripts/abilist.awk: Ignore absolute symbols.
17828 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17829 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17830 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17831 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17832 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17833 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17834 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17835 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17836 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17837 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17838 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17839 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17840 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17892 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17893 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17894 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17910 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17911 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17912 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17913 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17921 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17927 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17929 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17931 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17932 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17933 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17935 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17936 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17954 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17955 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17956 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17963 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17984 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18074 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18075 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18076 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18089 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18096 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18097 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18102 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18104 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18105 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18115 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18120 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18121 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18128 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18136 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18137 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18139 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18140 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18142 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18181 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18184 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18185 Use atomic_load_acquire to load __tid.
18187 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18189 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18190 Restore the pointer into %rdx, after syscall and use %rdx,
18191 instead of %rsi, to restore context.
18193 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18195 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18196 Pop the pointer into %rdx after syscall and use %rdx, instead
18197 of %rsi, to restore context.
18199 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18201 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18202 handlers after setjmp.
18203 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18205 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18206 <libc-pointer-arith.h>.
18207 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18208 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18209 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18210 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18211 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18212 * sysdeps/x86/__longjmp_cancel.S: New file.
18213 * sysdeps/x86/longjmp.c: Likewise.
18214 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18216 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18218 * NEWS: Add ustat.h deprecation entry.
18219 * bits/ustat.h: Remove file.
18220 * misc/sys/ustat.h: Likewise.
18221 * misc/ustat.h: Likewise.
18222 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18223 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18224 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18225 compatibility mode.
18226 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18227 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18228 generic Linux implementation.
18230 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18232 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18233 * math/w_expl_compat.c: Likewise.
18234 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18236 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18238 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18240 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18242 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18243 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18244 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18246 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18248 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18249 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18250 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18253 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18255 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18257 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18258 * math/w_asin_template.c: Likewise.
18259 * math/w_atanh_template.c: Likewise.
18261 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18263 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18264 to powerpc/powerpc64/be for big-endian.
18265 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18268 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18269 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18270 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18271 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18272 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18273 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18274 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18275 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18276 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18277 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18278 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18279 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18280 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18281 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18282 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18283 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18284 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18285 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18286 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18287 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18288 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18289 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18290 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18291 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18292 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18293 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18294 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18295 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18296 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18297 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18298 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18299 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18301 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18302 adjusted to imply powerpc64 and older processors on powerpc64/be.
18303 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18304 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18305 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18306 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18307 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18308 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18309 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18310 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18311 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18312 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18313 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18314 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18315 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18316 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18317 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18318 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18319 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18320 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18321 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18322 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18323 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18324 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18325 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18326 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18327 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18328 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18329 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18330 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18331 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18332 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18333 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18335 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18336 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18337 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18338 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18340 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18341 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18342 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18343 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18345 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18346 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18347 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18348 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18349 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18350 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18351 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18352 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18353 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18354 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18355 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18357 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18358 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18359 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18360 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18361 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18362 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18363 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18364 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18365 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18366 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18367 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18369 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18370 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18371 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18372 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18373 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18374 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18375 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18376 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18377 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18378 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18379 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18380 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18382 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18383 and adjusted to imply olders processors.
18384 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18385 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18386 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18387 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18388 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18389 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18390 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18391 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18392 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18393 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18394 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18398 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18413 powerpc64 and adjusted.
18414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18419 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18421 * sysdeps/tile: Remove.
18422 * sysdeps/unix/sysv/linux/tile: Likewise.
18423 * README (tilegx-*-linux-gnu): Remove from list of supported
18425 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18426 contribution of support for generic Linux kernel syscall
18428 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18429 tilegx configurations.
18430 (Config.install_linux_headers): Do not handle tile.
18431 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18433 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18434 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18435 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18436 conditional undefine and redefine.
18437 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18439 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18440 conditional undefine and redefine.
18442 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18444 * signal/tst-sigaction.c: New file to test BZ #23069.
18445 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18447 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18450 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18451 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18452 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18453 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18455 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18457 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18458 _DIRENT_MATCHES_DIRENT64 is not defined.
18459 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18460 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18462 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18463 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18465 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18467 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18468 version to GCC 8 branch.
18470 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18472 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18473 (check_no_hidden): Use type of original function when declaring
18476 * sysdeps/unix/sysv/linux/sys/ptrace.h
18477 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18478 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18479 (struct __ptrace_seccomp_metadata): New type.
18480 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18481 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18482 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18483 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18484 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18485 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18486 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18487 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18488 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18489 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18491 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18492 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18493 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18494 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18495 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18497 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18499 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18501 * dirent/versionsort.c (versionsort): Likewise.
18502 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18503 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18504 * dirent/versionsort64.c (versionsort64): Likewise.
18505 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18506 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18507 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18508 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18509 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18510 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18511 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18512 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18513 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18514 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18517 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18518 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18520 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18522 * elf/elf.h (NT_PPC_PKEY): New macro.
18524 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18527 * localedata/locales/hr_HR: fix thousands_sep and
18530 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18532 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18533 (XTABS): Define to TAB3.
18535 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18537 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18539 * dirent/scandir-tail-common.c: New file.
18540 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18541 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18542 * dirent/scandir.c: Use scandir-tail-common.c.
18543 * dirent/scandirat.c: Likewise.
18544 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18545 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18546 if _DIRENT_MATCHES_DIRENT64 is defined.
18547 * dirent/scandirat64.c (scandirat64): Likewise.
18548 * include/dirent.h (__scandir_tail): Only define iff
18549 _DIRENT_MATCHES_DIRENT64 is not defined.
18550 (__scandir64_tail): Define regardless.
18551 (__scandirat, scandirat64): Remove libc_hidden_proto.
18552 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18553 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18555 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18556 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18557 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18558 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18560 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18562 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18564 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18566 (_dl_aarch64_cap_flags): Add asimdfhm.
18568 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18570 * sysdeps/nios2/libm-test-ulps: Update.
18572 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18574 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18575 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18577 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18579 (_DIRENT_MATCHES_DIRENT64): Undef
18580 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18581 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18582 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18583 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18584 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18585 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18586 use getdents64 syscalls as base.
18587 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18588 symbol if required.
18589 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18590 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18591 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18592 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18593 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18594 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18595 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18596 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18597 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18598 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18599 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18601 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18603 * scripts/test_printers_common.py (init_test): Disable lock elision.
18605 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18607 * math/test-tgmath.c (count_double, count_float,
18608 count_ldouble, count_cdouble, count_cfloat,
18609 count_cldouble): Use volatile int.
18611 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18613 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18614 (conformtest-xfail-conds): Add i386-gnu.
18615 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18617 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18618 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18619 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18620 msqid_ds.msg_lrpid): Likewise.
18621 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18623 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18624 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18625 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18626 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18628 (struct statvfs64): Likewise.
18629 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18631 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18632 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18633 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18634 instead of wait_queue.
18635 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18636 instead of vm_area_struct.
18637 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18638 struct sched_param definition to it.
18639 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18640 * bits/types/struct_sched_param.h: New file.
18641 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18642 <bits/types/struct_sched_param.h> instead of <sched.h>.
18643 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18644 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18645 generic version but include <bits/pthreadtypes.h> to make struct
18646 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18647 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18649 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18650 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18651 [__USE_XOPEN] (OFDEL): New macro.
18652 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18653 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18654 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18656 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18657 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18658 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18660 * sysdeps/i386/sys/ucontext.h: Likewise.
18661 * sysdeps/m68k/sys/ucontext.h: Likewise.
18662 * sysdeps/mips/sys/ucontext.h: Likewise.
18663 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18664 * sysdeps/mach/hurd/i386/Makefile
18665 (test-xfail-POSIX/fcntl.h/conform): Add.
18666 (test-xfail-POSIX/signal.h/conform): Add.
18667 (test-xfail-POSIX/semaphore.h/conform): Add.
18668 (test-xfail-POSIX/regex.h/conform): Add.
18669 (test-xfail-POSIX/aio.h/conform): Add.
18670 (test-xfail-POSIX/mqueue.h/conform): Add.
18671 (test-xfail-POSIX/sys/types.h/conform): Add.
18672 (test-xfail-UNIX98/fcntl.h/conform): Add.
18673 (test-xfail-UNIX98/netdb.h/conform): Add.
18674 (test-xfail-UNIX98/signal.h/conform): Add.
18675 (test-xfail-UNIX98/semaphore.h/conform): Add.
18676 (test-xfail-UNIX98/regex.h/conform): Add.
18677 (test-xfail-UNIX98/aio.h/conform): Add.
18678 (test-xfail-UNIX98/ftw.h/conform): Add.
18679 (test-xfail-UNIX98/mqueue.h/conform): Add.
18680 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18681 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18682 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18683 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18684 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18685 (test-xfail-UNIX98/sys/types.h/conform): Add.
18686 (test-xfail-UNIX98/stdlib.h/conform): Add.
18687 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18688 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18689 (test-xfail-POSIX2008/netdb.h/conform): Add.
18690 (test-xfail-POSIX2008/signal.h/conform): Add.
18691 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18692 (test-xfail-POSIX2008/regex.h/conform): Add.
18693 (test-xfail-POSIX2008/aio.h/conform): Add.
18694 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18695 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18696 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18697 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18698 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18699 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18700 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18701 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18702 (test-xfail-XOPEN2K/signal.h/conform): Add.
18703 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18704 (test-xfail-XOPEN2K/regex.h/conform): Add.
18705 (test-xfail-XOPEN2K/aio.h/conform): Add.
18706 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18707 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18708 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18709 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18710 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18711 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18712 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18713 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18714 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18715 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18716 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18717 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18718 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18719 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18720 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18721 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18722 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18723 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18724 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18725 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18726 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18727 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18728 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18729 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18730 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18731 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18732 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18734 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18735 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18737 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18739 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18740 --enable-obsolete for powerpc-linux-gnuspe.
18742 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18744 * conform/data/sys/un.h-data: Allow sun_ prefix.
18745 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18747 * sysdeps/mach/include/mach.h: Likewise.
18748 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18749 * sysdeps/mach/include/mach_error.h: Likewise.
18751 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18753 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18754 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18755 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18756 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18758 2018-04-16 Andreas Schwab <schwab@suse.de>
18761 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18763 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18765 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18766 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18768 2018-04-12 DJ Delorie <dj@redhat.com>
18770 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18773 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18775 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18776 (struct kernel_sigaction): Use the same definition on 31bit as is used
18779 2018-04-09 Florian Weimer <fweimer@redhat.com>
18782 * resolv/res_send.c (send_dg): Use designated initializers instead
18783 of assignment to zero-initialize other fields of struct mmsghdr.
18785 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18787 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18788 __READDIR_ALIAS): Undefine after usage.
18789 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18790 __READDIR_R_ALIAS): Likewise.
18791 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18792 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18793 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18794 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18795 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18796 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18797 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18798 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18799 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18800 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18801 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18802 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18803 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18804 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18805 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18806 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18807 * sysdeps/unix/sysv/linux/readdir.c: New file.
18808 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18809 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18810 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18812 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18814 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18816 * manual/charset.texi (Converting a Character): Fix typo.
18818 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18822 * sysdeps/arm/libm-test-ulps: Update.
18824 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18825 as base implementation.
18826 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18827 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18828 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18829 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18830 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18831 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18832 remove unrequired definitions and update comments.
18833 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18834 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18835 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18836 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18837 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18838 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18839 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18840 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18841 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18842 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18843 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18844 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18845 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18846 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18847 and RESET_SA_RESTORER hooks.
18849 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18851 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18853 2018-04-05 Florian Weimer <fweimer@redhat.com>
18855 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18856 integer overflow, memory leak on error, and indeterminate errno
18857 value. Add a null wide character to terminate the result string.
18858 * manual/charset.texi (Converting a Character): Mention embedded
18859 null bytes in the mbrtowc input string. Explain what happens in
18860 the -2 result case. Do not claim that mbrtowc is simple or
18861 obvious to use. Adjust the description of the code example. Use
18862 @code, not @var, for concrete variables.
18864 2018-04-05 Florian Weimer <fweimer@redhat.com>
18866 * manual/examples/mbstouwcs.c: New file.
18867 * manual/charset.texi (Converting a Character): Include it.
18869 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18871 * include/dirent.h (dirfd): Add hidden proto.
18872 * dirent/dirfd.c (dirfd): Add hidden def.
18873 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18874 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18876 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18878 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18879 sin, cos and sincos to 1 ULP.
18881 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18884 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18886 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18887 * elf/tst-absolute-sym.c: New file.
18888 * elf/tst-absolute-sym-lib.c: New file.
18889 * elf/tst-absolute-sym-lib.lds: New file.
18890 * elf/Makefile (tests): Add `tst-absolute-sym'.
18891 (modules-names): Add `tst-absolute-sym-lib'.
18892 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18893 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18894 ($(objpfx)tst-absolute-sym): New dependency.
18897 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18899 (SYMBOL_ADDRESS): New macro.
18900 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18901 SYMBOL_ADDRESS for symbol address calculation.
18902 * elf/dl-runtime.c (_dl_fixup): Likewise.
18903 (_dl_profile_fixup): Likewise.
18904 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18905 * elf/rtld.c (dl_main): Likewise.
18906 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18907 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18908 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18909 (elf_machine_rela): Likewise.
18910 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18911 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18913 (elf_machine_rela): Likewise.
18914 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18915 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18916 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18917 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18919 (elf_machine_reloc): Likewise.
18920 (elf_machine_got_rel): Likewise.
18921 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18922 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18923 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18925 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18927 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18928 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18930 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18932 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18935 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18937 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18940 2018-04-04 Zack Weinberg <zackw@panix.com>
18942 * sysdeps/generic/internal-signals.h: Include signal.h,
18943 sigsetops.h, and stdbool.h.
18944 (__libc_signal_block_all): Actually block all signals.
18945 (__libc_signal_block_app): Likewise.
18946 (__libc_signal_restore_set): Actually restore the signal mask.
18948 2018-04-04 Florian Weimer <fweimer@redhat.com>
18950 inet: Actually build and run tst-deadline.
18951 * inet/Makefile (tests-internal): Add tst-deadline and do not
18952 overwrite the variable.
18953 (tests-static-internal): Remove variable.
18955 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18958 * bits/uio-ext.h (RWF_APPEND): New.
18959 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18960 * manual/llio.texi: Document RWF_APPEND.
18961 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18962 (RWF_SUPPORTED): Add RWF_APPEND.
18964 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18967 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18968 check for internal nptl signals.
18969 * nptl/sigaction.c (__sigaction): Likewise.
18970 * signal/sigaddset.c (sigaddset): Likewise.
18971 * signal/sigdelset.c (sigdelset): Likewise.
18972 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18973 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18975 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18976 to filter out internal nptl signals.
18977 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18978 also check realtime signals using standard macros.
18979 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18980 __is_internal_signal, __libc_signal_block_all,
18981 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18982 * sysdeps/nptl/sigfillset.c: Remove file.
18983 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18984 Change return to bool.
18985 (__clear_internal_signals): Remove SIGTIMER clean since it is
18986 equal to SIGCANEL on Linux.
18987 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18988 signal set was constructed using standard functions.
18990 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18992 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18993 ifname is too long.
18994 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18995 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18996 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18998 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18999 * signal/sigaddset.c: Include <sigsetopts.h>.
19000 * signal/sigdelset.c: Likewise.
19002 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19006 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19007 logic as sin and cos.
19009 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19011 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19012 inputs. Return correct sign.
19013 (do_sincos): Remove small input check before do_sin, let do_sin set
19018 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19020 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19021 (do_cos_slow): Likewise.
19022 (do_sin_slow): Likewise.
19023 (reduce_and_compute): Likewise.
19028 (sloww1): Likewise.
19029 (sloww2): Likewise.
19031 (bslow1): Likewise.
19032 (bslow2): Likewise.
19033 (cslow2): Likewise.
19035 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19037 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19038 (do_cos): Remove corp parameter and calculations.
19039 (do_sin): Likewise.
19040 (do_sincos): Remove cor variable.
19041 (__sin): Use do_sincos for huge inputs.
19043 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19044 (reduce_and_compute_sincos): Remove unused function.
19046 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19048 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19049 reduce_sincos, improve accuracy to 136 bits.
19050 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19051 (__sin): Use improved reduction and simplified do_sincos calculation.
19053 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19055 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19057 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19058 (do_sincos_2): Likewise.
19059 (__sin): Remove middle range reduction case.
19061 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19064 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19066 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19067 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19070 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19072 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19074 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19077 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19079 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19080 Remove definitions.
19081 (opendir_oflags): Use O_DIRECTORY regardless.
19082 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19083 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19085 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19087 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19088 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19090 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19091 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19092 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19093 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19094 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19095 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19097 * htl/Makefile: Bump licence to LGPL 2.1+.
19098 * htl/alloca_cutoff.c: Likewise.
19099 * htl/cthreads-compat.c: Likewise.
19100 * htl/lockfile.c: Likewise.
19101 * htl/pt-alloc.c: Likewise.
19102 * htl/pt-cancel.c: Likewise.
19103 * htl/pt-cleanup.c: Likewise.
19104 * htl/pt-create.c: Likewise.
19105 * htl/pt-dealloc.c: Likewise.
19106 * htl/pt-detach.c: Likewise.
19107 * htl/pt-exit.c: Likewise.
19108 * htl/pt-getattr.c: Likewise.
19109 * htl/pt-initialize.c: Likewise.
19110 * htl/pt-internal.h: Likewise.
19111 * htl/pt-join.c: Likewise.
19112 * htl/pt-self.c: Likewise.
19113 * htl/pt-setcancelstate.c: Likewise.
19114 * htl/pt-setcanceltype.c: Likewise.
19115 * htl/pt-sigmask.c: Likewise.
19116 * htl/pt-spin-inlines.c: Likewise.
19117 * htl/pt-testcancel.c: Likewise.
19118 * htl/pt-yield.c: Likewise.
19119 * htl/tests/test-1.c: Likewise.
19120 * htl/tests/test-10.c: Likewise.
19121 * htl/tests/test-11.c: Likewise.
19122 * htl/tests/test-12.c: Likewise.
19123 * htl/tests/test-13.c: Likewise.
19124 * htl/tests/test-14.c: Likewise.
19125 * htl/tests/test-15.c: Likewise.
19126 * htl/tests/test-16.c: Likewise.
19127 * htl/tests/test-17.c: Likewise.
19128 * htl/tests/test-2.c: Likewise.
19129 * htl/tests/test-3.c: Likewise.
19130 * htl/tests/test-4.c: Likewise.
19131 * htl/tests/test-5.c: Likewise.
19132 * htl/tests/test-6.c: Likewise.
19133 * htl/tests/test-7.c: Likewise.
19134 * htl/tests/test-8.c: Likewise.
19135 * htl/tests/test-9.c: Likewise.
19136 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19137 * sysdeps/htl/bits/cancelation.h: Likewise.
19138 * sysdeps/htl/bits/pthread-np.h: Likewise.
19139 * sysdeps/htl/bits/pthread.h: Likewise.
19140 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19141 * sysdeps/htl/bits/semaphore.h: Likewise.
19142 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19143 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19144 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19145 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19146 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19147 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19148 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19149 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19150 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19151 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19152 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19153 * sysdeps/htl/old_pt-atfork.c: Likewise.
19154 * sysdeps/htl/pt-atfork.c: Likewise.
19155 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19156 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19157 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19158 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19159 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19160 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19161 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19162 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19163 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19164 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19165 * sysdeps/htl/pt-attr-init.c: Likewise.
19166 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19167 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19168 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19169 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19170 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19171 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19172 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19173 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19174 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19175 * sysdeps/htl/pt-attr.c: Likewise.
19176 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19177 * sysdeps/htl/pt-barrier-init.c: Likewise.
19178 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19179 * sysdeps/htl/pt-barrier.c: Likewise.
19180 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19181 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19182 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19183 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19184 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19185 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19186 * sysdeps/htl/pt-cond-init.c: Likewise.
19187 * sysdeps/htl/pt-cond-signal.c: Likewise.
19188 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19189 * sysdeps/htl/pt-cond-wait.c: Likewise.
19190 * sysdeps/htl/pt-cond.c: Likewise.
19191 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19192 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19193 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19194 * sysdeps/htl/pt-condattr-init.c: Likewise.
19195 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19196 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19197 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19198 * sysdeps/htl/pt-equal.c: Likewise.
19199 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19200 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19201 * sysdeps/htl/pt-getschedparam.c: Likewise.
19202 * sysdeps/htl/pt-getspecific.c: Likewise.
19203 * sysdeps/htl/pt-init-specific.c: Likewise.
19204 * sysdeps/htl/pt-key-create.c: Likewise.
19205 * sysdeps/htl/pt-key-delete.c: Likewise.
19206 * sysdeps/htl/pt-key.h: Likewise.
19207 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19208 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19209 * sysdeps/htl/pt-mutex-init.c: Likewise.
19210 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19211 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19212 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19213 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19214 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19215 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19216 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19217 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19218 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19219 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19220 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19221 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19222 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19223 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19224 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19225 * sysdeps/htl/pt-mutexattr.c: Likewise.
19226 * sysdeps/htl/pt-once.c: Likewise.
19227 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19228 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19229 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19230 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19231 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19232 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19233 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19234 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19235 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19236 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19237 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19238 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19239 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19240 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19241 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19242 * sysdeps/htl/pt-setschedparam.c: Likewise.
19243 * sysdeps/htl/pt-setschedprio.c: Likewise.
19244 * sysdeps/htl/pt-setspecific.c: Likewise.
19245 * sysdeps/htl/pt-spin.c: Likewise.
19246 * sysdeps/htl/pt-startup.c: Likewise.
19247 * sysdeps/htl/pthread.h: Likewise.
19248 * sysdeps/htl/sem-close.c: Likewise.
19249 * sysdeps/htl/sem-destroy.c: Likewise.
19250 * sysdeps/htl/sem-getvalue.c: Likewise.
19251 * sysdeps/htl/sem-init.c: Likewise.
19252 * sysdeps/htl/sem-open.c: Likewise.
19253 * sysdeps/htl/sem-post.c: Likewise.
19254 * sysdeps/htl/sem-timedwait.c: Likewise.
19255 * sysdeps/htl/sem-trywait.c: Likewise.
19256 * sysdeps/htl/sem-unlink.c: Likewise.
19257 * sysdeps/htl/sem-wait.c: Likewise.
19258 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19259 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19260 * sysdeps/mach/htl/pt-block.c: Likewise.
19261 * sysdeps/mach/htl/pt-spin.c: Likewise.
19262 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19263 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19264 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19265 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19266 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19267 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19268 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19269 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19270 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19271 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19272 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19273 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19274 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19275 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19276 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19277 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19278 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19279 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19280 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19281 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19282 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19283 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19284 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19285 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19286 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19287 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19288 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19289 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19290 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19291 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19292 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19293 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19294 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19295 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19296 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19297 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19298 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19299 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19300 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19301 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19302 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19303 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19304 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19306 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19307 * README: Remove the mention of out-of-tree patches needed for
19310 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19311 (UTIME_NOW, UTIME_OMIT): Define macros.
19313 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19314 instead of pthread_detach.
19315 (__cthread_fork): Call __pthread_create instead of pthread_create.
19316 (__cthread_keycreate): Call __pthread_key_create instead of
19317 pthread_key_create.
19318 (__cthread_getspecific): Call __pthread_getspecific instead of
19319 pthread_getspecific.
19320 (__cthread_setspecific): Call __pthread_setspecific instead of
19321 pthread_setspecific.
19322 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19323 __pthread_mutex_unlock instead of pthread_mutex_lock and
19324 pthread_mutex_unlock.
19325 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19326 ___pthread_get_cleanup_stack.
19327 (__pthread_get_cleanup_stack): New strong alias.
19328 * htl/pt-create.c: Include <pthreadP.h>.
19329 (entry_point): Call __pthread_exit instead of pthread_exit.
19330 (pthread_create): Rename to __pthread_create.
19331 (pthread_create): New strong alias.
19332 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19333 (pthread_detach): New strong alias.
19334 (__pthread_detach): Call __pthread_cond_broadcast instead of
19335 pthread_cond_broadcast.
19336 * htl/pt-exit.c: Include <pthreadP.h>.
19337 (__pthread_exit): Call __pthread_setcancelstate and
19338 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19339 __pthread_get_cleanup_stack.
19340 * htl/pt-testcancel.c: Include <pthreadP.h>.
19341 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19342 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19343 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19344 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19345 pthread_attr_getstacksize.
19346 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19347 Rename to __pthread_attr_getstackaddr.
19348 (pthread_attr_getstackaddr): New strong alias.
19349 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19350 Rename to __pthread_attr_getstacksize.
19351 (pthread_attr_getstacksize): New strong alias.
19352 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19353 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19354 (pthread_attr_setstack): New strong alias.
19355 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19356 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19357 pthread_attr_getstacksize, pthread_attr_setstacksize and
19358 pthread_attr_setstackaddr.
19359 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19360 Rename to __pthread_attr_setstackaddr.
19361 (pthread_attr_setstackaddr): New strong alias.
19362 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19363 Rename to __pthread_attr_setstacksize.
19364 (pthread_attr_setstacksize): New strong alias.
19365 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19366 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19368 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19369 (__pthread_key_create): New hidden def.
19370 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19371 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19372 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19373 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19374 __pthread_setspecific, __pthread_setcancelstate,
19375 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19376 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19377 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19379 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19380 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19381 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19382 (pthread_attr_setstackaddr): New strong alias.
19383 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19384 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19385 (pthread_attr_setstacksize): New strong alias.
19386 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19387 (call_exit): Call __pthread_exit instead of pthread_exit.
19388 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19389 (_pthread_mutex_init): New hidden definition.
19390 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19391 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19392 instead of pthread_attr_init and pthread_attr_setstack.
19394 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19395 __vm_deallocate instead of vm_allocate and vm_deallocate.
19396 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19398 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19400 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19402 * hurd/siginfo.c: Include <libioP.h>.
19403 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19404 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19406 * mach/devstream.c: Include <libioP.h>.
19407 (dealloc_ref): Call __mach_port_deallocate instead of
19408 mach_port_deallocate.
19409 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19410 Call __mach_port_deallocate instead of mach_port_deallocate.
19411 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19413 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19415 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19416 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19417 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19419 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19421 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19422 instead of sysconf.
19423 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19424 __clock_gettime instead of clock_gettime.
19425 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19426 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19427 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19428 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19429 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19431 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19432 __clock_gettime and __nanosleep instead of clock_gettime and
19434 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19435 __hurd_catch_signal.
19436 (hurd_catch_signal): New strong alias.
19437 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19438 __hurd_catch_signal instead of hurd_catch_signal.
19439 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19440 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19441 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19442 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19443 (_hurd_thread_sigstate): Add hidden def.
19444 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19446 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19447 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19448 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19449 __hurd_file_name_path_lookup.
19450 (hurd_file_name_path_lookup): New strong alias.
19451 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19452 hurd_file_name_path_lookup.
19453 * mach/errstring.c (mach_error_type): Add hidden def.
19454 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19455 * mach/mutex-init.c (__mutex_init): Add hidden def.
19456 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19457 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19458 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19459 * sysdeps/mach/hurd/getcwd.c
19460 (_hurd_canonicalize_directory_name_internal): Rename to
19461 __hurd_canonicalize_directory_name_internal.
19462 (_hurd_canonicalize_directory_name_internal): New strong alias.
19463 (__canonicalize_directory_name_internal, __getcwd): Call
19464 __hurd_canonicalize_directory_name_internal instead of
19465 _hurd_canonicalize_directory_name_internal.
19466 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19467 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19469 * sysdeps/hurd/include/hurd.h: New file.
19470 * sysdeps/hurd/include/hurd/fd.h: New file.
19471 * sysdeps/hurd/include/hurd/signal.h: New file.
19472 * sysdeps/mach/include/lock-intern.h: New file.
19473 * sysdeps/mach/include/mach.h: New file.
19474 * sysdeps/mach/include/mach/mig_support.h: New file.
19475 * sysdeps/mach/include/mach_error.h: New file.
19476 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19478 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19479 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19480 _HEADER_H_HIDDEN_DEF macro.
19481 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19482 _hurd_fd_error_signal): Add hidden prototype.
19483 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19485 * libio/iolibio.h (_IO_puts): New hidden prototype.
19486 * libio/ioputs.c (_IO_puts): New hidden def.
19487 * sysdeps/mach/hurd/localplt.data: New file.
19489 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19490 Amos Jeffries <squid3@treenet.co.nz>
19491 David Michael <fedora.dm0@gmail.com>
19492 Marco Gerards <marco@gnu.org>
19493 Marcus Brinkmann <marcus@gnu.org>
19494 Neal H. Walfield <neal@gnu.org>
19495 Pino Toscano <toscano.pino@tiscali.it>
19496 Richard Braun <rbraun@sceen.net>
19497 Roland McGrath <roland@gnu.org>
19498 Samuel Thibault <samuel.thibault@ens-lyon.org>
19499 Thomas DiModica <ricinwich@yahoo.com>
19500 Thomas Schwinge <tschwinge@gnu.org>
19502 * htl: New directory.
19503 * sysdeps/htl: New directory.
19504 * sysdeps/hurd/htl: New directory.
19505 * sysdeps/i386/htl: New directory.
19506 * sysdeps/mach/htl: New directory.
19507 * sysdeps/mach/hurd/htl: New directory.
19508 * sysdeps/mach/hurd/i386/htl: New directory.
19509 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19510 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19511 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19513 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19515 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19516 signals in thread created for runing timers.
19518 2018-04-01 Florian Weimer <fweimer@redhat.com>
19520 * support/support_format_addrinfo.c (support_format_addrinfo):
19521 Include unknown error number in formatted result.
19523 2018-03-29 Florian Weimer <fweimer@redhat.com>
19525 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19528 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19530 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19531 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19532 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19533 (__ASSUME_CLONE_BACKWARDS): Define.
19535 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19538 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19539 early when linux sentinel value is set.
19541 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19543 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19545 2018-03-27 Andreas Schwab <schwab@suse.de>
19548 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19549 allocation of private copy of nsaddr_list fails.
19551 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19554 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19555 * sysdeps/unix/sysv/linux/umount.c: ... here.
19556 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19557 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19558 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19559 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19561 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19562 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19564 2018-03-26 Andreas Schwab <schwab@suse.de>
19566 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19567 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19568 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19569 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19570 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19571 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19572 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19573 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19574 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19575 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19576 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19577 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19578 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19579 (R_RISCV_NUM): Define.
19581 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19583 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19584 TLS declaration of errno.
19585 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19587 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19588 (ARCH_SETUP_TLS): Likewise.
19589 * sysdeps/mach/hurd/libc-start.h: New file copied from
19590 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19591 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19592 instead of __libc_setup_tls.
19593 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19594 __libc_setup_tls before initializing libpthread and running _hurd_init
19595 which starts the signal thread.
19596 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19598 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19600 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19603 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19604 after it is defined.
19606 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19607 Max Horn <max@quendi.de>
19611 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19613 * string/test-memmove.c (do_test2): New testcase.
19615 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19617 * sysdeps/generic/frame.h: Remove file.
19618 * sysdeps/arm/frame.h: Likewise.
19619 * sysdeps/hppa/frame.h: Likewise.
19620 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19622 (GET_FRAME): Likewise.
19623 (GET_STACK): Likewise.
19624 (CALL_SIGHANDLER): Likewise.
19625 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19627 (GET_FRAME): Likewise.
19628 (GET_STACK): Likewise.
19629 (CALL_SIGHANDLER): Likewise.
19630 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19631 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19632 (GET_FRAME): Likewise.
19633 (GET_STACK): Likewise.
19634 (CALL_SIGHANDLER): Likewise.
19635 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19636 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19637 (GET_FRAME): Likewise.
19638 (GET_STACK): Likewise.
19639 (ADVANCE_STACK_FRAME): Likewise.
19640 (CALL_SIGHANDLER): Likewise.
19641 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19642 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19643 (GET_FRAME): Likewise.
19644 (GET_STACK): Likewise.
19645 (CALL_SIGHANDLER): Likewise.
19646 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19647 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19648 (GET_FRAME): Likewise.
19649 (GET_STACK): Likewise.
19650 (CALL_SIGHANDLER): Likewise.
19651 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19652 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19653 (GET_FRAME): Likewise.
19654 (GET_STACK): Likewise.
19655 (CALL_SIGHANDLER): Likewise.
19656 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19657 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19658 (GET_FRAME): Likewise.
19659 (GET_STACK): Likewise.
19660 (CALL_SIGHANDLER): Likewise.
19661 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19662 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19663 (GET_FRAME): Likewise.
19664 (GET_STACK): Likewise.
19665 (CALL_SIGHANDLER): Likewise.
19666 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19667 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19668 (GET_FRAME): Likewise.
19669 (GET_STACK): Likewise.
19670 (CALL_SIGHANDLER): Likewise.
19671 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19672 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19673 (GET_FRAME): Likewise.
19674 (GET_STACK): Likewise.
19675 (CALL_SIGHANDLER): Likewise.
19676 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19677 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19678 (GET_FRAME): Likewise.
19679 (GET_STACK): Likewise.
19680 (CALL_SIGHANDLER): Likewise.
19681 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19682 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19683 (GET_FRAME): Likewise.
19684 (GET_STACK): Likewise.
19685 (CALL_SIGHANDLER): Likewise.
19686 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19687 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19688 (FIRST_FRAME_POINTER): Likewise.
19689 (ADVANCE_STACK_FRAME): Likewise.
19690 (GET_STACK): Likewise.
19691 (GET_FRAME): Likewise.
19692 (CALL_SIGHANDLER): Likewise.
19693 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19694 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19695 (ADVANCE_STACK_FRAME): Likewise.
19696 (GET_STACK): Likewise.
19697 (GET_FRAME): Likewise.
19698 (CALL_SIGHANDLER): Likewise.
19699 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19700 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19701 (GET_FRAME): Likewise.
19702 (GET_STACK): Likewise.
19703 (CALL_SIGHANDLER): Likewise.
19704 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19705 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19706 (GET_FRAME): Likewise.
19707 (GET_STACK): Likewise.
19708 (CALL_SIGHANDLER): Likewise.
19710 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19712 * sysdeps/x86_64/backtrace.c: Move to ....
19713 * debug/backtrace.c: ... here.
19714 * sysdeps/aarch64/backtrace.c: Remove file.
19715 * sysdeps/alpha/backtrace.c: Likewise.
19716 * sysdeps/hppa/backtrace.c: Likewise.
19717 * sysdeps/ia64/backtrace.c: Likewise.
19718 * sysdeps/mips/backtrace.c: Likewise.
19719 * sysdeps/nios2/backtrace.c: Likewise.
19720 * sysdeps/riscv/backtrace.c: Likewise.
19721 * sysdeps/sh/backtrace.c: Likewise.
19722 * sysdeps/tile/backtrace.c: Likewise.
19724 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19727 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19730 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19733 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19734 possibly overflowing computations.
19736 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19738 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19739 values from Linux-specific section now that it is in the GNU section.
19740 * sysdeps/gnu/errlist.c: Regenerate.
19742 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19744 * math/Makefile (libm-narrow-fns): Add sub.
19745 (libm-test-funcs-narrow): Likewise.
19746 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19747 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19748 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19749 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19750 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19751 (NARROW_SUB_TRIVIAL): Likewise.
19752 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19754 (__dsubl): Likewise.
19755 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19757 (CFLAGS-nldbl-dsub.c): New variable.
19758 (CFLAGS-nldbl-fsub.c): Likewise.
19759 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19761 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19763 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19764 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19765 * math/auto-libm-test-in: Add tests of sub.
19766 * math/auto-libm-test-out-narrow-sub: New generated file.
19767 * math/libm-test-narrow-sub.inc: New file.
19768 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19769 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19770 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19771 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19772 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19773 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19774 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19775 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19776 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19777 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19778 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19779 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19780 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19781 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19782 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19783 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19784 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19785 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19787 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19788 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19789 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19790 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19791 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19792 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19793 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19794 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19795 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19796 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19797 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19798 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19799 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19804 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19805 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19806 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19807 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19808 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19809 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19810 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19811 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19812 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19813 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19815 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19818 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19820 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19822 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19824 2018-03-18 Richard Braun <rbraun@sceen.net>
19826 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19829 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19831 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19832 (__libc_cleanup_fct): Define function.
19833 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19834 __libc_cleanup_end): Rewrite implementation using
19835 __attribute__ ((__cleanup__)).
19836 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19837 * hurd/Makefile (routines): Add hurdlock.
19838 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19840 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19841 * hurd/hurdpid.c: Include <lowlevellock.h>
19842 (_S_msg_proc_newids): Use lll_wait to synchronize.
19843 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19844 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19845 * mach/Makefile (lock-headers): Remove machine-lock.h.
19846 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19848 (__spin_lock_t): New type.
19849 (__SPIN_LOCK_INITIALIZER): New macro.
19850 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19851 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19852 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19853 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19854 (__mutex_init): Initialize with lll.
19855 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19856 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19858 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19859 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19860 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19861 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19862 (__setpgid): Use lll for synchronization.
19863 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19864 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19865 instead of <cthreads.h>.
19866 (_IO_lock_inexpensive): New macro
19867 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19868 (__libc_lock_self0): New declaration.
19869 (__libc_lock_owner_self): New macro.
19870 (__libc_key_t): Remove type.
19871 (_LIBC_LOCK_INITIALIZER): New macro.
19872 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19873 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19874 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19875 __libc_lock_define_initialized_recursive,
19876 __rtld_lock_define_initialized_recursive,
19877 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19878 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19879 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19880 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19881 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19882 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19883 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19885 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19886 * hurd/hurdlock.c: New file.
19887 * hurd/hurdlock.h: New file.
19888 * mach/lowlevellock.h: New file
19890 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19892 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19893 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19894 when opening a symlink with O_NOFOLLOW.
19895 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19896 path when flags contains O_NOFOLLOW.
19897 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19898 if flags contains O_DIRECTORY and the result is a directory.
19899 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19900 oneself when the pointer given in D is nul (as set by ext2fs).
19901 * sysdeps/mach/hurd/mlockall.c: New file.
19902 * sysdeps/mach/hurd/munlockall.c: New file.
19904 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19906 * hurd/hurdsig.c: Include <pthread.h>.
19907 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19908 get the signal thread stack layout.
19909 * hurd/Makefile (headers): Remove threadvar.h.
19910 (inline-headers): Remove threadvar.h.
19911 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19912 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19913 __hurd_threadvar_max, __hurd_errno_location.
19914 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19915 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19916 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19917 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19918 unless TLS is not initialized yet, in which case we do not need a
19919 critical section yet anyway.
19920 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19922 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19924 (__hurd_threadvar_index): Remove enum.
19925 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19926 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19928 (__hurd_reply_port0): New variable declaration.
19929 (__hurd_local_reply_port): New macro.
19930 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19931 (interrupted_reply_port_location): Add thread_t parameter. Use it
19932 with THREAD_TCB to access thread-local variables.
19933 (_hurdsig_abort_rpcs): Pass ss->thread to
19934 interrupted_reply_port_location.
19935 (_hurd_internal_post_signal): Likewise.
19936 (_hurdsig_init): Use presence of cthread_fork instead of
19937 __hurd_threadvar_stack_mask to start signal thread by hand.
19938 Remove signal thread threadvar initialization.
19939 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19940 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19941 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19943 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19945 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19946 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19947 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19948 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19949 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19950 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19951 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19953 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19954 <hurd/threadvar.h>.
19955 [IS_IN(rtld)] (rtld_errno): New variable.
19956 [IS_IN(rtld)] (__errno_location): New weak function.
19957 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19958 * sysdeps/mach/hurd/errno.c: Remove file.
19959 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19960 (__fork): Remove THREADVAR_SPACE macro and its use.
19961 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19963 (init): Do not initialize threadvar.
19964 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19966 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19967 __hurd_local_reply_port instead of threadvar.
19968 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19969 _hurd_sigstate fields.
19970 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19971 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19972 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19973 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19974 instead of threadvar.
19975 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19976 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19977 (use_threadvar, global_reply_port): Remove variables.
19978 (__hurd_reply_port0): New variable.
19979 (__mig_get_reply_port): Use __hurd_local_reply_port and
19980 __hurd_reply_port0 instead of threadvar.
19981 (__mig_dealloc_reply_port): Likewise.
19982 (__mig_init): Do not initialize threadvar.
19983 * sysdeps/mach/hurd/profil.c: Fix comment.
19984 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19985 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19986 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19987 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19988 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19989 __cthread_setspecific.
19990 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19991 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19992 __cthread_t instead of cthread_fork, cthread_detach,
19993 pthread_getattr_np, pthread_attr_getstack.
19994 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19995 __cthread_keycreate.
19996 (cthread_getspecific): Rename to __cthread_getspecific.
19997 (cthread_setspecific): Rename to __cthread_setspecific.
19998 (__libc_getspecific): Use __cthread_getspecific instead of
19999 cthread_getspecific.
20000 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20001 __cthread_keycreate instead of cthread_keycreate.
20002 (__libc_setspecific): Use __cthread_setspecific instead of
20003 cthread_setspecific.
20004 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20007 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20008 testing whether it is defined.
20010 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20012 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20014 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20015 * sysdeps/mach/i386/thread_state.h
20016 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20018 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20020 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20022 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20023 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20025 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20027 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20028 descriptor instead of creating a new one.
20029 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20031 * mach/setup-thread.c: Include <ldsodefs.h>.
20032 (__mach_setup_thread): Call _dl_allocate_tls, pass
20033 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20034 MACHINE_THREAD_STATE_FLAVOR, before getting
20035 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20036 MACHINE_THREAD_STATE_FLAVOR with the result.
20037 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20038 MACHINE_THREAD_STATE_FIX_NEW.
20039 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20040 too. Add original thread parameter.
20042 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20044 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20045 Remove inline function.
20047 * sysdeps/i386/fpu/libm-test-ulps: Update.
20048 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20050 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20052 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20055 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20057 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20058 (__sincos_code): Remove define and undefine.
20059 [__FAST_MATH__] (__sincos): Remove inline function.
20060 [__FAST_MATH__] (__sincosf): Remove inline function.
20061 [__FAST_MATH__] (__sincosl): Remove inline function.
20062 (__atan2l): Remove inline functions.
20063 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20064 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20066 (floor): Remove inline function.
20068 [__FAST_MATH__] (__ldexp_code): Remove macro.
20069 [__FAST_MATH__] (ldexp): Remove inline function.
20070 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20071 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20072 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20073 [__USE_ISOC99] (__lrint_code): Remove macro.
20074 [__USE_ISOC99] (__llrint_code): Likewise.
20075 [__USE_ISOC99] (lrintf): Remove inline function.
20076 [__USE_ISOC99] (lrint): Likewise.
20077 [__USE_ISOC99] (lrintl): Likewise.
20078 [__USE_ISOC99] (llrint): Likewise.
20079 [__USE_ISOC99] (llrintf): Likewise.
20080 [__USE_ISOC99] (llrintl): Likewise.
20082 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20084 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20085 (__ieee754_sqrtf): Remove.
20086 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20087 (__ieee754_sqrtf): Remove.
20088 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20089 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20090 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20091 (__ieee754_sqrtf): Remove.
20092 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20093 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20096 (__ieee754_sqrt): Remove.
20097 (__ieee754_sqrtf): Remove.
20098 (__ieee754_sqrtl): Remove.
20099 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20100 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20101 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20102 (__ieee754_sqrtf): Remove.
20103 (__ieee754_sqrtl): Remove.
20105 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20107 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20108 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20109 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20110 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20111 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20112 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20113 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20114 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20116 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20117 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20118 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20119 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20120 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20121 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20122 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20123 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20124 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20125 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20126 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20127 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20128 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20129 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20130 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20131 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20132 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20133 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20134 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20138 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20139 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20140 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20141 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20142 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20143 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20144 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20145 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20146 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20147 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20148 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20149 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20150 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20151 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20152 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20153 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20154 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20155 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20157 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20159 * include/math.h (sqrt): Declare with asm redirect.
20162 (sqrtf128): Likewise.
20163 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20164 nonlib and libnldbl with -fmath-errno.
20165 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20166 * math/w_sqrt_template.c: Likewise.
20167 * math/w_sqrtf_compat.c: Likewise.
20168 * math/w_sqrtl_compat.c: Likewise.
20169 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20170 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20171 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20174 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20176 * benchtests/Makefile: Define _ISOMAC.
20177 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20178 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20179 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20180 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20181 * benchtests/bench-timing.h: Define attribute_hidden.
20183 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20185 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20188 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20191 * localedata/locales/cs_CZ (mon): Rename to...
20193 (mon): Import from CLDR (genitive case).
20195 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20198 * localedata/locales/el_CY (abmon): Rename to...
20199 (ab_alt_mon): This.
20200 (abmon): Import from CLDR (abbreviated genitive case).
20201 * localedata/locales/el_GR (abmon): Rename to...
20202 (ab_alt_mon): This.
20203 (abmon): Import from CLDR (abbreviated genitive case).
20205 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20208 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20210 2018-03-15 Robert Buj <robert.buj@gmail.com>
20213 * localedata/locales/ca_ES (abmon): Rename to...
20214 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20215 (mon): Rename to...
20217 (abmon): Import from CLDR (genitive case, month names preceded by
20220 (abday): Synchronize with CLDR.
20221 (d_t_fmt): Likewise.
20225 (LC_TIME): Improve indentation.
20226 (LC_TELEPHONE): Likewise.
20227 (LC_NAME): Likewise.
20228 (LC_ADDRESS): Likewise.
20230 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20232 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20233 (lrintf): Remove definitions used only with old GCC.
20234 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20235 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20236 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20237 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20238 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20239 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20240 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20241 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20242 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20243 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20244 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20245 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20246 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20247 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20248 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20249 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20250 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20251 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20252 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20253 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20254 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20255 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20256 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20257 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20258 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20259 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20260 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20261 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20263 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20265 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20266 instruction to unbreak builds with binutils 2.26 and older.
20268 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20270 * sysdeps/aarch64/strncmp.S (count): New macro.
20271 (strncmp): Store misaligned length in SRC1 in COUNT.
20272 (mutual_align): Adjust.
20273 (misaligned8): Load dword at a time when it is safe.
20275 2018-03-12 Zack Weinberg <zackw@panix.com>
20279 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20280 if the _IO_EOF_SEEN bit is already set; update commentary.
20281 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20282 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20284 * support/support_openpty.c, support/tty.h: New files.
20285 * support/Makefile (libsupport-routines): Add support_openpty.
20287 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20289 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20290 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20292 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20294 * po/pt_BR.po: Update translations.
20296 2018-03-12 David Michael <fedora.dm0@gmail.com>
20298 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20299 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20300 get a port to the startup server.
20302 2018-03-11 Zack Weinberg <zackw@panix.com>
20304 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20305 before nldbl-compat.h.
20307 2018-03-10 Zack Weinberg <zackw@panix.com>
20309 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20310 math.h or math_private.h.
20312 * sysdeps/alpha/fpu/s_isnan.c
20313 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20314 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20315 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20316 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20317 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20318 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20319 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20320 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20321 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20324 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20325 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20326 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20327 Include math_private.h.
20329 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20330 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20331 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20332 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20333 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20334 * sysdeps/powerpc/power7/fpu/s_logb.c:
20335 Include math.h and math_private.h.
20337 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20338 uses of $at in .set noat / .set at.
20340 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20342 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20343 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20344 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20345 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20348 2018-03-09 Florian Weimer <fweimer@redhat.com>
20350 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20353 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20356 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20357 Add nop before __startcontext, add explaining comments.
20359 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20362 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20364 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20365 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20366 Do not build hardware transactional code for __SPE__.
20367 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20368 (__lll_trylock_elision): Likewise.
20369 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20370 (__lll_unlock_elision): Likewise.
20372 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20373 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20374 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20375 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20376 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20377 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20378 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20379 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20380 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20381 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20382 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20383 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20384 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20385 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20386 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20387 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20388 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20389 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20390 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20391 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20392 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20393 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20394 (__ASSUME_CLONE_BACKWARDS): Define.
20395 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20396 __clone2 if __NR_clone2 is defined.
20397 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20398 (__ASSUME_CLONE_BACKWARDS): Likewise.
20399 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20400 (__ASSUME_CLONE_BACKWARDS): Likewise.
20401 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20402 (__ASSUME_CLONE2): Likewise.
20403 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20404 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20405 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20406 variants and the define architecture can use.
20407 (__ASSUME_CLONE_DEFAULT): Define as default.
20408 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20409 (__ASSUME_CLONE_BACKWARDS): Likewise.
20410 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20411 (__ASSUME_CLONE_BACKWARDS): Likewise.
20412 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20413 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20415 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20417 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20419 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20422 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20423 (do_test_limit): Likewise.
20425 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20426 for every implementation.
20427 (do_test): Likewise.
20429 * benchtests/bench-strncmp.c: Convert output to json.
20431 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20433 * io/futimens.c: Add missing start-of-file descriptive comment.
20434 * io/utime.c: Likewise.
20435 * misc/futimesat.c: Likewise.
20436 * misc/utimes.c: Likewise.
20437 * sysdeps/mach/hurd/futimesat.c: Likewise.
20438 * sysdeps/mach/hurd/utimes.c: Likewise.
20439 * sysdeps/posix/utime.c: Likewise.
20440 * sysdeps/posix/utimes.c: Likewise.
20441 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20442 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20443 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20444 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20446 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20448 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20450 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20451 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20452 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20453 (__futimens): Move implementation to...
20454 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20455 utime_tvalue_from_tspec): ... new helper functions.
20456 (hurd_futimens): New function.
20457 * sysdeps/mach/hurd/futimesat.c: New file.
20458 * sysdeps/mach/hurd/utimensat.c: New file.
20460 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20462 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20463 UTIME_OMIT): New macros.
20464 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20465 before reverting to converting time spec to time value and calling
20467 * sysdeps/mach/hurd/utime-helper.c: New file.
20468 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20469 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20470 reverting to utime_tvalue_from_tval and __file_utimes.
20471 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20472 (__lutimes): Just call hurd_futimens after lookup.
20473 * sysdeps/mach/hurd/utimes.c: Likewise.
20475 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20477 * bits/sigaction.h: Add include guard.
20478 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20479 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20480 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20481 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20482 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20483 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20484 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20485 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20486 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20488 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20490 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20491 -Wmaybe-uninitialized for -Os.
20492 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20495 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20497 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20498 __INO_T_MATCHES_INO64_T is defined.
20499 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20500 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20502 * dirent/alphasort64.c: Likewise.
20503 * dirent/scandir.c: Likewise.
20504 * dirent/scandir64-tail.c: Likewise.
20505 * dirent/scandir64.c: Likewise.
20506 * dirent/scandirat.c: Likewise.
20507 * dirent/scandirat64.c: Likewise.
20508 * dirent/versionsort.c: Likewise.
20509 * dirent/versionsort64.c: Likewise.
20510 * include/dirent.h: Likewise.
20512 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20513 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20514 for socketpair endpoint.
20515 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20516 WRITE_BUFFER_SIZE as buffer size for sending socket.
20517 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20518 issue on system where send is implemented with sendto syscall.
20519 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20520 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20521 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20522 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20525 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20526 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20527 sa_restorer for vDSO case.
20528 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20530 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20532 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20533 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20534 * hurd/hurd/ioctl.h: Include <mach/port.h>
20535 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20536 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20537 <mach/mach_types.h> and <mach/message.h>.
20538 (headers): Move mach/param.h to bits/mach/param.h.
20539 * sysdeps/mach/i386/mach/param.h: Move file to ...
20540 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20541 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20543 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20544 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20545 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20546 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20547 trivial, for C++ conformity.
20548 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20549 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20550 Process mig output through $(migheadersed).
20551 * hurd/Makefile (migheadersed): Define variable.
20552 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20553 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20555 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20556 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20557 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20558 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20559 <bits/types/sigset_t.h>.
20560 [!defined __USE_GNU]: Do not #error out.
20561 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20562 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20563 Include <stddef.h> and <bits/types/sigset_t.h>
20564 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20565 instead of sighandler_t.
20566 * stdlib/errno.h (error_t): Move definition to...
20567 * bits/types/error_t.h: ... new header.
20568 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20569 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20570 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20571 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20572 * hurd/hurd.h: Include <bits/types/error_t.h>
20573 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20574 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20575 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20576 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20577 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20578 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20579 * sysdeps/mach/hurd/futimens.c: New file.
20581 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20584 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20585 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20586 * nscd/gai.c (__nss_hosts_database): Readd definition.
20587 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20588 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20589 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20591 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20593 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20594 (ifunc_one): Likewise.
20596 2018-03-01 DJ Delorie <dj@delorie.com>
20599 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20602 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20604 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20605 `match_pid' parameter.
20606 (td_ta_thr_iter): Update accordingly.
20608 2018-03-01 Florian Weimer <fweimer@redhat.com>
20610 * nptl/Makefile (install-lib-ldscripts): Remove.
20611 (install): Remove rule.
20612 ($(inst_libdir)/libpthread.so): Likewise.
20614 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20617 * localedata/locales/an_ES: update month and day names,
20618 improve d_fmt, improve postal_fmt, add country_post,
20621 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20623 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20624 Ukrainian instead of Bulgarian.
20626 2018-03-01 Florian Weimer <fweimer@redhat.com>
20628 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20631 2018-03-01 Florian Weimer <fweimer@redhat.com>
20633 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20634 * nptl/Makefile (routines): Add pthread_atfork.
20635 (static-only-routines): Set to pthread_atfork.
20636 (libpthread-routines): Remove pthread_atfork.
20637 (libpthread-static-only-routines): Remove.
20638 (install): Update comment.
20639 (libpthread.so): Do not install libpthread_nonshared.a.
20640 (tests): Do not link with libpthread_nonshared.a.
20641 (generated): Remove libpthread_nonshared.a.
20642 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20643 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20644 with libpthread_nonshared.a.
20646 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20649 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20650 (libc_feholdexcept_setroundf128): New macro.
20651 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20654 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20656 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20657 * include/inttypes.h: New file.
20659 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20661 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20662 -Os in two more places.
20664 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20666 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20667 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20668 be sorted correctly at the moment because of a bug.
20670 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20672 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20673 treat ñ as a primary different character, sync the collation
20674 for Spanish with CLDR.
20675 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20676 * localedata/Makefile: Add new test files.
20677 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20678 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20680 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20681 * localedata/am_ET.UTF-8.in: New test file.
20682 * localedata/az_AZ.UTF-8.in: Likewise.
20683 * localedata/be_BY.UTF-8.in: Likewise.
20684 * localedata/ber_DZ.UTF-8.in: Likewise.
20685 * localedata/ber_MA.UTF-8.in: Likewise.
20686 * localedata/bg_BG.UTF-8.in: Likewise.
20687 * localedata/br_FR.UTF-8.in: Likewise.
20688 * localedata/cmn_TW.UTF-8.in: Likewise.
20689 * localedata/crh_UA.UTF-8.in: Likewise.
20690 * localedata/csb_PL.UTF-8.in: Likewise.
20691 * localedata/cv_RU.UTF-8.in: Likewise.
20692 * localedata/cy_GB.UTF-8.in: Likewise.
20693 * localedata/dz_BT.UTF-8.in: Likewise.
20694 * localedata/eo.UTF-8.in: Likewise.
20695 * localedata/es_ES.UTF-8.in: Likewise.
20696 * localedata/fa_IR.UTF-8.in: Likewise.
20697 * localedata/fi_FI.UTF-8.in: Likewise.
20698 * localedata/fil_PH.UTF-8.in: Likewise.
20699 * localedata/fur_IT.UTF-8.in: Likewise.
20700 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20701 * localedata/ha_NG.UTF-8.in: Likewise.
20702 * localedata/ig_NG.UTF-8.in: Likewise.
20703 * localedata/ik_CA.UTF-8.in: Likewise.
20704 * localedata/kk_KZ.UTF-8.in: Likewise.
20705 * localedata/ku_TR.UTF-8.in: Likewise.
20706 * localedata/ky_KG.UTF-8.in: Likewise.
20707 * localedata/ln_CD.UTF-8.in: Likewise.
20708 * localedata/mi_NZ.UTF-8.in: Likewise.
20709 * localedata/ml_IN.UTF-8.in: Likewise.
20710 * localedata/mn_MN.UTF-8.in: Likewise.
20711 * localedata/mr_IN.UTF-8.in: Likewise.
20712 * localedata/mt_MT.UTF-8.in: Likewise.
20713 * localedata/nb_NO.UTF-8.in: Likewise.
20714 * localedata/om_KE.UTF-8.in: Likewise.
20715 * localedata/os_RU.UTF-8.in: Likewise.
20716 * localedata/ps_AF.UTF-8.in: Likewise.
20717 * localedata/ro_RO.UTF-8.in: Likewise.
20718 * localedata/ru_RU.UTF-8.in: Likewise.
20719 * localedata/sc_IT.UTF-8.in: Likewise.
20720 * localedata/se_NO.UTF-8.in: Likewise.
20721 * localedata/sq_AL.UTF-8.in: Likewise.
20722 * localedata/sv_SE.UTF-8.in: Likewise.
20723 * localedata/szl_PL.UTF-8.in: Likewise.
20724 * localedata/tg_TJ.UTF-8.in: Likewise.
20725 * localedata/tk_TM.UTF-8.in: Likewise.
20726 * localedata/tt_RU.UTF-8.in: Likewise.
20727 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20728 * localedata/ug_CN.UTF-8.in: Likewise.
20729 * localedata/uz_UZ.UTF-8.in: Likewise.
20730 * localedata/vi_VN.UTF-8.in: Likewise.
20731 * localedata/yi_US.UTF-8.in: Likewise.
20732 * localedata/yo_NG.UTF-8.in: Likewise.
20733 * localedata/zh_CN.UTF-8.in: Likewise.
20734 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20735 file and fix bugs in the collation.
20736 * localedata/locales/az_AZ: Likewise.
20737 * localedata/locales/be_BY: Likewise.
20738 * localedata/locales/ber_DZ: Likewise.
20739 * localedata/locales/ber_MA: Likewise.
20740 * localedata/locales/bg_BG: Likewise.
20741 * localedata/locales/br_FR: Likewise.
20742 * localedata/locales/br_FR@euro: Likewise.
20743 * localedata/locales/ca_ES: Likewise.
20744 * localedata/locales/cns11643_stroke: Likewise.
20745 * localedata/locales/crh_UA: Likewise.
20746 * localedata/locales/cs_CZ: Likewise.
20747 * localedata/locales/csb_PL: Likewise.
20748 * localedata/locales/cv_RU: Likewise.
20749 * localedata/locales/cy_GB: Likewise.
20750 * localedata/locales/da_DK: Likewise.
20751 * localedata/locales/dz_BT: Likewise.
20752 * localedata/locales/en_CA: Likewise.
20753 * localedata/locales/eo: Likewise.
20754 * localedata/locales/es_CU: Likewise.
20755 * localedata/locales/es_EC: Likewise.
20756 * localedata/locales/es_ES: Likewise.
20757 * localedata/locales/es_US: Likewise.
20758 * localedata/locales/et_EE: Likewise.
20759 * localedata/locales/fa_IR: Likewise.
20760 * localedata/locales/fi_FI: Likewise.
20761 * localedata/locales/fil_PH: Likewise.
20762 * localedata/locales/fur_IT: Likewise.
20763 * localedata/locales/gez_ER@abegede: Likewise.
20764 * localedata/locales/ha_NG: Likewise.
20765 * localedata/locales/hr_HR: Likewise.
20766 * localedata/locales/hsb_DE: Likewise.
20767 * localedata/locales/hu_HU: Likewise.
20768 * localedata/locales/ig_NG: Likewise.
20769 * localedata/locales/ik_CA: Likewise.
20770 * localedata/locales/is_IS: Likewise.
20771 * localedata/locales/iso14651_t1_pinyin: Likewise.
20772 * localedata/locales/kk_KZ: Likewise.
20773 * localedata/locales/ku_TR: Likewise.
20774 * localedata/locales/ky_KG: Likewise.
20775 * localedata/locales/ln_CD: Likewise.
20776 * localedata/locales/lt_LT: Likewise.
20777 * localedata/locales/lv_LV: Likewise.
20778 * localedata/locales/mi_NZ: Likewise.
20779 * localedata/locales/ml_IN: Likewise.
20780 * localedata/locales/mn_MN: Likewise.
20781 * localedata/locales/mr_IN: Likewise.
20782 * localedata/locales/mt_MT: Likewise.
20783 * localedata/locales/nb_NO: Likewise.
20784 * localedata/locales/om_KE: Likewise.
20785 * localedata/locales/os_RU: Likewise.
20786 * localedata/locales/pl_PL: Likewise.
20787 * localedata/locales/ps_AF: Likewise.
20788 * localedata/locales/ro_RO: Likewise.
20789 * localedata/locales/ru_RU: Likewise.
20790 * localedata/locales/ru_UA: Likewise.
20791 * localedata/locales/sc_IT: Likewise.
20792 * localedata/locales/se_NO: Likewise.
20793 * localedata/locales/si_LK: Likewise.
20794 * localedata/locales/sq_AL: Likewise.
20795 * localedata/locales/sv_FI: Likewise.
20796 * localedata/locales/sv_FI@euro: Likewise.
20797 * localedata/locales/sv_SE: Likewise.
20798 * localedata/locales/szl_PL: Likewise.
20799 * localedata/locales/tg_TJ: Likewise.
20800 * localedata/locales/ti_ER: Likewise.
20801 * localedata/locales/tk_TM: Likewise.
20802 * localedata/locales/tl_PH: Likewise.
20803 * localedata/locales/tr_TR: Likewise.
20804 * localedata/locales/tt_RU: Likewise.
20805 * localedata/locales/tt_RU@iqtelif: Likewise.
20806 * localedata/locales/ug_CN: Likewise.
20807 * localedata/locales/uk_UA: Likewise.
20808 * localedata/locales/uz_UZ: Likewise.
20809 * localedata/locales/uz_UZ@cyrillic: Likewise.
20810 * localedata/locales/vi_VN: Likewise.
20811 * localedata/locales/yi_US: Likewise.
20812 * localedata/locales/yo_NG: Likewise.
20814 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20816 * gen-locales.mk: Make test files which contain @ modifiers in their
20818 * localedata/gen-locale.sh: Likewise.
20820 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20822 * posix/tst-fnmatch.input: Fix results for range expressions
20824 * posix/tst-regexloc.c: Do not use a range expression for
20825 de_DE.ISO-8859-1 locale.
20827 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20829 * posix/bug-regex5.c: Fix test case because with the new
20830 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20831 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20834 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20836 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20837 downloaded from ISO, the collation order of @-. and space has changed.
20838 Therefore, this test file needed to be adapted.
20839 * localedata/fr_CA.UTF-8.in: Likewise.
20840 * localedata/fr_FR.UTF-8.in: Likewise.
20841 * localedata/uk_UA.UTF-8.in: Likewise.
20843 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20845 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20846 order of ȥ in the new iso14651_t1_common file.
20847 * localedata/pl_PL.UTF-8.in: Likewise.
20849 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20851 * localedata/locales/iso14651_t1_common: Add sections for various
20852 scripts to the iso14651_t1_common file.
20854 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20856 * localedata/locales/iso14651_t1_common: Use the code point of a
20857 character in the fourth collation level instead of IGNORE for all
20858 entries which have IGNORE on all 4 levels.
20860 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20862 * localedata/locales/iso14651_t1_common: Add some convenient collation
20863 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20864 rules similar to those in CLDR.
20866 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20868 * localedata/locales/iso14651_t1_common: The new version of this
20869 file downloaded from ISO contained several syntax errors which
20870 are fixed by this patch.
20872 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20874 * localedata/locales/iso14651_t1_common: replace all <U.....>
20875 with <U000.....> because glibc understands only 4 digit or 8 digit
20877 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20879 * localedata/locales/iso14651_t1_common: Necessary changes
20880 to make the file downloaded from ISO usable by glibc.
20882 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20885 * localedata/locales/iso14651_t1_common: Update file to
20886 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20888 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20890 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20891 of <nptl/pthreadP.h>
20892 (thread_attr_compare): Move function to...
20893 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20894 * sysdeps/nptl/timer_routines.h: ... new header.
20895 * sysdeps/mach/hurd/gai_misc.h: New file.
20897 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20899 * string/strcoll_l.c: Include <libc-diag.h>.
20900 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20901 declarations of seq1 and seq2.
20904 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20905 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20907 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20912 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20913 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20914 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20915 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20916 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20918 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20920 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20921 macros used in __ptrace_request.
20923 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20926 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20928 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20929 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20930 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20933 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20936 * ctype/ctype.c (tolower): Use libc_hidden_def.
20937 (toupper): Likewise.
20938 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20939 [!_ISOMAC] (toupper): Likewise.
20941 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20943 * localedata/Makefile: Remove --quiet argument when
20946 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20949 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20951 * localedata/locales/pt_PT (LC_TIME): likewise
20953 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20956 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20957 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20958 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20960 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20964 * nptl/Makefile (routines): Remove unregister-atfork.
20965 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20966 (fork_handler_alloc): Remove function.
20967 (fork_handlers, fork_handler_init): New variables.
20968 (__fork_lock): Rename to atfork_lock.
20969 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20970 to use a dynamic array to add/remove atfork handlers.
20971 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20972 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20973 Remove declaration.
20974 (fork_handler): Remove next, refcntr, and need_signal member.
20975 (__run_fork_handler_type): New enum.
20976 (__run_fork_handlers): New prototype.
20977 * nptl/register-atfork.c: Remove file.
20978 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20980 * sysdeps/nptl/nptl-signals.h: Move to ...
20981 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20983 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20984 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20985 unnecessary check for SIGTIMER.
20986 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20987 remove unnecessary removal of SIGTIMER.
20988 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20989 include-signals.h rename.
20990 * nptl/pthreadP.h: Likewise.
20991 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20992 __is_internal_signal instead of __nptl_is_internal_signal.
20994 2018-02-22 Andrew Waterman <andrew@sifive.com>
20997 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20998 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20999 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21000 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21002 2018-02-22 DJ Delorie <dj@delorie.com>
21004 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21006 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21008 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21009 do_misaligned, not misaligned8.
21011 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21013 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21014 Add memcpy_thunderx2.
21015 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21017 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21018 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21019 and IS_THUNDERX2PA checks.
21020 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21021 Use macro to set name appropriately.
21022 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21023 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21024 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21026 (IS_THUNDERX2): New macro.
21028 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21030 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21032 2018-02-21 Zack Weinberg <zackw@panix.com>
21034 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21035 Define here, unconditionally.
21036 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21037 * libio/libioP.h: Remove #if 0 blocks.
21038 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21039 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21040 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21042 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21043 Assume weak_alias is always defined.
21045 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21046 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21047 Remove #if 0 and #ifdef TODO blocks.
21048 Assume text_set_element is always defined.
21050 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21051 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21052 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21054 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21055 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21056 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21057 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21058 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21059 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21060 Reformat bit flags for _flags field to make occupancy clearer.
21062 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21063 Keep definitions consistent with those in libio/libio.h.
21065 * libio/libio.h (_IO_file_flags): Remove macro.
21066 All uses changed to _flags.
21068 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21069 (__HAVE_COLUMN, _IO_BE): Don't define.
21070 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21071 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21072 * libio/libioP.h (EOF): Don't define.
21073 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21074 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21075 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21076 testing _IO_UNIFIED_JUMPTABLES.
21078 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21079 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21080 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21081 (_IO_size_t): Delete; all uses changed to size_t.
21082 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21083 (_IO_off_t): Delete; all uses changed to off_t.
21084 (_IO_off64_t): Delete; all uses changed to off64_t.
21085 (_IO_pid_t): Delete; all uses changed to pid_t.
21086 (_IO_uid_t): Delete; all uses changed to uid_t.
21087 (_IO_wint_t): Delete; all uses changed to wint_t.
21088 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21089 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21090 (_IO_cookie_io_functions_t): Delete; all uses changed to
21091 cookie_io_functions_t.
21092 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21093 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21094 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21095 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21097 * libio/iofopncook.c: Remove unnecessary forward declarations.
21098 * libio/iolibio.h: Correct outdated commentary.
21099 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21100 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21101 Remove unnecessary casts.
21102 * stdio-common/getline.c: Use _IO_getdelim directly.
21103 Don't redefine ssize_t.
21104 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21105 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21106 Remove outdated comments.
21107 * stdio-common/vfscanf.c: Don't redefine va_list.
21109 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21110 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21111 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21112 which are always true, and __cplusplus, which is always false.
21114 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21118 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21119 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21120 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21121 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21123 [!_ISOMAC] (putc_unlocked): Likewise.
21124 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21125 define inline if [__USE_EXTERN_INLINES].
21126 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21131 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21132 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21133 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21134 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21135 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21137 * time/tzfile.c (__tzfile_read): Likewise.
21139 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21142 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21144 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21146 * io/fcntl.h: Fix a typo in a comment.
21148 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21151 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21152 define _DEFAULT_SOURCE.
21153 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21155 2018-02-21 Florian Weimer <fweimer@redhat.com>
21158 * elf/cache.c (save_cache): Call fsync on temporary file before
21160 (save_aux_cache): Call fdatasync on temporary file before renaming
21163 2018-02-21 Florian Weimer <fweimer@redhat.com>
21166 * include/caller.h: Remove file.
21167 * elf/dl-caller.c: Likewise.
21168 * elf/Makefile (dl-routines): Remove dl-caller.
21169 (shared-only-routines): Do not add dl-caller.
21170 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21172 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21174 (dl_open_worker): Do not call __check_caller.
21175 (_dl_open): Do not set caller_dl_open member.
21176 * elf/rtld.c (_rtld_global_ro): Do not initialize
21177 _dl_check_caller member.
21178 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21179 _dl_check_caller member.
21180 (_dl_check_caller): Remove declaration.
21181 * sysdeps/unix/sysv/linux/dl-execstack.c
21182 (_dl_make_stack_executable): Do not call __check_caller.
21184 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21186 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21187 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21189 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21191 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21194 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21197 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21198 of 199606L, 200112L, and 200809L.
21199 (_XOPEN_SOURCE): Document special values of 600 and 700.
21200 (_ISOC11_SOURCE): Document macro.
21201 (_ATFILE_SOURCE): Likewise.
21202 (_FORTIFY_SOURCE): Likewise.
21204 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21208 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21209 and define as weak alias of __ferror_unlocked. Use
21211 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21213 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21214 function if [__USE_EXTERN_INLINES].
21215 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21218 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21221 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21223 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21226 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21227 the GLIBC_2.1 version.
21229 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21232 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21233 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21234 intl/tst-gettext-de.po from po/de.po by removing the
21235 POT-Creation-Date line.
21236 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21238 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21241 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21243 * mach/Makefile (headers): Add mach/param.h.
21244 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21245 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21246 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21247 (__ptsname_r): Move implementation to...
21248 (__ptsname_internal): ... new function. Add filling the STP
21251 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21253 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21256 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21258 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21261 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21263 * nptl/Makefile (tst-mutex8-ENV): Delete.
21264 * nptl/tst-mutex8.c (check_type):
21265 Add runtime check if mutex will be elided.
21267 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21271 * manual/install.texi (Configuring and compiling): Describe
21272 passing CC and CFLAGS on configure command line, not as
21273 environment variables. Use @code markup on those variables.
21274 Specify what options go in CC and what go in CFLAGS. Note the
21275 requirement to compile with optimization.
21276 * INSTALL: Regenerated.
21279 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21280 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21281 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21282 __sigprocmask instead of sigprocmask.
21283 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21285 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21286 __sigsetjmp and sigprocmask.
21289 * include/argz.h (argz_next): Use libc_hidden_proto.
21290 (__argz_next): Likewise.
21291 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21292 (argz_next): Use libc_hidden_weak.
21295 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21297 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21301 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21303 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21307 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21308 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21309 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21310 (__feof_unlocked): New declaration, and inline function if
21311 [__USE_EXTERN_INLINES].
21312 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21313 instead of feof_unlocked.
21314 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21315 * nss/nsswitch.c (nss_parse_file): Likewise.
21316 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21318 * time/getdate.c (__getdate_r): Likewise.
21319 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21320 Define as macro to call __feof_unlocked.
21322 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21324 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21326 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21328 * math/Makefile: Remove mpexp.c and mplog.c
21329 * sysdeps/i386/fpu/mpexp.c: Delete file.
21330 * sysdeps/i386/fpu/mplog.c: Likewise.
21331 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21332 * sysdeps/ia64/fpu/mplog.c: Likewise.
21333 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21334 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21335 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21336 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21337 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21338 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21339 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21340 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21341 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21342 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21343 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21344 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21345 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21346 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21347 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21348 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21350 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21352 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21354 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21356 * sysdeps/sh/libm-test-ulps: Update.
21358 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21360 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21363 2018-02-12 Zack Weinberg <zackw@panix.com>
21366 * posix/sys/types.h: Don't include sys/sysmacros.h.
21367 * misc/sys/sysmacros.h: Remove the conditional deprecation
21368 warnings for the macros defined by this header.
21370 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21372 * manual/probes.texi: Remove slowexp probes.
21373 * math/Makefile: Remove slowexp.
21374 * sysdeps/generic/math_private.h (__slowexp): Remove.
21375 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21376 document error bounds.
21377 * sysdeps/i386/fpu/slowexp.c: Remove.
21378 * sysdeps/ia64/fpu/slowexp.c: Remove.
21379 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21380 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21381 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21382 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21383 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21384 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21385 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21386 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21387 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21388 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21391 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21394 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21395 * benchtests/pow-inputs: Update comment for slow path cases.
21396 * manual/probes.texi (slowpow_p10): Delete removed probe.
21397 (slowpow_p10): Likewise.
21398 * math/Makefile: Remove halfulp.c and slowpow.c.
21399 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21400 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21401 (__halfulp): Remove.
21402 (__slowpow): Remove.
21403 * sysdeps/i386/fpu/halfulp.c: Delete file.
21404 * sysdeps/i386/fpu/slowpow.c: Likewise.
21405 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21406 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21407 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21408 improve comments and add error analysis.
21409 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21410 (power1): Remove function:
21411 (log1): Remove error argument, add error analysis.
21412 (my_log2): Remove function.
21413 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21414 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21415 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21416 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21417 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21418 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21419 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21420 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21421 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21422 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21423 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21424 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21425 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21426 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21428 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21430 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21431 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21433 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21436 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21437 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21438 and PTRACE_SETHBPREGS.
21440 2018-02-10 Zack Weinberg <zackw@panix.com>
21443 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21445 * malloc/tst-malloc-stats-cancellation.c: New test case.
21446 * malloc/Makefile: Add new test case.
21448 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21450 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21452 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21454 * math/Makefile (libm-narrow-fns): Add add.
21455 (libm-test-funcs-narrow): Likewise.
21456 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21457 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21458 * math/gen-auto-libm-tests.c (test_functions): Add add.
21459 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21460 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21461 (NARROW_ADD_TRIVIAL): Likewise.
21462 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21464 (__daddl): Likewise.
21465 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21467 (CFLAGS-nldbl-dadd.c): New variable.
21468 (CFLAGS-nldbl-fadd.c): Likewise.
21469 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21471 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21473 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21474 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21475 * math/auto-libm-test-in: Add tests of add.
21476 * math/auto-libm-test-out-narrow-add: New generated file.
21477 * math/libm-test-narrow-add.inc: New file.
21478 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21479 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21480 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21481 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21482 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21483 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21484 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21485 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21486 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21487 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21488 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21489 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21490 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21491 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21492 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21493 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21494 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21495 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21497 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21498 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21499 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21500 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21501 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21502 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21503 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21504 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21505 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21506 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21507 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21508 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21509 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21514 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21515 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21516 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21517 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21518 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21519 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21520 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21521 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21522 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21523 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21525 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21526 (f128-pairs): New variable.
21527 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21528 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21530 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21531 Also make tests add $(f128-loader-link) to gnulib-tests.
21533 2018-02-09 DJ Delorie <dj@redhat.com>
21536 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21537 64-bit ELF type for 64-bit ELF objects.
21539 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21541 * math/libm-test-driver.c (snan_tests_arg): New variable.
21542 * math/libm-test-support.h (snan_tests_arg): New declaration.
21543 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21545 * math/Makefile (test-type-pairs): New variable.
21546 (test-type-pairs-f64xf128-yes): Likewise.
21547 (tests): Add test-narrow-macros.
21548 (libm-test-funcs-narrow): New variable.
21549 (libm-test-c-narrow): Likewise.
21550 (generated): Add $(libm-test-c-narrow).
21551 (libm-tests-base-narrow): New variable.
21552 (libm-tests-narrow): Likewise.
21553 (libm-tests): Add $(libm-tests-narrow).
21554 (libm-tests-for-type): Handle $(libm-tests-narrow).
21555 (libm-test-c-narrow-obj): New variable.
21556 ($(libm-test-c-narrow-obj)): New rule.
21557 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21558 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21559 $(o-iterator) to set dependencies and CFLAGS.
21560 * math/gen-auto-libm-tests.c: Document use for narrowing
21562 (output_for_one_input_case): Take argument NARROW.
21563 (generate_output): Likewise. Update call to
21564 output_for_one_input_case.
21565 (main): Take --narrow option. Update call to generate_output.
21566 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21567 (apply_lit): Update call to _apply_lit.
21568 (apply_arglit): New function.
21569 (parse_args): Handle "a" arguments.
21570 (parse_auto_input): Handle format names using ":".
21571 * math/README.libm-test: Document "a" parameter type.
21572 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21573 (ARG_TYPE_TRUE_MIN): Likewise.
21574 (ARG_TYPE_MAX): Likwise.
21575 (ARG_MIN_EXP): Likewise.
21576 (ARG_MAX_EXP): Likewise.
21577 (ARG_MANT_DIG): Likewise.
21578 (TEST_COND_arg_ibm128): Likewise.
21579 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21580 (TEST_COND_arg_fmt): New macro.
21581 (init_max_error): Update prototype.
21582 * math/libm-test-support.c (test_ibm128): New variable.
21583 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21584 instead of using [TEST_COND_ibm128] conditional.
21585 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21586 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21587 [TEST_NARROW] (TEST_MSG): New definition.
21588 (arg_plus_zero): New macro.
21589 (arg_minus_zero): Likewise.
21590 (arg_plus_infty): Likewise.
21591 (arg_minus_infty): Likewise.
21592 (arg_qnan_value_pl): Likewise.
21593 (arg_qnan_value): Likewise.
21594 (arg_snan_value_pl): Likewise.
21595 (arg_snan_value): Likewise.
21596 (arg_max_value): Likewise.
21597 (arg_min_value): Likewise.
21598 (arg_min_subnorm_value): Likewise.
21599 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21600 (RUN_TEST_LOOP_aa_f): New macro.
21601 (TEST_SUFF): New macro.
21602 (TEST_SUFF_STR): Likewise.
21603 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21604 (TEST_COND_any_ibm128): New macro.
21605 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21606 this_func. Update call to init_max_error.
21607 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21608 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21609 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21610 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21611 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21612 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21613 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21614 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21615 * math/test-math-vector.h (TEST_NARROW): Likewise.
21616 * math/test-arg-double.h: New file.
21617 * math/test-arg-float128.h: Likewise.
21618 * math/test-arg-float32x.h: Likewise.
21619 * math/test-arg-float64.h: Likewise.
21620 * math/test-arg-float64x.h: Likewise.
21621 * math/test-arg-ldouble.h: Likewise.
21622 * math/test-math-narrow.h: Likewise.
21623 * math/test-narrow-macros.c: Likewise.
21624 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21625 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21626 test-narrow-macros-ldbl-64.
21627 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21629 * math/bits/mathcalls-narrow.h: New file.
21630 * include/bits/mathcalls-narrow.h: Likewise.
21631 * math/math-narrow.h: Likewise.
21632 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21633 (__MATHCALL_NARROW_ARGS_2): Likewise.
21634 (__MATHCALL_NARROW_ARGS_3): Likewise.
21635 (__MATHCALL_NARROW_NORMAL): Likewise.
21636 (__MATHCALL_NARROW_REDIR): Likewise.
21637 (__MATHCALL_NARROW): Likewise.
21638 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21639 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21641 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21642 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21643 (libm-narrow-fns): New variable.
21644 (libm-narrow-types-basic): Likewise.
21645 (libm-narrow-types-ldouble-yes): Likewise.
21646 (libm-narrow-types-float128-yes): Likewise.
21647 (libm-narrow-types-float128-alias-yes): Likewise.
21648 (libm-narrow-types): Likewise.
21649 (libm-routines): Add narrowing functions.
21650 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21651 (libc_feholdexcept_setroundf128): New macro.
21652 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21653 * sysdeps/ieee754/float128/float128_private.h: Include
21654 <math/math-narrow.h>.
21655 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21656 Undefine and redefine.
21657 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21658 (libm_alias_float_ldouble): Undefine and redefine.
21659 (libm_alias_double_ldouble): Likewise.
21661 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21663 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21665 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21668 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21670 * manual/creature.texi: Convert references to gcc.info to gcc.
21671 * manual/stdio.texi: Likewise.
21672 * manual/string.texi: Likewise.
21674 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21677 * posix/bits/types.h (__int_least8_t): New typedef.
21678 (__uint_least8_t): Likewise.
21679 (__int_least16_t): Likewise.
21680 (__uint_least16_t): Likewise.
21681 (__int_least32_t): Likewise.
21682 (__uint_least32_t): Likewise.
21683 (__int_least64_t): Likewise.
21684 (__uint_least64_t): Likewise.
21685 * sysdeps/generic/stdint.h (int_least8_t): Define using
21687 (int_least16_t): Define using __int_least16_t.
21688 (int_least32_t): Define using __int_least32_t.
21689 (int_least64_t): Define using __int_least64_t.
21690 (uint_least8_t): Define using __uint_least8_t.
21691 (uint_least16_t): Define using __uint_least16_t.
21692 (uint_least32_t): Define using __uint_least32_t.
21693 (uint_least64_t): Define using __uint_least64_t.
21694 * wcsmbs/uchar.h: Include <bits/types.h>.
21695 (char16_t): Define using __uint_least16_t conditional only on
21697 (char32_t): Define using __uint_least32_t conditional only on
21699 * wcsmbs/test-char-types.c: New file.
21700 * wcsmbs/Makefile (tests): Add test-char-types.
21702 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21705 2018-02-07 Zack Weinberg <zackw@panix.com>
21707 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21708 Delete all contents except for definitions of _G_HAVE_MMAP and
21709 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21710 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21711 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21714 * libio/libio.h: Don't include bits/_G_config.h here.
21715 Include stddef.h with __need_wchar_t defined. Include
21716 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21717 Define _IO_iconv_t here, directly.
21718 Don't define _IO_HAVE_ST_BLKSIZE.
21719 * libio/libioP.h: Include _G_config.h here. Move include of
21720 shlib-compat.h up with rest of includes. Simplify conditionals
21721 controlling definition of _IO_JUMPS_OFFSET.
21723 * csu/init.c: Remove always-true #if around entire file.
21724 Don't include stdio.h. Set _IO_stdin_used to hardwired
21725 constant 0x20001, and update commentary.
21726 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21727 Replace all uses of _G_va_list with __gnuc_va_list.
21728 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21729 instead of #if _IO_HAVE_ST_BLKSIZE.
21730 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21731 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21734 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21735 multiple-include guard to match.
21736 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21738 Remove preprocessor conditionals that are always true and/or
21739 redundant to other preprocessor conditionals in the same nest.
21740 Include shlib-compat.h unconditionally.
21741 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21742 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21743 defined after including stdio.h.
21744 Use __BEGIN_DECLS/__END_DECLS.
21746 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21747 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21748 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21750 2018-02-07 Zack Weinberg <zackw@panix.com>
21752 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21753 New single-type headers split from _G_config.h.
21754 * libio/bits/types/cookie_io_functions_t.h
21755 * libio/bits/types/struct_FILE.h
21756 New single-type headers split from libio.h.
21758 * libio/Makefile: Install the above new headers. Don't install
21759 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21761 * libio/_G_config.h, libio/libio.h: Delete file.
21763 * libio/bits/libio.h: Remove improper-inclusion guard.
21764 Include stdio.h and don't repeat anything that it does.
21765 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21766 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21767 __io_read_fn as cookie_read_function_t,
21768 __io_write_fn as cookie_write_function_t,
21769 __io_seek_fn as cookie_seek_function_t,
21770 __io_close_fn as cookie_close_function_t,
21771 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21772 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21773 here, in the "compatibility defines" section. Remove an #if 0
21774 block. Use the "body" macros from bits/types/struct_FILE.h to
21775 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21776 and _IO_ferror_unlocked.
21777 Move prototypes of __uflow and __overflow...
21779 * libio/stdio.h: ...here. Don't include bits/libio.h.
21780 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21781 directly from stdarg.h. Include bits/types/__fpos_t.h,
21782 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21783 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21784 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21785 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21786 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21787 __ssize_t, not _IO_ssize_t. Unconditionally define
21788 BUFSIZ as 8192 and EOF as (-1).
21790 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21791 macros from bits/types/struct_FILE.h instead of _IO_* macros
21792 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21793 instead of _IO_ssize_t.
21794 * libio/bits/stdio2.h: Similarly.
21796 * libio/iolibio.h: Add multiple-include guard.
21797 Include bits/libio.h after stdio.h.
21798 * libio/libioP.h: Add multiple-include guard.
21799 Include stdio.h and bits/libio.h before iolibio.h.
21801 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21802 * include/bits/types/cookie_io_functions_t.h
21803 * include/bits/types/struct_FILE.h: New wrappers.
21805 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21806 Get definitions of _G_fpos_t and _G_fpos64_t from
21807 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21808 respectively. Remove improper-inclusion guards.
21810 * conform/data/stdio.h-data: Update expectations of va_list.
21811 * scripts/check-installed-headers.sh: Remove special case for
21812 libio.h and _G_config.h.
21814 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21818 * include/sys/sysmacros.h [!_ISOMAC]
21819 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21820 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21821 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21822 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21824 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21825 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21827 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21828 Undefine and redefine to add use __gnu_dev_ prefix.
21829 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21831 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21832 and define as hidden inline function.
21833 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21835 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21837 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21838 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21839 (gnu_dev_minor): Likewise.
21840 (gnu_dev_makedev): Likewise.
21841 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21843 * posix/wordexp.c (exec_comm_child): Likewise.
21844 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21845 instead of minor and __gnu_dev_major instead of major.
21846 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21847 __gnu_dev_major instead of major.
21848 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21849 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21850 instead of gnu_dev_minor.
21851 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21852 (SLAVE_P): Likewise.
21853 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21854 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21858 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21860 * locale/weightwc.h (findidx): Likewise.
21862 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21864 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21865 (slowlog_inexact): Likewise
21866 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21867 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21869 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21872 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21873 missing second underscore to parameter name.
21875 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21881 * bits/byteswap.h: Update file comment. Do not include
21882 <bits/byteswap-16.h>.
21883 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21885 (__bswap_16): Define as inline function.
21886 (__bswap_constant_32): Reformat definition.
21887 (__bswap_32): Always define as inline function, not macro, using
21888 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21889 otherwise __bswap_constant_32.
21890 (__bswap_constant_64): Reformat definition. Do not use
21891 __extension__ here.
21892 (__bswap_64): Always define as inline function, not macro. Use
21893 __extension__ on function definition. Use __builtin_bswap64 if
21894 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21895 * string/test-endian-file-scope.c: New file.
21896 * string/test-endian-sign-conversion.c: Likewise.
21897 * string/Makefile (headers): Remove bits/byteswap-16.h.
21898 (tests): Add test-endian-file-scope and
21899 test-endian-sign-conversion.
21900 (CFLAGS-test-endian-sign-conversion.c): New variable.
21901 * bits/byteswap-16.h: Remove file.
21902 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21903 * sysdeps/ia64/bits/byteswap.h: Likewise.
21904 * sysdeps/m68k/bits/byteswap.h: Likewise.
21905 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21906 * sysdeps/s390/bits/byteswap.h: Likewise.
21907 * sysdeps/tile/bits/byteswap.h: Likewise.
21908 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21909 * sysdeps/x86/bits/byteswap.h: Likewise.
21912 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21913 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21914 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21915 199901L] (__restrict): Define to restrict.
21918 * string/testcopy.c: Include <support/support.h>. Do not include
21919 <malloc.h>. Use <support/test-driver.c>.
21920 (main): Rename to do_test. Make static. Use xmalloc instead of
21924 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21925 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21926 (SSIZE_MAX): Define to INT_MAX.
21927 * posix/test-ssize-max.c: New file.
21928 * posix/Makefile (tests): Add test-ssize-max.
21931 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21932 <support/support.h>. Do not include <malloc.h>.
21933 (query_auxv): Use xmalloc instead of malloc.
21936 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21937 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21940 2018-02-06 Florian Weimer <fweimer@redhat.com>
21943 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21944 Use scratch_buffer instead of extend_alloca.
21946 2018-02-06 Zack Weinberg <zackw@panix.com>
21948 * libio/stdio.h: Don't define getc or putc as macros.
21949 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21950 not _IO_getc and _IO_putc.
21952 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21953 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21955 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21957 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21958 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21960 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21963 * elf/elf.h (NT_PRFPREG): New macro.
21964 (NT_S390_VXRS_LOW): Likewise.
21965 (NT_S390_VXRS_HIGH): Likewise.
21966 (NT_S390_GS_CB): Likewise.
21967 (NT_S390_GS_BC): Likewise.
21968 (NT_S390_RI_CB): Likewise.
21970 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21971 (MAP_SYNC): New macro.
21972 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21974 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21975 (MAP_SYNC): Likewise.
21976 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21977 (MAP_SYNC): Likewise.
21978 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21979 (MAP_SYNC): Likewise.
21980 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21981 (MAP_SYNC): Likewise.
21982 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21983 (MAP_SYNC): Likewise.
21984 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21985 (MAP_SYNC): Likewise.
21986 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21988 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21991 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21992 (MAP_SHARED_VALIDATE): New macro.
21993 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21994 (MAP_SHARED_VALIDATE): Likewise.
21996 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21998 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21999 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22000 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22002 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22004 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22005 (DT_NUM): Updated to 35.
22007 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22009 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22010 __builtin_expect with __glibc_likely and __glibc_unlikely.
22011 (elf_machine_rela): Likewise.
22012 (elf_machine_lazy_rel): Likewise.
22014 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22017 __builtin_expect with __glibc_likely and __glibc_unlikely.
22018 (elf_machine_lazy_rel): Likewise.
22020 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22023 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22025 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22027 2018-02-05 Andreas Schwab <schwab@suse.de>
22030 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22033 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22035 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22036 not check against PTHREAD_STACK_MIN.
22038 2018-02-02 Sean McKean <smckean83@gmail.com>
22041 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22043 2018-02-02 Florian Weimer <fweimer@redhat.com>
22046 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22047 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22048 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22049 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22050 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22051 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22052 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22053 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22054 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22055 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22056 * misc/tst-preadvwritev2.c (do_test): Call it.
22057 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22059 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22061 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22063 * benchtests/bench-memcmp.c: Print json instead of plain text.
22065 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22068 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22070 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22072 (s390_sthyi): New syscall.
22074 * sysdeps/generic/ldbl-classify-compat.h: New file.
22075 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22076 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22077 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22078 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22079 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22080 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22081 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22082 <ldbl-classify-compat.h>.
22083 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22084 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22085 <ldbl-classify-compat.h>.
22086 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22087 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22088 <ldbl-classify-compat.h>.
22089 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22090 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22091 <ldbl-classify-compat.h>.
22092 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22093 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22094 <ldbl-classify-compat.h>.
22095 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22097 <ldbl-classify-compat.h>.
22098 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22099 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22100 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22101 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22102 * sysdeps/microblaze/math_private.h: Likewise.
22103 * sysdeps/nios2/math_private.h: Likewise.
22104 * sysdeps/sh/math_private.h: Likewise.
22106 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22107 * sysdeps/m68k/coldfire/math_private.h: ... here.
22108 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22109 * sysdeps/tile/math_private.h: Likewise.
22110 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22112 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22115 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22117 (libc_fetestexcept): Likewise.
22118 (libc_feupdateenv_test): Likewise.
22119 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22120 (libc_fetestexcept): Likewise.
22121 (libc_feupdateenv_test): Likewise.
22122 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22123 (libc_fetestexcept): Likewise.
22124 (libc_feupdateenv_test): Likewise.
22125 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22126 (libc_fetestexcept): Likewise.
22127 (libc_feupdateenv_test): Likewise.
22129 * sysdeps/generic/math_private.h
22130 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22131 New inline function.
22132 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22135 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22136 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22137 * sysdeps/generic/math_private.h
22138 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22140 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22142 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22144 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22146 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22148 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22150 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22151 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22152 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22153 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22154 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22155 (__fegetenv): Likewise.
22156 (fesetenv): Likewise.
22157 (__fesetenv): Likewise.
22158 (feupdateenv): Likewise.
22159 (__feupdateenv): Likewise.
22160 (fegetround): Likewise.
22161 (__fegetround): Likewise.
22162 (fesetround): Likewise.
22163 (__fesetround): Likewise.
22165 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22166 (feraiseexcept): New macro.
22167 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22168 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22170 (__feraiseexcept): Likewise.
22171 (feclearexcept): Likewise.
22172 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22173 (__feraiseexcept): Likewise.
22174 (feclearexcept): Likewise.
22175 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22176 (__feraiseexcept): Likewise.
22177 (feclearexcept): Likewise.
22178 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22179 (__feraiseexcept): Likewise.
22180 (feclearexcept): Likewise.
22181 (fetestexcept): Likewise.
22183 * sysdeps/m68k/coldfire/math-tests.h: New file.
22185 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22186 * sysdeps/m68k/bits/fenv.h: ... here.
22187 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22189 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22191 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22193 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22195 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22197 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22199 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22200 (__FE_UNDEFINED): New enum constant.
22201 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22203 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22205 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22207 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22208 to match generic bits/fenv.h.
22209 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22212 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22214 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22215 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22216 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22217 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22219 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22220 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22221 Joseph Myers <joseph@codesourcery.com>
22224 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22225 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22226 computation using c.
22227 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22228 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22229 computation using c.
22231 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22233 * version.h (RELEASE): Set to "development".
22234 (VERSION): Set to "2.27.9000".
22235 * NEWS (2.28): New section.
22237 * version.h (RELEASE): Set to "stable".
22238 (VERSION): Set to "2.27".
22239 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22241 * NEWS: Add the list of bugs fixed in 2.27.
22243 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22245 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22246 against PTHREAD_STACK_MIN.
22248 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22250 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22252 (Rafał Lużyński, Andreas Schwab): Update.
22254 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22257 * NEWS: List the languages which actually use the alternative
22258 months feature in this release. Also explain that "alt_mon" and
22259 "ab_alt_mon" are optional.
22261 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22264 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22266 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22268 * manual/install.texi (Tools for Compilation): Update the newest
22269 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22270 * INSTALL: Regenerated.
22272 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22274 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22275 instead of __builtin_expect.
22277 2018-01-30 Florian Weimer <fweimer@redhat.com>
22279 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22281 * nss/tst-nss-getpwent.c (do_test): Likewise.
22283 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22286 * localedata/locales/hr_HR (mon): Rename to...
22288 (mon): Import from CLDR (genitive case).
22289 (d_t_fmt): Update the comment.
22291 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22293 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22294 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22295 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22297 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22299 * mach/Versions: Fix version when __mach_host_self_ was added.
22300 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22301 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22302 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22303 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22304 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22305 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22306 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22307 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22308 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22309 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22310 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22311 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22312 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22313 || to respect codestyle.
22314 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22315 (do_test_bz20181): Rename accordingly.
22316 * malloc/malloc.c: Include <assert.h>.
22317 (assert): Do not define.
22318 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22319 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22320 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22321 * sysdeps/mach/hurd/hp-timing.h: New file.
22322 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22324 2018-01-29 Darius Rad <darius@bluespec.com>
22326 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22328 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22330 * sysdeps/init_array/crti.S (.section .init_array): Add
22331 PREINIT_FUNCTION when defined.
22332 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22333 * config.h.in: Regenerate.
22334 * manual/platform.texi: Add RISC-V documenation for
22335 __riscv_flush_icache.
22336 * sysdeps/riscv/__longjmp.S: New file.
22337 * sysdeps/riscv/backtrace.c: Likewise.
22338 * sysdeps/riscv/bits/endian.h: Likewise.
22339 * sysdeps/riscv/bits/setjmp.h: Likewise.
22340 * sysdeps/riscv/bits/wordsize.h: Likewise.
22341 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22342 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22343 * sysdeps/riscv/dl-trampoline.S: Likewise.
22344 * sysdeps/riscv/gccframe.h: Likewise.
22345 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22346 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22347 * sysdeps/riscv/machine-gmon.h: Likewise.
22348 * sysdeps/riscv/memusage.h: Likewise.
22349 * sysdeps/riscv/setjmp.S: Likewise.
22350 * sysdeps/riscv/sys/asm.h: Likewise.
22351 * sysdeps/riscv/tls-macros.h: Likewise.
22352 * sysdeps/riscv/dl-tls.h: New file.
22353 * sysdeps/riscv/libc-tls.c: Likewise.
22354 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22355 * sysdeps/riscv/nptl/tls.h: Likewise.
22356 * sysdeps/riscv/stackinfo.h: Likewise.
22357 * sysdeps/riscv/bits/fenv.h: New file.
22358 * sysdeps/riscv/e_sqrtl.c: Likewise.
22359 * sysdeps/riscv/fpu_control.h: Likewise.
22360 * sysdeps/riscv/math-tests.h: Likewise.
22361 * sysdeps/riscv/nofpu/Implies: Likewise.
22362 * sysdeps/riscv/sfp-machine.h: Likewise.
22363 * sysdeps/riscv/tininess.h: Likewise.
22364 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22365 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22366 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22367 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22368 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22369 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22370 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22371 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22372 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22373 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22374 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22375 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22376 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22377 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22378 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22379 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22380 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22381 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22382 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22383 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22384 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22385 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22386 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22387 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22388 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22389 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22390 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22391 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22392 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22393 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22394 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22395 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22396 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22397 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22398 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22399 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22400 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22401 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22402 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22403 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22404 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22405 * sysdeps/riscv/rvf/math_private.h: Likewise.
22406 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22407 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22408 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22409 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22410 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22411 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22412 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22413 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22414 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22415 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22416 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22417 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22418 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22419 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22420 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22421 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22422 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22423 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22424 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22425 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22426 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22427 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22428 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22429 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22430 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22431 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22432 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22433 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22434 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22435 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22436 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22437 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22438 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22439 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22440 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22441 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22442 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22443 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22444 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22445 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22446 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22447 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22448 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22449 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22450 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22451 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22452 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22453 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22454 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22455 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22456 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22457 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22458 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22459 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22460 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22461 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22462 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22463 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22464 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22465 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22466 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22467 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22468 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22469 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22470 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22471 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22472 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22473 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22474 * sysdeps/riscv/Implies: New file.
22475 * sysdeps/riscv/Makefile: Likewise.
22476 * sysdeps/riscv/configure: Likewise.
22477 * sysdeps/riscv/configure.ac: Likewise.
22478 * sysdeps/riscv/nptl/Makefile: Likewise.
22479 * sysdeps/riscv/preconfigure: Likewise.
22480 * sysdeps/riscv/rv64/Implies-after: Likewise.
22481 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22482 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22483 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22484 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22485 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22486 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22487 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22488 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22489 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22490 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22491 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22492 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22493 (Config): Likewise.
22495 2018-01-29 Florian Weimer <fweimer@redhat.com>
22498 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22499 libnsl_hidden_proto.
22500 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22501 libnsl_hidden_proto.
22502 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22503 * nis/Makefile (libnsl-routines): Add nss-default only for
22504 build-obsolete-nsl.
22505 * nis/nis_defaults.c (__nis_default_ttl): Add
22506 libnsl_hidden_nolink_def.
22507 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22509 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22510 * nis/ypclnt.c (yp_maplist): Likewise.
22512 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22514 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22515 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22517 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22519 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22520 clean -dxfq for git updates when replacing sources.
22522 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22523 --disable-libcilkrts unconditionally, not just for the final GCC
22526 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22529 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22532 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22535 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22538 * localedata/locales/be_BY (mon): Rename to...
22539 (alt_mon): This, then synchronize with CLDR (nominative case).
22540 (abmon): Rename to...
22541 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22542 (mon): Import from CLDR (genitive case).
22544 * localedata/locales/be_BY@latin (mon): Rename to...
22546 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22548 * localedata/locales/be_BY@latin (lang_name): Reworded to
22549 "biełaruskaja mova".
22551 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22554 * localedata/locales/el_CY (mon): Renamed to...
22556 (mon): Import from CLDR (genitive case).
22557 * localedata/locales/el_GR: Likewise.
22559 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22562 * localedata/locales/ru_RU (mon): Rename to...
22564 (abmon): Rename to...
22565 (ab_alt_mon): This.
22566 (mon): Import from CLDR (genitive case).
22567 (abmon): Copy from the old content except the 5th month which is
22568 now in the genitive case, even when abbreviated.
22569 * localedata/locales/ru_UA: Likewise.
22570 * time/tst-strptime.c (day_tests): Add an actual example of
22571 a difference between %b and %Ob in Russian.
22573 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22575 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22576 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22578 * resolv/res-close.c: Include <stdlib.h>.
22579 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22580 <sys/wait.h>, <time.h>, <sys/uio.h>.
22581 (NOT_CANCEL_H): Add inclusion guard.
22582 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22583 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22584 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22586 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22587 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22588 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22590 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22591 timer_ptr2id to cast struct timer_node * to void *.
22592 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22593 --disable-libcilkrts to gcc configure.
22594 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22595 and make them the default for now.
22596 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22597 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22598 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22599 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22600 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22602 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22603 __task_terminate would ever return successfully.
22604 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22606 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22607 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22608 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22609 critical section to make code simpler and avoid warning.
22610 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22611 critical section to make code simpler and avoid warning.
22612 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22613 const char * instead of char *.
22614 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22615 __hurd_file_name_split, hurd_file_name_split,
22616 __hurd_directory_name_split, hurd_directory_name_split,
22617 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22618 hurd_file_name_path_lookup): Make lookup function parameter take a
22619 const char *name instead of char *name.
22620 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22621 __hurd_directory_name_split): Likewise.
22622 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22623 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22624 * sysdeps/mach/hurd/check_native.c: New file.
22625 * sysdeps/mach/hurd/check_pf.c: New file.
22626 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22627 (__freeifaddrs): Define macro to freeifaddrs.
22628 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22629 * sysdeps/mach/libmachuser.abilist: New file.
22630 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22631 (do_test_bz20181): Rename accordingly.
22632 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22633 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22635 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22636 version only if __USE_EXTERN_INLINES is defined.
22637 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22638 __hurd_sockfail): Likewise.
22639 (_hurd_fd_get): Always declare functions, and provide inline versions
22640 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22641 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22642 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22643 _hurd_port_set): Always declare functions, and provide inline versions
22644 only if __USE_EXTERN_INLINES and _LIBC are defined and
22646 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22647 _hurd_critical_section_unlock): Likewise.
22648 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22649 * __hurd_threadvar_location): Likewise.
22650 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22651 _hurd_userlink_clear): Likewise.
22652 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22653 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22654 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22655 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22656 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22657 __spin_lock_locked): Likewise.
22658 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22659 __spin_lock_locked): Likewise.
22660 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22661 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22662 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22663 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22664 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22665 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22666 _POSIX_NO_TRUNC): Define to 0.
22667 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22668 check size against PTHREAD_STACK_MIN.
22669 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22670 IS_IN(libpthread)]: Include <sigsetops.h>.
22671 * mach/Makefile (user-interfaces): Add mach/gnumach.
22672 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22673 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22674 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22675 instead of invalid -1.
22676 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22677 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22678 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22681 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22683 * hurd/fcntl-internal.h: New file.
22685 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22687 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22689 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22691 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22694 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22695 Build only shared objects.
22697 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22699 * README: Update for hppa.
22701 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22703 * sysdeps/sparc/fpu/libm-test-ulps: Update
22704 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22706 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22710 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22713 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22714 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22715 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22716 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22719 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22722 * bits/types/__cancel_jmp_buf_tag.h: New file.
22723 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22724 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22725 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22726 * nptl/Makefile (headers): Add
22727 bits/types/__cancel_jmp_buf_tag.h.
22728 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22729 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22730 * sysdeps/nptl/pthread.h: Include
22731 <bits/types/__cancel_jmp_buf_tag.h>.
22732 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22734 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22736 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22739 * localedata/locales/uk_UA (mon): Renamed to...
22741 (alt_digits): "0" removed and then renamed to...
22743 (date_fmt): Definition changed not to use the alternative
22746 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22748 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22749 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22750 * elf/elf.h (EF_RISCV_RVC): New define.
22751 (EF_RISCV_FLOAT_ABI): Likewise.
22752 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22753 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22754 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22755 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22756 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22758 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22760 2018-01-25 Andreas Schwab <schwab@suse.de>
22762 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22764 * sysdeps/gnu/configure: Regenerate.
22765 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22766 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22768 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22769 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22770 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22771 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22772 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22774 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22776 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22777 URL, and run autoconf, make it the default for now.
22779 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22781 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22782 soft-float ColdFire configuration.
22784 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22785 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22786 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22788 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22791 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22793 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22795 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22798 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22799 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22800 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22803 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22806 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22807 Rename to __reserved and add comment.
22808 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22809 Rename to __reserved.
22811 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22813 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22814 i686-gnu configurations.
22815 (Context.run_builds): Include mig, gnumach and hurd in components
22817 (Context.checkout): Add mig, gnumach and hurd to components.
22818 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22820 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22821 (Config.build): Install gnumach headers, build mig and install
22822 hurd headers for 'gnu' OS.
22823 (Config.install_gnumach_headers): New function.
22824 (Config.install_hurd_headers): Likewise.
22825 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22826 when building for 'gnu' OS.
22828 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22830 * manual/tunables.texi (Hardware Capability Tunables): Fix
22833 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22835 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22836 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22837 (ALTMON_11, ALTMON_12): Improve documentation.
22838 * manual/time.texi (strftime): Likewise.
22840 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22843 * localedata/locales/pl_PL: Alternative month names added,
22844 primary month names are genitive now.
22845 * time/tst-strptime.c (day_tests): Actually use a genitive case
22846 of a month name in Polish language.
22848 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22851 * manual/locale.texi: Document ALTMON_1..12 constants for
22852 nl_langinfo. Specify when to use ALTMON instead of MON.
22853 * manual/time.texi (strftime, strptime): Document GNU extension
22854 permitting O modifier with %B and %b. Specify when to use
22857 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22860 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22861 names, define them as the same as abbreviated month names explicitly.
22862 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22863 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22864 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22865 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22866 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22867 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22868 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22869 _NL_WABALTMON_12): New enum constants.
22870 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22871 wab_alt_mon, and ab_alt_mon_defined members.
22872 (time_output): Output ab_alt_mon and wab_alt_mon members.
22873 (time_read): Read them, initialize them as copies of abmon and wabmon
22874 respectively if they are missing, initialize ab_alt_mon_defined.
22875 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22876 * locale/programs/locfile-kw.h: Regenerate.
22877 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22878 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22880 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22881 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22882 (__strftime_internal): Handle %Ob and %Oh formats.
22883 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22884 (__strptime_internal): Handle %Ob and %Oh formats.
22885 * time/tst-strptime.c (day_tests): Add more tests to parse different
22886 forms of month names including the new %Ob format specifier.
22888 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22891 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22892 define them as the same as primary full month names explicitly.
22893 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22894 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22895 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22896 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22897 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22898 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22899 _NL_WALTMON_12): New enum constants.
22900 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22901 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22903 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22904 walt_mon, and alt_mon_defined members.
22905 (time_output): Output alt_mon and walt_mon members.
22906 (time_read): Read them, initialize them as copies of mon and wmon
22907 respectively if they are missing, initialize alt_mon_defined.
22908 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22909 * locale/programs/locfile-kw.h: Regenerate.
22910 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22911 * localedata/tst-langinfo.c (map): Add tests for the new constants
22912 ALTMON_1 .. ALTMON_12.
22913 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22915 * time/strftime_l.c (f_altmonth): New macro.
22916 (__strftime_internal): Handle %OB format.
22917 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22918 (__strptime_internal): Handle %OB format.
22919 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22920 of month names including the new %OB format specifier.
22922 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22925 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22926 from ABORT_TRANSACTION.
22927 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22928 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22929 ABORT_TRANSACTION_IMPL): Likewise.
22930 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22931 Linux code, but remove the code that aborts transactions.
22933 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22935 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22937 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
22939 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22940 in date: "2004-14-09" should be "2004-09-14".
22941 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22942 "2003-15-09" should be "2003-09-15".
22944 2018-01-18 Arjun Shankar <arjun@redhat.com>
22950 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22952 (_int_memalign): check for integer overflow before calling
22954 * malloc/tst-malloc-too-large.c: New test.
22955 * malloc/Makefile: Add tst-malloc-too-large.
22957 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
22959 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22960 in date: "2017-24-07" should be "2017-07-24".
22961 * localedata/locales/mai_IN: Likewise.
22962 * localedata/locales/mai_NP: Likewise.
22964 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22966 * po/ru.po: Update translations.
22968 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22971 * sysdeps/hppa/backtrace.c: New file.
22973 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22976 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22977 align La_x86_64_retval to VEC_SIZE.
22979 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22981 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22982 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22984 2018-01-16 Florian Weimer <fweimer@redhat.com>
22986 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22987 Move tst-thread-exit-clobber ...
22988 [$(CXX)] (tests-unsupported): ... to here.
22990 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22992 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22993 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22994 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22995 (_dl_aarch64_cap_flags): Update.
22996 (_DL_HWCAP_COUNT): Update.
22998 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23000 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23001 (_DL_HWCAP_LAST): Remove.
23002 (_DL_HWCAP_COUNT): Move to ...
23003 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23004 (_DL_HWCAP_COUNT): ... here.
23006 2018-01-16 Florian Weimer <fweimer@redhat.com>
23008 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23009 mode with GNU extensions.
23011 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23013 * elf/elf.h (NT_ARM_SVE): Define.
23015 2018-01-15 Florian Weimer <fweimer@redhat.com>
23018 * nptl/tst-minstack-throw.cc: New file.
23019 * nptl/Makefile (tests): Add tst-minstack-throw.
23020 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23021 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23023 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23025 * scripts/build-many-glibcs.py (Context.checkout): Default
23026 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23029 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23032 * elf/elf.h (DF_1_STUB): Define.
23033 (DF_1_PIE): Define.
23035 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23038 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23039 Do not add 0.5 to integer or out-of-range arguments.
23041 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23043 * po/bg.po: Update translations.
23044 * po/cs.po: Likewise.
23045 * po/de.po: Likewise.
23046 * po/ko.po: Likewise.
23047 * po/pl.po: Likewise.
23048 * po/sv.po: Likewise.
23049 * po/uk.po: Likewise.
23050 * po/vi.po: Likewise.
23052 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23054 * aarch64/start.S (_start): Use __wrap_main.
23055 (__wrap_main): New local symbol.
23057 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23061 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23062 generic_getcwd if the path returned by getcwd syscall is not absolute.
23063 * io/tst-getcwd-abspath.c: New test.
23064 * io/Makefile (tests): Add tst-getcwd-abspath.
23066 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23068 * malloc/malloc.c (malloc_consolidate): Add size check.
23070 2018-01-12 Florian Weimer <fweimer@redhat.com>
23072 * support/write_message.c (write_message): Preserve errno.
23073 * support/check.c (print_failure): Likewise.
23074 * support/support_test_verify_impl.c (support_test_verify_impl):
23076 * support/support_test_compare_failure.c
23077 (support_test_compare_failure): Likewise.
23079 2018-01-12 Florian Weimer <fweimer@redhat.com>
23082 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23083 Prevent installation of libnsl.so.
23084 (libnsl-inhibit-o): Do not build (or install) static libraries.
23086 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23089 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23090 before the day number which may produce a double space.
23091 (date_fmt): Likewise.
23093 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23095 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23096 instead of fegetenv.
23098 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23101 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23102 comment to say exceptions are discarded.
23103 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23105 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23108 2018-01-11 Florian Weimer <fweimer@redhat.com>
23110 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23113 2018-01-11 Florian Weimer <fweimer@redhat.com>
23116 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23117 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23119 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23122 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23123 negative arguments in test for NaN or infinity argument.
23125 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23127 * po/libc.pot: Regenerate.
23129 2018-01-10 Florian Weimer <fweimer@redhat.com>
23132 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23133 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23135 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23137 * hurd/hurd/fd.h: Include <fcntl.h>
23138 (__hurd_at_flags): New function.
23139 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23140 with call to __hurd_at_flags.
23141 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23142 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23144 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23145 (__access_noerrno): Use __faccessat_common instead of access_common.
23146 (__access): Likewise.
23147 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23148 with a call to __faccessat.
23149 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23150 (__faccessat_common): ... this. Move implementation of __access into it when
23151 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23152 reauthenticate_cwdir_at helper to implement AT mechanism.
23153 (__faccessat_noerrno): New function, just calls __faccessat_common.
23154 (__faccessat): New function, just calls __faccessat_common.
23155 (faccessat): Define weak alias.
23157 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23160 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23161 (CFLAGS-s_fmaxmagl.c): New variable.
23162 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23165 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23166 long int for arguments of possibly overflowing addition or
23168 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23170 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23173 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23174 (CFLAGS-e_remainderl.c): New variable.
23177 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23179 (CFLAGS-s_cacoshl.c): Likewise.
23180 (CFLAGS-s_casinhl.c): Likewise.
23181 (CFLAGS-s_catanl.c): Likewise.
23182 (CFLAGS-s_catanhl.c): Likewise.
23183 (CFLAGS-s_cexpl.c): Likewise.
23184 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23185 (CFLAGS-s_csinhl.c): Likewise.
23186 (CFLAGS-s_clogl.c): Likewise.
23187 (CFLAGS-s_clog10l.c): Likewise.
23188 (CFLAGS-s_csinl.c): Likewise.
23189 (CFLAGS-s_csqrtl.c): Likewise.
23191 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23192 2017-01-09 Svante Signell <svante.signell@gmail.com>
23194 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23195 (_hurd_exec_paths): New function.
23196 * hurd/hurd.h (_hurd_exec): Deprecate function.
23197 (_hurd_exec_paths): Declare function.
23198 * hurd/Versions: Export _hurd_exec_paths.
23199 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23200 (__execve): Use __getcwd to build absolute path, and use
23201 _hurd_exec_paths instead of _hurd_exec.
23202 * sysdeps/mach/hurd/spawni.c: Likewise.
23203 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23206 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23208 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23209 test instead of failing in case of ENOENT returned by posix_openpt.
23211 2018-01-08 Florian Weimer <fweimer@redhat.com>
23213 resolv: Support binary labels in test framework.
23214 * support/resolv_test.c (struct to_be_freed): Remove.
23215 (struct compressed_name): New.
23216 (allocate_compressed_name, ascii_tolower)
23217 (compare_compressed_name): New functions.
23218 (struct resolv_response_builder): Update type of
23219 compression_offsets for use with tsearch. Rempve to_be_freed.
23220 (response_push_pointer_to_free): Remove function.
23221 (resolv_response_add_name): Rewrite using struct compressed_name
23222 and tsearch instead of hsearch_r.
23223 (response_builder_allocate): Remove initialization of
23224 compression_offsets.
23225 (response_builder_free): Update for removal of to_be_freed. Use
23226 tdestroy instead of hdestroy_r.
23227 * resolv/Makefile (tests): Add tst-resolv-binary.
23228 (tst-resolv-binary): Link with -lresolv -lpthread.
23230 2018-01-08 Florian Weimer <fweimer@redhat.com>
23232 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23233 time. Pass positive flag instead of negative flag to
23234 support_test_compare_failure.
23235 (support_test_compare_failure): Change negative parameter to
23237 * support/support_test_compare_failure.c (report)
23238 (support_test_compare_failure): Likewise.
23239 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23240 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23242 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23245 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23246 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23247 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23249 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23251 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23253 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23254 Add s_sincosf-sse2 and s_sincosf-fma.
23255 (CFLAGS-s_sincosf-fma.c): New.
23256 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23257 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23258 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23259 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23260 __sincosf is defined.
23262 2018-01-08 Florian Weimer <fweimer@redhat.com>
23264 * nptl/tst-thread-exit-clobber.cc: New file.
23265 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23267 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23268 (tests): Add tst-thread-exit-clobber.
23269 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23271 2018-01-08 Florian Weimer <fweimer@redhat.com>
23273 * support/check.h (support_static_assert): Define.
23274 (TEST_COMPARE): Use it.
23276 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23278 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23279 [!__RLIM_T_MATCHES_RLIM64_T]
23280 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23281 __getrlimit64. Add libc_hidden_weak.
23283 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23285 * elf/elf.h (R_RISCV_NONE): New define.
23286 (R_RISCV_32): Likewise.
23287 (R_RISCV_64): Likewise.
23288 (R_RISCV_RELATIVE): Likewise.
23289 (R_RISCV_COPY): Likewise.
23290 (R_RISCV_JUMP_SLOT): Likewise.
23291 (R_RISCV_TLS_DTPMOD32): Likewise.
23292 (R_RISCV_TLS_DTPMOD64): Likewise.
23293 (R_RISCV_TLS_DTPREL32): Likewise.
23294 (R_RISCV_TLS_DTPREL64): Likewise.
23295 (R_RISCV_TLS_TPREL32): Likewise.
23296 (R_RISCV_TLS_TPREL64): Likewise.
23297 * Makerules (make-link-multidir): Make directories before linking into
23299 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23301 (VDSO_HASH_LINUX_4_15): Likewise.
23302 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23303 in subdirectories of lib.
23304 * nptl/Makefile (/librt.so): Always depend on
23305 "$(shared-thread-library)".
23307 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23309 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23310 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23311 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23313 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23314 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23316 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23317 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23318 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23319 * sysdeps/gnu/glob-lstat-compat.c: New file.
23320 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23321 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23323 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23325 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23326 Reserve 16 chars to reloc_addr before calling _itoa_word.
23328 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23331 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23332 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23334 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23335 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23337 * resource/tst-getrlimit.c: Add copyright header.
23339 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23340 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23342 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23343 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23344 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23345 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23347 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23348 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23349 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23350 RLIM64_INFINITY): Fix values to match the kernel ones.
23351 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23352 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23353 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23354 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23355 getrlimit64@@GLIBC_2_27.
23356 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23358 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23359 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23360 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23361 setrlimit, getrlimit64 and setrlimit64.
23363 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23366 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23367 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23369 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23371 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23372 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23373 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23375 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23379 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23380 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23384 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23385 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23386 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23387 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23389 2018-01-04 Florian Weimer <fweimer@redhat.com>
23392 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23393 Align the stack before calling exit.
23394 * stdlib/tst-makecontext-align.c: New file.
23395 * stdlib/Makefile (tests): Add tst-makecontext-align.
23397 2018-01-04 Florian Weimer <fweimer@redhat.com>
23399 Add support for calling dlvsym from libc.so.
23400 * include/dlfcn.h (__libc_dlvsym): Declare.
23401 * elf/Makefile (tests-static-internal): Add
23402 tst-libc_dlvsym-static.
23403 (tests-internal): Add tst-libc_dlvsym.
23404 (modules-names): Add tst-libc_dlvsym-dso.
23405 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23406 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23407 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23408 object tst-libc_dlvsym-dso.so needs to be built before running
23410 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23411 * elf/Versions: Export __libc_dlvsym.
23412 * elf/dl-libc.c (struct do_dlvsym_args): New.
23413 (do_dlvsym, __libc_dlvsym): New functions.
23414 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23415 (_dl_open_hook2): New variable.
23416 (__libc_register_dl_open_hook): Set it.
23417 * elf/tst-libc_dlvsym-dso.c: New file.
23418 * elf/tst-libc_dlvsym-static.c: Likewise.
23419 * elf/tst-libc_dlvsym.c: Likewise.
23420 * elf/tst-libc_dlvsym.h: Likewise.
23422 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23424 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23425 include <sys/mount.h>.
23427 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23429 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23430 Add __NO_MATH_ERRNO__ check.
23432 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23434 * sysdeps/mips/mips32/libm-test-ulps: Update.
23435 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23437 2018-01-02 Florian Weimer <fweimer@redhat.com>
23439 * misc/tst-pselect.c: Add copyright header.
23441 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23443 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23445 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23447 (settrlimit): Rename into setrlimit.
23448 (__sttrlimit): Rename into __setrlimit.
23450 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23451 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23452 never defined in that case.
23454 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23456 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23458 * sysdeps/arm/libm-test-ulps: Update.
23460 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23461 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23463 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23465 * NEWS: Add cosf and sincosf to list of optimized functions.
23467 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23470 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23471 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23472 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23473 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23475 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23478 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23480 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23481 making a copy of it.
23483 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23485 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23486 trailing whitespace removed.
23487 * scripts/config.guess: Update to version 2018-01-01.
23488 * scripts/config.sub: Update to version 2018-01-01.
23489 * scripts/move-if-change: Update from gnulib.
23491 * NEWS: Update copyright dates.
23492 * catgets/gencat.c (print_version): Likewise.
23493 * csu/version.c (banner): Likewise.
23494 * debug/catchsegv.sh: Likewise.
23495 * debug/pcprofiledump.c (print_version): Likewise.
23496 * debug/xtrace.sh (do_version): Likewise.
23497 * elf/ldconfig.c (print_version): Likewise.
23498 * elf/ldd.bash.in: Likewise.
23499 * elf/pldd.c (print_version): Likewise.
23500 * elf/sotruss.sh: Likewise.
23501 * elf/sprof.c (print_version): Likewise.
23502 * iconv/iconv_prog.c (print_version): Likewise.
23503 * iconv/iconvconfig.c (print_version): Likewise.
23504 * locale/programs/locale.c (print_version): Likewise.
23505 * locale/programs/localedef.c (print_version): Likewise.
23506 * login/programs/pt_chown.c (print_version): Likewise.
23507 * malloc/memusage.sh (do_version): Likewise.
23508 * malloc/memusagestat.c (print_version): Likewise.
23509 * malloc/mtrace.pl: Likewise.
23510 * manual/libc.texinfo: Likewise.
23511 * nptl/version.c (banner): Likewise.
23512 * nscd/nscd.c (print_version): Likewise.
23513 * nss/getent.c (print_version): Likewise.
23514 * nss/makedb.c (print_version): Likewise.
23515 * posix/getconf.c (main): Likewise.
23516 * scripts/test-installation.pl: Likewise.
23517 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23519 * All files with FSF copyright notices: Update copyright dates
23520 using scripts/update-copyrights.
23521 * locale/programs/charmap-kw.h: Regenerated.
23522 * locale/programs/locfile-kw.h: Likewise.
23524 2017-12-31 Zack Weinberg <zackw@panix.com>
23526 * libio/bits/libio-ldbl.h: Correct check for improper
23527 inclusion. Add own multiple include guard.
23529 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23530 Dmitry V. Levin <ldv@altlinux.org>
23534 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23535 string token expansion. Check for NULL pointer or empty string possibly
23536 returned by expand_dynamic_string_token.
23537 (decompose_rpath): Check for empty path after dynamic string
23540 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23543 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23545 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23546 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23547 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23548 and PTRACE_SYSCALL.
23549 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23550 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23551 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23552 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23553 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23554 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23556 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23557 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23558 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23559 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23561 bits/ptrace-shared.h.
23562 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23563 <bits/ptrace-shared.h>.
23564 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23565 __ptrace_peeksiginfo_flags, ptrace): Remove.
23566 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23569 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23570 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23572 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23575 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23576 end of the loop. Improve comments.
23578 2017-12-29 Zack Weinberg <zackw@panix.com>
23581 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23582 might be set on success.
23584 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23587 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23588 is unchanged on success.
23590 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23592 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23594 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23595 expand_dynamic_string_token): Likewise.
23596 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23599 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23602 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23603 is set and name contains ':', and all code depending on these checks.
23605 2017-12-24 Zack Weinberg <zackw@panix.com>
23607 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23608 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23610 * libio/libio.h: Rename the original version of this file to
23611 libio/bits/libio.h. Error out if not included by stdio.h or the
23613 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23614 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23615 if not included by bits/libio.h or the stub _G_config.h.
23616 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23617 sysdeps/unix/sysv/linux/bits. Error out if not included by
23618 bits/libio.h or the stub _G_config.h.
23619 * libio/stdio.h: Include bits/libio.h, not libio.h.
23620 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23621 well as libio.h and _G_config.h.
23623 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23624 * libio/strfile.h, stdio-common/vfscanf.c
23625 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23626 Include stdio.h, not _G_config.h nor libio.h.
23627 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23628 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23630 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23632 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23635 * stdlib/getrandom.c (getrandom): Fix comment.
23636 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23638 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23641 * manual/arith.texi (strtoul): Fix a typo.
23644 * manual/arith.texi (finite): Fix the description of the return
23647 2017-12-22 Eric Blake <ebb9@byu.net>
23649 Avoid gcc warnings on cygwin
23650 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23651 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23652 Avoid unused variable.
23654 2017-12-22 Florian Weimer <fweimer@redhat.com>
23656 * io/Makefile (routines): Add copy_file_range.
23657 (tests): Add tst-copy_file_range.
23658 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23659 * io/Versions (GLIBC_2.27): Export copy_file_range.
23660 * io/copy_file_range-compat.c: New file.
23661 * io/copy_file_range.c: Likewise.
23662 * io/tst-copy_file_range-compat.c: Likewise.
23663 * io/tst-copy_file_range.c: Likewise.
23664 * manual/llio.texi (Copying File Data): New section.
23665 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23666 * support/Makefile (libsupport-routines): Add support-xfstat,
23667 xftruncate, xlseek.
23668 * support/support-xfstat.c: New file.
23669 * support/xftruncate.c: Likewise.
23670 * support/xlseek.c: Likewise.
23671 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23672 * sysdeps/unix/sysv/linux/**.abilist: Update.
23673 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23675 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23677 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23678 disable-multi-arch variant to aarch64-linux-gnu.
23680 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23682 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23683 trailing whitespace removed.
23684 * scripts/config.guess: Update to version 2017-12-17.
23685 * scripts/config.sub: Update to version 2017-11-23.
23686 * scripts/install-sh: Update to version 2017-09-23.17.
23687 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23689 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23691 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23692 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23693 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23694 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23695 * sysdeps/tile/crtn.S: Likewise.
23696 * sysdeps/tile/dl-start.S (_start): Likewise.
23697 * sysdeps/tile/dl-trampoline.S: Likewise.
23698 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23699 * sysdeps/tile/start.S (_start): Likewise.
23700 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23701 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23702 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23703 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23704 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23705 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23706 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23708 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23710 * sysdeps/tile/preconfigure: Remove tilegx folder.
23711 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23712 * sysdeps/tile/Implies: ... here.
23713 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23714 * sysdeps/tile/Makefile: ... here.
23715 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23716 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23717 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23718 * sysdeps/tile/bits/wordsize.h: ... here.
23719 * sysdeps/tile/tilegx/*: Move to ...
23720 * sysdeps/tile/*: ... here.
23721 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23722 * sysdeps/tile/tilegx32/Implies: ... here.
23723 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23724 * sysdeps/tile/tilegx64/Implies: ... here.
23725 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23727 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23728 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23729 * sysdeps/unix/sysv/linux/tile/*: ... here.
23730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23731 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23733 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23735 * README: Remove tilepro-*-linux-gnu from supported architecture.
23736 * scripts/build-many-glibcs.py: Likewise.
23737 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23738 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23739 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23740 elf_machine_matches_host, elf_machine_dynamic,
23741 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23742 howto, elf_machine_rela): Likewise.
23743 * sysdeps/tile/dl-start.S (_start): Likewise.
23744 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23745 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23746 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23747 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23748 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23749 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23751 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23752 * sysdeps/tile/preconfigure: Likewise.
23753 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23754 POINTER_CHK_GUARD): Likewise.
23755 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23756 * sysdeps/tile/start.S (_start): Likewise.
23757 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23759 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23760 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23762 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23763 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23764 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23766 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23767 * sysdeps/tile/tilepro/Implies: Remove file.
23768 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23769 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23770 * sysdeps/tile/tilepro/memchr.c: Likewise.
23771 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23772 * sysdeps/tile/tilepro/memset.c: Likewise.
23773 * sysdeps/tile/tilepro/memusage.h: Likewise.
23774 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23775 * sysdeps/tile/tilepro/strchr.c: Likewise.
23776 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23777 * sysdeps/tile/tilepro/strlen.c: Likewise.
23778 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23779 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23780 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23781 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23782 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23783 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23784 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23786 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23787 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23788 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23789 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23790 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23791 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23792 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23793 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23794 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23795 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23796 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23797 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23798 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23799 tilepro mention in comment.
23801 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23802 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23803 * nptl/pthread_join_common.c: New file: common function used on
23804 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23805 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23806 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23807 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23808 (cleanup): Move definition to pthread_join_common.c.
23809 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23810 Remove superflous checks.
23811 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23814 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23816 * sysdeps/aarch64/libm-test-ulps: Update.
23818 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23820 * sysdeps/aarch64/memset.S (MEMSET): Define.
23822 2017-12-20 Florian Weimer <fweimer@redhat.com>
23825 nptl: Provide full implementation of pthread_self in libc.so.
23826 * nptl/Makefile (routines): Add pthread_self.
23827 (libpthread-routines): Replace pthread_self with
23828 compat-pthread_self.
23829 * nptl/forward.c (pthread_self): Remove.
23830 * nptl/nptl-init.c (pthread_functions): Do not initialize
23832 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23833 * nptl/compat-pthread_self.c: New file.
23834 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23835 Remove ptr_pthread_self.
23837 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23839 * posix/regcomp.c: Fix spelling in comments.
23840 * posix/regex.h: Likewise.
23841 * posix/regex_internal.c: Likewise.
23842 * posix/regexec.c: Likewise.
23844 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23847 * math/Makefile [C++] (tests): Add test for iseqsig.
23848 * math/math.h [C++] (iseqsig): New implementation, which does
23849 not rely on __MATH_TG/__builtin_types_compatible_p.
23850 * math/test-math-iseqsig.cc: New file.
23851 * sysdeps/powerpc/powerpc64le/Makefile
23852 (CFLAGS-test-math-iseqsig.cc): New variable.
23854 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23856 * elf/dl-load.c (is_trusted_path): Remove.
23857 (fillin_rpath): Remove check_trusted argument and its use,
23858 all callers changed.
23860 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23863 * Makeconfig (link-pie-before-libc): Replace -pie with
23864 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23865 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23866 (tst-dlopen-aout-no-pie): New.
23867 (LDFLAGS-tst-prelink): Removed.
23868 (tst-prelink-no-pie): New.
23869 (LDFLAGS-tst-main1): Removed.
23870 (tst-main1-no-pie): New.
23871 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23872 (tst-gmon-no-pie): New.
23874 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23876 * manual/install.texi: Document that --enable-static-pie
23878 * INSTALL: Regenerated.
23880 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23883 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23886 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23890 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23894 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23896 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23897 <errno.h>. Include "eexp.tbl".
23898 (half): New constant.
23900 (__ieee754_exp): Rewrite.
23901 (__slowexp): Remove prototype.
23902 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23903 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23904 * sysdeps/i386/fpu/slowexp.c: Likewise.
23905 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23906 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23907 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23908 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23909 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23910 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23911 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23913 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23914 (CPPFLAGS-slowexp.c): Remove variable.
23915 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23916 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23917 (CFLAGS-slowexp-fma.c): Remove variable.
23918 (CFLAGS-slowexp-fma4.c): Likewise.
23919 (CFLAGS-slowexp-avx.c): Likewise.
23920 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23922 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23923 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23924 * math/Makefile (type-double-routines): Remove slowexp.
23925 * manual/probes.texi (slowexp_p6): Remove.
23926 (slowexp_p32): Likewise.
23928 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23930 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23933 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23935 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23939 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23941 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23942 <errno.h>. Include "eexp.tbl".
23943 (half): New constant.
23945 (__ieee754_exp): Rewrite.
23946 (__slowexp): Remove prototype.
23947 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23948 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23949 * sysdeps/i386/fpu/slowexp.c: Likewise.
23950 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23951 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23952 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23953 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23954 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23955 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23956 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23958 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23959 (CPPFLAGS-slowexp.c): Remove variable.
23960 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23961 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23962 (CFLAGS-slowexp-fma.c): Remove variable.
23963 (CFLAGS-slowexp-fma4.c): Likewise.
23964 (CFLAGS-slowexp-avx.c): Likewise.
23965 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23967 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23968 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23969 * math/Makefile (type-double-routines): Remove slowexp.
23970 * manual/probes.texi (slowexp_p6): Remove.
23971 (slowexp_p32): Likewise.
23973 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23974 James Clarke <jrtc27@jrtc27.com>
23977 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23980 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23983 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23986 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23989 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23990 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23991 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23992 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23995 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23998 * bits/types/__cancel_jmp_buf_tag.h: New file.
23999 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24000 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24001 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24002 * nptl/Makefile (headers): Add
24003 bits/types/__cancel_jmp_buf_tag.h.
24004 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24005 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24006 * sysdeps/nptl/pthread.h: Include
24007 <bits/types/__cancel_jmp_buf_tag.h>.
24008 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24010 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24012 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24014 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24015 --enable-static-pie variants to x86_64, x32 and i686.
24017 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24020 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24021 argument for attrubutes. All callers changed.
24022 (__inline_mathop1): Likewise. All callers changed.
24023 (__inline_mathop): Likewise. All callers changed.
24024 [__USE_MISC] (scalbn): Use __inline_forward instead of
24025 __inline_forward_c.
24026 [__USE_ISOC99] (scalbln): Likewise.
24027 [__USE_ISOC99] (nearbyint): Likewise.
24028 [__USE_ISOC99] (lrint): Likewise.
24029 [__USE_MISC] (scalbnf): Likewise.
24030 [__USE_ISOC99] (scalblnf): Likewise.
24031 [__USE_ISOC99] (nearbyintf): Likewise.
24032 [__USE_ISOC99] (lrintf): Likewise.
24033 [__USE_MISC] (scalbnl): Likewise.
24034 [__USE_ISOC99] (scalblnl): Likewise.
24035 [__USE_ISOC99] (nearbyintl): Likewise.
24036 [__USE_ISOC99] (lrintl): Likewise.
24037 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24038 __inline_mathop and __m81_defun changed.
24040 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24041 CPU or FPU for ARM hard-float configurations.
24043 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24045 * nptl/tst-attr3.c: Include <libc-diag.h>.
24046 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24048 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24050 * string/tester.c (test_strncat): Also disable -Warray-bounds
24051 warnings for two tests.
24053 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24056 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24057 $(cc-pie-default) == yes.
24058 * config.make.in (cc-pie-default): New.
24059 * configure.ac (libc_cv_pie_default): Renamed to ...
24060 (libc_cv_cc_pie_default): This.
24061 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24062 * configure: Regenerated.
24064 2017-12-18 Florian Weimer <fweimer@redhat.com>
24067 ld.so: Harden dl-libc/libdl hooks.
24068 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24069 (rtld_active): New function.
24070 * dlfcn/dladdr.c (__dladdr): Call it.
24071 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24072 * dlfcn/dlclose.c (__dlcose): Likewise.
24073 * dlfcn/dlerror.c (__dlerror): Likewise.
24074 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24075 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24076 * dlfcn/dlopen.c (__dlopen): Likewise.
24077 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24078 * dlfcn/dlsym.c (__dlsym): Likewise.
24079 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24080 * libio/vtables.c (_IO_vtable_check): Likewise.
24081 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24082 (__libc_dlclose): Likewise.
24083 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24086 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24089 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24090 buffers for readlink input and output.
24092 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24095 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24096 inhibit_stack_protector.
24099 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24100 inhibit_stack_protector.
24102 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24105 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24106 code and invocation.
24108 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24110 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24112 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24115 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24117 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24119 * sysdeps/s390/fpu/libm-test-ulps: Update.
24121 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24125 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24127 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24128 constants to s_sincosf.h file.
24129 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24130 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24132 * sysdeps/ieee754/flt-32/s_sincosf.h:
24135 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24138 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24141 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24144 * INSTALL: Regenerated.
24145 * Makeconfig (real-static-start-installed-name): New.
24146 (pic-default): Updated for --enable-static-pie.
24147 (pie-default): New for --enable-static-pie.
24148 (default-pie-ldflag): Likewise.
24149 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24150 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24151 Replace $(static-start-installed-name) with
24152 $(real-static-start-installed-name).
24153 (+prectorT): Updated for --enable-static-pie.
24154 (+postctorT): Likewise.
24155 (CFLAGS-.o): Add $(pie-default).
24156 (CFLAGS-.op): Likewise.
24157 * NEWS: Mention --enable-static-pie.
24158 * config.h.in (ENABLE_STATIC_PIE): New.
24159 * configure.ac (--enable-static-pie): New configure option.
24160 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24161 (have-static-pie): Likewise.
24162 Enable static PIE if linker supports --no-dynamic-linker.
24163 (ENABLE_STATIC_PIE): New AC_DEFINE.
24164 (enable-static-pie): New LIBC_CONFIG_VAR.
24165 * configure: Regenerated.
24166 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24167 gr$(start-installed-name) for --enable-static-pie.
24168 (extra-objs): Likewise.
24169 (install-lib): Likewise.
24170 (extra-objs): Add static-reloc.o and static-reloc.os
24171 ($(objpfx)$(start-installed-name)): Also depend on
24172 $(objpfx)static-reloc.o.
24173 ($(objpfx)r$(start-installed-name)): New.
24174 ($(objpfx)g$(start-installed-name)): Also depend on
24175 $(objpfx)static-reloc.os.
24176 ($(objpfx)gr$(start-installed-name)): New.
24177 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24179 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24181 * csu/static-reloc.c: New file.
24182 * elf/Makefile (routines): Add dl-reloc-static-pie.
24183 (elide-routines.os): Likewise.
24184 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24185 (tst-tls1-static-non-pie-no-pie): New.
24186 * elf/dl-reloc-static-pie.c: New file.
24187 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24188 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24189 STATIC_PIE_BOOTSTRAP.
24190 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24191 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24192 (tests-static): Likewise.
24193 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24194 (tst-gmon-static-no-pie): New.
24195 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24196 (CRT-tst-gmon-static-pie): Likewise.
24197 (tst-gmon-static-pie-ENV): Likewise.
24198 (tests-special): Likewise.
24199 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24200 (clean-tst-gmon-static-pie-data): Likewise.
24201 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24202 * gmon/tst-gmon-static-pie.c: New file.
24203 * manual/install.texi: Document --enable-static-pie.
24204 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24205 (_dl_get_dl_main_map): Likewise.
24206 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24207 * sysdeps/x86_64/configure.ac: Likewise.
24208 * sysdeps/i386/configure: Regenerated.
24209 * sysdeps/x86_64/configure: Likewise.
24210 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24211 (ASFLAGS-.op): Likewise.
24213 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24215 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24216 * posix/tst-mmap-offset.c (fname): Use /tmp.
24217 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24219 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24221 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24223 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24225 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24228 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24230 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24231 --with-float=hard for arm-linux-gnueabihf configurations.
24234 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24235 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24236 ($(mo-installed)): Use $(objpfx)%.mo.
24237 (realclean): Remove rule.
24239 * po/Makefile (linguas): Remove rule and dependencies.
24240 (linguas.mo): Likewise.
24241 (.PHONY): Do not depend on linguas and linguas.mo.
24242 (podir): Remove variable.
24243 (pofiles): Likewise.
24244 [$(pofiles)] (%.po): Remove rule.
24246 * sysdeps/sparc/sparc32/Makefile
24247 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24248 start-of-line whitespace in argument of echo.
24249 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24250 with whitespace. Generate __wrap_.udiv alias.
24251 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24252 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24253 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24254 * sysdeps/sparc/sparc32/urem.S: Likewise.
24256 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24258 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24259 for aligned inputs.
24261 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24263 * benchtests/bench-strcmp.c: Print output in JSON format.
24265 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24267 2017-12-14 Florian Weimer <fweimer@redhat.com>
24271 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24272 the expanded path string.
24274 2017-12-14 Florian Weimer <fweimer@redhat.com>
24278 * elf/dl-load.c (system_dirs): Update comment.
24279 (nsystem_dirs_len): Use array_length.
24280 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24282 2017-12-14 Florian Weimer <fweimer@redhat.com>
24284 Simplify compiling most of support/ outside of glibc.
24285 * support/check_addrinfo.c: Include <string.h>.
24286 * support/check_dns_packet.c: Likewise.
24287 * support/check_hostent.c: Likewise.
24288 * support/support_can_chroot.c: Include <support/xunistd.h>.
24289 * support/support_format_addrinfo.c: Include <stdlib.h>
24290 * support/support_format_dns_packet.c: Include <stdbool.h>.
24291 * support/support_format_hostent.c: Include <stdlib.h>.
24292 * support/support_format_netent.c: Likewise.
24293 * support/support_write_string.c: Include <support/xunistd.h>.
24294 * support/xdlfcn.c: Include <stddef.h>.
24296 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24298 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24300 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24301 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24303 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24304 (sysdeps_routines): Add memset-niagara7.
24305 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24307 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24309 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24310 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24311 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24312 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24313 Add niagara7 option.
24314 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24317 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24318 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24319 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24321 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24323 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24324 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24325 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24326 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24327 and __memmove_niagara7.
24328 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24329 Add niagara7 option.
24330 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24331 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24332 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24333 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24334 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24336 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24338 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24339 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24340 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24341 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24343 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24344 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24345 _dl_sparc_cap_flags array.
24346 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24348 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24350 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24351 time whenever possible.
24353 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24355 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24356 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24358 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24360 * soft-fp/fmadf4.c: Move to ....
24361 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24362 * soft-fp/fmasf4.c: Move to ....
24363 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24364 * soft-fp/fmatf4.c: Move to ....
24365 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24366 * sysdeps/ieee754/soft-fp/Makefile: New file.
24367 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24368 * sysdeps/arm/preconfigure: Regenerated.
24369 * sysdeps/arm/nofpu/Implies: New file.
24370 * sysdeps/arm/s_fma.c: Remove file.
24371 * sysdeps/arm/s_fmaf.c: Likewise.
24372 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24373 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24374 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24375 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24376 * sysdeps/microblaze/s_fma.c: Remove file.
24377 * sysdeps/microblaze/s_fmaf.c: Likewise.
24378 * sysdeps/mips/mips32/nofpu/Implies: New file.
24379 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24380 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24381 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24382 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24383 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24384 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24385 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24387 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24388 * sysdeps/nios2/s_fma.c: Remove file.
24389 * sysdeps/nios2/s_fmaf.c: Likewise.
24390 * sysdeps/sh/nofpu/Implies: New file.
24391 * sysdeps/sh/s_fma.c: Remove file.
24392 * sysdeps/sh/s_fmaf.c: Likewise.
24393 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24394 * sysdeps/tile/s_fma.c: Remove file.
24395 * sysdeps/tile/s_fmaf.c: Likewise.
24397 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24399 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24400 Add s_cosf-sse2 and s_cosf-fma.
24401 (CFLAGS-s_cosf-fma.c): New.
24402 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24403 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24404 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24406 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24408 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24410 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24412 * libio/Makefile (tests): Add tst-bz22415.
24413 (tst-bz22415-ENV): New rule.
24414 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24415 (tests-special): Add tst-bz22415-mem.out.
24416 ($(objpfx)tst-bz22415-mem.out): New rule.
24417 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24418 in case of a successful seek operation.
24419 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24420 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24421 buffer is required.
24422 * libio/tst-bz22415.c: New test.
24424 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24426 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24428 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24429 __IPC_64 to 0 to avoid IPC_64 being set.
24431 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24434 * math/bits/mathcalls.h (nextafter): Remove const.
24435 (nexttoward): Likewise.
24437 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24439 * configure.ac (--with-fp): Remove configure option.
24440 (with_fp_cond): New variable.
24441 (libc_cv_with_fp): New configure test. Use this variable instead
24443 * configure: Regenerated.
24444 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24445 * manual/install.texi (Configuring and compiling): Remove
24447 * INSTALL: Regenerated.
24448 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24449 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24450 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24451 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24452 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24453 use --without-fp to configure glibc.
24455 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24457 * manual/locale.texi (nl_langinfo): Fix a typo.
24459 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24462 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24464 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24466 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24467 (CFLAGS-argp-parse.c): Likewise.
24468 (CFLAGS-argp-fmtstream.c): Likewise.
24469 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24470 (CPPFLAGS-sha512-crypt.c): Likewise.
24471 (CPPFLAGS-md5-crypt.c): Likewise.
24472 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24473 (CFLAGS-stack_chk_fail_local.c): Likewise.
24474 (CFLAGS-backtrace.c): Likewise.
24475 (CFLAGS-sprintf_chk.c): Likewise.
24476 (CFLAGS-snprintf_chk.c): Likewise.
24477 (CFLAGS-vsprintf_chk.c): Likewise.
24478 (CFLAGS-vsnprintf_chk.c): Likewise.
24479 (CFLAGS-asprintf_chk.c): Likewise.
24480 (CFLAGS-vasprintf_chk.c): Likewise.
24481 (CFLAGS-obprintf_chk.c): Likewise.
24482 (CFLAGS-dprintf_chk.c): Likewise.
24483 (CFLAGS-vdprintf_chk.c): Likewise.
24484 (CFLAGS-printf_chk.c): Likewise.
24485 (CFLAGS-fprintf_chk.c): Likewise.
24486 (CFLAGS-vprintf_chk.c): Likewise.
24487 (CFLAGS-vfprintf_chk.c): Likewise.
24488 (CFLAGS-gets_chk.c): Likewise.
24489 (CFLAGS-fgets_chk.c): Likewise.
24490 (CFLAGS-fgets_u_chk.c): Likewise.
24491 (CFLAGS-fread_chk.c): Likewise.
24492 (CFLAGS-fread_u_chk.c): Likewise.
24493 (CFLAGS-swprintf_chk.c): Likewise.
24494 (CFLAGS-vswprintf_chk.c): Likewise.
24495 (CFLAGS-wprintf_chk.c): Likewise.
24496 (CFLAGS-fwprintf_chk.c): Likewise.
24497 (CFLAGS-vwprintf_chk.c): Likewise.
24498 (CFLAGS-vfwprintf_chk.c): Likewise.
24499 (CFLAGS-fgetws_chk.c): Likewise.
24500 (CFLAGS-fgetws_u_chk.c): Likewise.
24501 (CFLAGS-read_chk.c): Likewise.
24502 (CFLAGS-pread_chk.c): Likewise.
24503 (CFLAGS-pread64_chk.c): Likewise.
24504 (CFLAGS-recv_chk.c): Likewise.
24505 (CFLAGS-recvfrom_chk.c): Likewise.
24506 (CFLAGS-tst-longjmp_chk.c): Likewise.
24507 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24508 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24509 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24510 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24511 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24512 (CFLAGS-tst-chk1.c): Likewise.
24513 (CFLAGS-tst-chk2.c): Likewise.
24514 (CFLAGS-tst-chk3.c): Likewise.
24515 (CFLAGS-tst-chk4.cc): Likewise.
24516 (CFLAGS-tst-chk5.cc): Likewise.
24517 (CFLAGS-tst-chk6.cc): Likewise.
24518 (CFLAGS-tst-lfschk1.c): Likewise.
24519 (CFLAGS-tst-lfschk2.c): Likewise.
24520 (CFLAGS-tst-lfschk3.c): Likewise.
24521 (CFLAGS-tst-lfschk4.cc): Likewise.
24522 (CFLAGS-tst-lfschk5.cc): Likewise.
24523 (CFLAGS-tst-lfschk6.cc): Likewise.
24524 (CFLAGS-tst-ssp-1.c): Likewise.
24525 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24526 (CFLAGS-scandir64.c): Likewise.
24527 (CFLAGS-scandir-tail.c): Likewise.
24528 (CFLAGS-scandir64-tail.c): Likewise.
24529 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24530 (CFLAGS-dl-tunables.c): Likewise.
24531 (CFLAGS-dl-runtime.c): Likewise.
24532 (CFLAGS-dl-lookup.c): Likewise.
24533 (CFLAGS-dl-iterate-phdr.c): Likewise.
24534 (CFLAGS-vismain.c): Likewise.
24535 (CFLAGS-tst-linkall-static.c): Likewise.
24536 (CFLAGS-tst-linkall-static.c): Likewise.
24537 (CPPFLAGS-dl-load.c): Likewise.
24538 (CFLAGS-ldconfig.c): Likewise.
24539 (CFLAGS-dl-cache.c): Likewise.
24540 (CFLAGS-cache.c): Likewise.
24541 (CFLAGS-rtld.c): Likewise.
24542 (CFLAGS-multiload.c): Likewise.
24543 (CFLAGS-filtmod1.c): Likewise.
24544 (CFLAGS-tst-align.c): Likewise.
24545 (CFLAGS-tst-align2.c): Likewise.
24546 (CFLAGS-tst-alignmod.c): Likewise.
24547 (CFLAGS-tst-alignmod2.c): Likewise.
24548 (CPPFLAGS-tst-execstack.c): Likewise.
24549 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24550 (CFLAGS-tst-latepthreadmod.c): Likewise.
24551 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24552 (CFLAGS-getgrnam_r.c): Likewise.
24553 (CFLAGS-getgrent_r.c): Likewise.
24554 (CFLAGS-getgrent.c): Likewise.
24555 (CFLAGS-fgetgrent.c): Likewise.
24556 (CFLAGS-fgetgrent_r.c): Likewise.
24557 (CFLAGS-putgrent.c): Likewise.
24558 (CFLAGS-initgroups.c): Likewise.
24559 (CFLAGS-getgrgid.c): Likewise.
24560 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24561 (CFLAGS-getsgent.c): Likewise.
24562 (CFLAGS-fgetsgent.c): Likewise.
24563 (CFLAGS-fgetsgent_r.c): Likewise.
24564 (CFLAGS-putsgent.c): Likewise.
24565 (CFLAGS-getsgnam.c): Likewise.
24566 (CFLAGS-getsgnam_r.c): Likewise.
24567 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24568 (CFLAGS-iconv_charmap.c): Likewise.
24569 (CFLAGS-dummy-repertoire.c): Likewise.
24570 (CFLAGS-charmap.c): Likewise.
24571 (CFLAGS-linereader.c): Likewise.
24572 (CFLAGS-simple-hash.c): Likewise.
24573 (CFLAGS-gconv_conf.c): Likewise.
24574 (CFLAGS-iconvconfig.c): Likewise.
24575 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24576 (CFLAGS-gethstbyad.c): Likewise.
24577 (CFLAGS-gethstbynm_r.c): Likewise.
24578 (CFLAGS-gethstbynm.c): Likewise.
24579 (CFLAGS-gethstbynm2_r.c): Likewise.
24580 (CFLAGS-gethstbynm2.c): Likewise.
24581 (CFLAGS-gethstent_r.c): Likewise.
24582 (CFLAGS-gethstent.c): Likewise.
24583 (CFLAGS-rcmd.c): Likewise.
24584 (CFLAGS-getnetbynm_r.c): Likewise.
24585 (CFLAGS-getnetbynm.c): Likewise.
24586 (CFLAGS-getnetbyad_r.c): Likewise.
24587 (CFLAGS-getnetbyad.c): Likewise.
24588 (CFLAGS-getnetent_r.c): Likewise.
24589 (CFLAGS-getnetent.c): Likewise.
24590 (CFLAGS-getaliasent_r.c): Likewise.
24591 (CFLAGS-getaliasent.c): Likewise.
24592 (CFLAGS-getrpcent_r.c): Likewise.
24593 (CFLAGS-getrpcent.c): Likewise.
24594 (CFLAGS-getservent_r.c): Likewise.
24595 (CFLAGS-getservent.c): Likewise.
24596 (CFLAGS-getprtent_r.c): Likewise.
24597 (CFLAGS-getprtent.c): Likewise.
24598 (CFLAGS-either_ntoh.c): Likewise.
24599 (CFLAGS-either_hton.c): Likewise.
24600 (CFLAGS-getnetgrent.c): Likewise.
24601 (CFLAGS-getnetgrent_r.c): Likewise.
24602 (CFLAGS-tst-checks-posix.c): Likewise.
24603 (CFLAGS-tst-sockaddr.c): Likewise.
24604 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24605 (CFLAGS-tst-translit.c): Likewise.
24606 (CFLAGS-tst-gettext2.c): Likewise.
24607 (CFLAGS-tst-codeset.c): Likewise.
24608 (CFLAGS-tst-gettext3.c): Likewise.
24609 (CFLAGS-tst-gettext4.c): Likewise.
24610 (CFLAGS-tst-gettext5.c): Likewise.
24611 (CFLAGS-tst-gettext6.c): Likewise.
24612 * io/Makefile (CFLAGS-open.c): Likewise.
24613 (CFLAGS-open64.c): Likewise.
24614 (CFLAGS-creat.c): Likewise.
24615 (CFLAGS-creat64.c): Likewise.
24616 (CFLAGS-fcntl.c): Likewise.
24617 (CFLAGS-poll.c): Likewise.
24618 (CFLAGS-ppoll.c): Likewise.
24619 (CFLAGS-lockf.c): Likewise.
24620 (CFLAGS-statfs.c): Likewise.
24621 (CFLAGS-fstatfs.c): Likewise.
24622 (CFLAGS-statvfs.c): Likewise.
24623 (CFLAGS-fstatvfs.c): Likewise.
24624 (CFLAGS-fts.c): Likewise.
24625 (CFLAGS-fts64.c): Likewise.
24626 (CFLAGS-ftw.c): Likewise.
24627 (CFLAGS-ftw64.c): Likewise.
24628 (CFLAGS-lockf.c): Likewise.
24629 (CFLAGS-posix_fallocate.c): Likewise.
24630 (CFLAGS-posix_fallocate64.c): Likewise.
24631 (CFLAGS-fallocate.c): Likewise.
24632 (CFLAGS-fallocate64.c): Likewise.
24633 (CFLAGS-read.c): Likewise.
24634 (CFLAGS-write.c): Likewise.
24635 (CFLAGS-test-stat.c): Likewise.
24636 (CFLAGS-test-lfs.c): Likewise.
24637 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24638 (CFLAGS-fputc.c): Likewise.
24639 (CFLAGS-fputwc.c): Likewise.
24640 (CFLAGS-freopen64.c): Likewise.
24641 (CFLAGS-freopen.c): Likewise.
24642 (CFLAGS-fseek.c): Likewise.
24643 (CFLAGS-fseeko64.c): Likewise.
24644 (CFLAGS-fseeko.c): Likewise.
24645 (CFLAGS-ftello64.c): Likewise.
24646 (CFLAGS-ftello.c): Likewise.
24647 (CFLAGS-fwide.c): Likewise.
24648 (CFLAGS-genops.c): Likewise.
24649 (CFLAGS-getc.c): Likewise.
24650 (CFLAGS-getchar.c): Likewise.
24651 (CFLAGS-getwc.c): Likewise.
24652 (CFLAGS-getwchar.c): Likewise.
24653 (CFLAGS-iofclose.c): Likewise.
24654 (CFLAGS-iofflush.c): Likewise.
24655 (CFLAGS-iofgetpos64.c): Likewise.
24656 (CFLAGS-iofgetpos.c): Likewise.
24657 (CFLAGS-iofgets.c): Likewise.
24658 (CFLAGS-iofgetws.c): Likewise.
24659 (CFLAGS-iofputs.c): Likewise.
24660 (CFLAGS-iofputws.c): Likewise.
24661 (CFLAGS-iofread.c): Likewise.
24662 (CFLAGS-iofsetpos64.c): Likewise.
24663 (CFLAGS-iofsetpos.c): Likewise.
24664 (CFLAGS-ioftell.c): Likewise.
24665 (CFLAGS-iofwrite.c): Likewise.
24666 (CFLAGS-iogetdelim.c): Likewise.
24667 (CFLAGS-iogetline.c): Likewise.
24668 (CFLAGS-iogets.c): Likewise.
24669 (CFLAGS-iogetwline.c): Likewise.
24670 (CFLAGS-ioputs.c): Likewise.
24671 (CFLAGS-ioseekoff.c): Likewise.
24672 (CFLAGS-ioseekpos.c): Likewise.
24673 (CFLAGS-iosetbuffer.c): Likewise.
24674 (CFLAGS-iosetvbuf.c): Likewise.
24675 (CFLAGS-ioungetc.c): Likewise.
24676 (CFLAGS-ioungetwc.c): Likewise.
24677 (CFLAGS-oldfileops.c): Likewise.
24678 (CFLAGS-oldiofclose.c): Likewise.
24679 (CFLAGS-oldiofgetpos64.c): Likewise.
24680 (CFLAGS-oldiofgetpos.c): Likewise.
24681 (CFLAGS-oldiofsetpos64.c): Likewise.
24682 (CFLAGS-oldiofsetpos.c): Likewise.
24683 (CFLAGS-peekc.c): Likewise.
24684 (CFLAGS-putc.c): Likewise.
24685 (CFLAGS-putchar.c): Likewise.
24686 (CFLAGS-putwc.c): Likewise.
24687 (CFLAGS-putwchar.c): Likewise.
24688 (CFLAGS-rewind.c): Likewise.
24689 (CFLAGS-wfileops.c): Likewise.
24690 (CFLAGS-wgenops.c): Likewise.
24691 (CFLAGS-oldiofopen.c): Likewise.
24692 (CFLAGS-iofopen.c): Likewise.
24693 (CFLAGS-iofopen64.c): Likewise.
24694 (CFLAGS-oldtmpfile.c): Likewise.
24695 (CFLAGS-tst_putwc.c): Likewise.
24696 * locale/Makefile (CFLAGS-md5.c): Likewise.
24697 (CFLAGS-charmap.c): Likewise.
24698 (CFLAGS-locfile.c): Likewise.
24699 (CFLAGS-charmap-dir.c): Likewise.
24700 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24701 (CFLAGS-getpt.c): Likewise.
24702 (CFLAGS-pt_chown.c): Likewise.
24703 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24704 (CFLAGS-obstack.c): Likewise.
24705 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24706 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24707 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24708 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24709 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24710 (CFLAGS-test-tgmath.c): Likewise.
24711 (CFLAGS-test-tgmath2.c): Likewise.
24712 (CFLAGS-test-tgmath-ret.c): Likewise.
24713 (CFLAGS-test-powl.c): Likewise.
24714 (CFLAGS-test-snan.c): Likewise.
24715 (CFLAGS-test-signgam-finite.c): Likewise.
24716 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24717 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24718 (CFLAGS-test-signgam-uchar.c): Likewise.
24719 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24720 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24721 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24722 (CFLAGS-test-signgam-uint.c): Likewise.
24723 (CFLAGS-test-signgam-uint-init.c): Likewise.
24724 (CFLAGS-test-signgam-uint-static.c): Likewise.
24725 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24726 (CFLAGS-test-signgam-ullong.c): Likewise.
24727 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24728 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24729 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24730 (CFLAGS-test-math-cxx11.cc): Likewise.
24731 (CFLAGS-test-math-isinff.cc): Likewise.
24732 (CFLAGS-test-math-iszero.cc): Likewise.
24733 (CFLAGS-test-math-issignaling.cc): Likewise.
24734 (CFLAGS-test-math-iscanonical.cc): Likewise.
24735 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24736 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24737 (CFLAGS-test-flt-eval-method.c): Likewise.
24738 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24739 (CFLAGS-test-finite-macros.c): Likewise.
24740 * misc/Makefile (CFLAGS-select.c): Likewise.
24741 (CFLAGS-tsearch.c): Likewise.
24742 (CFLAGS-lsearch.c): Likewise.
24743 (CFLAGS-pselect.c): Likewise.
24744 (CFLAGS-readv.c): Likewise.
24745 (CFLAGS-writev.c): Likewise.
24746 (CFLAGS-preadv.c): Likewise.
24747 (CFLAGS-preadv64.c): Likewise.
24748 (CFLAGS-pwritev.c): Likewise.
24749 (CFLAGS-pwritev64.c): Likewise.
24750 (CFLAGS-preadv2.c): Likewise.
24751 (CFLAGS-preadv64v2.c): Likewise.
24752 (CFLAGS-pwritev2.c): Likewise.
24753 (CFLAGS-pwritev64v2.c): Likewise.
24754 (CFLAGS-usleep.c): Likewise.
24755 (CFLAGS-syslog.c): Likewise.
24756 (CFLAGS-error.c): Likewise.
24757 (CFLAGS-getpass.c): Likewise.
24758 (CFLAGS-mkstemp.c): Likewise.
24759 (CFLAGS-mkstemp64.c): Likewise.
24760 (CFLAGS-getsysstats.c): Likewise.
24761 (CFLAGS-getusershell.c): Likewise.
24762 (CFLAGS-err.c): Likewise.
24763 (CFLAGS-tst-tsearch.c): Likewise.
24764 (CFLAGS-msync.c): Likewise.
24765 (CFLAGS-fdatasync.c): Likewise.
24766 (CFLAGS-fsync.c): Likewise.
24767 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24768 (CFLAGS-unwind.c): Likewise.
24769 (CFLAGS-unwind-forcedunwind.c): Likewise.
24770 (CFLAGS-pthread_cancel.c): Likewise.
24771 (CFLAGS-pthread_setcancelstate.c): Likewise.
24772 (CFLAGS-pthread_setcanceltype.c): Likewise.
24773 (CFLAGS-cancellation.c): Likewise.
24774 (CFLAGS-libc-cancellation.c): Likewise.
24775 (CFLAGS-pthread_exit.c): Likewise.
24776 (CFLAGS-forward.c): Likewise.
24777 (CFLAGS-pthread_testcancel.c): Likewise.
24778 (CFLAGS-pthread_join.c): Likewise.
24779 (CFLAGS-pthread_timedjoin.c): Likewise.
24780 (CFLAGS-pthread_once.c): Likewise.
24781 (CFLAGS-pthread_cond_wait.c): Likewise.
24782 (CFLAGS-sem_wait.c): Likewise.
24783 (CFLAGS-sem_timedwait.c): Likewise.
24784 (CFLAGS-fcntl.c): Likewise.
24785 (CFLAGS-lockf.c): Likewise.
24786 (CFLAGS-pread.c): Likewise.
24787 (CFLAGS-pread64.c): Likewise.
24788 (CFLAGS-pwrite.c): Likewise.
24789 (CFLAGS-pwrite64.c): Likewise.
24790 (CFLAGS-wait.c): Likewise.
24791 (CFLAGS-waitpid.c): Likewise.
24792 (CFLAGS-sigwait.c): Likewise.
24793 (CFLAGS-msgrcv.c): Likewise.
24794 (CFLAGS-msgsnd.c): Likewise.
24795 (CFLAGS-tcdrain.c): Likewise.
24796 (CFLAGS-open.c): Likewise.
24797 (CFLAGS-open64.c): Likewise.
24798 (CFLAGS-pause.c): Likewise.
24799 (CFLAGS-recv.c): Likewise.
24800 (CFLAGS-send.c): Likewise.
24801 (CFLAGS-accept.c): Likewise.
24802 (CFLAGS-sendto.c): Likewise.
24803 (CFLAGS-connect.c): Likewise.
24804 (CFLAGS-recvfrom.c): Likewise.
24805 (CFLAGS-recvmsg.c): Likewise.
24806 (CFLAGS-sendmsg.c): Likewise.
24807 (CFLAGS-close.c): Likewise.
24808 (CFLAGS-read.c): Likewise.
24809 (CFLAGS-write.c): Likewise.
24810 (CFLAGS-nanosleep.c): Likewise.
24811 (CFLAGS-sigsuspend.c): Likewise.
24812 (CFLAGS-msync.c): Likewise.
24813 (CFLAGS-fdatasync.c): Likewise.
24814 (CFLAGS-fsync.c): Likewise.
24815 (CFLAGS-pt-system.c): Likewise.
24816 (CFLAGS-tst-cleanup2.c): Likewise.
24817 (CFLAGS-tst-cleanupx2.c): Likewise.
24818 (CFLAGS-flockfile.c): Likewise.
24819 (CFLAGS-ftrylockfile.c): Likewise.
24820 (CFLAGS-funlockfile.c): Likewise.
24821 (CFLAGS-tst-initializers1.c): Likewise.
24822 (CFLAGS-tst-initializers1-c89.c): Likewise.
24823 (CFLAGS-tst-initializers1-c99.c): Likewise.
24824 (CFLAGS-tst-initializers1-c11.c): Likewise.
24825 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24826 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24827 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24828 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24829 (CFLAGS-nscd_getgr_r.c): Likewise.
24830 (CFLAGS-nscd_gethst_r.c): Likewise.
24831 (CFLAGS-nscd_getai.c): Likewise.
24832 (CFLAGS-nscd_initgroups.c): Likewise.
24833 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24834 (CFLAGS-pause.c): Likewise.
24835 (CFLAGS-pread.c): Likewise.
24836 (CFLAGS-pread64.c): Likewise.
24837 (CFLAGS-pwrite.c): Likewise.
24838 (CFLAGS-pwrite64.c): Likewise.
24839 (CFLAGS-sleep.c): Likewise.
24840 (CFLAGS-wait.c): Likewise.
24841 (CFLAGS-waitid.c): Likewise.
24842 (CFLAGS-waitpid.c): Likewise.
24843 (CFLAGS-getopt.c): Likewise.
24844 (CFLAGS-wordexp.c): Likewise.
24845 (CFLAGS-sysconf.c): Likewise.
24846 (CFLAGS-pathconf.c): Likewise.
24847 (CFLAGS-fpathconf.c): Likewise.
24848 (CFLAGS-spawn.c): Likewise.
24849 (CFLAGS-spawnp.c): Likewise.
24850 (CFLAGS-spawni.c): Likewise.
24851 (CFLAGS-glob.c): Likewise.
24852 (CFLAGS-glob64.c): Likewise.
24853 (CFLAGS-getconf.c): Likewise.
24854 (CFLAGS-nanosleep.c): Likewise.
24855 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24856 (CFLAGS-getpwent.c): Likewise.
24857 (CFLAGS-getpw.c): Likewise.
24858 (CFLAGS-fgetpwent_r.c): Likewise.
24859 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24860 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24861 (CFLAGS-mq_timedreceive.c): Likewise.
24862 (CFLAGS-mq_timedsend.c): Likewise.
24863 (CFLAGS-clock_nanosleep.c): Likewise.
24864 (CFLAGS-librt-cancellation.c): Likewise.
24865 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24866 (CFLAGS-getspent.c): Likewise.
24867 (CFLAGS-fgetspent.c): Likewise.
24868 (CFLAGS-fgetspent_r.c): Likewise.
24869 (CFLAGS-putspent.c): Likewise.
24870 (CFLAGS-getspnam.c): Likewise.
24871 (CFLAGS-getspnam_r.c): Likewise.
24872 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24873 (CFLAGS-sigsuspend.c): Likewise.
24874 (CFLAGS-sigtimedwait.c): Likewise.
24875 (CFLAGS-sigwait.c): Likewise.
24876 (CFLAGS-sigwaitinfo.c): Likewise.
24877 (CFLAGS-sigreturn.c): Likewise.
24878 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24879 (CFLAGS-vfwprintf.c): Likewise.
24880 (CFLAGS-tmpfile.c): Likewise.
24881 (CFLAGS-tmpfile64.c): Likewise.
24882 (CFLAGS-tempname.c): Likewise.
24883 (CFLAGS-psignal.c): Likewise.
24884 (CFLAGS-vprintf.c): Likewise.
24885 (CFLAGS-cuserid.c): Likewise.
24886 (CFLAGS-errlist.c): Likewise.
24887 (CFLAGS-siglist.c): Likewise.
24888 (CFLAGS-scanf15.c): Likewise.
24889 (CFLAGS-scanf17.c): Likewise.
24890 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24891 (CFLAGS-msort.c): Likewise.
24892 (CFLAGS-qsort.c): Likewise.
24893 (CFLAGS-system.c): Likewise.
24894 (CFLAGS-fmtmsg.c): Likewise.
24895 (CFLAGS-strfmon.c): Likewise.
24896 (CFLAGS-strfmon_l.c): Likewise.
24897 (CFLAGS-strfromd.c): Likewise.
24898 (CFLAGS-strfromf.c): Likewise.
24899 (CFLAGS-strfroml.c): Likewise.
24900 (CFLAGS-tst-bsearch.c): Likewise.
24901 (CFLAGS-tst-qsort.c): Likewise.
24902 (CFLAGS-tst-makecontext2.c): Likewise.
24903 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24904 (CFLAGS-xnlm_prot.c): Likewise.
24905 (CFLAGS-xrstat.c): Likewise.
24906 (CFLAGS-xyppasswd.c): Likewise.
24907 (CFLAGS-xklm_prot.c): Likewise.
24908 (CFLAGS-xrex.c): Likewise.
24909 (CFLAGS-xsm_inter.c): Likewise.
24910 (CFLAGS-xmount.c): Likewise.
24911 (CFLAGS-xrusers.c): Likewise.
24912 (CFLAGS-xspray.c): Likewise.
24913 (CFLAGS-xnfs_prot.c): Likewise.
24914 (CFLAGS-xrquota.c): Likewise.
24915 (CFLAGS-xkey_prot.c): Likewise.
24916 (CFLAGS-auth_unix.c): Likewise.
24917 (CFLAGS-key_call.c): Likewise.
24918 (CFLAGS-pmap_rmt.c): Likewise.
24919 (CFLAGS-clnt_perr.c): Likewise.
24920 (CFLAGS-openchild.c): Likewise.
24921 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24922 (CFLAGS-msgsnd.c): Likewise.
24923 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24924 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24925 (CFLAGS-tzset.c): Likewise.
24926 (CFLAGS-getdate.c): Likewise.
24927 (CFLAGS-test_time.c): Likewise.
24928 (CPPFLAGS-tst-tzname.c): Likewise.
24929 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24930 (CFLAGS-zic.c): Likewise.
24931 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24932 (CFLAGS-wcswidth.c): Likewise.
24933 (CFLAGS-wcstol.c): Likewise.
24934 (CFLAGS-wcstoul.c): Likewise.
24935 (CFLAGS-wcstoll.c): Likewise.
24936 (CFLAGS-wcstoull.c): Likewise.
24937 (CFLAGS-wcstod.c): Likewise.
24938 (CFLAGS-wcstold.c): Likewise.
24939 (CFLAGS-wcstof128.c): Likewise.
24940 (CFLAGS-wcstof.c): Likewise.
24941 (CFLAGS-wcstol_l.c): Likewise.
24942 (CFLAGS-wcstoul_l.c): Likewise.
24943 (CFLAGS-wcstoll_l.c): Likewise.
24944 (CFLAGS-wcstoull_l.c): Likewise.
24945 (CFLAGS-wcstod_l.c): Likewise.
24946 (CFLAGS-wcstold_l.c): Likewise.
24947 (CFLAGS-wcstof128_l.c): Likewise.
24948 (CFLAGS-wcstof_l.c): Likewise.
24949 (CPPFLAGS-tst-wchar-h.c): Likewise.
24950 (CPPFLAGS-wcstold_l.c): Likewise.
24952 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24954 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24956 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24957 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24959 * manual/tunables.texi (Hardware Capability Tunables): Document
24960 glibc.tune.cached_memopt.
24961 * sysdeps/powerpc/cpu-features.c: New file.
24962 * sysdeps/powerpc/cpu-features.h: New file.
24963 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24964 _dl_powerpc_cpu_features.
24965 * sysdeps/powerpc/dl-tunables.list: New file.
24966 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24967 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24968 (INIT_ARCH): Initialize use_aligned_memopt.
24969 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24970 IS_IN(rtld))]: Restrict dl_platform_init availability and
24971 initialize CPU features used by tunables.
24972 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24973 Add memcpy-power8-cached.
24974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24975 __memcpy_power8_cached.
24976 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24977 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24980 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24982 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24983 (CFLAGS-noinl-tester.c): Likewise.
24984 (CFLAGS-tst-strlen.c): Likewise.
24985 (CFLAGS-stratcliff.c): Likewise.
24986 (CFLAGS-test-ffs.c): Likewise.
24987 (CFLAGS-tst-inlcall.c): Likewise.
24988 (CFLAGS-tst-xbzero-opt.c): Likewise.
24989 (CFLAGS-memcpy.c): Likewise.
24990 (CFLAGS-wordcopy.c): Likewise.
24992 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24994 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24995 Store r15 on stack and add cfi rule.
24996 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24999 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25002 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25005 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25007 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25008 Add s_sinf-sse2 and s_sinf-fma.
25009 (CFLAGS-s_sinf-fma.c): New.
25010 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25011 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25012 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25014 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25016 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25018 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25021 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25022 part of result to imaginary part of argument if it is zero and the
25023 real part of the argument is not finite.
25024 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25025 of result to real part of argument if it is zero and the imaginary
25026 part of the argument is not finite.
25028 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25031 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25032 and to the list of locales to be built for testing.
25033 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25034 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25035 and build the collation rules upon that.
25037 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25039 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25040 * manual/math.texi (Mathematics): Document support for _Float32.
25041 * math/Makefile (test-types): Add float32.
25042 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25043 * stdlib/Versions (GLIBC_2.27): Likewise.
25044 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25045 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25046 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25047 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25048 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25049 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25050 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25051 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25052 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25053 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25054 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25055 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25056 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25057 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25058 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25059 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25060 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25061 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25062 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25063 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25064 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25065 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25067 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25068 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25069 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25070 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25071 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25089 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25090 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25091 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25092 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25093 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25094 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25095 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25096 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25097 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25098 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25107 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25108 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25109 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25110 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25111 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25112 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25113 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25114 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25116 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25118 * stdlib/strtof.c: Include <bits/floatn.h>
25119 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25120 and later undefine as macro. Define as weak alias if
25122 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25123 and later undefine as macro. Define as weak alias if
25125 * stdlib/strtof_l.c: Include <bits/floatn.h>
25126 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25127 and later undefine as macro. Define as weak alias if
25129 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25130 and later undefine as macro. Define as weak alias if
25133 * stdlib/strfromf.c: Include <bits/floatn.h>.
25134 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25135 and later undefine as macro and define as weak alias.
25137 * math/test-float32.h: New file.
25139 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25140 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25141 (libm_alias_float_other_r): Create f32 alias.
25142 (libm_alias_float_r): Use semicolon before call to
25143 libm_alias_float_other_r.
25145 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25146 second argument to libm_alias_float_other.
25147 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25148 second argument to libm_alias_float_other.
25149 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25150 argument to libm_alias_float_other.
25153 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25154 real part of result for argument 0 + i * NaN.
25155 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25156 results for tests of 0 + i * NaN.
25158 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25160 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25162 2017-12-06 David S. Miller <davem@davemloft.net>
25164 * sysdeps/sparc/fpu/libm-test-ulps: Update
25165 exp_{downward,towardzero,upward} ulps.
25167 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25169 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25172 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25174 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25176 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25178 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25181 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25184 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25185 and to the list of locales to be built for testing.
25186 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25187 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25188 and build the collation rules upon that.
25190 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25192 * NEWS: Add sinf to list of optimized functions.
25194 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25196 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25197 (__HAVE_FLOAT32X): Likewise.
25198 * manual/math.texi (Mathematics): Document support for _Float64
25200 * math/Makefile (test-types): Add float64 and float32x.
25201 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25203 * stdlib/Versions (GLIBC_2.27): Likewise.
25204 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25205 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25206 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25207 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25208 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25209 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25210 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25211 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25212 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25213 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25214 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25215 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25216 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25217 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25218 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25219 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25220 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25221 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25222 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25223 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25224 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25225 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25227 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25228 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25229 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25230 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25231 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25248 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25249 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25250 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25251 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25252 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25253 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25254 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25255 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25256 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25257 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25266 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25267 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25268 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25269 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25270 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25271 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25272 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25273 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25275 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25277 * bits/floatn-common.h: Include <bits/long-double.h>.
25278 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25279 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25280 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25281 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25282 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25283 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25284 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25285 (__builtin_huge_valf64): Use __builtin_huge_vall.
25286 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25287 (__builtin_inff64): Use __builtin_infl.
25288 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25289 (__builtin_nanf64): Use __builtin_nanl.
25290 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25291 (__builtin_nansf64): Use __builtin_nansl.
25293 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25294 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25295 Carlos O'Donell <carlos@redhat.com>
25297 * elf/dl-tunables.list: Add elision parameters.
25298 * manual/tunables.texi: Add entries about elision tunable.
25299 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25300 Add callback functions to dynamically enable/disable elision.
25301 Add multiple callbacks functions to set elision parameters.
25302 Deleted __libc_enable_secure check.
25303 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25304 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25305 * configure: Regenerated.
25306 * configure.ac: Option enable_lock_elision was deleted.
25307 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25308 * config.make.in: Remove references to enable_lock_elision.
25309 * manual/install.texi: Elision configure option was removed.
25310 * INSTALL: Regenerated to remove enable_lock_elision.
25312 Disable elision so it can verify error case for destroying a mutex.
25313 * sysdeps/powerpc/nptl/elide.h:
25314 Cleanup ENABLE_LOCK_ELISION check.
25315 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25316 * sysdeps/s390/configure: Regenerated.
25317 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25318 * nptl/tst-mutex8.c:
25319 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25320 * sysdeps/powerpc/powerpc32/sysdep.h:
25321 Deleted all ENABLE_LOCK_ELISION checks.
25322 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25323 * sysdeps/powerpc/sysdep.h: Likewise.
25324 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25325 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25326 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25327 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25328 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25329 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25330 enable-lock-elision.
25332 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25334 * stdlib/strtod.c: Include <bits/floatn.h>.
25335 (BUILD_DOUBLE): New macro.
25336 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25337 (strtof64): Define and later undefine as macro. Define as weak
25338 alias if [!USE_WIDE_CHAR].
25339 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25340 (wcstof64): Define and later undefine as macro. Define as weak
25341 alias if [USE_WIDE_CHAR].
25342 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25343 (strtof32x): Define and later undefine as macro. Define as weak
25344 alias if [!USE_WIDE_CHAR].
25345 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25346 (wcstof32x): Define and later undefine as macro. Define as weak
25347 alias if [USE_WIDE_CHAR].
25348 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25349 (BUILD_DOUBLE): New macro.
25350 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25351 (strtof64_l): Define and later undefine as macro. Define as weak
25352 alias if [!USE_WIDE_CHAR].
25353 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25354 (wcstof64_l): Define and later undefine as macro. Define as weak
25355 alias if [USE_WIDE_CHAR].
25356 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25357 (strtof32x_l): Define and later undefine as macro. Define as weak
25358 alias if [!USE_WIDE_CHAR].
25359 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25360 (wcstof32x_l): Define and later undefine as macro. Define as weak
25361 alias if [USE_WIDE_CHAR].
25363 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25365 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25366 (reduced): Use ones as double instead of integer.
25368 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25370 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25372 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25374 * stdlib/strfromd.c: Include <bits/floatn.h>.
25375 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25376 and later undefine as macro and define as weak alias.
25377 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25380 * math/test-float32x.h: New file.
25381 * math/test-float64.h: Likewise.
25383 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25384 (libm_alias_double_other_r_f64): New macro.
25385 (libm_alias_double_other_r_f32x): Likewise.
25386 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25387 libm_alias_double_other_r_f32x.
25388 (libm_alias_double_r): Use semicolon before call to
25389 libm_alias_double_other_r.
25390 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25392 (libm_alias_double_other_r_f64): New macro.
25393 (libm_alias_double_other_r_f32x): Likewise.
25394 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25395 libm_alias_double_other_r_f32x.
25397 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25399 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25401 (SINF_FUNC): Likewise. Replace floor with simple casts.
25403 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25406 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25407 and to the list of locales to be built for testing.
25408 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25409 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25410 and build the collation rules upon that.
25412 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25414 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25415 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25416 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25417 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25418 instead of __insn__xxx.
25419 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25420 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25421 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25422 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25423 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25424 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25426 2017-12-05 Florian Weimer <fweimer@redhat.com>
25428 Linux: Implement interfaces for memory protection keys
25429 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25431 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25432 * support/xunistd.h (xsysconf): Declare.
25433 * support/xraise.c: New file.
25434 * support/xsigaction.c: Likewise.
25435 * support/xsignal.c: Likewise.
25436 * support/xsysconf.c: Likewise.
25437 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25438 pkey_set, pkey_get, pkey_mprotect.
25439 [misc] (tests): Add tst-pkey.
25440 (tst-pkey): Link with -lpthread.
25441 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25442 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25443 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25444 (PKEY_DISABLE_WRITE): Define.
25445 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25447 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25448 (SEGV_PKUERR): Add.
25449 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25450 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25451 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25452 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25454 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25455 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25456 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25457 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25458 * sysdeps/unix/sysv/linux/**.abilist: Update.
25460 2017-12-05 Florian Weimer <fweimer@redhat.com>
25462 * support/tst-test_compare.c (subprocess): Use long long instead
25463 of long argument for consistent type width across 32-bit and
25464 64-bit architectures.
25465 (do_test): Adjust expected output.
25467 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25469 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25470 (cosf): Define using libm_alias_float.
25471 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25472 (fabsf): Define using libm_alias_float.
25473 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25474 (fmaf): Define using libm_alias_float.
25475 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25476 (rintf): Define using libm_alias_float.
25477 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25478 (sinf): Define using libm_alias_float.
25479 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25480 <libm-alias-float.h>.
25481 (modff): Define using libm_alias_float.
25482 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25483 <libm-alias-float.h>.
25484 (logbf): Define using libm_alias_float.
25485 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25486 <libm-alias-float.h>.
25487 (ceilf): Define using libm_alias_float.
25488 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25489 <libm-alias-float.h>.
25490 (copysignf): Define using libm_alias_float.
25491 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25492 <libm-alias-float.h>.
25493 (floorf): Define using libm_alias_float.
25494 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25495 <libm-alias-float.h>.
25496 (llrintf): Define using libm_alias_float.
25497 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25498 <libm-alias-float.h>.
25499 (llroundf): Define using libm_alias_float.
25500 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25501 <libm-alias-float.h>.
25502 (lrintf): Define using libm_alias_float.
25503 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25504 <libm-alias-float.h>.
25505 (lroundf): Define using libm_alias_float.
25506 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25507 <libm-alias-float.h>.
25508 (nearbyintf): Define using libm_alias_float.
25509 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25510 <libm-alias-float.h>.
25511 (rintf): Define using libm_alias_float.
25512 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25513 <libm-alias-float.h>.
25514 (roundf): Define using libm_alias_float.
25515 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25516 <libm-alias-float.h>.
25517 (truncf): Define using libm_alias_float.
25518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25519 Include <libm-alias-float.h>.
25520 (ceilf): Define using libm_alias_float.
25521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25522 Include <libm-alias-float.h>.
25523 (copysignf): Define using libm_alias_float.
25524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25525 Include <libm-alias-float.h>.
25526 (floorf): Define using libm_alias_float.
25527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25528 Include <libm-alias-float.h>.
25529 (llrintf): Define using libm_alias_float.
25530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25531 Include <libm-alias-float.h>.
25532 (llroundf): Define using libm_alias_float.
25533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25534 Include <libm-alias-float.h>.
25535 (logbf): Define using libm_alias_float.
25536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25537 Include <libm-alias-float.h>.
25538 (lrintf): Define using libm_alias_float.
25539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25540 Include <libm-alias-float.h>.
25541 (lroundf): Define using libm_alias_float.
25542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25543 Include <libm-alias-float.h>.
25544 (modff): Define using libm_alias_float.
25545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25546 Include <libm-alias-float.h>.
25547 (roundf): Define using libm_alias_float.
25548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25549 Include <libm-alias-float.h>.
25550 (truncf): Define using libm_alias_float.
25551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25552 <libm-alias-float.h>.
25553 (llrintf): Define using libm_alias_float.
25554 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25555 <libm-alias-float.h>.
25556 (llroundf): Define using libm_alias_float.
25557 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25558 <libm-alias-float.h>.
25559 (ceilf): Define using libm_alias_float.
25560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25561 <libm-alias-float.h>.
25562 (floorf): Define using libm_alias_float.
25563 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25564 <libm-alias-float.h>.
25565 (llroundf): Define using libm_alias_float.
25566 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25567 <libm-alias-float.h>.
25568 (lroundf): Define using libm_alias_float.
25569 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25570 <libm-alias-float.h>.
25571 (roundf): Define using libm_alias_float.
25572 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25573 <libm-alias-float.h>.
25574 (truncf): Define using libm_alias_float.
25575 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25576 <libm-alias-float.h>.
25577 (copysignf): Define using libm_alias_float.
25578 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25579 <libm-alias-float.h>.
25580 (llrintf): Define using libm_alias_float.
25581 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25582 <libm-alias-float.h>.
25583 (llroundf): Define using libm_alias_float.
25584 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25585 <libm-alias-float.h>.
25586 (lrintf): Define using libm_alias_float.
25587 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25588 <libm-alias-float.h>.
25589 (lroundf): Define using libm_alias_float.
25590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25591 <libm-alias-float.h>.
25592 (ceilf): Define using libm_alias_float.
25593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25594 <libm-alias-float.h>.
25595 (copysignf): Define using libm_alias_float.
25596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25597 <libm-alias-float.h>.
25598 (cosf): Define using libm_alias_float.
25599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25600 <libm-alias-float.h>.
25601 (floorf): Define using libm_alias_float.
25602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25603 <libm-alias-float.h>.
25604 (llrintf): Define using libm_alias_float.
25605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25606 <libm-alias-float.h>.
25607 (llroundf): Define using libm_alias_float.
25608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25609 <libm-alias-float.h>.
25610 (logbf): Define using libm_alias_float.
25611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25612 <libm-alias-float.h>.
25613 (modff): Define using libm_alias_float.
25614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25615 <libm-alias-float.h>.
25616 (roundf): Define using libm_alias_float.
25617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25618 <libm-alias-float.h>.
25619 (sinf): Define using libm_alias_float.
25620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25621 <libm-alias-float.h>.
25622 (truncf): Define using libm_alias_float.
25623 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25624 <libm-alias-float.h>.
25625 (ceilf): Define using libm_alias_float.
25626 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25627 <libm-alias-float.h>.
25628 (copysignf): Define using libm_alias_float.
25629 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25630 <libm-alias-float.h>.
25631 (floorf): Define using libm_alias_float.
25632 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25633 <libm-alias-float.h>.
25634 (llrintf): Define using libm_alias_float.
25635 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25636 <libm-alias-float.h>.
25637 (llroundf): Define using libm_alias_float.
25638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25639 <libm-alias-float.h>.
25640 (nearbyintf): Define using libm_alias_float.
25641 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25642 <libm-alias-float.h>.
25643 (rintf): Define using libm_alias_float.
25644 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25645 <libm-alias-float.h>.
25646 (roundf): Define using libm_alias_float.
25647 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25648 <libm-alias-float.h>.
25649 (truncf): Define using libm_alias_float.
25650 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25651 <libm-alias-float.h>.
25652 (ceilf): Define using libm_alias_float.
25653 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25654 <libm-alias-float.h>.
25655 (floorf): Define using libm_alias_float.
25656 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25657 <libm-alias-float.h>.
25658 (llroundf): Define using libm_alias_float.
25659 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25660 <libm-alias-float.h>.
25661 (roundf): Define using libm_alias_float.
25662 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25663 <libm-alias-float.h>.
25664 (truncf): Define using libm_alias_float.
25665 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25666 <libm-alias-float.h>.
25667 (copysignf): Define using libm_alias_float.
25668 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25669 <libm-alias-float.h>.
25670 (llrintf): Define using libm_alias_float.
25671 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25672 <libm-alias-float.h>.
25673 (llroundf): Define using libm_alias_float.
25674 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25675 <libm-alias-float.h>.
25676 (cosf): Define using libm_alias_float.
25677 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25678 <libm-alias-float.h>.
25679 (llrintf): Define using libm_alias_float.
25680 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25681 <libm-alias-float.h>.
25682 (llroundf): Define using libm_alias_float.
25683 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25684 <libm-alias-float.h>.
25685 (sinf): Define using libm_alias_float.
25687 2017-12-04 Florian Weimer <fweimer@redhat.com>
25689 * support/check.h (TEST_COMPARE): Define.
25690 (support_test_compare_failure): Declare.
25691 * support/Makefile (libsupport-routines): Add
25692 support_test_compare_failure.
25693 (tests): Add tst-test_compare.
25694 * support /support_test_compare_failure.c: New file.
25695 * support/tst-test_compare.c: Likewise.
25697 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25700 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25701 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25702 available, this rewrite of the collation rules does reproduce
25703 the test file in the same order.
25705 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25708 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25709 digraphs in the month and day names. Using single code points for
25710 digraphs is deprecated. While there are dedicated Unicode
25711 codepoints, for the digraphs, these are included for backwards
25712 compatibility and modern texts use a sequence of Basic Latin
25713 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25714 This makes the month and day names agree exactly with CLDR now,
25715 CLDR does not use the single code points for the digraphs either.
25717 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25719 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25721 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25723 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25726 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25728 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25729 Define only for libc.so.
25731 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25733 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25734 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25735 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25736 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25739 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25742 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25744 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25747 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25748 PREINIT_FUNCTION_WEAK is nonzero.
25749 (gmon_initializer): New function. Put procedure label for it in
25750 .init_array section.
25751 (_init): Don't call PREINIT_FUNCTION.
25752 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25753 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25754 value when map argument is null.
25756 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25757 depi instruction from PIC pc-relative sequence.
25758 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25759 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25760 (elf_machine_load_address): Likewise.
25761 (elf_machine_runtime_setup): Likewise.
25763 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25765 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25766 <libm-alias-double.h>.
25767 (logb): Define using libm_alias_double.
25768 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25769 <libm-alias-double.h>.
25770 (copysign): Define using libm_alias_double.
25771 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25772 <libm-alias-double.h>.
25773 (llrint): Define using libm_alias_double.
25774 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25775 <libm-alias-double.h>.
25776 (llround): Define using libm_alias_double.
25777 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25778 <libm-alias-double.h>.
25779 (lrint): Define using libm_alias_double.
25780 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25781 <libm-alias-double.h>.
25782 (lround): Define using libm_alias_double.
25783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25784 Include <libm-alias-double.h>.
25785 (copysign): Define using libm_alias_double.
25786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25787 Include <libm-alias-double.h>.
25788 (llrint): Define using libm_alias_double.
25789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25790 Include <libm-alias-double.h>.
25791 (llround): Define using libm_alias_double.
25792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25793 <libm-alias-double.h>.
25794 (logb): Define using libm_alias_double.
25795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25796 Include <libm-alias-double.h>.
25797 (lrint): Define using libm_alias_double.
25798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25799 Include <libm-alias-double.h>.
25800 (lround): Define using libm_alias_double.
25801 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25802 <libm-alias-double.h>.
25803 (llrint): Define using libm_alias_double.
25804 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25805 <libm-alias-double.h>.
25806 (llround): Define using libm_alias_double.
25807 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25808 <libm-alias-double.h>.
25809 (llround): Define using libm_alias_double.
25810 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25811 <libm-alias-double.h>.
25812 (lround): Define using libm_alias_double.
25813 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25814 <libm-alias-double.h>.
25815 (copysign): Define using libm_alias_double.
25816 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25817 <libm-alias-double.h>.
25818 (llrint): Define using libm_alias_double.
25819 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25820 <libm-alias-double.h>.
25821 (llround): Define using libm_alias_double.
25822 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25823 <libm-alias-double.h>.
25824 (lrint): Define using libm_alias_double.
25825 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25826 <libm-alias-double.h>.
25827 (lround): Define using libm_alias_double.
25828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25829 <libm-alias-double.h>.
25830 (copysign): Define using libm_alias_double.
25831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25832 <libm-alias-double.h>.
25833 (llrint): Define using libm_alias_double.
25835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25836 <libm-alias-double.h>.
25837 (llround): Define using libm_alias_double.
25838 (lround): Likewise.
25839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25840 <libm-alias-double.h>.
25841 (logb): Define using libm_alias_double.
25842 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25843 <libm-alias-double.h>.
25844 (copysign): Define using libm_alias_double.
25845 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25846 <libm-alias-double.h>.
25847 (llrint): Define using libm_alias_double.
25849 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25850 <libm-alias-double.h>.
25851 (llround): Define using libm_alias_double.
25852 (lround): Likewise.
25853 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25854 <libm-alias-double.h>.
25855 (llround): Define using libm_alias_double.
25856 (lround): Likewise.
25857 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25858 <libm-alias-double.h>.
25859 (copysign): Define using libm_alias_double.
25860 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25861 <libm-alias-double.h>.
25862 (llrint): Define using libm_alias_double.
25864 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25865 <libm-alias-double.h>.
25866 (llround): Define using libm_alias_double.
25867 (lround): Likewise.
25868 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25869 <libm-alias-double.h>.
25870 (llrint): Define using libm_alias_double.
25872 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25873 <libm-alias-double.h>.
25874 (llround): Define using libm_alias_double.
25875 (lround): Likewise.
25877 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25880 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25881 compat symbol based on llround.
25883 * sysdeps/powerpc/power7/fpu/s_logb.c
25884 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25885 symbol based on __logb, not on logb.
25886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25887 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25889 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25891 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25892 (rint): Define using libm_alias_double.
25893 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25894 <libm-alias-double.h>.
25895 (modf): Define using libm_alias_double.
25896 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25897 <libm-alias-double.h>.
25898 (ceil): Define using libm_alias_double.
25899 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25900 <libm-alias-double.h>.
25901 (floor): Define using libm_alias_double.
25902 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25903 <libm-alias-double.h>.
25904 (nearbyint): Define using libm_alias_double.
25905 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25906 <libm-alias-double.h>.
25907 (rint): Define using libm_alias_double.
25908 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25909 <libm-alias-double.h>.
25910 (round): Define using libm_alias_double.
25911 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25912 <libm-alias-double.h>.
25913 (trunc): Define using libm_alias_double.
25914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25915 <libm-alias-double.h>.
25916 (ceil): Define using libm_alias_double.
25917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25918 Include <libm-alias-double.h>.
25919 (floor): Define using libm_alias_double.
25920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25921 <libm-alias-double.h>.
25922 (modf): Define using libm_alias_double.
25923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25924 Include <libm-alias-double.h>.
25925 (round): Define using libm_alias_double.
25926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25927 Include <libm-alias-double.h>.
25928 (trunc): Define using libm_alias_double.
25929 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25930 <libm-alias-double.h>.
25931 (ceil): Define using libm_alias_double.
25932 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25933 <libm-alias-double.h>.
25934 (floor): Define using libm_alias_double.
25935 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25936 <libm-alias-double.h>.
25937 (round): Define using libm_alias_double.
25938 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25939 <libm-alias-double.h>.
25940 (trunc): Define using libm_alias_double.
25941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25942 <libm-alias-double.h>.
25943 (ceil): Define using libm_alias_double.
25944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25945 <libm-alias-double.h>.
25946 (floor): Define using libm_alias_double.
25947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25948 <libm-alias-double.h>.
25949 (modf): Define using libm_alias_double.
25950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25951 <libm-alias-double.h>.
25952 (round): Define using libm_alias_double.
25953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25954 <libm-alias-double.h>.
25955 (trunc): Define using libm_alias_double.
25956 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25957 <libm-alias-double.h>.
25958 (ceil): Define using libm_alias_double.
25959 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25960 <libm-alias-double.h>.
25961 (floor): Define using libm_alias_double.
25962 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25963 <libm-alias-double.h>.
25964 (nearbyint): Define using libm_alias_double.
25965 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25966 <libm-alias-double.h>.
25967 (rint): Define using libm_alias_double.
25968 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25969 <libm-alias-double.h>.
25970 (round): Define using libm_alias_double.
25971 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25972 <libm-alias-double.h>.
25973 (trunc): Define using libm_alias_double.
25974 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25975 <libm-alias-double.h>.
25976 (ceil): Define using libm_alias_double.
25977 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25978 <libm-alias-double.h>.
25979 (floor): Define using libm_alias_double.
25980 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25981 <libm-alias-double.h>.
25982 (round): Define using libm_alias_double.
25983 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25984 <libm-alias-double.h>.
25985 (trunc): Define using libm_alias_double.
25987 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25988 (fabs): Define using libm_alias_double.
25989 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25990 (fma): Define using libm_alias_double.
25991 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25992 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25993 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25994 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25996 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25998 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26000 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26001 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26002 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26005 due redirect macro.
26007 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26009 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26011 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26013 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26014 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26015 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26016 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26019 (libm-sysdep_routines): Add s_nearbyintf-generic and
26020 s_nearbyint-generic.
26021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26034 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26045 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26056 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26067 (sysdep_calls): New rule.
26068 (sysdep_routines): Use sysdep_calls as base.
26069 (libm-sysdep_routines): Add generic rule for symbols shared with
26070 libc. Add s_copysign-generic and s_copysign-generic objects.
26071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26080 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26083 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26084 the list of locales to be built for testing.
26085 * localedata/is_IS.UTF-8.in: New file.
26086 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26089 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26091 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26092 <libm-alias-float.h>.
26093 (fabsf): Define using libm_alias_float.
26095 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26097 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26099 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26101 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26102 <libm-alias-float.h>.
26103 (fabsf): Define using libm_alias_float.
26104 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26105 <libm-alias-float.h>.
26106 (lrintf): Define using libm_alias_float.
26107 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26108 <libm-alias-float.h>.
26109 (rintf): Define using libm_alias_float.
26111 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26112 <libm-alias-double.h>.
26113 (fabs): Define using libm_alias_double.
26114 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26115 <libm-alias-double.h>.
26116 (lrint): Define using libm_alias_double.
26117 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26118 <libm-alias-double.h>.
26119 (rint): Define using libm_alias_double.
26121 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26122 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26123 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26124 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26125 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26126 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26127 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26128 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26129 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26130 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26131 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26132 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26133 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26134 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26135 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26136 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26137 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26138 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26140 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26141 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26142 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26144 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26145 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26146 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26148 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26149 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26150 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26151 s_expm1_template.c.
26152 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26153 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26154 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26156 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26157 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26158 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26159 s_floor_template.c.
26160 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26161 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26162 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26163 s_frexp_template.c.
26164 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26165 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26166 s_lrint_template.c.
26167 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26168 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26169 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26171 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26172 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26173 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26174 s_nearbyint_template.c.
26175 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26176 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26177 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26178 s_remquo_template.c.
26179 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26180 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26181 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26183 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26184 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26185 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26187 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26188 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26189 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26190 s_sincos_template.c.
26191 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26192 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26193 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26195 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26196 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26197 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26199 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26200 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26201 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26202 s_trunc_template.c.
26203 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26204 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26205 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26206 s_atan.c instead of including s_atan.c.
26207 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26208 s_atanf.c instead of including s_atanf.c.
26209 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26210 s_atanl.c instead of including s_atanl.c.
26211 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26212 instead of s_atan.c.
26213 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26214 instead of s_atanf.c.
26215 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26216 instead of s_atanl.c.
26218 * scripts/update-copyrights: Do not handle intl/plural.c
26221 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26224 * configure.ac (BISON): Require to be present.
26225 * configure: Regenerated.
26226 * intl/Makefile (generated): Add plural.c.
26227 [$(BISON) != no]: Make code unconditional.
26228 (plural.c): Change rule to $(objpfx)plural.c.
26229 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26230 * intl/plural.c: Remove.
26231 * manual/install.texi (Tools for Compilation): Document bison as
26233 * INSTALL: Regenerated.
26235 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26237 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26238 <libm-alias-double.h>.
26239 (llrint): Define using libm_alias_double.
26240 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26241 <libm-alias-float.h>.
26242 (llrintf): Define using libm_alias_float.
26243 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26244 <libm-alias-ldouble.h>.
26245 (llrintl): Define using libm_alias_ldouble.
26247 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26248 declare_mgen_alias instead of weak_alias.
26249 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26250 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26251 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26253 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26255 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26257 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26258 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26259 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26261 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26262 Add submul_1-generic.
26263 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26264 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26265 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26267 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26268 Add addmul_1-generic.
26269 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26270 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26271 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26273 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26275 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26276 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26277 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26279 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26281 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26282 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26283 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26285 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26287 According to CLDR, collation rules for Serbian and Bosnian
26288 should be the same as for Croatian.
26291 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26292 and to the list of locales to be built for testing.
26293 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26294 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26295 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26296 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26298 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26300 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26301 to make test case pass.
26302 * localedata/hr_HR.UTF-8.in: Add more test strings.
26304 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26306 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26308 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26310 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26311 the list of locales to built for testing.
26312 * localedata/hr_HR.UTF-8.in: New file.
26314 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26317 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26319 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26320 CLDR (except use ligatures for the digraphs, CLDR does not use
26321 the ligatures), add first_workday, some fixes in the date and time
26323 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26325 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26326 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26327 Add int_p_cs_precedes and int_n_cs_precedes.
26328 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26329 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26331 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26332 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26334 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26335 and lang_lib. Change postal_fmt.
26337 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26339 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26341 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26342 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26343 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26344 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26345 * sysdeps/generic/setjmpP.h: New file.
26346 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26347 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26348 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26349 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26350 Add jmp_buf-ssp.sym.
26351 (tests): Add tst-saved_mask-1.
26353 2017-11-30 Arjun Shankar <arjun@redhat.com>
26357 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26358 instead of request2size.
26360 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26363 (__lllrint): Remove alias.
26364 (lllrint): Likewise.
26365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26366 (__lllrintf): Likewise.
26367 (lllrintf): Likewise.
26369 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26370 <libm-alias-float.h>.
26371 (copysignf): Define using libm_alias_float.
26372 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26373 <libm-alias-float.h>.
26374 (fabsf): Define using libm_alias_float.
26375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26376 Include <libm-alias-float.h>.
26377 (copysignf): Define using libm_alias_float.
26378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26379 <libm-alias-float.h>.
26380 (fabsf): Define using libm_alias_float.
26381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26382 <libm-alias-float.h>.
26383 (fdimf): Define using libm_alias_float.
26384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26385 <libm-alias-float.h>.
26386 (fmaf): Define using libm_alias_float.
26387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26388 <libm-alias-float.h>.
26389 (llrintf): Define using libm_alias_float.
26390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26391 Include <libm-alias-float.h>.
26392 (nearbyintf): Define using libm_alias_float.
26393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26394 <libm-alias-float.h>.
26395 (rintf): Define using libm_alias_float.
26396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26397 <libm-alias-float.h>.
26398 (llrintf): Define using libm_alias_float.
26399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26400 <libm-alias-float.h>.
26401 (lrintf): Define using libm_alias_float.
26402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26403 <libm-alias-float.h>.
26404 (nearbyintf): Define using libm_alias_float.
26405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26406 <libm-alias-float.h>.
26407 (rintf): Define using libm_alias_float.
26408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26409 <libm-alias-float.h>.
26410 (ceilf): Define using libm_alias_float.
26411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26412 <libm-alias-float.h>.
26413 (floorf): Define using libm_alias_float.
26414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26415 <libm-alias-float.h>.
26416 (fmaf): Define using libm_alias_float.
26417 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26418 <libm-alias-float.h>.
26419 (lrintf): Define using libm_alias_float.
26420 (llrintf): Likewise.
26421 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26422 <libm-alias-float.h>.
26423 (nearbyintf): Define using libm_alias_float.
26424 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26425 <libm-alias-float.h>.
26426 (rintf): Define using libm_alias_float.
26427 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26428 <libm-alias-float.h>.
26429 (truncf): Define using libm_alias_float.
26430 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26431 <libm-alias-float.h>.
26432 (copysignf): Define using libm_alias_float.
26433 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26434 <libm-alias-float.h>.
26435 (fabsf): Define using libm_alias_float.
26436 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26437 <libm-alias-float.h>.
26438 (lrintf): Define using libm_alias_float.
26439 (llrintf): Likewise.
26440 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26441 <libm-alias-float.h>.
26442 (nearbyintf): Define using libm_alias_float.
26443 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26444 <libm-alias-float.h>.
26445 (rintf): Define using libm_alias_float.
26447 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26449 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26450 <libm-alias-double.h>.
26451 (copysign): Define using libm_alias_double.
26452 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26453 <libm-alias-double.h>.
26454 (fabs): Define using libm_alias_double.
26455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26456 Include <libm-alias-double.h>.
26457 (copysign): Define using libm_alias_double.
26458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26459 <libm-alias-double.h>.
26460 (fabs): Define using libm_alias_double.
26461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26462 <libm-alias-double.h>.
26463 (fdim): Define using libm_alias_double.
26464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26465 <libm-alias-double.h>.
26466 (fma): Define using libm_alias_double.
26467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26468 <libm-alias-double.h>.
26469 (llrint): Define using libm_alias_double.
26470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26471 Include <libm-alias-double.h>.
26472 (nearbyint): Define using libm_alias_double.
26473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26474 <libm-alias-double.h>.
26475 (rint): Define using libm_alias_double.
26476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26477 <libm-alias-double.h>.
26478 (fabs): Define using libm_alias_double.
26479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26480 <libm-alias-double.h>.
26481 (llrint): Define using libm_alias_double.
26482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26483 <libm-alias-double.h>.
26484 (nearbyint): Define using libm_alias_double.
26485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26486 <libm-alias-double.h>.
26487 (rint): Define using libm_alias_double.
26488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26489 <libm-alias-double.h>.
26490 (ceil): Define using libm_alias_double.
26491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26492 <libm-alias-double.h>.
26493 (floor): Define using libm_alias_double.
26494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26495 <libm-alias-double.h>.
26496 (fma): Define using libm_alias_double.
26497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26498 <libm-alias-double.h>.
26499 (lrint): Define using libm_alias_double.
26500 (llrint): Likewise.
26501 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26502 <libm-alias-double.h>.
26503 (nearbyint): Define using libm_alias_double.
26504 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26505 <libm-alias-double.h>.
26506 (rint): Define using libm_alias_double.
26507 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26508 <libm-alias-double.h>.
26509 (trunc): Define using libm_alias_double.
26510 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26511 <libm-alias-double.h>.
26512 (copysign): Define using libm_alias_double.
26513 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26514 <libm-alias-double.h>.
26515 (fabs): Define using libm_alias_double.
26516 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26517 <libm-alias-double.h>.
26518 (lrint): Define using libm_alias_double.
26519 (llrint): Likewise.
26520 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26521 <libm-alias-double.h>.
26522 (nearbyint): Define using libm_alias_double.
26523 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26524 <libm-alias-double.h>.
26525 (rint): Define using libm_alias_double.
26528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26530 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26532 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26533 SPARC --disable-multi-arch glibc variants.
26535 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26536 <libm-alias-float.h>.
26537 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26539 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26540 <libm-alias-float.h>.
26541 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26543 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26544 <libm-alias-float.h>.
26545 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26547 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26548 <libm-alias-float.h>.
26549 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26551 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26552 <libm-alias-float.h>.
26553 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26555 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26556 <libm-alias-float.h>.
26557 (ceilf): Define using libm_alias_float.
26558 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26559 <libm-alias-float.h>.
26560 (floorf): Define using libm_alias_float.
26561 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26562 <libm-alias-float.h>.
26563 (fmaf): Define using libm_alias_float.
26564 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26565 <libm-alias-float.h>.
26566 (nearbyintf): Define using libm_alias_float.
26567 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26568 <libm-alias-float.h>.
26569 (rintf): Define using libm_alias_float.
26570 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26571 <libm-alias-float.h>.
26572 (truncf): Define using libm_alias_float.
26573 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26574 (copysignf): Define using libm_alias_float.
26575 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26576 (cosf): Define using libm_alias_float.
26577 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26578 (fabsf): Define using libm_alias_float.
26579 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26580 (fmaxf): Define using libm_alias_float.
26581 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26582 (fminf): Define using libm_alias_float.
26583 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26584 (llrintf): Define using libm_alias_float.
26585 [!__ILP32__] (lrintf): Likewise.
26586 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26587 (sincosf): Define using libm_alias_float.
26588 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26589 (sinf): Define using libm_alias_float.
26590 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26591 (lrintf): Define using libm_alias_float.
26593 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26594 <libm-alias-double.h>.
26595 (atan): Define using libm_alias_double.
26596 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26597 <libm-alias-double.h>.
26598 (ceil): Define using libm_alias_double.
26599 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26600 <libm-alias-double.h>.
26601 (floor): Define using libm_alias_double.
26602 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26603 <libm-alias-double.h>.
26604 (fma): Define using libm_alias_double.
26605 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26606 <libm-alias-double.h>.
26607 (nearbyint): Define using libm_alias_double.
26608 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26609 <libm-alias-double.h>.
26610 (rint): Define using libm_alias_double.
26611 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26612 <libm-alias-double.h>.
26613 (sin): Define using libm_alias_double.
26615 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26616 <libm-alias-double.h>.
26617 (tan): Define using libm_alias_double.
26618 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26619 <libm-alias-double.h>.
26620 (trunc): Define using libm_alias_double.
26621 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26622 (copysign): Define using libm_alias_double.
26623 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26624 (fabs): Define using libm_alias_double.
26625 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26626 (fmax): Define using libm_alias_double.
26627 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26628 (fmin): Define using libm_alias_double.
26629 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26630 (llrint): Define using libm_alias_double.
26631 [!__ILP32__] (lrint): Likewise.
26632 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26633 (lrint): Define using libm_alias_double.
26635 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26638 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26648 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26651 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26652 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26653 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26654 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26655 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26658 (libm-sysdep_routines): Add s_nearbyint-generic and
26659 s_nearbyintf-generic objects.
26660 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26661 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26662 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26663 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26664 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26665 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26667 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26668 Add s_finitef-generic and s_finite-generic objects.
26669 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26670 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26671 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26672 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26673 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26674 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26676 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26677 Add s_isinff-generic and s_isinf-generic objects.
26678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26686 Add s_isnanf-generic and s_isnan-generic objects.
26687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26694 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26698 (sysdep_routines): Use sysdep_calls as base.
26699 (libm-sysdep_routines): Add generic rule for symbols shared with
26700 libc. Add s_signbit-generic and s_signbitf-generic objects.
26701 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26702 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26703 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26704 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26705 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26708 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26710 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26711 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26712 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26713 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26714 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26715 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26716 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26717 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26718 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26719 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26720 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26721 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26722 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26723 libm_alias_float_r.
26724 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26725 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26727 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26728 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26729 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26730 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26731 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26732 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26733 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26734 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26735 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26736 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26738 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26740 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26741 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26742 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26743 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26744 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26745 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26746 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26747 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26748 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26749 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26750 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26751 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26752 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26753 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26754 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26755 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26756 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26757 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26758 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26760 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26761 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26762 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26763 * sysdeps/ia64/fpu/w_lgammaf_main.c
26764 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26765 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26767 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26768 Alexandre Oliva <aoliva@redhat.com>
26771 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26772 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26774 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26776 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26777 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26778 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26779 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26780 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26781 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26782 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26783 instead of “ifdef DIACRIT_BACKWARD”.
26785 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26787 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26788 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26789 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26790 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26791 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26792 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26799 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26800 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26801 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26802 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26803 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26804 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26806 ($(have-as-vis3) == yes): Remove conditional.
26807 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26820 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26823 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26824 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26826 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26828 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26829 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26830 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26831 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26832 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26833 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26834 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26835 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26836 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26837 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26838 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26839 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26840 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26841 libm_alias_double_r.
26842 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26844 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26845 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26846 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26847 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26848 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26849 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26850 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26851 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26852 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26853 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26854 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26856 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26858 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26859 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26860 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26861 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26862 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26863 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26864 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26865 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26866 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26867 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26868 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26869 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26870 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26871 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26872 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26873 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26874 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26875 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26877 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26878 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26879 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26880 * sysdeps/ia64/fpu/w_lgamma_main.c
26881 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26882 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26884 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26886 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26887 address of $global$ into %dp register earlier. Use pc-relative
26888 instruction sequence for PIC case.
26890 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26892 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26893 (asinhf): Define using libm_alias_float.
26894 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26895 (atanf): Define using libm_alias_float.
26896 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26897 (cbrtf): Define using libm_alias_float.
26898 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26899 (ceilf): Define using libm_alias_float.
26900 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26901 (copysignf): Define using libm_alias_float.
26902 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26903 (expm1f): Define using libm_alias_float.
26904 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26905 (fabsf): Define using libm_alias_float.
26906 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26907 (floorf): Define using libm_alias_float.
26908 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26909 (fmaxf): Define using libm_alias_float.
26910 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26911 (fminf): Define using libm_alias_float.
26912 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26913 (frexpf): Define using libm_alias_float.
26914 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26915 (llrintf): Define using libm_alias_float.
26916 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26917 (logbf): Define using libm_alias_float.
26918 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26919 (lrintf): Define using libm_alias_float.
26920 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26921 (nearbyintf): Define using libm_alias_float.
26922 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26923 (remquof): Define using libm_alias_float.
26924 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26925 (rintf): Define using libm_alias_float.
26926 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26927 (truncf): Define using libm_alias_float.
26928 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26929 <libm-alias-float.h>.
26930 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26932 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26933 <libm-alias-float.h>.
26934 (expf): Define using libm_alias_float, or libm_alias_float_other
26936 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26937 <libm-alias-float.h>.
26938 (log2f): Define using libm_alias_float, or libm_alias_float_other
26940 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26941 <libm-alias-float.h>.
26942 (logf): Define using libm_alias_float, or libm_alias_float_other
26944 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26945 <libm-alias-float.h>.
26946 (powf): Define using libm_alias_float, or libm_alias_float_other
26948 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26949 <libm-alias-float.h>.
26950 (cosf): Define using libm_alias_float.
26951 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26952 <libm-alias-float.h>.
26953 (sincosf): Define using libm_alias_float.
26954 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26955 <libm-alias-float.h>.
26956 (sinf): Define using libm_alias_float.
26957 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26958 (fmaxf): Define using libm_alias_float.
26959 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26960 (fminf): Define using libm_alias_float.
26961 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26962 <libm-alias-float.h>.
26963 (fmaf): Define using libm_alias_float.
26965 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26966 (asinh): Define using libm_alias_double.
26967 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26968 (atan): Define using libm_alias_double.
26969 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26970 (cbrt): Define using libm_alias_double.
26971 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26972 (ceil): Define using libm_alias_double.
26973 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26974 (copysign): Define using libm_alias_double.
26975 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26976 (expm1): Define using libm_alias_double.
26977 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26978 (fabs): Define using libm_alias_double.
26979 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26980 (fdim): Define using libm_alias_double.
26981 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26982 (floor): Define using libm_alias_double.
26983 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26984 (fmax): Define using libm_alias_double.
26985 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26986 (fmin): Define using libm_alias_double.
26987 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26988 (frexp): Define using libm_alias_double.
26989 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26990 (llrint): Define using libm_alias_double.
26991 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26992 (logb): Define using libm_alias_double.
26993 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26994 (lrint): Define using libm_alias_double.
26995 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26996 (nearbyint): Define using libm_alias_double.
26997 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26998 (remquo): Define using libm_alias_double.
26999 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27000 (rint): Define using libm_alias_double.
27001 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27002 (trunc): Define using libm_alias_double.
27003 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27004 (fmax): Define using libm_alias_double.
27005 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27006 (fmin): Define using libm_alias_double.
27007 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27008 (fma): Define using libm_alias_double.
27010 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27013 * elf/dl-hwcaps.c (ROUND): Removed.
27014 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27015 and ELF_NOTE_NEXT_OFFSET.
27016 * elf/dl-load.c (ROUND): Removed.
27017 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27018 * elf/readelflib.c (ROUND): Removed.
27019 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27020 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27021 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27022 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27024 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27026 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27027 [!__fmaf] (fmaf): Define using libm_alias_float.
27029 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27030 [!__fma] (fma): Define using libm_alias_double.
27031 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27033 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27036 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27037 and implement the collation rules for cs from CLDR on top of that.
27038 * Makefile: Add cs_CZ.UTF-8 to test-input.
27039 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27041 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27043 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27045 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27046 Icarus Sparry <icarus.w.sparry@intel.com>
27048 * benchtests/Makefile:Add BENCHSET to allow subsets of
27049 benchmarks to be run.
27050 * benchtests/README: Add documentation for: Running subsets of
27053 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27055 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27056 range of tests names.
27058 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27059 result from property and remove "max", min" and "mean" from
27060 required properties based on benchtests/bench-skeleton.c.
27062 2017-11-28 Florian Weimer <fweimer@redhat.com>
27065 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27066 due to Internet requirement.
27067 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27069 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27071 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27073 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27074 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27075 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27076 (sysdep_routines): Add memset-ultra1.
27077 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27079 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27080 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27081 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27082 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27083 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27084 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27085 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27086 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27088 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27090 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27091 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27092 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27093 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27094 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27095 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27096 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27098 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27099 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27100 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27101 (sysdep_routines): Add memcpy-ultra1.
27102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27103 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27105 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27107 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27108 (cfloat_versions): Take function argument without trailing 'f'.
27109 Call libm_alias_float_other.
27110 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27111 * sysdeps/alpha/fpu/cargf.c: Likewise.
27112 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27113 * sysdeps/alpha/fpu/conjf.c: Likewise.
27114 * sysdeps/alpha/fpu/crealf.c: Likewise.
27115 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27116 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27117 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27118 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27119 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27120 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27121 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27122 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27123 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27124 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27125 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27126 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27127 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27128 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27129 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27130 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27131 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27132 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27133 (clog10f): Use libm_alias_float_other.
27134 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27135 (ceilf): Define using libm_alias_float.
27136 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27137 (copysignf): Define using libm_alias_float.
27138 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27139 (fabsf): Define using libm_alias_float.
27140 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27141 (floorf): Define using libm_alias_float.
27142 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27143 (fmaxf): Define using libm_alias_float.
27144 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27145 (fminf): Define using libm_alias_float.
27146 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27147 (lrintf): Define using libm_alias_float.
27148 (llrintf): Likewise.
27149 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27150 (lroundf): Define using libm_alias_float.
27151 (llroundf): Likewise.
27152 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27153 (rintf): Define using libm_alias_float.
27154 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27155 (truncf): Define using libm_alias_float.
27157 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27158 (ceilf): Define using libm_alias_float.
27159 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27160 (floorf): Define using libm_alias_float.
27161 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27162 (fmaf): Define using libm_alias_float.
27163 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27164 (fmaxf): Define using libm_alias_float.
27165 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27166 (fminf): Define using libm_alias_float.
27167 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27168 (llrintf): Define using libm_alias_float.
27169 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27170 (llroundf): Define using libm_alias_float.
27171 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27172 (lrintf): Define using libm_alias_float.
27173 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27174 (lroundf): Define using libm_alias_float.
27175 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27176 <libm-alias-float.h>.
27177 (nearbyintf): Define using libm_alias_float.
27178 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27179 (rintf): Define using libm_alias_float.
27180 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27181 (roundf): Define using libm_alias_float.
27182 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27183 (truncf): Define using libm_alias_float.
27185 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27186 (ceil): Define using libm_alias_double.
27187 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27188 (copysign): Define using libm_alias_double.
27189 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27190 (fabs): Define using libm_alias_double.
27191 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27192 (floor): Define using libm_alias_double.
27193 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27194 (fmax): Define using libm_alias_double.
27195 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27196 (fmin): Define using libm_alias_double.
27197 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27198 (lrint): Define using libm_alias_double.
27199 (llrint): Likewise.
27200 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27201 (lround): Define using libm_alias_double.
27202 (llround): Likewise.
27203 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27204 (rint): Define using libm_alias_double.
27205 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27206 (trunc): Define using libm_alias_double.
27208 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27209 (libm_alias_double_r): Add semicolon after weak_alias call.
27211 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27213 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27214 (ceil): Define using libm_alias_double.
27215 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27216 (floor): Define using libm_alias_double.
27217 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27218 (fma): Define using libm_alias_double.
27219 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27220 (fmax): Define using libm_alias_double.
27221 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27222 (fmin): Define using libm_alias_double.
27223 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27224 (llrint): Define using libm_alias_double.
27225 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27226 (llround): Define using libm_alias_double.
27227 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27228 (lrint): Define using libm_alias_double.
27229 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27230 (lround): Define using libm_alias_double.
27231 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27232 (nearbyint): Define using libm_alias_double.
27233 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27234 (rint): Define using libm_alias_double.
27235 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27236 (round): Define using libm_alias_double.
27237 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27238 (trunc): Define using libm_alias_double.
27240 2017-11-27 Florian Weimer <fweimer@redhat.com>
27242 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27243 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27244 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27245 (tests): Add tst-mlock2.
27246 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27247 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27248 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27249 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27250 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27251 for mlock. Document mlock2.
27253 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27255 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27256 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27258 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27260 * sysdeps/x86/Makeconfig: New file.
27261 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27262 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27263 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27264 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27265 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27266 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27267 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27269 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27270 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27271 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27272 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27273 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27274 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27275 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27276 * manual/math.texi (Mathematics): Document support for _Float64x.
27277 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27278 * stdlib/Versions (GLIBC_2.27): Likewise.
27279 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27280 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27281 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27282 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27283 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27284 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27285 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27286 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27287 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27288 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27289 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27290 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27295 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27296 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27297 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27298 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27299 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27300 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27301 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27302 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27303 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27304 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27305 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27306 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27307 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27308 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27310 2017-11-27 Andreas Schwab <schwab@suse.de>
27312 * elf/Makefile (dl-routines): Add dl-sort-maps.
27313 * elf/dl-sort-maps.c: New file.
27314 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27315 (_dl_sort_maps): Declare.
27316 * elf/dl-fini.c (_dl_sort_fini): Remove.
27317 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27318 * elf/dl-close.c (_dl_close_worker): Likewise.
27319 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27321 * elf/dl-open.c (dl_open_worker): Likewise.
27323 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27325 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27326 using libm_alias_float128.
27327 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27329 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27331 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27332 (setpayloadsigf128): Likewise.
27333 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27335 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27338 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27339 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27340 -mfloat128 to CFLAGS.
27342 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27344 (CFLAGS-libm-test-support-float64x.c): New variable.
27345 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27346 $(f128-loader-link) to gnulib-tests.
27348 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27349 (libm_alias_float128_other_r): If
27350 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27352 (libm_alias_float128_r): Add semicolon after weak_alias call.
27353 * sysdeps/generic/libm-alias-ldouble.h
27354 (libm_alias_ldouble_other_r_f128): New macro.
27355 (libm_alias_ldouble_other_r_f64x): Likewise.
27356 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27357 and libm_alias_ldouble_other_r_f64x.
27358 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27359 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27360 (libm_alias_ldouble_other_r_f128): New macro.
27361 (libm_alias_ldouble_other_r_f64x): Likewise.
27362 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27363 and libm_alias_ldouble_other_r_f64x.
27365 * stdlib/strfroml.c: Always include <stdlib.h>.
27366 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27367 undefine as macro and define as weak alias.
27368 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27369 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27371 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27372 Define and later undefine as macro and define as weak alias.
27374 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27375 Define and later undefine as macro. Define as weak alias if
27377 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27378 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27379 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27380 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27381 Define and later undefine as macro. Define as weak alias if
27383 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27384 Define and later undefine as macro. Define as weak alias if
27386 * sysdeps/ieee754/float128/strtof128_l.c
27387 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27388 Define and later undefine as macro. Define as weak alias if
27390 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27391 Define and later undefine as macro. Define as weak alias if
27393 * sysdeps/ieee754/ldbl-128/strtold_l.c
27394 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27395 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27396 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27397 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27398 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27399 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27400 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27401 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27402 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27403 * sysdeps/ieee754/ldbl-96/strtold_l.c
27404 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27405 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27406 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27407 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27409 * math/test-float64x.h: New file.
27410 * math/Makefile (type-float64x-yes): New variable.
27411 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27413 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27414 function-like macro.
27415 (min_of_type_): Likewise.
27416 (min_of_type_l): Likewise.
27417 (min_of_type_f128): Likewise.
27418 (min_of_type): Pass () as last argument of __MATH_TG.
27420 * stdlib/tst-strtod-round-skeleton.c
27421 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27424 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27425 for combinations of long double with _Float64 and _Float64x.
27427 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27428 (__DECL_SIMD_cosf32): Likewise.
27429 (__DECL_SIMD_cosf64): Likewise.
27430 (__DECL_SIMD_cosf32x): Likewise.
27431 (__DECL_SIMD_cosf64x): Likewise.
27432 (__DECL_SIMD_cosf128x): Likewise.
27433 (__DECL_SIMD_sinf16): Likewise.
27434 (__DECL_SIMD_sinf32): Likewise.
27435 (__DECL_SIMD_sinf64): Likewise.
27436 (__DECL_SIMD_sinf32x): Likewise.
27437 (__DECL_SIMD_sinf64x): Likewise.
27438 (__DECL_SIMD_sinf128x): Likewise.
27439 (__DECL_SIMD_sincosf16): Likewise.
27440 (__DECL_SIMD_sincosf32): Likewise.
27441 (__DECL_SIMD_sincosf64): Likewise.
27442 (__DECL_SIMD_sincosf32x): Likewise.
27443 (__DECL_SIMD_sincosf64x): Likewise.
27444 (__DECL_SIMD_sincosf128x): Likewise.
27445 (__DECL_SIMD_logf16): Likewise.
27446 (__DECL_SIMD_logf32): Likewise.
27447 (__DECL_SIMD_logf64): Likewise.
27448 (__DECL_SIMD_logf32x): Likewise.
27449 (__DECL_SIMD_logf64x): Likewise.
27450 (__DECL_SIMD_logf128x): Likewise.
27451 (__DECL_SIMD_expf16): Likewise.
27452 (__DECL_SIMD_expf32): Likewise.
27453 (__DECL_SIMD_expf64): Likewise.
27454 (__DECL_SIMD_expf32x): Likewise.
27455 (__DECL_SIMD_expf64x): Likewise.
27456 (__DECL_SIMD_expf128x): Likewise.
27457 (__DECL_SIMD_powf16): Likewise.
27458 (__DECL_SIMD_powf32): Likewise.
27459 (__DECL_SIMD_powf64): Likewise.
27460 (__DECL_SIMD_powf32x): Likewise.
27461 (__DECL_SIMD_powf64x): Likewise.
27462 (__DECL_SIMD_powf128x): Likewise.
27464 * stdlib/Versions (libc): Move entries for wcstof128 and
27465 wcstof128_l to ....
27466 * wcsmbs/Versions (libc): ... here.
27467 Include <float128-abi.h>.
27469 2017-11-24 Florian Weimer <fweimer@redhat.com>
27471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27472 bits/mman-shared.h.
27473 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27474 <bits/mman-shared.h>.
27475 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27477 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27478 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27479 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27480 <bits/mman-shared.h>.
27482 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27485 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27486 posix_memalign/free.
27487 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27489 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27492 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27493 and implement the collation rules for pl from CLDR on top of that.
27494 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27495 of locales to be built for testing.
27496 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27498 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27500 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27501 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27502 libm_alias_ldouble_other.
27503 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27504 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27505 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27506 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27507 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27508 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27509 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27510 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27511 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27512 libm_alias_ldouble_r.
27513 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27514 libm_alias_ldouble_other.
27515 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27516 (log10l): Likewise.
27517 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27518 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27519 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27520 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27521 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27522 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27523 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27524 (atan2l): Likewise.
27525 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27526 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27527 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27528 libm_alias_ldouble.
27529 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27531 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27532 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27533 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27535 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27536 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27537 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27538 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27539 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27540 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27541 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27542 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27543 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27544 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27545 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27546 libm_alias_ldouble.
27547 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27548 libm_alias_ldouble_other.
27549 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27550 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27551 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27552 libm_alias_ldouble.
27553 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27554 libm_alias_ldouble_other.
27555 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27556 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27557 * sysdeps/ia64/fpu/w_lgammal_main.c
27558 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27559 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27561 2017-11-23 Florian Weimer <fweimer@redhat.com>
27563 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27564 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27565 alike. Remove freeres marker.
27566 * malloc/arena.c (arena_thread_freeres): Call
27567 tcache_thread_shutdown.
27569 2017-11-23 Florian Weimer <fweimer@redhat.com>
27572 Export nscd hash function as __nss_hash.
27573 * include/nss.h (__nss_hash): Declare.
27574 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27576 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27577 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27579 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27580 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27581 * nss/Makefiles (routines): Add nss_hash.
27582 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27583 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27584 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27585 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27587 2017-11-23 Florian Weimer <fweimer@redhat.com>
27590 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27591 Return error code, not -1.
27592 * signal/tst-sigwait-eintr.c: New file.
27593 * signal/Makefile (tests): Add tst-sigwait-eintr.
27595 2017-11-23 Florian Weimer <fweimer@redhat.com>
27597 Linux: Add memfd_create system call wrapper
27598 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27600 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27601 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27602 [__USE_GNU] (memfd_create): Declare.
27603 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27604 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27605 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27606 * sysdeps/unix/sysv/linux/**.abilist: Update.
27607 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27609 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27611 * localedata/gen-locale.sh: Fix typo in variable name.
27613 * resolv/res_debug.c (p_secstodate): Condition definition on
27614 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27615 directly as __p_secstodate, and as a compat symbol. Do not use
27616 libresolv_hidden_def.
27617 * resolv/resolv.h (p_secstodate): Remove macro and function
27619 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27620 using p_secstodate.
27621 * include/resolv.h (__p_secstodate): Do not use
27622 libresolv_hidden_proto.
27623 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27624 (tests-internal): ... here.
27625 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27626 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27627 and declare and use __p_secstodate and use compat_symbol_reference
27629 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27630 implementation returning 77.
27633 * resolv/res_debug.c: Include <libc-diag.h>.
27634 (p_secstodate): Assert time_t at least as wide as u_long. On
27635 overflow, use integer seconds since the epoch as output, or use
27636 "<overflow>" as output and set errno to EOVERFLOW if integer
27637 seconds since the epoch would be 14 or more characters.
27638 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27640 * resolv/tst-p_secstodate.c: New file.
27641 * resolv/Makefile (tests): Add tst-p_secstodate.
27642 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27644 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27645 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27646 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27648 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27650 * posix/regcomp.c (init_word_char): Add comments.
27652 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27655 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27656 strlen to compute length of ut_user and set trailing NUL byte of
27659 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27662 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27663 using “copy "iso14651_t1"” and then implementing the
27664 collation rules for lv from CLDR on top of that.
27665 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27666 of locales to be built for testing.
27667 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27670 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27672 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27673 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27674 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27675 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27676 [__USE_MISC] (MADV_HWPOISON): New macro.
27677 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27679 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27681 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27682 -Wmissing-braces on GCC 4.9.
27684 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27686 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27687 * sysdeps/s390/s390-32/start.S (_start): Likewise
27688 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27689 (thread_start): Likewise.
27690 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27691 (thread_start): Likewise.
27692 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27693 (__makecontext_ret): Likewise.
27694 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27695 (__makecontext_ret): Likewise.
27697 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27699 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27700 __wcschrnul): Remove attribute_hidden.
27702 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27704 regex: don't assume uint64_t or uint32_t
27705 This avoids -Werror=overflow errors for 32-bit systems in
27706 the 64-bit case. Problem reported by Joseph Myers in:
27707 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27708 Also, when this code is used in Gnulib it ports to platforms
27709 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27710 them, and on some 32-bit compilers there is no uint64_t.
27711 Problem reported by Gianluigi Tiesi in:
27712 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27713 * posix/regcomp.c (init_word_char): Don't assume that the types
27714 uint64_t and uint32_t exist. Adapted from Gnulib patch
27715 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27716 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27718 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27720 * sysdeps/aarch64/memset-reg.h: New file.
27721 * sysdeps/aarch64/memset.S: Use it.
27722 (__memset): Rename to MEMSET macro.
27723 [ZVA_MACRO]: Use zva_macro.
27724 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27725 Add memset_generic and memset_falkor.
27726 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27727 (__libc_ifunc_impl_list): Add memset ifuncs.
27728 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27729 local variable zva_size.
27730 * sysdeps/aarch64/multiarch/memset.c: New file.
27731 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27732 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27733 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27734 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27735 (DCZID_DZP_MASK): New macro.
27736 (DCZID_BS_MASK): Likewise.
27737 (init_cpu_features): Read and set zva_size.
27738 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27739 (struct cpu_features): New member zva_size.
27741 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27742 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27743 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27745 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27746 backwards. Fix timing computation.
27747 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27748 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27749 on memset by N at a time. Fix timing computation.
27751 2017-11-20 Florian Weimer <fweimer@redhat.com>
27753 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27754 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27756 2017-11-19 Florian Weimer <fweimer@redhat.com>
27758 manual: Document mprotect
27759 * manual/memory.texi (Memory Protection): New section.
27760 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27761 documentation of PROT_* flags and reference the Memory Protection
27764 2017-11-19 Florian Weimer <fweimer@redhat.com>
27766 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27767 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27768 (Scatter-Gather): ... to here. Remove misleading comment.
27770 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27772 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27775 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27776 when /proc/<pid>/setgroups does not exist.
27778 2017-11-18 Florian Weimer <fweimer@redhat.com>
27780 * sysdeps/unix/sysv/linux/tst-ttyname.c
27781 (become_root_in_mount_ns): Remove.
27782 (do_in_chroot_1): Call support_enter_mount_namespace.
27783 (do_in_chroot_2): Likewise.
27784 (do_test): Call support_become_root early.
27786 2017-11-18 Florian Weimer <fweimer@redhat.com>
27788 * support/namespace.h (support_enter_mount_namespace): Declare.
27789 * support/support_enter_mount_namespace.c: New file.
27790 * support/Makefile (libsupport-routines): Add
27791 support_enter_mount_namespace.
27793 2017-11-18 Florian Weimer <fweimer@redhat.com>
27795 * support/temp_file.c (support_create_temp_directory): Use
27796 test_dir and do not rely on the presence of the XXXXXX suffix.
27797 * support/temp_file.h (support_create_temp_directory): Update
27799 * support/tst-xreadlink.c (do_test): Adjust.
27800 * support/support_chroot.c (support_chroot_create): Likewise.
27802 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27804 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27806 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27809 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27811 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27812 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27813 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27814 (ceill): Define using libm_alias_ldouble.
27815 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27816 <libm-alias-ldouble.h>.
27817 (copysignl): Define using libm_alias_ldouble.
27818 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27819 (fabsl): Define using libm_alias_ldouble.
27820 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27821 (floorl): Define using libm_alias_ldouble.
27822 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27823 (fmaxl): Define using libm_alias_ldouble.
27824 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27825 (fminl): Define using libm_alias_ldouble.
27826 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27827 (llrintl): Define using libm_alias_ldouble.
27828 (lrintl): Likewise.
27829 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27830 <libm-alias-ldouble.h>.
27831 (nearbyintl): Define using libm_alias_ldouble.
27832 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27833 (truncl): Define using libm_alias_ldouble.
27834 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27835 <libm-alias-ldouble.h>.
27836 (lrintl): Define using libm_alias_ldouble.
27838 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27839 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27840 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27841 (asinhl): Define using libm_alias_ldouble.
27842 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27843 (atanl): Define using libm_alias_ldouble.
27844 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27845 (cbrtl): Define using libm_alias_ldouble.
27846 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27847 (ceill): Define using libm_alias_ldouble.
27848 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27849 (copysignl): Define using libm_alias_ldouble.
27850 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27851 (fabsl): Define using libm_alias_ldouble.
27852 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27853 (floorl): Define using libm_alias_ldouble.
27854 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27855 (fmaxl): Define using libm_alias_ldouble.
27856 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27857 (fminl): Define using libm_alias_ldouble.
27858 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27859 (frexpl): Define using libm_alias_ldouble.
27860 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27861 (llrintl): Define using libm_alias_ldouble.
27862 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27863 (logbl): Define using libm_alias_ldouble.
27864 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27865 (lrintl): Define using libm_alias_ldouble.
27866 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27867 (nearbyintl): Define using libm_alias_ldouble.
27868 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27869 (nextafterl): Define using libm_alias_ldouble.
27870 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27871 (remquol): Define using libm_alias_ldouble.
27872 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27873 (rintl): Define using libm_alias_ldouble.
27874 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27875 (truncl): Define using libm_alias_ldouble.
27876 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27877 (fmaxl): Define using libm_alias_ldouble.
27878 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27879 (fminl): Define using libm_alias_ldouble.
27881 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27882 to C syntax instead of availability and properties of types.
27883 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27884 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27885 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27886 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27887 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27888 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27890 2017-11-17 Florian Weimer <fweimer@redhat.com>
27892 support_become_root: Enable file creation in namespaces.
27893 * support/support_become_root.c (setup_mapping): New function.
27894 (support_become_root): Call it.
27896 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27898 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27901 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27903 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27904 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27906 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27908 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27910 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27913 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27915 * INSTALL: Fix botched up regeneration.
27917 * NEWS: Update sourceare link to https.
27918 * configure.ac: Likewise.
27919 * crypt/md5test-giant.c: Likewise.
27920 * dlfcn/bug-atexit1.c: Likewise.
27921 * dlfcn/bug-atexit2.c: Likewise.
27922 * localedata/README: Likewise.
27923 * malloc/tst-mallocfork.c: Likewise.
27924 * manual/install.texi: Likewise.
27925 * nptl/tst-pthread-getattr.c: Likewise.
27926 * stdio-common/tst-fgets.c: Likewise.
27927 * stdio-common/tst-fwrite.c: Likewise.
27928 * sunrpc/Makefile: Likewise.
27929 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27930 * wcsmbs/tst-mbrtowc2.c: Likewise.
27931 * configure: Regenerate.
27932 * INSTALL: Regenerate.
27934 2017-11-15 Martin Sebor <msebor@redhat.com>
27936 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27937 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27938 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27940 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27943 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27944 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27947 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27948 Defer is_pty check until end of the function.
27949 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27952 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27953 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27954 (ttyname): Likewise.
27955 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27956 (__ttyname_r): Likewise.
27958 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27961 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27963 * manual/terminal.texi (Is It a Terminal):
27964 Mention ENODEV for ttyname and ttyname_r.
27966 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27968 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27969 constant and macro.
27971 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27972 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27973 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27974 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27975 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27976 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27978 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27980 * signal/sigrelse.c (sigrelse): Optimize implementation.
27982 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27983 (__sigpause): Rely on __sigsuspend to implement single thread
27984 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27986 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27988 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27989 kernel version to 4.14.
27991 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27994 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27995 Check if ifname is too long.
27997 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27999 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28001 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28003 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28004 was accidentally lost.
28006 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28008 * localedata/locales/az_IR: Add standard copyright header.
28010 2017-11-15 Florian Weimer <fweimer@redhat.com>
28013 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28014 not just the top one. Output a new "subheaps" statistic.
28016 2017-11-15 Florian Weimer <fweimer@redhat.com>
28019 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28020 under the per-arena lock.
28021 * malloc/Makefile (tests): Add tst-malloc_info.
28022 (tst-malloc_info): Link with libpthread.
28023 * malloc/tst-malloc_info.c: New file.
28025 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28028 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28029 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28030 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28031 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28032 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28033 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28034 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28035 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28036 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28037 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28038 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28039 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28040 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28041 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28042 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28043 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28044 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28045 (__floating_type): Likewise.
28046 (__real_integer_type): Likewise.
28047 (__complex_integer_type): Likewise.
28048 (__expr_is_real): Likewise.
28049 (__tgmath_real_type_sub): Likewise.
28050 (__tgmath_real_type): Likewise.
28051 (__tgmath_complex_type_sub): Likewise.
28052 (__tgmath_complex_type): Likewise.
28053 (__TGMATH_F128): Likewise.
28054 (__TGMATH_CF128): Likewise.
28055 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28057 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28058 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28060 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28062 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28063 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28064 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28065 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28067 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28068 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28070 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28071 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28072 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28074 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28075 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28076 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28080 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28082 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28083 for stpncpy calls for GCC 8.
28084 (test_strncat): Disable -Wstringop-truncation warning for strncat
28085 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28086 strncat call for GCC 7.
28087 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28089 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28092 * string/bug-strncat1.c: Include <libc-diag.h>.
28093 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28095 2017-11-13 Claude Paroz <claude@2xlibre.net>
28098 * localedata/locales/aa_DJ: Improved readibility by replacing
28099 <Uxxxx> sequences in the ASCII printable range by their ASCII
28100 character equivalents.
28101 * localedata/locales/aa_ER: Likewise.
28102 * localedata/locales/aa_ER@saaho: Likewise.
28103 * localedata/locales/aa_ET: Likewise.
28104 * localedata/locales/af_ZA: Likewise.
28105 * localedata/locales/agr_PE: Likewise.
28106 * localedata/locales/ak_GH: Likewise.
28107 * localedata/locales/am_ET: Likewise.
28108 * localedata/locales/anp_IN: Likewise.
28109 * localedata/locales/ar_AE: Likewise.
28110 * localedata/locales/ar_BH: Likewise.
28111 * localedata/locales/ar_DZ: Likewise.
28112 * localedata/locales/ar_EG: Likewise.
28113 * localedata/locales/ar_IN: Likewise.
28114 * localedata/locales/ar_IQ: Likewise.
28115 * localedata/locales/ar_JO: Likewise.
28116 * localedata/locales/ar_KW: Likewise.
28117 * localedata/locales/ar_LB: Likewise.
28118 * localedata/locales/ar_LY: Likewise.
28119 * localedata/locales/ar_MA: Likewise.
28120 * localedata/locales/ar_OM: Likewise.
28121 * localedata/locales/ar_QA: Likewise.
28122 * localedata/locales/ar_SA: Likewise.
28123 * localedata/locales/ar_SD: Likewise.
28124 * localedata/locales/ar_SS: Likewise.
28125 * localedata/locales/ar_SY: Likewise.
28126 * localedata/locales/ar_TN: Likewise.
28127 * localedata/locales/ar_YE: Likewise.
28128 * localedata/locales/as_IN: Likewise.
28129 * localedata/locales/ast_ES: Likewise.
28130 * localedata/locales/ayc_PE: Likewise.
28131 * localedata/locales/az_AZ: Likewise.
28132 * localedata/locales/az_IR: Likewise.
28133 * localedata/locales/be_BY: Likewise.
28134 * localedata/locales/be_BY@latin: Likewise.
28135 * localedata/locales/bem_ZM: Likewise.
28136 * localedata/locales/ber_DZ: Likewise.
28137 * localedata/locales/ber_MA: Likewise.
28138 * localedata/locales/bg_BG: Likewise.
28139 * localedata/locales/bhb_IN: Likewise.
28140 * localedata/locales/bho_IN: Likewise.
28141 * localedata/locales/bi_VU: Likewise.
28142 * localedata/locales/bn_BD: Likewise.
28143 * localedata/locales/bn_IN: Likewise.
28144 * localedata/locales/bo_CN: Likewise.
28145 * localedata/locales/bo_IN: Likewise.
28146 * localedata/locales/br_FR: Likewise.
28147 * localedata/locales/brx_IN: Likewise.
28148 * localedata/locales/bs_BA: Likewise.
28149 * localedata/locales/byn_ER: Likewise.
28150 * localedata/locales/ca_AD: Likewise.
28151 * localedata/locales/ca_ES: Likewise.
28152 * localedata/locales/ca_FR: Likewise.
28153 * localedata/locales/ca_IT: Likewise.
28154 * localedata/locales/ce_RU: Likewise.
28155 * localedata/locales/chr_US: Likewise.
28156 * localedata/locales/cmn_TW: Likewise.
28157 * localedata/locales/crh_UA: Likewise.
28158 * localedata/locales/cs_CZ: Likewise.
28159 * localedata/locales/csb_PL: Likewise.
28160 * localedata/locales/cv_RU: Likewise.
28161 * localedata/locales/cy_GB: Likewise.
28162 * localedata/locales/da_DK: Likewise.
28163 * localedata/locales/de_AT: Likewise.
28164 * localedata/locales/de_BE: Likewise.
28165 * localedata/locales/de_CH: Likewise.
28166 * localedata/locales/de_DE: Likewise.
28167 * localedata/locales/de_IT: Likewise.
28168 * localedata/locales/de_LI: Likewise.
28169 * localedata/locales/de_LU: Likewise.
28170 * localedata/locales/doi_IN: Likewise.
28171 * localedata/locales/dv_MV: Likewise.
28172 * localedata/locales/dz_BT: Likewise.
28173 * localedata/locales/el_CY: Likewise.
28174 * localedata/locales/el_GR: Likewise.
28175 * localedata/locales/en_AG: Likewise.
28176 * localedata/locales/en_AU: Likewise.
28177 * localedata/locales/en_BW: Likewise.
28178 * localedata/locales/en_CA: Likewise.
28179 * localedata/locales/en_DK: Likewise.
28180 * localedata/locales/en_GB: Likewise.
28181 * localedata/locales/en_HK: Likewise.
28182 * localedata/locales/en_IE: Likewise.
28183 * localedata/locales/en_IL: Likewise.
28184 * localedata/locales/en_IN: Likewise.
28185 * localedata/locales/en_NG: Likewise.
28186 * localedata/locales/en_NZ: Likewise.
28187 * localedata/locales/en_PH: Likewise.
28188 * localedata/locales/en_SG: Likewise.
28189 * localedata/locales/en_US: Likewise.
28190 * localedata/locales/en_ZA: Likewise.
28191 * localedata/locales/en_ZM: Likewise.
28192 * localedata/locales/en_ZW: Likewise.
28193 * localedata/locales/eo: Likewise.
28194 * localedata/locales/es_AR: Likewise.
28195 * localedata/locales/es_BO: Likewise.
28196 * localedata/locales/es_CL: Likewise.
28197 * localedata/locales/es_CO: Likewise.
28198 * localedata/locales/es_CR: Likewise.
28199 * localedata/locales/es_CU: Likewise.
28200 * localedata/locales/es_DO: Likewise.
28201 * localedata/locales/es_EC: Likewise.
28202 * localedata/locales/es_ES: Likewise.
28203 * localedata/locales/es_GT: Likewise.
28204 * localedata/locales/es_HN: Likewise.
28205 * localedata/locales/es_MX: Likewise.
28206 * localedata/locales/es_NI: Likewise.
28207 * localedata/locales/es_PA: Likewise.
28208 * localedata/locales/es_PE: Likewise.
28209 * localedata/locales/es_PR: Likewise.
28210 * localedata/locales/es_PY: Likewise.
28211 * localedata/locales/es_SV: Likewise.
28212 * localedata/locales/es_US: Likewise.
28213 * localedata/locales/es_UY: Likewise.
28214 * localedata/locales/es_VE: Likewise.
28215 * localedata/locales/et_EE: Likewise.
28216 * localedata/locales/eu_ES: Likewise.
28217 * localedata/locales/eu_ES@euro: Likewise.
28218 * localedata/locales/fa_IR: Likewise.
28219 * localedata/locales/ff_SN: Likewise.
28220 * localedata/locales/fi_FI: Likewise.
28221 * localedata/locales/fil_PH: Likewise.
28222 * localedata/locales/fo_FO: Likewise.
28223 * localedata/locales/fr_BE: Likewise.
28224 * localedata/locales/fr_CA: Likewise.
28225 * localedata/locales/fr_CH: Likewise.
28226 * localedata/locales/fr_FR: Likewise.
28227 * localedata/locales/fr_LU: Likewise.
28228 * localedata/locales/fur_IT: Likewise.
28229 * localedata/locales/fy_DE: Likewise.
28230 * localedata/locales/fy_NL: Likewise.
28231 * localedata/locales/ga_IE: Likewise.
28232 * localedata/locales/gd_GB: Likewise.
28233 * localedata/locales/gez_ER: Likewise.
28234 * localedata/locales/gez_ET: Likewise.
28235 * localedata/locales/gl_ES: Likewise.
28236 * localedata/locales/gu_IN: Likewise.
28237 * localedata/locales/gv_GB: Likewise.
28238 * localedata/locales/ha_NG: Likewise.
28239 * localedata/locales/hak_TW: Likewise.
28240 * localedata/locales/he_IL: Likewise.
28241 * localedata/locales/hi_IN: Likewise.
28242 * localedata/locales/hif_FJ: Likewise.
28243 * localedata/locales/hne_IN: Likewise.
28244 * localedata/locales/hr_HR: Likewise.
28245 * localedata/locales/hsb_DE: Likewise.
28246 * localedata/locales/ht_HT: Likewise.
28247 * localedata/locales/hu_HU: Likewise.
28248 * localedata/locales/hy_AM: Likewise.
28249 * localedata/locales/i18n: Likewise.
28250 * localedata/locales/ia_FR: Likewise.
28251 * localedata/locales/id_ID: Likewise.
28252 * localedata/locales/ig_NG: Likewise.
28253 * localedata/locales/ik_CA: Likewise.
28254 * localedata/locales/is_IS: Likewise.
28255 * localedata/locales/it_CH: Likewise.
28256 * localedata/locales/it_IT: Likewise.
28257 * localedata/locales/iu_CA: Likewise.
28258 * localedata/locales/ja_JP: Likewise.
28259 * localedata/locales/ka_GE: Likewise.
28260 * localedata/locales/kk_KZ: Likewise.
28261 * localedata/locales/kl_GL: Likewise.
28262 * localedata/locales/kn_IN: Likewise.
28263 * localedata/locales/ko_KR: Likewise.
28264 * localedata/locales/kok_IN: Likewise.
28265 * localedata/locales/ks_IN: Likewise.
28266 * localedata/locales/ks_IN@devanagari: Likewise.
28267 * localedata/locales/ku_TR: Likewise.
28268 * localedata/locales/kw_GB: Likewise.
28269 * localedata/locales/ky_KG: Likewise.
28270 * localedata/locales/lb_LU: Likewise.
28271 * localedata/locales/lg_UG: Likewise.
28272 * localedata/locales/li_BE: Likewise.
28273 * localedata/locales/li_NL: Likewise.
28274 * localedata/locales/lij_IT: Likewise.
28275 * localedata/locales/ln_CD: Likewise.
28276 * localedata/locales/lo_LA: Likewise.
28277 * localedata/locales/lt_LT: Likewise.
28278 * localedata/locales/lv_LV: Likewise.
28279 * localedata/locales/lzh_TW: Likewise.
28280 * localedata/locales/mag_IN: Likewise.
28281 * localedata/locales/mai_IN: Likewise.
28282 * localedata/locales/mg_MG: Likewise.
28283 * localedata/locales/mhr_RU: Likewise.
28284 * localedata/locales/mi_NZ: Likewise.
28285 * localedata/locales/mk_MK: Likewise.
28286 * localedata/locales/ml_IN: Likewise.
28287 * localedata/locales/mn_MN: Likewise.
28288 * localedata/locales/mni_IN: Likewise.
28289 * localedata/locales/mr_IN: Likewise.
28290 * localedata/locales/ms_MY: Likewise.
28291 * localedata/locales/mt_MT: Likewise.
28292 * localedata/locales/my_MM: Likewise.
28293 * localedata/locales/nan_TW: Likewise.
28294 * localedata/locales/nan_TW@latin: Likewise.
28295 * localedata/locales/nb_NO: Likewise.
28296 * localedata/locales/nds_DE: Likewise.
28297 * localedata/locales/nds_NL: Likewise.
28298 * localedata/locales/ne_NP: Likewise.
28299 * localedata/locales/nhn_MX: Likewise.
28300 * localedata/locales/niu_NU: Likewise.
28301 * localedata/locales/niu_NZ: Likewise.
28302 * localedata/locales/nl_AW: Likewise.
28303 * localedata/locales/nl_BE: Likewise.
28304 * localedata/locales/nl_NL: Likewise.
28305 * localedata/locales/nn_NO: Likewise.
28306 * localedata/locales/nr_ZA: Likewise.
28307 * localedata/locales/nso_ZA: Likewise.
28308 * localedata/locales/oc_FR: Likewise.
28309 * localedata/locales/om_ET: Likewise.
28310 * localedata/locales/om_KE: Likewise.
28311 * localedata/locales/or_IN: Likewise.
28312 * localedata/locales/os_RU: Likewise.
28313 * localedata/locales/pa_IN: Likewise.
28314 * localedata/locales/pa_PK: Likewise.
28315 * localedata/locales/pap_AW: Likewise.
28316 * localedata/locales/pap_CW: Likewise.
28317 * localedata/locales/pl_PL: Likewise.
28318 * localedata/locales/ps_AF: Likewise.
28319 * localedata/locales/pt_BR: Likewise.
28320 * localedata/locales/pt_PT: Likewise.
28321 * localedata/locales/quz_PE: Likewise.
28322 * localedata/locales/raj_IN: Likewise.
28323 * localedata/locales/ro_RO: Likewise.
28324 * localedata/locales/ru_RU: Likewise.
28325 * localedata/locales/ru_UA: Likewise.
28326 * localedata/locales/rw_RW: Likewise.
28327 * localedata/locales/sa_IN: Likewise.
28328 * localedata/locales/sat_IN: Likewise.
28329 * localedata/locales/sc_IT: Likewise.
28330 * localedata/locales/sd_IN: Likewise.
28331 * localedata/locales/sd_IN@devanagari: Likewise.
28332 * localedata/locales/se_NO: Likewise.
28333 * localedata/locales/sgs_LT: Likewise.
28334 * localedata/locales/shs_CA: Likewise.
28335 * localedata/locales/si_LK: Likewise.
28336 * localedata/locales/sid_ET: Likewise.
28337 * localedata/locales/sk_SK: Likewise.
28338 * localedata/locales/sl_SI: Likewise.
28339 * localedata/locales/sm_WS: Likewise.
28340 * localedata/locales/so_DJ: Likewise.
28341 * localedata/locales/so_ET: Likewise.
28342 * localedata/locales/so_KE: Likewise.
28343 * localedata/locales/so_SO: Likewise.
28344 * localedata/locales/sq_AL: Likewise.
28345 * localedata/locales/sq_MK: Likewise.
28346 * localedata/locales/sr_ME: Likewise.
28347 * localedata/locales/sr_RS: Likewise.
28348 * localedata/locales/sr_RS@latin: Likewise.
28349 * localedata/locales/ss_ZA: Likewise.
28350 * localedata/locales/st_ZA: Likewise.
28351 * localedata/locales/sv_FI: Likewise.
28352 * localedata/locales/sv_SE: Likewise.
28353 * localedata/locales/sw_KE: Likewise.
28354 * localedata/locales/sw_TZ: Likewise.
28355 * localedata/locales/szl_PL: Likewise.
28356 * localedata/locales/ta_IN: Likewise.
28357 * localedata/locales/ta_LK: Likewise.
28358 * localedata/locales/tcy_IN: Likewise.
28359 * localedata/locales/te_IN: Likewise.
28360 * localedata/locales/tg_TJ: Likewise.
28361 * localedata/locales/th_TH: Likewise.
28362 * localedata/locales/the_NP: Likewise.
28363 * localedata/locales/ti_ER: Likewise.
28364 * localedata/locales/ti_ET: Likewise.
28365 * localedata/locales/tig_ER: Likewise.
28366 * localedata/locales/tk_TM: Likewise.
28367 * localedata/locales/tl_PH: Likewise.
28368 * localedata/locales/tn_ZA: Likewise.
28369 * localedata/locales/to_TO: Likewise.
28370 * localedata/locales/tpi_PG: Likewise.
28371 * localedata/locales/tr_CY: Likewise.
28372 * localedata/locales/tr_TR: Likewise.
28373 * localedata/locales/ts_ZA: Likewise.
28374 * localedata/locales/tt_RU: Likewise.
28375 * localedata/locales/tt_RU@iqtelif: Likewise.
28376 * localedata/locales/ug_CN: Likewise.
28377 * localedata/locales/uk_UA: Likewise.
28378 * localedata/locales/unm_US: Likewise.
28379 * localedata/locales/ur_IN: Likewise.
28380 * localedata/locales/ur_PK: Likewise.
28381 * localedata/locales/uz_UZ: Likewise.
28382 * localedata/locales/uz_UZ@cyrillic: Likewise.
28383 * localedata/locales/ve_ZA: Likewise.
28384 * localedata/locales/vi_VN: Likewise.
28385 * localedata/locales/wa_BE: Likewise.
28386 * localedata/locales/wae_CH: Likewise.
28387 * localedata/locales/wal_ET: Likewise.
28388 * localedata/locales/wo_SN: Likewise.
28389 * localedata/locales/xh_ZA: Likewise.
28390 * localedata/locales/yi_US: Likewise.
28391 * localedata/locales/yo_NG: Likewise.
28392 * localedata/locales/yue_HK: Likewise.
28393 * localedata/locales/yuw_PG: Likewise.
28394 * localedata/locales/zh_CN: Likewise.
28395 * localedata/locales/zh_HK: Likewise.
28396 * localedata/locales/zh_SG: Likewise.
28397 * localedata/locales/zh_TW: Likewise.
28398 * localedata/locales/zu_ZA: Likewise.
28400 2017-11-13 Florian Weimer <fweimer@redhat.com>
28402 * support/next_to_fault.h, support/next_to_fault.c: New files.
28403 * support/Makefile (libsupport-routines): Add next_to_fault.
28404 * resolv/tst-inet_pton.c (struct next_to_fault)
28405 (next_to_fault_allocate, next_to_fault_free): Remove.
28406 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28408 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28410 * elf/dl-support.c: Include <dl-procruntime.c>.
28411 * include/link.h: Include <link_map.h>.
28412 * sysdeps/generic/dl-procruntime.c: New file.
28413 * sysdeps/generic/link_map.h: Likewise.
28414 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28415 the writable ld.so namespace.
28417 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28419 timezone: pacify GCC -Wstringop-truncation
28420 Problem reported by Martin Sebor in:
28421 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28422 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28424 2017-11-12 Florian Weimer <fweimer@redhat.com>
28426 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28428 (tests): Add tst-xreadlink.
28429 * support/support.h (xstrndup): Declare.
28430 * support/xunistd.h (xunlink, xreadlink): Declare.
28431 * support/temp_file.h (support_create_temp_directory): Declare.
28432 * support/temp_file.c (support_create_temp_directory): New function.
28433 * support/support_chroot.c (support_chroot_create): Use it.
28434 * support/xreadlink.c: New file.
28435 * support/xstrndup.c: Likewise.
28436 * support/xunlink.c: Likewise.
28437 * support/tst-xreadlink.c: Likewise.
28439 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28441 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28443 2017-11-11 Florian Weimer <fweimer@redhat.com>
28447 * resolv/res_comp.c (printable_string, binary_hnok)
28448 (binary_leading_dash): New functions.
28449 (res_hnok): Reimplement using these functions and ns_name_pton.
28450 (res_ownok): Likewise.
28451 (res_mailok): Reimplement using printable_string, ns_name_pton and
28453 (res_dnok): Reimplement using printable_string and ns_name_pton.
28454 * resolv/tst-res_hnok.c (tests): Add additional tests.
28455 (LETTERDIGITS, PRINTABLE): Define.
28456 (do_test): Adjust one_char results.
28458 2017-11-11 Florian Weimer <fweimer@redhat.com>
28461 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28462 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28464 2017-11-11 Florian Weimer <fweimer@redhat.com>
28466 * resolv/tst-ns_name_pton.c: New file.
28467 * resolv/Makefile (tests): Add tst-ns_name_pton.
28468 (tst-ns_name_pton): Link against libresolv.
28470 2017-11-11 Florian Weimer <fweimer@redhat.com>
28472 * resolv/tst-res_hnok.c: New file.
28473 * resolv/Makefile (tests): Add tst-res_hnok.
28474 (tst-res_hnok): Link against libresolv.
28476 2017-11-11 Florian Weimer <fweimer@redhat.com>
28478 * resolv/tst-resolv-network.c: Use test framework instead explicit
28481 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28483 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28484 <jmp_buf-macros.h>.
28485 [!_ISOMAC] (STR_HELPER): New.
28486 [!_ISOMAC] (STR): Likewise.
28487 [!_ISOMAC] (TEST_SIZE): Likewise.
28488 [!_ISOMAC] (TEST_ALIGN): Likewise.
28489 [!_ISOMAC] (TEST_OFFSET): Likewise.
28490 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28491 field offsets of jmp_buf as well as sigjmp_buf.
28492 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28493 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28494 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28495 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28496 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28497 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28498 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28499 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28500 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28501 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28503 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28505 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28510 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28511 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28512 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28513 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28514 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28519 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28520 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28521 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28523 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28526 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28527 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28528 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28529 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28530 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28531 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28532 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28533 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28534 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28535 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28536 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28537 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28538 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28539 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28540 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28541 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28542 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28543 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28544 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28545 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28546 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28547 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28548 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28549 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28550 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28551 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28552 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28553 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28554 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28555 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28556 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28557 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28558 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28559 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28560 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28561 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28562 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28563 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28564 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28565 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28566 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28567 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28568 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28569 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28570 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28571 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28572 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28573 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28574 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28575 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28576 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28577 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28579 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28581 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28583 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28585 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28587 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28589 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28590 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28591 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28592 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28593 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28594 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28595 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28596 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28597 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28599 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28601 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28603 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28605 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28607 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28609 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28611 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28613 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28615 * stdlib/tst-strtod.h (F16): New macro.
28621 (IF_FLOAT16): Likewise.
28622 (IF_FLOAT32): Likewise.
28623 (IF_FLOAT64): Likewise.
28624 (IF_FLOAT32X): Likewise.
28625 (IF_FLOAT64X): Likewise.
28626 (IF_FLOAT128X): Likewise.
28627 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28628 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28629 (STRTOD_TEST_FOREACH): Likewise.
28630 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28631 (CHOOSE_f64): Likewise.
28632 (CHOOSE_f32x): Likewise.
28633 (CHOOSE_f64x): Likewise.
28635 2017-11-07 Andreas Schwab <schwab@suse.de>
28637 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28639 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28642 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28644 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28647 2017-11-07 Claude Paroz <claude@2xlibre.net>
28650 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28652 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28654 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28657 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28660 * nptl/allocatestack.c (allocate_stack): Check if
28661 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28662 __PTHREAD_MUTEX_HAVE_PREV is defined.
28663 * nptl/descr.h (pthread): Likewise.
28664 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28666 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28667 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28668 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28669 * sysdeps/nptl/bits/thread-shared-types.h
28670 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28672 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28673 of __WORDSIZE for internal layout.
28674 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28675 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28676 instead of __WORDSIZE whether to use an union for __spins and __list
28678 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28680 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28681 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28683 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28684 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28686 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28687 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28689 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28690 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28692 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28693 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28695 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28696 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28698 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28699 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28701 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28702 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28704 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28705 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28707 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28708 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28710 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28711 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28713 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28714 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28716 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28717 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28719 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28720 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28722 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28723 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28726 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28728 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28729 checks for expected input type size.
28730 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28731 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28733 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28734 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28735 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28736 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28737 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28738 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28739 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28740 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28741 superflous runtime assert check.
28742 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28744 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28746 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28748 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28750 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28752 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28754 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28755 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28756 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28758 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28760 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28762 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28764 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28766 * nptl/pthread_attr_setinheritsched.c
28767 (__pthread_attr_setinheritsched): Likewise.
28768 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28770 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28772 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28773 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28774 __old_pthread_attr_setstack): Likewise.
28775 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28777 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28779 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28781 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28782 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28784 * nptl/tst-typesizes.c: Remove file.
28786 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28787 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28788 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28789 checks for internal pthread_mutex_t offsets.
28790 * sysdeps/aarch64/nptl/pthread-offsets.h
28791 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28792 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28793 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28794 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28795 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28796 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28797 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28798 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28799 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28800 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28801 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28802 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28803 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28804 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28805 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28806 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28807 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28808 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28810 2017-11-07 Florian Weimer <fweimer@redhat.com>
28812 * bits/mman-linux.h: Move ...
28813 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28815 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28818 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28820 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28821 Redefine STRNLEN as __strnlen_power8.
28823 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28825 * signal/sighold.c (sighold): Optimize implementation.
28827 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28828 __NR_rt_sigqueueinfo.
28830 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28832 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28833 assume __NR_rt_sigtimedwait.
28834 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28835 and add LIBC_CANCEL_HANDLED for cancellation marking.
28836 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28838 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28839 (sysdeps_routines): Add memchr_noneon.
28840 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28841 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28842 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28843 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28844 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28845 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28846 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28848 * sysdeps/arm/arm-ifunc.h: New file.
28849 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28850 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28851 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28852 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28853 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28854 (__memcpy_neon): Avoid create hidden alias.
28855 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28856 (__memcpy_vfp): Likewise.
28857 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28858 (sysdep_routines): Add memcpy_arm.
28859 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28861 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28864 * Makerules (make-link-multidir): New.
28865 * config.make.in (multidir): New.
28866 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28867 * configure: Regenerated.
28868 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28869 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28870 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28873 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28876 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28877 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28879 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28881 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28884 2017-11-04 Florian Weimer <fweimer@redhat.com>
28886 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28888 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28890 * math/math.h [__HAVE_DISTINCT_FLOAT16
28891 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28892 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28893 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28894 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28895 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28896 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28897 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28898 (__MATH_TG_F32): New macro.
28899 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28900 (__MATH_TG_F64X): Likewise.
28901 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28902 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28904 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28906 * po/de.po: Update translations.
28907 * po/ru.po: Likewise.
28909 2017-11-03 Florian Weimer <fweimer@redhat.com>
28911 * manual/filesys.texi (Hard Links): Document linkat.
28913 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28915 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28916 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28917 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28918 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28919 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28920 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28921 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28922 the same as _Float128.
28923 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28924 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28925 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28928 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28930 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28932 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28934 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28935 (strtof32x): Likewise.
28936 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28937 (strtof64x): Likewise.
28938 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28939 (strtof128x): Likewise.
28940 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28941 (strfromf16): Likewise.
28942 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28943 (strfromf32): Likewise.
28944 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28945 (strfromf64): Likewise.
28946 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28947 (strfromf32x): Likewise.
28948 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28949 (strfromf64x): Likewise.
28950 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28951 (strfromf128x): Likewise.
28952 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28953 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28954 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28955 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28956 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28957 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28959 2017-11-03 Richard Henderson <rth@twiddle.net>
28961 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28963 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28965 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28967 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28969 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28970 DT_TLSDESC_GOT initialization.
28971 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28972 (_dl_tlsdesc_resolve_hold): Likewise.
28973 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28974 (_dl_tlsdesc_resolve_hold): Likewise.
28975 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28976 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28978 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28980 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28982 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28985 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28986 non-lazily for R_ARM_TLS_DESC.
28988 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28991 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28992 R_ARM_TLS_DESC case.
28993 (elf_machine_lazy_rel): Remove the prelink check.
28995 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28997 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28998 DT_TLSDESC_GOT initialization.
28999 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29000 (_dl_tlsdesc_resolve_rela): Likewise.
29001 (_dl_tlsdesc_resolve_hold): Likewise.
29002 (_dl_tlsdesc_undefweak): Remove ldar.
29003 (_dl_tlsdesc_dynamic): Likewise.
29004 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29005 (_dl_tlsdesc_resolve_rela): Likewise.
29006 (_dl_tlsdesc_resolve_hold): Likewise.
29007 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29008 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29009 (_dl_tlsdesc_resolve_rela): Likewise.
29010 (_dl_tlsdesc_resolve_hold): Likewise.
29012 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29014 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29015 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29017 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29019 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29020 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29022 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29024 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29026 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29027 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29028 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29029 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29030 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29031 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29032 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29033 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29034 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29035 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29036 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29038 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29041 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29042 * localedata/locales/tpi_PG: Add standard header.
29044 2017-11-02 Florian Weimer <fweimer@redhat.com>
29046 test-errno-linux: quotactl can fail with EPERM in containers.
29047 * sysdeps/unix/sysv/linux/test-errno-linux.c
29048 (LIST, LIST_FORWARD): New macros.
29049 (check_error_in_list): New function.
29050 (test_wrp_rv): Accept list of permitted error codes.
29051 (test_wrp_rv2): Remove.
29052 (test_wrp): Call test_wrp_rv with list of error codes.
29053 (test_wrp2): Accept list of error codes.
29054 (do_test): Adjust. Allow EPERM for quotactl.
29056 2017-11-02 Florian Weimer <fweimer@redhat.com>
29058 * stdio-common/bug16.c (do_test): Use array_length.
29059 * stdio-common/errlist.c (_sys_nerr): Likewise.
29060 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29061 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29062 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29063 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29064 (do_test): Use array_length.
29065 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29066 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29067 * stdio-common/tst-printf-round.c (do_test): Likewise.
29068 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29069 (CHECK): Use array_length.
29070 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29071 * stdio-common/tstscanf.c (main): Likewise.
29072 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29074 2017-11-02 Florian Weimer <fweimer@redhat.com>
29076 Add array_length and array_end macros.
29077 * include/array_length.h: New file.
29079 2017-11-02 Florian Weimer <fweimer@redhat.com>
29082 * posix/tst-glob-tilde.c (do_noescape): New variable.
29083 (one_test): Process it.
29084 (do_test): Set do_noescape. Add unescaping test case.
29086 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29089 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29090 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29091 with appropriate macros defined and undefined.
29092 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29093 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29094 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29095 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29096 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29097 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29098 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29099 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29100 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29101 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29104 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29105 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29106 that for long double. Do not condition define and undefine of
29107 _Mdouble_complex_ on [__CFLOAT128].
29109 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29111 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29112 of <sysdeps/generic/sysdep.h>.
29113 (ALIGNARG): Removed.
29114 (ASM_SIZE_DIRECTIVE): Likewise.
29117 (ENTRY_CHK): Likewise.
29118 (END_CHK): Likewise.
29119 (syscall_error): Likewise.
29120 (mcount): Likewise.
29121 (PSEUDO_END): Likewise.
29123 (atom_text_section): Likewise.
29124 * sysdeps/x86/sysdep.h: New file.
29125 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29126 of <sysdeps/generic/sysdep.h>.
29127 (ALIGNARG): Removed.
29128 (ASM_SIZE_DIRECTIVE): Likewise.
29131 (ENTRY_CHK): Likewise.
29132 (END_CHK): Likewise.
29133 (syscall_error): Likewise.
29134 (mcount): Likewise.
29135 (PSEUDO_END): Likewise.
29137 (atom_text_section): Likewise.
29139 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29141 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29142 category of LC_CTYPE set to "i18n:2012".
29143 * localedata/locales/i18n_ctype: Regenerate.
29145 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29147 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29148 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29149 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29150 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29152 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29153 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29154 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29155 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29157 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29160 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29162 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29164 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29166 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29167 (CMPLXF32X): Likewise.
29168 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29169 (CMPLXF64X): Likewise.
29170 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29171 (CMPLXF128X): Likewise.
29174 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29175 (__MATH_EVAL_FMT2): Define to add 0.0f.
29177 2017-10-31 Alan Modra <amodra@gmail.com>
29179 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29195 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29196 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29197 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29198 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29199 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29202 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29204 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29205 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29206 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29207 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29208 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29209 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29210 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29211 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29212 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29213 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29214 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29215 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29216 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29217 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29218 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29219 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29220 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29221 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29222 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29223 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29224 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29225 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29226 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29227 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29228 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29229 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29230 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29231 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29232 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29233 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29234 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29235 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29236 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29237 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29238 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29239 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29240 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29241 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29242 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29243 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29244 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29245 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29246 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29247 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29248 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29249 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29252 include sysdep.h and math_ldbl_opt.h.
29254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29255 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29281 2017-10-31 Alan Modra <amodra@gmail.com>
29283 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29284 string/strncase_l.c, not string/strncase.c.
29285 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29286 (libc_hidden_def): Redefine.
29288 2017-10-31 Alan Modra <amodra@gmail.com>
29290 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29291 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29292 (__strcasecmp): Don't define.
29294 2017-10-31 Alan Modra <amodra@gmail.com>
29296 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29298 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29299 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29300 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29302 2017-10-31 Alan Modra <amodra@gmail.com>
29304 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29307 2017-10-31 Alan Modra <amodra@gmail.com>
29309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29310 Redefine only when SHARED.
29312 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29314 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29315 Include <bits/math-finite.h> with appropriate macros defined and
29317 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29318 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29319 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29320 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29321 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29323 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29324 [!_Mlong_double_] (_Mlong_double_): Likewise.
29325 [!_Mfloat16_] (_Mfloat16_): Likewise.
29326 [!_Mfloat32_] (_Mfloat32_): Likewise.
29327 [!_Mfloat64_] (_Mfloat64_): Likewise.
29328 [!_Mfloat128_] (_Mfloat128_): Likewise.
29329 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29330 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29331 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29332 (_Mdouble_): Define without indirection through those macros.
29333 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29334 [!_Mfloat128_] (_Mfloat128_): Likewise.
29335 [_Mlong_double_] (_Mlong_double_): Likewise.
29336 (_Mdouble_): Define without indirection through those macros.
29337 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29338 not add -D_Mlong_double_=double.
29339 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29340 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29342 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29344 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29346 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29348 * sysdeps/x86/libc-start.c: Reformat.
29350 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29353 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29354 (1): Renamed to ...
29357 (L(Src2)): Likewise.
29358 (L(1)): Renamed to ...
29361 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29363 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29364 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29365 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29366 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29367 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29368 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29369 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29370 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29371 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29372 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29373 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29374 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29375 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29376 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29377 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29378 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29379 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29380 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29381 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29382 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29383 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29384 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29385 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29386 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29387 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29388 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29389 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29390 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29391 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29392 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29393 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29394 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29395 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29396 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29397 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29398 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29399 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29400 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29401 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29402 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29403 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29404 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29405 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29406 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29407 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29408 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29409 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29410 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29411 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29412 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29413 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29414 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29415 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29416 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29417 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29418 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29419 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29420 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29421 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29422 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29423 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29424 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29425 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29426 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29427 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29428 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29430 2017-10-30 Florian Weimer <fweimer@redhat.com>
29432 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29434 * io/tst-mkdirat.c (do_test): Likewise.
29435 * io/tst-mkfifoat.c (do_test): Likewise.
29436 * io/tst-mknodat.c (do_test): Likewise.
29437 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29438 * locale/programs/locale.c (select_dirs): Likewise.
29439 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29440 * posix/bug-glob2.c (my_readdir): Likewise.
29441 * posix/tst-dir.c (main): Likewise.
29442 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29443 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29445 2017-10-30 Florian Weimer <fweimer@redhat.com>
29447 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29450 2017-10-30 Florian Weimer <fweimer@redhat.com>
29452 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29453 Convert to support/test-driver.c.
29454 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29455 New macro parameters.
29456 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29457 * posix/tst-gnuglob.c: New file.
29458 * posix/tst-gnuglob64.c: Likewise.
29459 * posix/Makefile (tests): Add tst-gnuglob64.
29461 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29464 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29465 and use a better translation for March in “mon”.
29466 * localedata/locales/csb_PL: Use more ASCII to improve the
29467 readability of the source.
29469 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29472 * localedata/locales/km_KH: Use ASCII as much
29473 as possible for better readability of the source and
29474 remove useless comments.
29475 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29476 was commented out and apparently wrong anyway because it was
29477 using Lao characters. If Buddhist era should be used
29478 for km_KH, a native speaker should write the correct formaat
29480 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29481 (According to CLDR, the first weekday for Cambodia is Sunday).
29482 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29483 (These were using Lao characters which must be wrong. If we get
29484 the correct data from a native speaker, we could add it back, until
29485 then it is better not to have name_mr and name_mrs at all than
29488 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29490 * locale/loadlocale.c: Correct size of
29491 _nl_value_type_LC_<category> arrays.
29493 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29495 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29496 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29497 with appropriate macros defined and undefined.
29498 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29499 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29500 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29501 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29502 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29504 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29506 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29509 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29511 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29512 with lowercase letters to make it agree with CLDR.
29514 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29517 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29518 first letters of yesstr and nostr in yesexpr and noexpr,
29519 not for the full words.
29520 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29521 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29522 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29523 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29524 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29525 first letters of yesstr and nostr in yesexpr and noexpr,
29526 until now only English was matched in yesexpr and noexpr.
29527 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29528 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29529 fil but not for tl. As tl and fil are very similar, using fil
29530 is probably better than using English.
29532 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29535 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29536 in yesstr and nostr.
29538 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29540 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29541 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29542 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29544 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29546 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29548 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29550 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29551 (SNANF128X): Likewise.
29553 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29554 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29555 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29556 (HUGE_VAL_F32): Likewise.
29557 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29558 (HUGE_VAL_F64): Likewise.
29559 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29560 (HUGE_VAL_F32X): Likewise.
29561 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29562 (HUGE_VAL_F64X): Likewise.
29563 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29564 (HUGE_VAL_F128X): Likewise.
29566 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29568 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29569 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29570 for the br_FR locale.
29572 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29575 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29577 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29579 * locale/programs/record-status.h: Define globals, and function
29580 prototypes. Move function bodies...
29581 * locale/programs/record-status.c: ... to here. New file.
29582 * iconv/Makefile (iconv_prog-modules): Add record-status.
29583 * locale/Makefile (lib-modules): Likewise.
29584 * iconv/iconv_prog.c: Remove verbose.
29585 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29586 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29587 record a warning about ASCII compatibility.
29588 * locale/programs/ld-monetary.c (monetary_finish): If
29589 warn_int_curr_symbol is true then record a warning about the symbol
29590 not being in our ISO 4217 list.
29591 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29592 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29593 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29594 (OPT_NO_WARN): Define.
29595 (OPT_WARN): Define.
29596 (options): Add entry for --no-warnings, and --warnings.
29597 (set_warnings): New function to enable/disable warnings.
29598 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29599 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29600 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29601 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29602 Pass flags to generate_locale.
29603 (generate_locale): Accept new flag argument and pass it to localedef
29605 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29606 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29608 * localedata/Makefile (test-input-data): Use full file name.
29609 * localedata/da_DK.in: Rename to...
29610 * localedata/da_DK.ISO-8859-1.in: ...this.
29611 * localedata/de_DE.in: Rename to...
29612 * localedata/de_DE.ISO-8859-1.in: ...this.
29613 * localedata/en_US.in: Rename to...
29614 * localedata/en_US.ISO-8859-1.in: ...this.
29615 * localedata/fr_FR.in: Rename to...
29616 * localedata/fr_FR.UTF-8.in: ... this.
29617 * localedata/hr_HR.in: Rename to...
29618 * localedata/hr_HR.ISO-8859-2.in: ...this.
29619 * localedata/hu_HU.in: Rename to...
29620 * localedata/hu_HU.UTF-8.in: ...this.
29621 * localedata/si_LK.in: Rename to...
29622 * localedata/si_LK.UTF-8.in: ...this.
29623 * localedata/sv_SE.in: Rename to...
29624 * localedata/sv_SE.ISO-8859-1.in: ...this.
29625 * localedata/tr_TR.in: Rename to...
29626 * localedata/tr_TR.UTF-8.in: ...this.
29627 * localedata/uk_UA.in: Rename to...
29628 * localedata/uk_UA.UTF-8.in: ...this.
29629 * localedata/sort-test.sh: Test file is locale name with the
29632 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29633 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29635 * localedata/locales/i18n_ctype: Regenerate.
29636 * localedata/locales/tr_TR: Likewise.
29637 * localedata/locales/translit_circle: Likewise.
29638 * localedata/locales/translit_cjk_compat: Likewise.
29639 * localedata/locales/translit_combining: Likewise.
29640 * localedata/locales/translit_compat: Likewise.
29641 * localedata/locales/translit_font: Likewise.
29642 * localedata/locales/translit_fraction: Likewise.
29644 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29646 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29647 lxvd2x/stxvd2x with lvx/stvx.
29648 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29650 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29652 * include/alloc_buffer.h: Replace "if if " with "if " in
29654 * sysdeps/mips/memcpy.S: Likkewise.
29655 * sysdeps/mips/memset.S: Likewise.
29656 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29658 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29660 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29663 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29666 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29667 yesexpr and noexpr.
29668 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29669 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29670 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29671 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29672 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29673 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29674 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29676 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29678 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29679 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29680 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29681 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29682 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29683 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29684 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29685 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29686 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29687 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29688 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29689 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29691 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29693 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29694 as possible for better readability of the source.
29695 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29696 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29697 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29698 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29699 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29700 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29701 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29702 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29703 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29704 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29705 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29706 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29707 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29708 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29709 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29710 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29711 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29712 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29713 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29714 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29715 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29716 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29717 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29718 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29719 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29720 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29721 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29722 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29723 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29724 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29725 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29726 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29727 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29728 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29729 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29730 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29731 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29732 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29733 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29734 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29735 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29736 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29737 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29738 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29739 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29740 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29741 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29742 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29743 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29744 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29745 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29746 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29747 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29748 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29749 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29750 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29751 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29752 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29753 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29754 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29755 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29756 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29757 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29758 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29759 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29760 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29761 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29762 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29763 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29764 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29765 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29766 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29767 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29768 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29769 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29770 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29771 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29772 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29773 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29774 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29775 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29776 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29777 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29778 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29779 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29780 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29781 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29782 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29783 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29784 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29785 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29786 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29787 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29788 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29789 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29790 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29791 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29792 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29793 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29794 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29795 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29796 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29797 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29798 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29799 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29800 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29801 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29802 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29803 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29804 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29805 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29806 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29807 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29808 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29809 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29810 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29811 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29812 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29813 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29814 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29815 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29816 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29817 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29818 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29819 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29820 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29821 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29822 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29823 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29824 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29825 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29826 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29827 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29828 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29829 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29830 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29831 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29832 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29833 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29834 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29835 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29836 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29837 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29838 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29839 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29840 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29841 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29842 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29843 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29844 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29845 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29846 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29847 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29848 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29849 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29850 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29851 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29852 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29853 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29854 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29855 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29856 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29857 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29858 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29859 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29860 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29861 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29862 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29863 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29864 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29865 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29866 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29867 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29868 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29870 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29872 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29873 (Use first letters of yesstr and nostr correctly instead of using
29876 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29878 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29879 (Use first letters of yesstr and nostr correctly).
29881 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29883 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29884 also check for the first characters of yesstr and nostr.
29885 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29886 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29888 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29890 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29891 also check for Chinese characters.
29893 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29895 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29896 match also for the contents of yesstr and nostr. As the first letter
29897 of yesstr and nostr is equal, checking only for the first letter
29900 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29902 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29903 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29905 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29907 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29908 of main contributor.
29910 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29912 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29913 instead of using English.
29915 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29917 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29918 by including the first letters of nostr and yesexpr in the regexp.
29919 Also make it more readable by using ASCII where possible.
29921 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29923 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29924 the first letter of nostr in the regexp. It agrees with CLDR now.
29925 Also make it more readable by using ASCII where possible.
29927 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29929 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29930 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29931 these strings contain a U+17D6 (which somewhat looks like a colon)
29932 instead of a real colon to separate the full words for “yes”
29933 and “no” from the single letter responses.
29935 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29937 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29938 it agree with CLDR (include the first letter of yesstr).
29939 Also make it more readable by using ASCII where possible.
29941 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29943 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29944 and improve yesexpr and noexpr. The yesstr and nostr apparently
29945 came from CLDR. And CLDR has a bug there: these strings contain
29946 a U+0903 (which looks like a colon) instead of a real colon
29947 to separate the full words for “yes” and “no” from the single
29950 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29952 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29953 letters of the full yesstr and nostr in yesexpr and noexpr.
29955 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29957 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29958 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29959 * localedata/locales/an_ES: Make source more readable by using ASCII
29962 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29965 * localedata/locales/yuw_PG: New file.
29966 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29967 * locale/iso-639.def: Add Yau (Uruwa).
29969 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29971 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29973 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29975 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29976 (__libc_realloc): Likewise.
29977 (_mid_memalign): Likewise.
29978 (__libc_calloc): Likewise.
29980 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29982 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29983 by adding the generic +1 and -0 as in all other locales.
29984 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29985 day names and make it more readable by using ASCII where possible.
29987 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29989 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29990 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29992 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29994 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29995 WNOHANG in waitpid call.
29997 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29999 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30000 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30002 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30003 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30004 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30005 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30006 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30007 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30008 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30009 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30012 2017-10-23 Michael Collison <michael.collison@arm.com>
30014 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30015 with __builtin_sqrt.
30016 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30017 with __builtin_sqrtf.
30018 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30019 with __builtin_ceil.
30020 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30021 with __builtin_ceilf.
30022 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30023 with __builtin_floor.
30024 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30025 with __builtin_floorf.
30026 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30027 with __builtin_fma.
30028 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30029 with __builtin_fmaf.
30030 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30031 with __builtin_fmax.
30032 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30033 with __builtin_fmaxf.
30034 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30035 with __builtin_fmin.
30036 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30037 with __builtin_fminf.
30038 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30039 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30040 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30041 with builtin_rint and conversion to int.
30042 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30043 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30044 with builtin_llround.
30045 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30046 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30047 with builtin_rint and conversion to long int.
30048 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30049 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30050 with builtin_lround.
30051 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30052 with builtin_lroundf.
30053 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30054 statements with __builtin_nearbyint.
30055 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30056 statements with __builtin_nearbyintf.
30057 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30058 with __builtin_rint.
30059 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30060 with __builtin_rintf.
30061 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30062 with __builtin_round.
30063 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30064 with __builtin_roundf.
30065 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30066 with __builtin_trunc.
30067 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30068 with __builtin_truncf.
30069 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30070 and s_l[l]round[f].c too.
30072 2017-10-23 Alan Modra <amodra@gmail.com>
30074 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30075 Adjust stack after restoring regs. Add missing LR cfi_restore.
30077 2017-10-23 Alan Modra <amodra@gmail.com>
30079 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30080 Move LR save and frame setup/teardown and LR restore to
30081 immediately around memset call. Provide cfi.
30083 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30085 * sysdeps/i386/fpu/e_powf.S: Removed.
30086 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30087 * sysdeps/i386/fpu/w_powf.c: Likewise.
30088 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30089 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30090 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30092 (CFLAGS-e_powf-sse2.c): New.
30093 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30094 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30096 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30098 * sysdeps/i386/fpu/e_log2f.S: Removed.
30099 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30100 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30101 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30102 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30103 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30105 (CFLAGS-e_log2f-sse2.c): New.
30106 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30107 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30109 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30111 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30113 (CFLAGS-e_powf-fma.c): New.
30114 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30115 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30117 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30119 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30121 (CFLAGS-e_log2f-fma.c): New.
30122 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30123 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30125 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30127 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30129 (CFLAGS-e_logf-fma.c): New.
30130 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30131 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30133 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30135 * sysdeps/i386/fpu/e_logf.S: Removed.
30136 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30137 * sysdeps/i386/fpu/w_logf.c: Likewise.
30138 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30139 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30140 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30141 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30143 (CFLAGS-e_logf-sse2.c): New.
30144 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30145 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30147 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30149 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30150 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30151 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30152 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30153 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30155 (CFLAGS-e_exp2f-sse2.c): New.
30156 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30157 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30159 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30161 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30163 (CFLAGS-e_exp2f-fma.c): New.
30164 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30165 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30167 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30169 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30170 * sysdeps/i386/fpu/e_expf.S: Likewise.
30171 * sysdeps/i386/fpu/math_errf.c: Likewise.
30172 * sysdeps/i386/fpu/w_expf.c: Likewise.
30173 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30174 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30175 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30176 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30177 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30178 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30179 Remove e_expf-ia32.
30180 (CFLAGS-e_expf-sse2.c): New.
30181 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30182 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30184 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30186 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30187 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30188 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30189 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30191 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30193 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30194 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30196 (__redirect_expf): This.
30197 (SYMBOL_NAME): Changed to expf.
30198 (__ieee754_expf): Renamed to ...
30200 (__GI___expf): This.
30201 (__ieee754_expf): Add strong_alias.
30202 (__expf_finite): Likewise.
30204 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30206 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30209 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30212 2017-10-21 Florian Weimer <fweimer@redhat.com>
30214 * posix/Makefile (tests): Add tst-glob-tilde.
30215 (tests-special): Add tst-glob-tilde-mem.out
30216 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30217 (tst-glob-tilde-mem.out): Add mtrace check.
30218 * posix/tst-glob-tilde.c: New file.
30220 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30222 * bits/floatn-common.h: New file.
30223 * math/Makefile (headers): Add bits/floatn-common.h.
30224 * bits/floatn.h: Include <bits/floatn-common.h>.
30225 * sysdeps/ia64/bits/floatn.h: Likewise.
30226 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30227 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30228 * sysdeps/powerpc/bits/floatn.h: Likewise.
30229 * sysdeps/x86/bits/floatn.h: Likewise.
30231 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30233 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30234 indicates whether compiler emits an warning for alias for
30235 functions with incompatible types.
30238 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30239 the auxiliary process is terminated by a signal before calling _exit
30242 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30245 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30247 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30248 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30249 and bit_arch_XSAVEC_Usable if needed.
30250 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30251 and bit_arch_Use_dl_runtime_resolve_opt.
30252 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30254 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30255 (bit_arch_Prefer_No_AVX512): Updated.
30256 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30257 (bit_arch_XSAVEC_Usable): New.
30258 (STATE_SAVE_OFFSET): Likewise.
30259 (STATE_SAVE_MASK): Likewise.
30260 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30261 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30262 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30263 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30264 (index_arch_XSAVEC_Usable): New.
30265 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30266 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30267 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30269 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30270 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30271 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30272 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30273 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30274 _dl_runtime_resolve_xsavec.
30275 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30277 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30278 instead of VEC_SIZE.
30279 (REGISTER_SAVE_BND0): Removed.
30280 (REGISTER_SAVE_BND1): Likewise.
30281 (REGISTER_SAVE_BND3): Likewise.
30282 (REGISTER_SAVE_RAX): Always defined to 0.
30284 (_dl_runtime_resolve_avx): Likewise.
30285 (_dl_runtime_resolve_avx_slow): Likewise.
30286 (_dl_runtime_resolve_avx_opt): Likewise.
30287 (_dl_runtime_resolve_avx512): Likewise.
30288 (_dl_runtime_resolve_avx512_opt): Likewise.
30289 (_dl_runtime_resolve_sse): Likewise.
30290 (_dl_runtime_resolve_sse_vex): Likewise.
30292 (_dl_runtime_resolve_fxsave): Likewise.
30293 (USE_XSAVE): Likewise.
30294 (_dl_runtime_resolve_xsave): Likewise.
30295 (USE_XSAVEC): Likewise.
30296 (_dl_runtime_resolve_xsavec): Likewise.
30297 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30299 (_dl_runtime_resolve_avx512_opt): Likewise.
30300 (_dl_runtime_resolve_avx): Likewise.
30301 (_dl_runtime_resolve_avx_opt): Likewise.
30302 (_dl_runtime_resolve_sse): Likewise.
30303 (_dl_runtime_resolve_sse_vex): Likewise.
30304 (_dl_runtime_resolve_fxsave): New.
30305 (_dl_runtime_resolve_xsave): Likewise.
30306 (_dl_runtime_resolve_xsavec): Likewise.
30308 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30312 * posix/glob.c (__glob): Fix one-byte overflow.
30314 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30316 * malloc/malloc.c (sysdep-cancel.h): Add include.
30318 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30320 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30322 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30324 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30325 (tests): Remove $(objpfx)ga_test depdendency.
30326 * resolv/ga_test.c: Remove file.
30328 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30331 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30332 * localedata/locales/kab_DZ: New file.
30334 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30336 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30337 _dl_relocate_static_pie instead of _dl_start to compute load
30338 address in static PIE.
30340 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30342 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30344 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30347 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30348 * localedata/locales/shn_MM: New file.
30350 2017-10-20 Florian Weimer <fweimer@redhat.com>
30353 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30354 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30355 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30356 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30357 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30358 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30360 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30362 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30364 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30366 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30369 * sysdeps/mips/bits/long-double.h: Move to ....
30370 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30372 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30374 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30376 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30377 H.J. Lu <hongjiu.lu@intel.com>
30380 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30381 GLRO(dl_platform) to NULL.
30382 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30383 (modules-names): Add tst-platformmod-1 and
30384 x86_64/tst-platformmod-2.
30385 (CFLAGS-tst-platform-1.c): New.
30386 (CFLAGS-tst-platformmod-1.c): Likewise.
30387 (CFLAGS-tst-platformmod-2.c): Likewise.
30388 (LDFLAGS-tst-platformmod-2.so): Likewise.
30389 ($(objpfx)tst-platform-1): Likewise.
30390 ($(objpfx)tst-platform-1.out): Likewise.
30391 (tst-platform-1-ENV): Likewise.
30392 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30393 * sysdeps/x86_64/tst-platform-1.c: New file.
30394 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30395 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30397 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30400 * locale/iso-639.def: Add Karbi.
30401 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30402 * localedata/locales/mjw_IN: New file.
30404 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30406 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30407 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30408 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30409 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30410 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30411 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30412 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30414 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30415 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30416 * manual/math.texi (Mathematics): Document additional architecture
30417 support for _Float128.
30418 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30419 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30420 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30421 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30422 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30423 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30424 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30425 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30426 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30427 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30428 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30429 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30430 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30431 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30432 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30434 2017-10-18 Renlin Li <renlin.li@arm.com>
30436 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30437 _DYNAMIC symbol to calculate load address.
30439 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30441 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30442 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30444 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30445 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30447 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30450 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30451 and improve readability by using more ASCII.
30452 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30453 and improve readability by using more ASCII.
30455 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30457 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30458 not all targets support atomics on bool.
30460 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30462 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30463 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30465 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30466 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30467 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30468 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30469 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30470 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30472 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30474 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30477 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30480 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30481 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30482 (do_check_remalloced_chunk): Fix build bug.
30483 (do_check_malloc_state): Add assert that checks arena->top.
30484 (malloc_consolidate): Remove initialization.
30485 (int_mallinfo): Remove call to malloc_consolidate.
30486 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30488 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30490 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30491 (have_fastchunks): Remove.
30492 (clear_fastchunks): Remove.
30493 (set_fastchunks): Remove.
30494 (malloc_state): Add have_fastchunks.
30495 (malloc_init_state): Use have_fastchunks.
30496 (do_check_malloc_state): Remove incorrect invariant checks.
30497 (_int_malloc): Use have_fastchunks.
30498 (_int_free): Likewise.
30499 (malloc_consolidate): Likewise.
30501 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30503 * malloc/malloc.c (tcache_put): Inline.
30504 (tcache_get): Inline.
30506 2017-10-17 Jordi Mallach <jordi@gnu.org>
30508 Aurelien Jarno <aurelien@aurel32.net>
30510 * localedata/locales/ca_ES@valencia: New file.
30511 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30513 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30516 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30519 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30521 * scripts/build-many-glibcs.py (Context.add_all_configs):
30522 Add arm-linux-gnueabihf multiarch extra_glibcs.
30524 * sysdeps/generic/ifunc-init.h: New file.
30525 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30527 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30530 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30531 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30532 * stdlib/tst-strfmon_l.c: adapt test case.
30534 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30536 * sysdeps/generic/float128-abi.h: New file.
30537 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30538 non-__prefixed symbols to ....
30539 * math/Versions: ... here. Include <float128-abi.h>.
30540 * stdlib/Versions ... and here. Include <float128-abi.h>
30542 2017-10-16 Florian Weimer <fweimer@redhat.com>
30544 * version.h (VERSION): Switch to ".9000" as the development
30547 2017-10-16 Florian Weimer <fweimer@redhat.com>
30550 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30551 compat_symbol_reference to access non-default version.
30553 2017-10-16 Florian Weimer <fweimer@redhat.com>
30555 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30557 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30559 * include/shlib-compat.h (compat_symbol_reference): Update
30562 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30564 * math/Makefile (test-types): Add
30565 $(type-float128-$(float128-alias-fcts)).
30566 * math/test-float128.h (TYPE_STR): Define conditional on
30567 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30568 (ULP_IDX): Likewise.
30569 (ULP_I_IDX): Likewise.
30571 * stdlib/strtold.c: Include <bits/floatn.h>
30572 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30573 and later undefine as macro. Define as weak alias if
30575 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30576 and later undefine as macro. Define as weak alias if
30578 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30579 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30580 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30581 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30582 Define and later undefine as macro. Define as weak alias if
30584 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30586 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30587 Define and later undefine as macro. Define as weak alias if
30589 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30590 Define and later undefine as macro. Define as weak alias if
30593 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30595 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30596 record_verbose messages.
30598 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30601 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30602 to silence -O3 -Wall warning with GCC 7.
30604 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30606 * Makeconfig (+link-static-before-libc): Use the first of
30607 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30608 * gmon/Makefile (tests): Add tst-gmon-static.
30609 (tests-static): Likewise.
30610 (CFLAGS-tst-gmon-static.c): New.
30611 (CRT-tst-gmon-static): Likewise.
30612 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30613 (tst-gmon-static-ENV): Likewise.
30614 (tests-special): Likewise.
30615 ($(objpfx)tst-gmon-static.out): Likewise.
30616 (clean-tst-gmon-static-data): Likewise.
30617 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30618 * gmon/tst-gmon-static-gprof.sh: New file.
30619 * gmon/tst-gmon-static.c: Likewise.
30621 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30624 * locale/programs/linereader.c (get_string): Don't warn on
30625 non-symbolic character.
30628 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30632 * locale/programs/record-status.h: New file
30633 * locale/programs/locale.c: Add comment.
30634 * locale/programs/charmap-dir.c: Don't include error.h.
30635 (charmap_opendir): Use record_error.
30636 * locale/programs/charmap.c: Don't include error.h.
30637 (charmap_read): Use record_error, and record_warning.
30638 (parse_charmap): Likewise.
30639 * locale/programs/ld-address.c: Don't include error.h.
30640 (address_finish): Use record_error, and record_warning.
30641 * locale/programs/ld-collate.c: Don't include error.h.
30642 (collate_finish): Use record_error, and record_error_at_line.
30643 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30644 (ctype_class_new): Likewise.
30645 (ctype_map_new): Likewise.
30646 (set_one_default): Likewise.
30647 (set_class_defaults): Likewise.
30648 (translit_flatten): Likewise.
30649 (allocate_arrays): Use record_error, and record_verbose.
30650 * locale/programs/ld-identification.c: Don't include error.h.
30651 (indentation_finish): Use record_error and record_warning.
30652 * locale/programs/ld-measurement.c: Don't include error.h.
30653 (measurement_finish): Use record_error.
30654 * locale/programs/ld-messages.c
30655 (message_finish): Likewise.
30656 * locale/programs/ld-monetary.c
30657 (monetary_finish): Likewise.
30658 * locale/programs/ld-name.c (name_finish): Use record_error
30659 and record_warning.
30660 * locale/programs/ld-numeric.c
30661 (numeric_finish): Use record_error.
30662 * locale/programs/ld-paper.c: Don't include error.h.
30663 (paper_finish): Use record_error.
30664 * locale/programs/ld-telephone.c: Don't include error.h.
30665 (telephone_finish): Use record_error.
30666 * locale/programs/ld-time.c (time_finish): Likewise.
30667 * locale/programs/linereader.h (lr_error): Make inline func.
30668 * locale/programs/localedef.c: Define recorded_warning_count,
30669 and recorded_error_count.
30670 (main): Use record_error. Use recorded_error_count and
30671 recorded_warning_count to issue correct error returns.
30672 (add_to_readlist): Use record_error.
30673 (find_locale): Likewise.
30674 (load_locale): Likewise.
30675 * locale/programs/localedef.h: Remove be_quiet
30676 and WITH_CUR_LOCALE.
30677 * locale/programs/locarchive.c (compare_from_file): Use
30679 * locale/programs/locfile.c (write_locale_data): Use
30681 * locale/programs/repertoire.c: Dont include error.h.
30682 (repertoire_complain): Use record_error.
30683 * localedata/tst-fmon.sh: Expect failures from localedef.
30684 * localedata/tst-locale.sh: Likewise.
30685 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30687 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30688 (REPORTS): Likewise.
30690 (i18n): Rename to...
30691 (i18n_ctype): ...this.
30692 (i18n-report): Rename to...
30693 (i18n_ctype-report): ...this.
30694 * localedata/locales/i18n_ctype: Regenerate.
30695 * localedata/locales/i18n: copy i18n_ctype.
30697 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30699 * stdlib/strfroml.c: Include <bits/floatn.h>.
30700 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30701 Define before include of <stdlib.h> and undefine afterwards, then
30702 define as weak alias.
30704 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30705 Undefine and restore default definition. Use
30706 libm_alias_ldouble_other.
30708 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30711 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30714 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30716 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30717 Assign sym_map to be map for local symbols, as TLS relocations
30718 use sym_map to determine whether the symbol is defined and to
30719 extract the TLS information.
30720 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30721 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30723 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30726 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30727 (math_force_eval): Add powerpc version.
30730 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30732 (do_test): Likewise.
30733 * stdio-common/tst-printf.sh: Likewise.
30734 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30735 ifdef clause in order to set the carry bit right. Replace r0 by
30736 0 without changing the behavior.
30738 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30740 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30741 <libm-alias-ldouble.h>.
30742 (fabsl): Define using libm_alias_ldouble.
30743 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30744 <libm-alias-ldouble.h>.
30745 (fabsl): Define using libm_alias_ldouble.
30747 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30748 Remove conditional code.
30750 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30751 Rename to __clog10_internal_l.
30752 (__clog10_internal_l): Define aliases using
30753 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30756 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30758 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30759 * benchtests/sincosf-inputs: New file.
30760 * benchtests/cosf-inputs: New file.
30761 * benchtests/sinf-inputs: New file.
30763 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30765 * posix/tst-spawn.c (do_test): Wait for both children.
30767 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30770 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30771 tests-pie): Add tst-gmon-pie.
30772 (CFLAGS-tst-gmon-pie.c): New.
30773 (CRT-tst-gmon-pie): Likewise.
30774 (tst-gmon-pie-ENV): Likewise.
30775 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30776 ($(objpfx)tst-gmon-pie.out): Likewise.
30777 (clean-tst-gmon-pie-data): Likewise.
30778 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30779 * gmon/gmon.c [PIC]: Include <link.h>.
30780 [PIC] (callback): New function.
30781 (write_hist): Add an argument for load address. Subtract load
30783 (write_call_graph): Likewise.
30784 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30785 it to write_hist and write_call_graph.
30786 * gmon/tst-gmon-pie.c: New file.
30788 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30790 * math/Makefile (test-types-basic): New variable.
30791 (test-types): Likewise.
30792 (libm-test-support): Use $(test-types) instead of $(types).
30793 (libm-tests-base-normal): Likewise.
30794 (libm-tests-base-finite): Likewise.
30795 (libm-tests-base-inline): Likewise.
30796 (generated): Likewise.
30797 ($(objpfx)libm-test-support-$(t).c): Likewise.
30798 (libm-tests-for-type iterator): Likewise.
30799 (libm-test-support iterator): Likewise.
30800 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30801 (ulp_idx): Use ULP_IDX.
30802 * math/test-ldouble.h: Include <float.h>.
30803 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30804 (ULP_IDX): New macro.
30805 (ULP_I_IDX): Likewise.
30806 * math/test-double.h (ULP_IDX): Likewise.
30807 (ULP_I_IDX): Likewise.
30808 * math/test-float.h (ULP_IDX): Likewise.
30809 (ULP_I_IDX): Likewise.
30810 * math/test-float128.h (ULP_IDX): Likewise.
30811 (ULP_I_IDX): Likewise.
30813 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30815 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30816 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30817 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30818 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30819 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30820 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30821 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30823 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30824 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30825 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30826 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30827 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30828 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30829 (SINGLE_THREAD_BY_GLOBAL): Define.
30830 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30832 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30834 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30836 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30838 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30839 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30843 2017-10-11 Andreas Schwab <schwab@suse.de>
30845 * nis/Makefile (aux): Remove.
30846 * nscd/Makefile (aux): Add nscd_hash.
30847 (nscd-modules): Likewise.
30848 ($(objpfx)nscd): Don't depend on libnsl.
30849 * nscd/nscd_hash.c: New file.
30850 * nscd/nscd_hash.h: Likewise.
30851 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30852 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30853 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30854 instead of <nis/rpcsvc/nis.h>.
30855 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30857 2017-10-11 Florian Weimer <fweimer@redhat.com>
30860 Avoid large NSS buffers with many addresses, aliases.
30861 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30862 using dynarrays and struct alloc_buffer.
30863 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30864 (tst-nss-files-hosts-multi): Link with -ldl.
30865 * nss/tst-nss-files-hosts-multi.c: New file.
30867 2017-10-11 Florian Weimer <fweimer@redhat.com>
30870 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30871 scratch_buffer. Eliminate gotos.
30873 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30875 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30876 libm_alias_ldouble_other.
30877 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30878 undefine and redefine.
30879 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30880 (exp10l): Do not define here.
30881 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30882 (weak_alias): Undefine and redefine.
30883 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30884 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30885 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30886 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30888 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30889 [!__fma] (fma): Define using libm_alias_double.
30890 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30891 [!__fmaf] (fmaf): Define using libm_alias_float.
30892 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30893 (fmal): Define using libm_alias_ldouble.
30895 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30897 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30899 (libm_alias_double_other): Likewise.
30900 (libm_alias_double_r): Use libm_alias_double_other_r.
30901 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30903 (libm_alias_float_other): Likewise.
30904 (libm_alias_float_r): Use libm_alias_float_other_r.
30905 * sysdeps/generic/libm-alias-float128.h
30906 (libm_alias_float128_other_r): New macro.
30907 (libm_alias_float128_other): Likewise.
30908 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30909 * sysdeps/generic/libm-alias-ldouble.h
30910 (libm_alias_ldouble_other_r): New macro.
30911 (libm_alias_ldouble_other): Likewise.
30912 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30913 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30914 (libm_alias_double_other_r): New macro.
30915 (libm_alias_double_other): Likewise.
30916 (libm_alias_double_r): Use libm_alias_double_other_r.
30917 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30918 (libm_alias_ldouble_other_r): New macro.
30919 (libm_alias_ldouble_other): Likewise.
30920 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30921 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30922 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30923 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30924 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30925 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30926 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30927 * math/w_exp2f.c: Use libm_alias_float_other.
30928 * math/w_expf.c: Likewise.
30929 * math/w_log2f.c: Likewise.
30930 * math/w_logf.c: Likewise.
30931 * math/w_powf.c: Likewise.
30932 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30933 [!__exp2f]: Use libm_alias_float_other.
30934 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30935 [!__expf]: Use libm_alias_float_other.
30936 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30937 [!__log2f]: Use libm_alias_float_other.
30938 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30939 [!__logf]: Use libm_alias_float_other.
30940 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30941 [!__powf]: Use libm_alias_float_other.
30943 2017-10-10 Florian Weimer <fweimer@redhat.com>
30945 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30947 (_nss_files_gethostbyname3_r): Call it.
30949 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30951 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30952 error. Remove default definition of declare_mgen_alias.
30953 [!declare_mgen_alias_r]: Likewise.
30954 * sysdeps/generic/math-type-macros-double.h
30955 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30956 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30957 (declare_mgen_alias_r): Likewise.
30958 * sysdeps/generic/math-type-macros-float128.h
30959 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30960 * sysdeps/generic/math-type-macros-ldouble.h
30961 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30962 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30964 (declare_mgen_alias_r_s): Likewise.
30965 (declare_mgen_alias_r): Likewise.
30966 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30967 (lgamma_r): Define using libm_alias_double_r.
30968 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30969 (lgammaf_r): Define using libm_alias_float_r.
30970 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30971 (lgammal_r): Define using libm_alias_ldouble_r.
30972 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30973 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30975 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30977 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30978 extern declaration.
30980 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30982 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30984 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30987 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30988 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30989 * math/Makefile (test-math-cxx11): New test.
30990 * math/test-math-cxx11.cc: New file.
30992 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30994 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30996 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30997 call to allocate the slave pty file descriptor.
30999 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31001 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31002 [!__fma] (fma): Define using libm_alias_double.
31003 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31004 [!__fma] (fma): Define using libm_alias_double.
31006 * sysdeps/ieee754/float128/float128_private.h: Include
31007 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31008 (libm_alias_ldouble_r): Undefine and redefine.
31009 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31010 <libm-alias-ldouble.h>.
31011 (asinhl): Define using libm_alias_ldouble.
31012 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31013 <libm-alias-ldouble.h>.
31014 (atanl): Define using libm_alias_ldouble.
31015 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31016 <libm-alias-ldouble.h>.
31017 (cbrtl): Define using libm_alias_ldouble.
31018 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31019 <libm-alias-ldouble.h>.
31020 (ceill): Define using libm_alias_ldouble.
31021 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31022 <libm-alias-ldouble.h>.
31023 (copysignl): Define using libm_alias_ldouble.
31024 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31025 <libm-alias-ldouble.h>.
31026 (cosl): Define using libm_alias_ldouble.
31027 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31028 <libm-alias-ldouble.h>.
31029 (erfl): Define using libm_alias_ldouble.
31031 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31032 <libm-alias-ldouble.h>.
31033 (expm1l): Define using libm_alias_ldouble.
31034 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31035 <libm-alias-ldouble.h>.
31036 (fabsl): Define using libm_alias_ldouble.
31037 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31038 <libm-alias-ldouble.h>.
31039 (floorl): Define using libm_alias_ldouble.
31040 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31041 <libm-alias-ldouble.h>.
31042 (fmal): Define using libm_alias_ldouble.
31043 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31044 <libm-alias-ldouble.h>.
31045 (frexpl): Define using libm_alias_ldouble.
31046 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31047 libm_alias_ldouble.
31048 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31049 <libm-alias-ldouble.h>.
31050 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31051 libm_alias_ldouble.
31052 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31053 <libm-alias-ldouble.h>.
31054 (getpayloadl): Define using libm_alias_ldouble.
31055 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31056 <libm-alias-ldouble.h>.
31057 (llrintl): Define using libm_alias_ldouble.
31058 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31059 <libm-alias-ldouble.h>.
31060 (llroundl): Define using libm_alias_ldouble.
31061 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31062 <libm-alias-ldouble.h>.
31063 (logbl): Define using libm_alias_ldouble.
31064 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31065 <libm-alias-ldouble.h>.
31066 (lrintl): Define using libm_alias_ldouble.
31067 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31068 <libm-alias-ldouble.h>.
31069 (lroundl): Define using libm_alias_ldouble.
31070 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31071 <libm-alias-ldouble.h>.
31072 (modfl): Define using libm_alias_ldouble.
31073 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31074 <libm-alias-ldouble.h>.
31075 (nearbyintl): Define using libm_alias_ldouble.
31076 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31077 <libm-alias-ldouble.h>.
31078 (nextafterl): Define using libm_alias_ldouble.
31079 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31080 <libm-alias-ldouble.h>.
31081 (nextupl): Define using libm_alias_ldouble.
31082 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31083 <libm-alias-ldouble.h>.
31084 (remquol): Define using libm_alias_ldouble.
31085 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31086 <libm-alias-ldouble.h>.
31087 (rintl): Define using libm_alias_ldouble.
31088 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31089 <libm-alias-ldouble.h>.
31090 (roundevenl): Define using libm_alias_ldouble.
31091 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31092 <libm-alias-ldouble.h>.
31093 (roundl): Define using libm_alias_ldouble.
31094 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31095 using libm_alias_ldouble.
31096 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31097 <libm-alias-ldouble.h>.
31098 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31099 Define using libm_alias_ldouble.
31100 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31101 <libm-alias-ldouble.h>.
31102 (sincosl): Define using libm_alias_ldouble.
31103 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31104 <libm-alias-ldouble.h>.
31105 (sinl): Define using libm_alias_ldouble.
31106 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31107 <libm-alias-ldouble.h>.
31108 (tanhl): Define using libm_alias_ldouble.
31109 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31110 <libm-alias-ldouble.h>.
31111 (tanl): Define using libm_alias_ldouble.
31112 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31113 <libm-alias-ldouble.h>.
31114 (totalorderl): Define using libm_alias_ldouble.
31115 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31116 <libm-alias-ldouble.h>.
31117 (totalordermagl): Define using libm_alias_ldouble.
31118 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31119 <libm-alias-ldouble.h>.
31120 (truncl): Define using libm_alias_ldouble.
31121 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31122 libm_alias_ldouble.
31123 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31124 libm_alias_ldouble.
31125 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31126 <libm-alias-ldouble.h>.
31127 (weak_alias): Do not undefine and redefine.
31128 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31129 (copysignl): Define with long_double_symbol only if [IS_IN
31131 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31132 <libm-alias-ldouble.h>.
31133 (weak_alias): Do not undefine and redefine.
31134 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31135 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31136 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31137 <libm-alias-ldouble.h>.
31138 (weak_alias): Do not undefine and redefine.
31139 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31140 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31141 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31142 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31143 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31144 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31145 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31146 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31147 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31148 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31149 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31150 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31151 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31152 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31153 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31154 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31155 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31156 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31157 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31158 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31159 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31160 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31161 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31162 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31163 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31164 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31166 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31169 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31170 (tcache_thread_freeres): Set tcache_shutting_down before
31171 freeing the tcache.
31172 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31173 * malloc/tst-malloc-tcache-leak.c: New file.
31175 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31177 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31178 back to powerpc32 file.
31179 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31180 (memrchr): Add __memrchr_power8 to ifunc list.
31181 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31182 extra bytes for unaligned inputs.
31184 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31186 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31187 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31189 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31190 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31192 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31194 * sysdeps/arm/libm-test-ulps: Update.
31196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31197 <libm-alias-ldouble.h>.
31198 (asinhl): Define using libm_alias_ldouble.
31199 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31200 <libm-alias-ldouble.h>.
31201 (cbrtl): Define using libm_alias_ldouble.
31202 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31203 <libm-alias-ldouble.h>.
31204 (copysignl): Define using libm_alias_ldouble.
31205 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31206 <libm-alias-ldouble.h>.
31207 (cosl): Define using libm_alias_ldouble.
31208 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31209 <libm-alias-ldouble.h>.
31210 (erfl): Define using libm_alias_ldouble.
31212 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31213 <libm-alias-ldouble.h>.
31214 (fmal): Define using libm_alias_ldouble.
31215 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31216 <libm-alias-ldouble.h>.
31217 (frexpl): Define using libm_alias_ldouble.
31218 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31219 libm_alias_ldouble.
31220 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31221 <libm-alias-ldouble.h>.
31222 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31223 libm_alias_ldouble.
31224 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31225 <libm-alias-ldouble.h>.
31226 (getpayloadl): Define using libm_alias_ldouble.
31227 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31228 <libm-alias-ldouble.h>.
31229 (llrintl): Define using libm_alias_ldouble.
31230 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31231 <libm-alias-ldouble.h>.
31232 (llroundl): Define using libm_alias_ldouble.
31233 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31234 <libm-alias-ldouble.h>.
31235 (lrintl): Define using libm_alias_ldouble.
31236 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31237 <libm-alias-ldouble.h>.
31238 (lroundl): Define using libm_alias_ldouble.
31239 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31240 <libm-alias-ldouble.h>.
31241 (modfl): Define using libm_alias_ldouble.
31242 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31243 <libm-alias-ldouble.h>.
31244 (nextupl): Define using libm_alias_ldouble.
31245 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31246 <libm-alias-ldouble.h>.
31247 (remquol): Define using libm_alias_ldouble.
31248 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31249 <libm-alias-ldouble.h>.
31250 (roundevenl): Define using libm_alias_ldouble.
31251 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31252 <libm-alias-ldouble.h>.
31253 (roundl): Define using libm_alias_ldouble.
31254 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31255 using libm_alias_ldouble.
31256 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31257 <libm-alias-ldouble.h>.
31258 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31259 <libm-alias-ldouble.h>.
31260 (setpayloadsigl): Define using libm_alias_ldouble.
31261 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31262 <libm-alias-ldouble.h>.
31263 (sincosl): Define using libm_alias_ldouble.
31264 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31265 <libm-alias-ldouble.h>.
31266 (sinl): Define using libm_alias_ldouble.
31267 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31268 <libm-alias-ldouble.h>.
31269 (tanhl): Define using libm_alias_ldouble.
31270 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31271 <libm-alias-ldouble.h>.
31272 (tanl): Define using libm_alias_ldouble.
31273 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31274 <libm-alias-ldouble.h>.
31275 (totalorderl): Define using libm_alias_ldouble.
31276 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31277 <libm-alias-ldouble.h>.
31278 (totalordermagl): Define using libm_alias_ldouble.
31279 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31280 libm_alias_ldouble.
31281 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31282 libm_alias_ldouble.
31284 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31286 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31288 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31289 (__libc_ifunc_impl_list): Likewise.
31290 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31291 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31293 * benchtests/bench-memmove-walk.c: New file.
31294 * benchtests/Makefile (string-benchset): Add it.
31296 * benchtests/bench-memset-walk.c: New file.
31297 * benchtests/Makefile (string-benchset): Add it.
31299 * benchtests/bench-memcpy-walk.c: New file.
31300 * benchtests/Makefile (string-benchset): Add it.
31302 2017-10-05 Florian Weimer <fweimer@redhat.com>
31304 nscd: Eliminate compilation time dependency in the build output.
31305 * nscd/nscd_stat.c (STATDATA_VERSION)
31306 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31307 (STATDATA_VERSION_FULL): New macro definitions.
31308 (compilation): Remove.
31309 (struct statdata): Adjust version member.
31310 (send_stats): Set version from STATDATA_VERSION_FULL.
31311 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31313 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31315 * configure.ac (--enable-add-ons): Remove option.
31316 (machine): Do not mention add-ons in comment.
31317 (LIBC_PRECONFIGURE): Likewise.
31318 (add_ons): Remove variable and sanity checks and logic to locate
31320 (add_ons_automatic): Remove variable.
31321 (configured_add_ons): Likewise.
31322 (add_ons_sfx): Likewise.
31323 (add_ons_pfx): Likewise.
31324 (add_on_subdirs): Likewise.
31325 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31326 consideration of add-ons in Implies handling.
31327 (sysdeps_add_ons): Likewise.
31328 * configure: Regenerated.
31329 * libidn/configure.ac: Remove.
31330 * libidn/configure: Likewise.
31331 * sysdeps/unix/inet/configure.ac: New file.
31332 * sysdeps/unix/inet/configure: New generated file.
31333 * sysdeps/unix/inet/Subdirs: Add libidn.
31334 * Makeconfig (sysdeps-srcdirs): Remove variable.
31335 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31336 ($(common-objpfx)config.status): Do not depend on add-on files.
31337 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31339 (all-subdirs): Do not include $(add-on-subdirs).
31340 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31341 * config.make.in (add-ons): Remove variable.
31342 (add-on-subdirs): Likewise.
31343 (sysdeps-add-ons): Likewise.
31344 * manual/Makefile (add-chapters): Remove.
31345 ($(objpfx)texis): Do not depend on $(add-chapters).
31346 (nonexamples): Do not handle $(add-chapters).
31347 (examples): Do not handle $(add-ons).
31348 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31350 * manual/install.texi (Installation): Do not mention add-ons.
31351 (--enable-add-ons): Do not document configure option.
31352 * INSTALL: Regenerated.
31353 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31354 * manual/maint.texi (Hierarchy Conventions): Do not mention
31356 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31358 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31360 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31361 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31363 2017-10-05 Andreas Schwab <schwab@suse.de>
31366 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31367 (_IO_flush_all_lockp): Always lock list_all_lock.
31368 (_IO_flush_all_linebuffered): Likewise.
31369 (_IO_unbuffer_all): Likewise.
31371 2017-10-05 Florian Weimer <fweimer@redhat.com>
31374 Do not flush stdio streams on abort.
31375 * stdlib/abort.c (fflush): Remove macro definition.
31376 (abort): Remove stages related to stdio flushing.
31378 2017-10-05 Florian Weimer <fweimer@redhat.com>
31380 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31382 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31384 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31386 2017-10-05 Florian Weimer <fweimer@redhat.com>
31388 * support/support_format_hostent.c (support_format_hostent): Add
31389 more error information for NETDB_INTERNAL.
31391 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31393 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31394 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31395 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31396 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31397 AC_DEFINE if multi-arch is enabled.
31398 * sysdeps/i386/configure: Regenerated.
31400 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31402 * Makeconfig (+link-static-before-libc): Use
31403 $(DEFAULT-LDFLAGS-$(@F)).
31404 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31405 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31406 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31408 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31410 * elf/Makefile (tests): Add tst-main1.
31411 (modules-names): Add tst-main1mod.
31412 ($(objpfx)tst-main1): New.
31413 (CRT-tst-main1): Likewise.
31414 (LDFLAGS-tst-main1): Likewise.
31415 (LDLIBS-tst-main1): Likewise.
31416 (tst-main1mod.so-no-z-defs): Likewise.
31417 * elf/tst-main1.c: New file.
31418 * elf/tst-main1mod.c: Likewise.
31420 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31422 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31424 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31426 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31427 (fma): Define using libm_alias_double.
31428 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31429 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31431 (fmal): Do not define as compat symbol here.
31432 * sysdeps/alpha/fpu/s_fma.c: New file.
31434 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31436 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31438 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31441 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31443 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31445 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31446 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31447 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31448 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31450 Include <math_ldbl_opt.h>
31451 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31453 (compat_symbol): Undefine and redefine.
31454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31456 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31457 (compat_symbol): Undefine and redefine.
31458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31459 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31460 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31461 GLIBC_2_1 for libm.
31462 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31463 GLIBC_2.0 copysignl symbol.
31464 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31465 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31467 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31469 2017-10-04 Florian Weimer <fweimer@redhat.com>
31471 * scripts/check-local-headers.sh: Ignore nspr4 header file
31472 directory in addition to nspr.
31474 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31477 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31478 * configure: Regenerate.
31479 * crypt/Makefile (nss-cpp-flags): New variable.
31480 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31481 (CPPFLAGS-md5-crypt.c): Use it.
31482 * scripts/check-local-headers.sh: Ignore nspr header file
31485 2017-10-04 Andreas Schwab <schwab@suse.de>
31487 * nis/Makefile (services): Remove compat.
31488 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31489 ($(objpfx)libnss_compat.so): Remove rule.
31490 * nis/Versions (libnss_compat): Remove.
31491 * nss/Makefile (services): Add compat.
31492 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31493 * nss/Versions (libnss_compat): Define.
31494 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31495 Don't include <rpc/types.h>. Replace bool_t by bool.
31496 * nss/nss_compat/compat-initgroups.c: Likewise.
31497 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31498 instead of <rpcsrv/ypclnt.h>.
31499 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31500 yp_get_default_domain.
31501 * nss/nss_compat/compat-pwd.c: Likewise.
31502 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31503 yp_get_default_domain.
31504 * nss/nss_compat/nisdomain.c: New file.
31505 * nss/nss_compat/nisdomain.h: Likewise.
31507 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31510 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31511 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31513 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31516 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31517 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31519 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31521 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31522 "movl main@GOTOFF(%ebx), %eax".
31524 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31526 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31527 allow undefined _DYNAMIC in PIE libc.a.
31528 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31531 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31533 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31536 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31538 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31541 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31543 * math/test-math-iscanonical.cc (error): Replace bool with int.
31545 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31547 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31548 (modf): Define using libm_alias_double, only if [!__modf].
31549 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31550 <libm-alias-double.h>.
31551 (modf): Define using libm_alias_double, only if [!__modf].
31552 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31553 compat symbol here.
31554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31555 (weak_alias): Do not undefine and redefine.
31556 (strong_alias): Likewise.
31557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31558 (weak_alias): Likewise.
31559 (strong_alias): Likewise.
31561 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31562 (logb): Define using libm_alias_double, only if [!__logb].
31563 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31564 <libm-alias-double.h>.
31565 (logb): Define using libm_alias_double, only if [!__logb].
31566 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31568 (weak_alias): Do not undefine and redefine.
31569 (strong_alias): Likewise.
31570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31571 (weak_alias): Likewise.
31572 (strong_alias): Likewise.
31574 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31576 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31577 Check SHARED instead PIC.
31579 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31581 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31582 [!__fmaf] (fmaf): Define using libm_alias_float.
31584 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31585 (frexp): Define using libm_alias_double.
31586 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31587 <libm-alias-double.h>.
31588 (frexp): Define using libm_alias_double.
31589 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31590 compat symbol here.
31592 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31595 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31596 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31597 (CFLAGS-test-math-iscanonical.cc): New variable.
31598 * math/test-math-iscanonical.cc: New file.
31599 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31600 Provide a C++ implementation based on function overloading,
31601 rather than using __MATH_TG, which uses C-only builtins.
31602 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31604 * sysdeps/powerpc/powerpc64le/Makefile
31605 (CFLAGS-test-math-iscanonical.cc): New variable.
31607 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31609 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31610 (ceil): Define using libm_alias_double.
31611 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31612 (floor): Define using libm_alias_double.
31613 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31614 <libm-alias-double.h>.
31615 (llround): Define using libm_alias_double.
31616 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31617 <libm-alias-double.h>.
31618 (lround): Define using libm_alias_double.
31619 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31620 <libm-alias-double.h>.
31621 (nearbyint): Define using libm_alias_double.
31622 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31623 <libm-alias-double.h>.
31624 (remquo): Define using libm_alias_double.
31625 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31626 (rint): Define using libm_alias_double.
31627 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31628 (round): Define using libm_alias_double.
31629 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31630 (trunc): Define using libm_alias_double.
31631 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31632 <libm-alias-double.h>.
31633 (ceil): Define using libm_alias_double.
31634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31635 <libm-alias-double.h>.
31636 (floor): Define using libm_alias_double.
31637 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31638 <libm-alias-double.h>.
31639 (llround): Define using libm_alias_double.
31640 [_LP64] (lround): Likewise.
31641 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31642 <libm-alias-double.h>.
31643 [!_LP64] (lround): Define using libm_alias_double.
31644 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31645 <libm-alias-double.h>.
31646 (nearbyint): Define using libm_alias_double.
31647 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31648 <libm-alias-double.h>.
31649 (remquo): Define using libm_alias_double.
31650 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31651 <libm-alias-double.h>.
31652 (rint): Define using libm_alias_double.
31653 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31654 <libm-alias-double.h>.
31655 (round): Define using libm_alias_double.
31656 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31657 <libm-alias-double.h>.
31658 (trunc): Define using libm_alias_double.
31659 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31660 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31661 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31662 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31663 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31664 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31665 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31666 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31667 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31669 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31671 * math/w_remainder.c: New file.
31672 * math/w_remainderf.c: New file.
31673 * math/w_remainderl.c: New file.
31675 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31677 * elf/rtld.c (BOOTSTRAP_MAP): New.
31678 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31679 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31681 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31683 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31686 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31688 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31689 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31690 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31691 rtld_hidden_data_ver): Define to empty.
31692 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31693 __assert_perror_fail): Likewise.
31694 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31695 (__rewinddir): Likewise.
31696 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31697 (__profile_frequency): Likewise.
31698 * include/setjmp.h (__sigsetjmp): Likewise.
31699 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31700 __libc_sigaction): Likewise.
31701 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31702 not set hidden attribute.
31703 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31704 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31705 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31706 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31707 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31708 __fxstatat64): Likewise.
31709 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31710 (__uname): Likewise.
31711 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31712 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31713 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31714 (NO_RTLD_HIDDEN): Set.
31715 * sysdeps/mach/hurd/configure: Refresh.
31716 * config.h.in: Refresh.
31718 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31720 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31721 (atan): Define using libm_alias_double.
31722 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31723 (tan): Define using libm_alias_double.
31724 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31725 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31727 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31728 define as weak alias of __atan. Do not define any aliases if
31730 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31731 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31732 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31733 as weak alias of __tan. Do not define any aliases if [__tan].
31734 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31735 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31736 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31738 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31739 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31740 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31741 and define as weak alias of __atan.
31742 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31744 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31745 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31746 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31747 define as weak alias of __tan.
31749 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31751 * math/w_lgamma.c: New file.
31752 * math/w_lgammaf.c: New file.
31753 * math/w_lgammal.c: New file.
31755 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31757 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31758 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31759 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31760 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31761 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31762 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31763 * sysdeps/i386/fpu/w_log2f.c: New file.
31764 * sysdeps/i386/fpu/w_logf.c: New file.
31765 * sysdeps/i386/fpu/w_powf.c: New file.
31766 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31767 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31768 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31770 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31771 H.J. Lu <hongjiu.lu@intel.com>
31773 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31774 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31775 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31776 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31777 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31779 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31780 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31781 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31782 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31783 * sysdeps/i386/fpu/w_exp2f.c: New file.
31784 * sysdeps/i386/fpu/w_expf.c: New file.
31785 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31786 * sysdeps/x86_64/fpu/w_expf.c: New file.
31788 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31790 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31793 * math/w_log2f.c: New file.
31794 * math/w_logf.c: New file.
31795 * math/w_powf.c: New file.
31796 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31797 * math/w_logf_compat.c (__logf_compat): Likewise.
31798 * math/w_powf_compat.c (__powf_compat): Likewise.
31799 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31800 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31801 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31802 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31803 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31804 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31805 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31806 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31807 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31808 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31809 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31810 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31811 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31812 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31813 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31822 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31823 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31824 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31825 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31826 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31831 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31832 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31833 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31835 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31837 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31838 (sysdep_routines): Add memrchr_power8.
31839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31840 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31841 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31843 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31844 (memrchr): Add __memrchr_power8 to ifunc list.
31845 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31847 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31850 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31851 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31853 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31854 (__posix_fallocate64_l64): Likewise.
31856 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31859 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31860 (__sched_setaffinity_new): Add libc_hidden_proto and
31863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31866 * include/glob.h (__glob64): Add libc_hidden_proto.
31867 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31870 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31873 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31879 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31884 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31890 * csu/version.c (__libc_print_version): Add attribute_hidden.
31892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31895 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31900 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31905 * nscd/nscd_helper.c (__nis_hash): New prototype.
31907 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31910 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31911 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31913 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31914 * termios/tcgetattr.c (__tcgetattr): Likewise.
31916 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31919 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31920 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31921 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31922 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31923 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31925 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31928 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31933 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31934 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31939 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31941 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31944 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31945 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31947 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31950 * include/ifreq.h: New file.
31951 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31952 (__ifreq): Likewise.
31953 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31954 (__ifreq): Likewise.
31956 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31959 * include/idna.h: New file.
31960 * inet/getnameinfo.c: Include <idna.h> instead of
31962 (__idna_to_unicode_lzlz): Removed.
31963 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31965 (__idna_to_ascii_lz): Removed.
31966 (__idna_to_unicode_lzlz): Likewise.
31968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31971 * include/plural-exp.h: New file.
31972 * intl/plural-exp.c: Include <plural-exp.h> instead of
31975 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31978 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31979 "getsourcefilter.h".
31980 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31981 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31982 "getsourcefilter.h".
31983 (__get_sol): Removed.
31985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31988 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31990 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31992 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31995 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31998 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32001 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32003 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32006 * include/search.h (__tdestroy): Add libc_hidden_proto.
32007 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32012 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32017 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32020 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32023 * include/signal.h (__kill): Add libc_hidden_proto.
32024 (__sigblock): Likewise.
32025 (__sigprocmask): Likewise.
32026 (__sigaltstack): Likewise.
32027 * signal/kill.c (__kill): Add libc_hidden_def.
32028 * signal/sigblock.c (__sigblock): Likewise.
32029 * signal/sigprocmask.c (__sigprocmask): Likewise.
32030 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32031 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32032 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32033 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32034 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32036 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32038 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32039 (__sigprocmask): Likewise.
32040 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32042 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32043 (__sigprocmask): Likewise.
32044 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32047 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32050 * include/string.h (__strsep): Add libc_hidden_proto.
32051 * string/strsep.c (__strsep): Add libc_hidden_def.
32053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32056 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32058 (__spawni): Likewise.
32060 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32063 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32064 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32067 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32070 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32075 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32076 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32077 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32078 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32079 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32081 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32082 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32084 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32087 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32088 (__dcigettext): Likewise.
32090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32093 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32095 (__get_nprocs): Likewise.
32096 (__get_phys_pages): Likewise.
32097 (__get_avphys_pages): Likewise.
32098 (__get_child_max): Add attribute_hidden.
32099 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32100 (__get_nprocs): Likewise.
32101 (__get_phys_pages): Likewise.
32102 (__get_avphys_pages): Likewise.
32103 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32105 (__get_nprocs): Likewise.
32106 (__get_phys_pages): Likewise.
32107 (__get_avphys_pages): Likewise.
32108 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32110 (__get_nprocs_conf): Likewise.
32111 (__get_phys_pages): Likewise.
32112 (__get_avphys_pages): Likewise.
32114 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32117 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32119 (__netlink_close): Likewise.
32120 (__netlink_free_handle): Likewise.
32121 (__netlink_request): Likewise.
32123 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32126 * include/rpc/rpc.h (__rpc_thread_variables): Add
32128 (__rpc_thread_svc_cleanup): Likewise.
32129 (__rpc_thread_clnt_cleanup): Likewise.
32130 (__rpc_thread_key_cleanup): Likewise.
32132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32135 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32136 (__writev): Likewise.
32137 * misc/readv.c (__readv): Add libc_hidden_def.
32138 * misc/writev.c (__writev): Likewise.
32139 * sysdeps/posix/readv.c (__readv): Likewise.
32140 * sysdeps/posix/writev.c (__writev): Likewise.
32141 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32142 (__readv): Likewise.
32143 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32144 (__writev): Likewise.
32146 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32149 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32150 (__regcomp): Add libc_hidden_proto.
32151 (__regexec): Likewise.
32152 (__regfree): Likewise.
32153 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32154 (__regfree): Likewise.
32155 * posix/regexec.c (__regexec): Likewise.
32157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32160 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32161 (__getutent): Likewise.
32162 (__getutid): Likewise.
32163 (__getutline): Likewise.
32164 (__pututline): Likewise.
32165 (__getutent_r): Likewise.
32166 (__getutid_r): Likewise.
32167 (__getutline_r): Likewise.
32168 (__utmpname): Add attribute_hidden.
32169 (__setutent): Likewise.
32170 (__endutent): Likewise.
32171 * login/getutent.c (__getutent): Add libc_hidden_def.
32172 * login/getutent_r.c (__getutent_r): Likewise.
32173 (__pututline): Likewise.
32174 * login/getutid.c (__getutid): Likewise.
32175 * login/getutid_r.c (__getutid_r): Likewise.
32176 * login/getutline.c (__getutline): Likewise.
32177 * login/getutline_r.c (__getutline_r): Likewise.
32178 * login/updwtmp.c (__updwtmp): Likewise.
32180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32183 * include/dirent.h (__opendir): Always add attribute_hidden.
32184 (__fdopendir): Likewise.
32185 (__closedir): Likewise.
32186 (__readdir): Likewise.
32187 (__readdir64): Add libc_hidden_proto.
32188 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32189 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32190 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32191 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32197 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32198 * include/netdb.h (__gethostbyaddr_r): Likewise.
32199 (__gethostbyname_r): Likewise.
32200 (__gethostbyname2_r): Likewise.
32201 (__getnetbyaddr_r): Likewise.
32202 (__getnetbyname_r): Likewise.
32203 (__getservbyname_r): Likewise.
32204 (__getservbyport_r): Likewise.
32205 (__getprotobyname_r): Likewise.
32206 (__getprotobynumber_r): Likewise.
32207 (__getnetgrent_r): Likewise.
32208 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32209 (__getrpcbynumber_r): Likewise.
32210 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32212 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32215 * include/stdio.h (__fcloseall): Add attribute_hidden.
32216 (__getline): Likewise.
32217 (__path_search): Likewise.
32218 (__gen_tempname): Likewise.
32219 (__libc_message): Likewise.
32220 (__flockfile): Likewise.
32221 (__funlockfile): Likewise.
32222 (__fxprintf): Likewise.
32223 (__fxprintf_nocancel): Likewise.
32225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32228 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32229 (__sgetsgent_r): Likewise.
32231 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32234 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32235 (__statfs64): Likewise.
32236 (__fstatfs64): Likewise.
32237 * include/sys/statvfs.h (__statvfs64): Likewise.
32238 (__fstatvfs64): Likewise.
32239 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32240 (__statfs_filesize_max): Likewise.
32241 (__statfs_symlinks): Likewise.
32242 (__statfs_chown_restricted): Likewise.
32244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32247 * include/time.h (__tzstring): Add attribute_hidden.
32248 (__tzfile_read): Likewise.
32249 (__tzfile_compute): Likewise.
32250 (__tzfile_default): Likewise.
32251 (__tzset_parse_tz): Likewise.
32252 (__offtime): Likewise.
32253 (__asctime_r): Likewise.
32254 (__tzset): Likewise.
32255 (__tz_convert): Likewise.
32256 (__getdate_r): Likewise.
32257 (__getclktck): Likewise.
32259 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32262 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32263 (__nscd_unmap): Likewise.
32264 (__nscd_cache_search): Likewise.
32265 (__nscd_get_nl_timestamp): Likewise.
32266 (__nscd_getpwnam_r): Likewise.
32267 (__nscd_getpwuid_r): Likewise.
32268 (__nscd_getgrnam_r): Likewise.
32269 (__nscd_getgrgid_r): Likewise.
32270 (__nscd_gethostbyname_r): Likewise.
32271 (__nscd_gethostbyname2_r): Likewise.
32272 (__nscd_gethostbyaddr_r): Likewise.
32273 (__nscd_getai): Likewise.
32274 (__nscd_getgrouplist): Likewise.
32275 (__nscd_getservbyname_r): Likewise.
32276 (__nscd_getservbyport_r): Likewise.
32277 (__nscd_innetgr): Likewise.
32278 (__nscd_setnetgrent): Likewise.
32280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32283 * include/gmp.h: Declare internal functions only if _ISOMAC is
32285 (__mpn_extract_double): Add attribute_hidden.
32286 (__mpn_extract_long_double): Likewise.
32287 (__mpn_extract_float128): Likewise.
32288 (__mpn_construct_float): Likewise.
32289 (__mpn_construct_double): Likewise.
32290 (__mpn_construct_long_double): Likewise.
32291 (__mpn_construct_float128): Likewise.
32292 (mpn_add_1): Likewise.
32293 (mpn_addmul_1): Likewise.
32294 (mpn_add_n): Likewise.
32295 (mpn_cmp): Likewise.
32296 (mpn_divrem): Likewise.
32297 (mpn_lshift): Likewise.
32298 (mpn_mul): Likewise.
32299 (mpn_mul_1): Likewise.
32300 (mpn_rshift): Likewise.
32301 (mpn_sub_1): Likewise.
32302 (mpn_submul_1): Likewise.
32303 (mpn_sub_n): Likewise.
32305 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32308 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32309 (__wcscat): Likewise.
32310 (__btowc): Likewise.
32311 (__wcrtomb): Likewise.
32312 (__mbsrtowcs): Likewise.
32313 (__wcsrtombs): Likewise.
32314 (__mbsnrtowcs): Likewise.
32315 (__wcsnrtombs): Likewise.
32316 (__wcsncpy): Likewise.
32317 (__wcpncpy): Likewise.
32318 (__wmemcpy): Likewise.
32319 (__wmempcpy): Likewise.
32320 (__wmemmove): Likewise.
32321 (__wcschrnul): Likewise.
32322 (__vfwscanf): Likewise.
32323 (__vswprintf): Likewise.
32324 (__fwprintf): Likewise.
32325 (__vfwprintf): Likewise.
32327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32330 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32331 (__getgrgid_r): Likewise.
32332 (__getgrnam_r): Likewise.
32333 * include/pwd.h (__getpwuid_r): Likewise.
32334 (__getpwnam_r): Likewise.
32335 (__fgetpwent_r): Likewise.
32336 * include/shadow.h (__getspnam_r): Likewise.
32337 (__sgetspent_r): Likewise.
32338 (__fgetspent_r): Likewise.
32340 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32343 * include/unistd.h (__access): Add attribute_hidden.
32344 (__lseek64): Likewise.
32345 (__libc_pread64): Likewise.
32346 (__pipe2): Likewise.
32347 (__sleep): Likewise.
32348 (__chdir): Likewise.
32349 (__fchdir): Likewise.
32350 (__getcwd): Likewise.
32351 (__rmdir): Likewise.
32352 (__execvpe): Likewise.
32353 (__execve): Likewise.
32354 (__setsid): Likewise.
32355 (__getuid): Likewise.
32356 (__geteuid): Likewise.
32357 (__getgid): Likewise.
32358 (__getegid): Likewise.
32359 (__getgroups): Likewise.
32360 (__group_member): Likewise.
32361 (__ttyname_r): Likewise.
32362 (__isatty): Likewise.
32363 (__readlink): Likewise.
32364 (__unlink): Likewise.
32365 (__gethostname): Likewise.
32366 (__profil): Likewise.
32367 (__getdtablesize): Likewise.
32369 (__ftruncate): Likewise.
32370 (__ftruncate64): Likewise.
32372 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32375 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32376 * argp/argp-fs-xinl.c: Likewise.
32377 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32378 * argp/argp-parse.c: Include <argp.h>.
32379 * argp/argp-xinl.c: Likewise.
32380 * include/argp-fmtstream.h: New file.
32381 * include/argp.h (__argp_error): Add attribute_hidden.
32382 (__argp_failure): Likewise.
32383 (__argp_input): Likewise.
32384 (__argp_state_help): Likewise.
32386 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32389 * include/wchar.h (____wcstof_l_internal): New prototype.
32390 (____wcstod_l_internal): Likewise.
32391 (____wcstold_l_internal): Likewise.
32392 (____wcstol_l_internal): Likewise.
32393 (____wcstoul_l_internal): Likewise.
32394 (____wcstoll_l_internal): Likewise.
32395 (____wcstoull_l_internal): Likewise.
32396 (____wcstof128_l_internal): Likewise.
32397 * sysdeps/ieee754/float128/wcstof128.c
32398 (____wcstof128_l_internal): Removed.
32399 * sysdeps/ieee754/float128/wcstof128_l.c
32400 (____wcstof128_l_internal): Likewise.
32401 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32402 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32403 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32404 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32405 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32406 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32407 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32408 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32409 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32410 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32415 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32416 instead of <sys/statvfs.h>.
32417 (__internal_statvfs): Removed.
32418 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32419 instead of <sys/statvfs.h>.
32420 (__internal_statvfs64): Removed.
32421 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32422 "internal_statvfs.h" instead of <sys/statvfs.h>.
32423 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32424 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32425 instead of <sys/statvfs.h>.
32426 (__internal_statvfs): Removed.
32427 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32428 instead of <sys/statvfs.h>.
32429 (__internal_statvfs64): Removed.
32431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32434 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32435 (__gconv_close): Likewise.
32436 (__gconv): Likewise.
32437 (__gconv_find_transform): Likewise.
32438 (__gconv_lookup_cache): Likewise.
32439 (__gconv_compare_alias_cache): Likewise.
32440 (__gconv_load_cache): Likewise.
32441 (__gconv_get_path): Likewise.
32442 (__gconv_close_transform): Likewise.
32443 (__gconv_release_cache): Likewise.
32444 (__gconv_find_shlib): Likewise.
32445 (__gconv_release_shlib): Likewise.
32446 (__gconv_get_builtin_trans): Likewise.
32447 (__gconv_compare_alias): Likewise.
32448 * include/dlfcn.h (_dlerror_run): Likewise.
32449 * include/stdio.h (__fortify_fail_abort): Likewise.
32450 * include/time.h (__tz_compute): Likewise.
32451 (__strptime_internal): Likewise.
32452 * intl/gettextP.h (_nl_find_domain): Likewise.
32453 (_nl_load_domain): Likewise.
32454 (_nl_find_msg): Likewise.
32455 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32456 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32457 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32458 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32459 (__gai_find_request): Likewise.
32460 (__gai_remove_request): Likewise.
32461 (__gai_notify): Likewise.
32462 (__gai_notify_only): Likewise.
32463 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32464 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32465 (_dl_non_dynamic_init): Likewise.
32466 (_dl_aux_init): Likewise.
32467 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32468 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32470 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32471 (__wcsmbs_clone_conv): Likewise.
32472 (__wcsmbs_named_conv): Likewise.
32474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32477 * include/stdlib.h (__random): Add attribute_hidden.
32478 (__random_r): Likewise.
32479 (__srandom_r): Likewise.
32480 (__initstate_r): Likewise.
32481 (__setstate_r): Likewise.
32482 (__erand48_r): Likewise.
32483 (__nrand48_r): Likewise.
32484 (__jrand48_r): Likewise.
32485 (__srand48_r): Likewise.
32486 (__seed48_r): Likewise.
32487 (__lcong48_r): Likewise.
32488 (__drand48_iterate): Likewise.
32489 (__setenv): Likewise.
32490 (__unsetenv): Likewise.
32491 (__clearenv): Likewise.
32492 (__ptsname_r): Likewise.
32493 (__posix_openpt): Likewise.
32494 (__add_to_environ): Likewise.
32495 (__realpath): Add libc_hidden_proto.
32496 (__ecvt_r): Likewise.
32497 (__fcvt_r): Likewise.
32498 (__qecvt_r): Likewise.
32499 (__qfcvt_r): Likewise.
32500 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32501 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32503 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32506 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32507 * include/time.h (__mktime_internal): Likewise.
32508 * libio/iolibio.h (__fopen_internal): Likewise.
32510 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32512 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32514 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32515 Correct offset used to restore PIC register.
32517 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32520 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32521 code to load address of __getcontext_ret when generating PIC code.
32523 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32525 * elf/Makefile (tests-static-internal): Add
32526 tst-tls1-static-non-pie.
32527 (LDFLAGS-tst-tls1-static-non-pie): New.
32528 * elf/tst-tls1-static-non-pie.c: New file.
32530 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32532 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32533 (asinh): Define using libm_alias_double.
32534 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32535 (cbrt): Define using libm_alias_double.
32536 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32537 <libm-alias-double.h>.
32538 (copysign): Define using libm_alias_double.
32539 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32540 (erf): Define using libm_alias_double.
32542 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32543 (expm1): Define using libm_alias_double.
32544 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32545 (fabs): Define using libm_alias_double.
32546 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32548 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32549 <libm-alias-double.h>.
32550 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32552 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32553 <libm-alias-double.h>.
32554 (getpayload): Define using libm_alias_double.
32555 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32556 <libm-alias-double.h>.
32557 (llrint): Define using libm_alias_double.
32558 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32559 (lrint): Define using libm_alias_double.
32560 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32561 <libm-alias-double.h>.
32562 (nextup): Define using libm_alias_double.
32563 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32564 <libm-alias-double.h>.
32565 (roundeven): Define using libm_alias_double.
32566 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32568 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32569 <libm-alias-double.h>.
32570 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32571 using libm_alias_double.
32572 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32573 (cos): Define using libm_alias_double.
32575 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32576 <libm-alias-double.h>.
32577 (sincos): Define using libm_alias_double.
32578 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32579 (tanh): Define using libm_alias_double.
32580 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32581 <libm-alias-double.h>.
32582 (totalorder): Define using libm_alias_double.
32583 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32584 <libm-alias-double.h>.
32585 (totalordermag): Define using libm_alias_double.
32586 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32588 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32590 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32591 <libm-alias-double.h>.
32592 (getpayload): Define using libm_alias_double.
32593 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32594 <libm-alias-double.h>.
32595 (roundeven): Define using libm_alias_double.
32596 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32597 <libm-alias-double.h>.
32598 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32599 <libm-alias-double.h>.
32600 (totalorder): Define using libm_alias_double.
32601 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32602 <libm-alias-double.h>.
32603 (totalordermag): Define using libm_alias_double.
32604 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32605 libc compat symbol here.
32606 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32607 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32608 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32609 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32610 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32611 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32612 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32613 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32614 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32615 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32617 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32619 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32620 _dl_relocate_static_pie instead of _dl_start to compute load
32621 address in static PIE. Return 0 if _DYNAMIC is undefined for
32624 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32626 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32627 _DYNAMIC is undefined for static executable.
32629 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32631 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32633 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32637 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32639 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32640 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32641 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32642 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32643 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32644 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32645 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32646 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32647 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32648 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32649 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32650 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32651 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32652 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32653 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32654 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32655 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32657 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32659 * math/bits/cmathcalls.h (cimag): Remove inline.
32660 (creal): Remove inline.
32661 (conj): Remove inline.
32663 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32665 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32666 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32667 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32668 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32669 (issignalingf_inline): Likewise.
32670 (POWF_LOG2_TABLE_BITS): Likewise.
32671 (POWF_LOG2_POLY_ORDER): Likewise.
32672 (POWF_SCALE_BITS): Likewise.
32673 (POWF_SCALE): Likewise.
32674 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32675 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32676 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32678 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32680 * math/Makefile (type-float-routines): Add e_log2f_data.
32681 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32682 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32683 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32684 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32685 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32686 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32687 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32689 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32691 * math/Makefile (type-float-routines): Add e_logf_data.
32692 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32693 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32694 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32695 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32696 * sysdeps/i386/fpu/e_logf_data.c: New file.
32697 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32698 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32700 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32702 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32703 undefined _DYNAMIC in PIE libc.a.
32704 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32707 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32709 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32710 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32711 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32712 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32713 (__signbit): Remove.
32714 (__signbitl): Remove.
32715 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32716 (__signbit): Remove.
32717 (__signbitl): Remove.
32718 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32719 (__signbit): Remove.
32720 (__signbitl): Remove.
32721 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32722 (__signbit): Remove.
32723 (__signbitl): Remove.
32724 * sysdeps/tile/bits/mathinline.h: Delete file.
32725 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32726 (__signbit): Remove.
32727 (__signbitl): Remove.
32729 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32731 * math/math.h: Improve handling of C99 isgreater macros.
32732 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32733 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32734 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32735 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32736 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32738 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32740 * sysdeps/aarch64/libm-test-ulps: Update.
32742 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32745 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32746 math_opt_barrier on argument when doing arithmetic on it.
32747 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32748 Likewise. Use math_force_eval not math_opt_barrier after
32750 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32751 math_opt_barrier on argument when doing arithmetic on it.
32752 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32755 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32757 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32759 (__freeifaddrs): Likewise.
32761 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32763 * include/dirent.h (__dirfd): New declaration.
32764 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32766 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32767 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32768 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32769 * include/unistd.h (__revoke): New declaration.
32770 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32772 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32773 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32775 * include/dirent.h (__seekdir): New declaration.
32776 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32777 redefine as weak alias.
32778 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32780 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32781 and use libc_hidden_def on them.
32782 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32784 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32785 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32786 instead of getifaddrs and freeifaddrs.
32788 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32791 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32792 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32793 (__dso_handle): Remove declaration.
32794 * dlfcn/tstatexit.c (__dso_handle): Removed.
32795 (main): Don't check __dso_handle.
32796 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32797 (main): Don't check __dso_handle.
32798 * include/dso_handle.h: New file.
32799 * malloc/mtrace.c: Include <dso_handle.h>.
32800 (mtrace): Pass __dso_handle directly.
32801 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32802 (__dso_handle): Remove declaration.
32803 (__pthread_atfork): Pass __dso_handle directly.
32804 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32805 (__dso_handle): Removed.
32806 * posix/wordexp-test.c: Include <dso_handle.h>.
32807 (__dso_handle): Remove declaration.
32808 (__app_register_atfork): Pass __dso_handle directly.
32809 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32810 (__dso_handle): Remove declaration.
32811 (at_quick_exit): Pass __dso_handle directly.
32812 * stdlib/atexit.c: Include <dso_handle.h>.
32813 (__dso_handle): Remove declaration.
32814 (atexit): Pass __dso_handle directly.
32815 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32816 (__dso_handle): Removed.
32818 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32820 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32823 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32825 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32826 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32827 values to correct default value for given type.
32829 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32832 * elf/Makefile (tests): Add tst-debug1.
32833 ($(objpfx)tst-debug1): New.
32834 ($(objpfx)tst-debug1.out): Likewise.
32835 ($(objpfx)tst-debug1mod1.so): Likewise.
32836 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32837 with p_filesz == 0.
32838 * elf/tst-debug1.c: New file.
32840 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32842 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32843 Define using __ifunc.
32845 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32847 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32850 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32853 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32855 2017-09-26 Florian Weimer <fweimer@redhat.com>
32857 * resolv/Makefile (tests-internal): Fix typo in comment.
32859 2017-09-26 Florian Weimer <fweimer@redhat.com>
32861 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32863 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32865 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32866 Use an union instead of a max_align_t array for __space,
32867 so that __space is the same size on all platforms.
32868 * malloc/scratch_buffer_grow_preserve.c
32869 (__libc_scratch_buffer_grow_preserve): Likewise.
32872 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32874 * posix/Makefile (routines): Add glob-lstat-compat and
32875 glob64-lstat-compat.
32876 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32877 * posix/glob-lstat-compat.c: New file.
32878 * posix/glob64-lstat-compat.c: Likewise.
32879 * posix/tst-glob_lstat_compat.c: Likewise.
32880 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32881 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32882 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32883 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32885 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32886 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32887 * posix/glob.c (glob_lstat): New function.
32888 (glob): Rename to __glob and add versioned symbol to 2.27.
32889 (glob_in_dir): Use glob_lstat.
32890 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32891 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32892 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32894 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32895 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32896 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32897 gl_lstat on glob call.
32898 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32899 and glob64 symbols.
32900 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32901 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32902 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32903 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32904 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32905 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32906 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32907 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32908 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32909 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32910 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32911 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32914 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32916 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32917 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32918 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32919 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32920 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32923 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32924 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32925 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32927 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32929 * configure.ac (AS): Require binutils 2.25 or later.
32930 * configure: Regenerated.
32932 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32935 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32938 2017-09-25 DJ Delorie <dj@redhat.com>
32941 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32944 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32946 * sysdeps/ieee754/dbl-64/sincos32.h
32947 [SINCCOS32_H]: Remove define.
32948 [SINCOS32_H]: Define.
32950 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32952 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32954 * math/w_exp2f.c: New file.
32955 * math/w_expf.c: New file.
32956 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32957 * math/w_expf_compat.c (__expf_compat): Likewise.
32958 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32959 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32960 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32961 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32962 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32963 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32964 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32965 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32966 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32967 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32968 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32969 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32970 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32971 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32980 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32981 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32982 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32983 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32984 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32989 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32990 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32991 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32993 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32995 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32996 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32997 (roundtoint, converttoint): Likewise.
32998 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32999 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33000 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33001 * sysdeps/ieee754/flt-32/math_config.h: New file.
33002 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33003 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33004 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33005 * sysdeps/i386/fpu/math_errf.c: New file.
33006 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33007 * sysdeps/ia64/fpu/math_errf.c: New file.
33008 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33009 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33011 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33013 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33014 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33015 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33016 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33017 to make sure that these symbols are defined.
33018 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33020 (__need_NULL): Do not define.
33021 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33023 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33024 CMGROUP_MAX, cmsgcred): Do not define.
33025 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33027 * bits/socket.h: Likewise.
33028 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33029 __gettimeofday instead of gettimeofday.
33030 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33031 instead of settimeofday.
33033 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33035 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33036 (asinhf): Define using libm_alias_float.
33037 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33038 (atanf): Define using libm_alias_float.
33039 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33040 (cbrtf): Define using libm_alias_float.
33041 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33042 (ceilf): Define using libm_alias_float.
33043 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33044 <libm-alias-float.h>.
33045 (copysignf): Define using libm_alias_float.
33046 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33047 (cosf): Define using libm_alias_float.
33048 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33049 (erff): Define using libm_alias_float.
33051 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33052 (expm1f): Define using libm_alias_float.
33053 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33054 (fabsf): Define using libm_alias_float.
33055 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33056 (floorf): Define using libm_alias_float.
33057 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33058 (frexpf): Define using libm_alias_float.
33059 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33061 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33062 <libm-alias-float.h>.
33063 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33065 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33066 <libm-alias-float.h>.
33067 (getpayloadf): Define using libm_alias_float.
33068 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33069 <libm-alias-float.h>.
33070 (llrintf): Define using libm_alias_float.
33071 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33072 <libm-alias-float.h>.
33073 (llroundf): Define using libm_alias_float.
33074 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33075 (logbf): Define using libm_alias_float.
33076 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33077 (lrintf): Define using libm_alias_float.
33078 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33079 (lroundf): Define using libm_alias_float.
33080 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33081 (modff): Define using libm_alias_float.
33082 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33083 <libm-alias-float.h>.
33084 (nearbyintf): Define using libm_alias_float.
33085 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33086 <libm-alias-float.h>.
33087 (nextafterf): Define using libm_alias_float.
33088 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33089 <libm-alias-float.h>.
33090 (nextupf): Define using libm_alias_float.
33091 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33092 <libm-alias-float.h>.
33093 (remquof): Define using libm_alias_float.
33094 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33095 (rintf): Define using libm_alias_float.
33096 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33097 <libm-alias-float.h>.
33098 (roundevenf): Define using libm_alias_float.
33099 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33100 (roundf): Define using libm_alias_float.
33101 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33102 using libm_alias_float.
33103 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33104 <libm-alias-float.h>.
33105 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33106 Define using libm_alias_float.
33107 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33108 <libm-alias-float.h>.
33109 (sincosf): Define using libm_alias_float.
33110 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33111 (sinf): Define using libm_alias_float.
33112 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33113 (tanf): Define using libm_alias_float.
33114 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33115 (tanhf): Define using libm_alias_float.
33116 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33117 <libm-alias-float.h>.
33118 (totalorderf): Define using libm_alias_float.
33119 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33120 <libm-alias-float.h>.
33121 (totalordermagf): Define using libm_alias_float.
33122 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33123 (truncf): Define using libm_alias_float.
33124 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33126 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33129 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33132 math/math.h: Let fpclassify use the builtin in C++ mode, even
33133 when optimazing for size.
33135 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33137 * csu/Makefile (generated): Do not add version-info.h.
33138 (before-compile): Likewise.
33139 (all-Banner-files): Remove variable.
33140 ($(objpfx)version-info.h): Remove rule.
33141 * csu/version.c (banner): Do not include "version-info.h".
33142 * libidn/Banner: Remove.
33143 * manual/contrib.texi (Simon Josefsson): New entry.
33145 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33147 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33148 Remove conditionals on LDBL_MANT_DIG.
33149 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33150 (__ieee754_lgammal_r): Likewise.
33152 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33154 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33156 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33157 _Float128 and L(). Replace _Float128 with long double and L(x)
33158 with xL, throughout the file.
33159 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33164 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33167 sysdeps/ieee754/ldbl-128ibm.
33168 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33169 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33170 of including it. Keep _Float128 and L() intact. These will be
33171 reviewed by a separate patch.
33172 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33177 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33180 (__finitef128): Define to __redirect___finitef128.
33181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33182 (__isinff128): Define to __redirect___isinff128.
33183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33184 (__isnanf128): Define to __redirect___isnanf128.
33186 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33188 * sysdeps/powerpc/powerpc64le/Makefile
33189 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33190 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33192 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33193 Carlos O'Donell <carlos@redhat.com>
33196 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33197 * stdlib/test-dlclose-exit-race.c: New file.
33198 * stdlib/test-dlclose-exit-race-helper.c: New file.
33199 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33201 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33203 * crypt/Banner: Remove file.
33204 * nptl/Banner: Likewise.
33205 * resolv/Banner: Likewise.
33206 * soft-fp/Banner: Likewise.
33207 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33208 ($(objpfx)version.d): Remove dependency on banner.h.
33209 ($(objpfx)version.os): Likewise.
33210 * nptl/version.c (banner): Do not include banner.h.
33211 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33212 Jelinek and BIND code.
33214 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33215 Carlos O'Donell <carlos@redhat.com>
33217 * support/xdlfcn.h: New file.
33218 * support/xdlfcn.c: New file.
33219 * support/Makefile (libsupport-routines): Add xdlfcn.
33220 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33222 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33225 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33226 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33227 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33228 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33229 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33230 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33231 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33232 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33234 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33235 Ricky Zhou <rickyz@google.com>
33236 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33239 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33241 (__new_exitfn): Fail registration when we finished at_exit processing.
33242 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33243 * stdlib/on_exit.c (__on_exit): Likewise.
33244 * stdlib/exit.c (__exit_funcs_done): New variable.
33245 (__run_exit_handlers): Use __exit_funcs_lock.
33246 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33248 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33249 (test-cxa_atexit-race, test-on_exit-race): New tests.
33250 * stdlib/test-atexit-race-common.c: New file.
33251 * stdlib/test-atexit-race.c: New file.
33252 * stdlib/test-at_quick_exit-race.c: New file.
33253 * stdlib/test-cxa_atexit-race.c: New file.
33254 * stdlib/test-on_exit-race.c: New file.
33256 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33258 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33259 * benchtests/exp2f-inputs: Copy of expf-inputs.
33260 * benchtests/log2f-inputs: Copy of logf-inputs.
33262 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33264 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33265 Explicitly take address of first element of array arguments in
33266 call to INLINE_SYSCALL.
33268 2017-09-19 Andreas Schwab <schwab@suse.de>
33271 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33273 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33275 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33276 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33277 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33278 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33279 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33280 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33281 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33282 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33283 * posix/Makefile (tests): Add tst-fexecve.
33284 * posix/tst-fexecve.c: New file.
33286 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33288 * benchtests/Makefile: Add logf benchmark.
33289 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33291 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33293 * benchtests/Makefile: Add expf benchmark.
33294 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33296 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33298 * csu/Makefile: Add -funwind-tables to libc-start.c.
33299 * debug/Makefile: Add -funwind-tables to backtrace.c.
33300 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33301 * sysdeps/arm/Makefile: Likewise.
33302 * sysdeps/i386/Makefile: Likewise.
33303 * sysdeps/m68k/Makefile: Likewise.
33304 * sysdeps/mips/Makefile: Likewise.
33305 * sysdeps/nios2/Makefile: Likewise.
33306 * sysdeps/sh/Makefile: Likewise.
33307 * sysdeps/sparc/Makefile: Likewise.
33309 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33311 * benchtests/Makefile (bench-math): Add trunc and truncf.
33312 (CFLAGS-bench-trunc.c): New variable.
33313 (CFLAGS-bench-truncf.c): Likewise.
33314 * benchtests/trunc-inputs: New file.
33315 * benchtests/truncf-inputs: Likewise.
33317 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33319 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33321 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33323 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33324 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33326 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33327 (exp10l): Define as weak alias.
33328 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33329 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33331 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33332 (remainderl): Define as weak alias.
33334 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33335 (fmal): Define using libm_alias_ldouble.
33336 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33337 (acoshl): Define using libm_alias_ldouble.
33338 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33339 (acosl): Define using libm_alias_ldouble.
33340 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33341 (asinl): Define using libm_alias_ldouble.
33342 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33343 (atan2l): Define using libm_alias_ldouble.
33344 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33345 (atanhl): Define using libm_alias_ldouble.
33346 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33347 (coshl): Define using libm_alias_ldouble.
33348 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33349 (exp10l): Define using libm_alias_ldouble.
33350 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33351 (exp2l): Define using libm_alias_ldouble.
33352 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33353 (expl): Define using libm_alias_ldouble.
33354 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33355 (fmodl): Define using libm_alias_ldouble.
33356 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33357 (hypotl): Define using libm_alias_ldouble.
33358 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33359 (j0l): Define using libm_alias_ldouble.
33361 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33362 (j1l): Define using libm_alias_ldouble.
33364 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33365 (jnl): Define using libm_alias_ldouble.
33367 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33368 (log10l): Define using libm_alias_ldouble.
33369 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33370 (log2l): Define using libm_alias_ldouble.
33371 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33372 (logl): Define using libm_alias_ldouble.
33373 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33374 (powl): Define using libm_alias_ldouble.
33375 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33376 (remainderl): Define using libm_alias_ldouble.
33377 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33378 (sinhl): Define using libm_alias_ldouble.
33379 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33380 (sqrtl): Define using libm_alias_ldouble.
33381 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33382 (tgammal): Define using libm_alias_ldouble.
33383 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33384 (exp10l): Do not use long_double_symbol here.
33385 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33386 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33387 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33388 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33389 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33390 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33391 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33392 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33393 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33394 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33395 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33396 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33397 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33398 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33399 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33400 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33401 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33402 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33403 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33404 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33405 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33406 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33408 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33410 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33411 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33413 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33415 * io/read.c (read): Add libc_hidden_weak.
33416 * sysdeps/mach/hurd/read.c (read): Likewise.
33417 * io/write.c (write): Likewise.
33418 * sysdeps/mach/hurd/write.c (write): Likewise.
33419 * io/pread64.c (__pread64): Likewise.
33420 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33421 * posix/pread64.c (__pread64): Add libc_hidden_def.
33423 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33425 * benchtests/scripts/compare_strings.py: New option -g.
33426 (draw_graph): Print a message that a graph is being generated.
33427 (process_results): Generate graph only if -g is passed.
33428 (main): Process option -g.
33430 * benchtests/scripts/compare_strings.py (process_results):
33431 Better spacing for output.
33433 * benchtests/scripts/compare_strings.py: Use argparse.
33434 * benchtests/README: Document existence of compare_strings.py.
33436 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33438 * math/s_fma.c: Include <libm-alias-double.h>.
33439 (fma): Define using libm_alias_double.
33440 * math/s_nextafter.c: Include <libm-alias-double.h>.
33441 (nextafter): Define using libm_alias_double.
33442 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33443 (acos): Define using libm_alias_double.
33444 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33445 (aocsh): Define using libm_alias_double.
33446 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33447 (asin): Define using libm_alias_double.
33448 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33449 (atan2): Define using libm_alias_double.
33450 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33451 (atanh): Define using libm_alias_double.
33452 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33453 (cosh): Define using libm_alias_double.
33454 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33455 (exp10): Define using libm_alias_double.
33456 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33457 (exp2): Define using libm_alias_double.
33458 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33459 (exp): Define using libm_alias_double.
33460 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33461 (fmod): Define using libm_alias_double.
33462 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33463 (hypot): Define using libm_alias_double.
33464 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33465 (j0): Define using libm_alias_double.
33467 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33468 (j1): Define using libm_alias_double.
33470 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33471 (jn): Define using libm_alias_double.
33473 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33474 (log10): Define using libm_alias_double.
33475 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33476 (log2): Define using libm_alias_double.
33477 * math/w_log_compat.c: Include <libm-alias-double.h>.
33478 (log): Define using libm_alias_double.
33479 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33480 (pow): Define using libm_alias_double.
33481 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33482 (remainder): Define using libm_alias_double.
33483 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33484 (sinh): Define using libm_alias_double.
33485 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33486 (sqrt): Define using libm_alias_double.
33487 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33488 (tgamma): Define using libm_alias_double.
33489 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33490 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33491 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33492 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33493 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33494 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33495 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33496 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33497 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33498 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33499 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33500 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33501 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33502 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33503 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33504 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33505 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33506 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33507 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33508 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33509 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33510 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33511 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33512 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33513 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33515 * math/e_acoshl.c: Remove.
33516 * math/e_acosl.c: Likewise.
33517 * math/e_asinl.c: Likewise.
33518 * math/e_atan2l.c: Likewise.
33519 * math/e_atanhl.c: Likewise.
33520 * math/e_coshl.c: Likewise.
33521 * math/e_expl.c: Likewise.
33522 * math/e_fmodl.c: Likewise.
33523 * math/e_gammal_r.c: Likewise.
33524 * math/e_hypotl.c: Likewise.
33525 * math/e_j0l.c: Likewise.
33526 * math/e_j1l.c: Likewise.
33527 * math/e_jnl.c: Likewise.
33528 * math/e_lgammal_r.c: Likewise.
33529 * math/e_log10l.c: Likewise.
33530 * math/e_log2l.c: Likewise.
33531 * math/e_logl.c: Likewise.
33532 * math/e_powl.c: Likewise.
33533 * math/e_rem_pio2l.c: Likewise.
33534 * math/e_sinhl.c: Likewise.
33535 * math/e_sqrtf128.c: Likewise.
33536 * math/e_sqrtl.c: Likewise.
33537 * math/k_cosl.c: Likewise.
33538 * math/k_sinl.c: Likewise.
33539 * math/k_tanl.c: Likewise.
33540 * math/s_asinhl.c: Likewise.
33541 * math/s_atanl.c: Likewise.
33542 * math/s_cbrtl.c: Likewise.
33543 * math/s_erfl.c: Likewise.
33544 * math/s_expm1l.c: Likewise.
33545 * math/s_log1pl.c: Likewise.
33546 * math/s_tanhl.c: Likewise.
33548 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33552 [$(subdir) = math] (sysdep_calls): New variable. Has the
33553 previous contents of sysdep_routines, but re-sorted..
33554 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33556 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33557 defined in sysdep_calls and replace by the respective m_* names.
33558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33559 (compat_symbol): Undefine to avoid duplicated compat symbols in
33562 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33564 * math/s_fmaf.c: Include <libm-alias-float.h>.
33565 (fmaf): Define using libm_alias_float.
33566 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33567 (acosf): Define using libm_alias_float.
33568 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33569 (acoshf): Define using libm_alias_float.
33570 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33571 (asinf): Define using libm_alias_float.
33572 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33573 (atan2f): Define using libm_alias_float.
33574 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33575 (atanhf): Define using libm_alias_float.
33576 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33577 (coshf): Define using libm_alias_float.
33578 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33579 (exp10f): Define using libm_alias_float.
33580 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33581 (fmodf): Define using libm_alias_float.
33582 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33583 (hypotf): Define using libm_alias_float.
33584 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33585 (j0f): Define using libm_alias_float.
33587 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33588 (j1f): Define using libm_alias_float.
33590 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33591 (jnf): Define using libm_alias_float.
33593 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33594 (log10f): Define using libm_alias_float.
33595 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33596 (log2f): Define using libm_alias_float.
33597 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33598 (logf): Define using libm_alias_float.
33599 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33600 (powf): Define using libm_alias_float.
33601 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33602 (remainderf): Define using libm_alias_float.
33603 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33604 (sinhf): Define using libm_alias_float.
33605 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33606 (sqrtf): Define using libm_alias_float.
33607 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33608 (tgammaf): Define using libm_alias_float.
33610 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33612 * include/math.h (roundeven): Change hidden_proto call to
33614 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33616 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33617 (y0): Rename to __y0 and define as weak alias.
33618 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33619 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33621 (y0f): Rename to __y0f and define as weak alias.
33622 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33624 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33625 (y1): Rename to __y1 and define as weak alias.
33626 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33627 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33629 (y1f): Rename to __y1f and define as weak alias.
33630 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33632 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33633 (yn): Rename to __yn and define as weak alias.
33634 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33635 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33637 (ynf): Rename to __ynf and define as weak alias.
33638 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33639 (fromfp): Define as weak alias.
33640 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33641 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33642 (fromfpx): Define as weak alias.
33643 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33644 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33645 __getpayload and define as weak alias.
33646 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33647 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33648 __roundeven and define as weak alias.
33649 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33650 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33652 (setpayload): Define as weak alias.
33653 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33654 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33656 (setpayloadsig): Define as weak alias.
33657 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33658 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33659 __totalorder and define as weak alias.
33660 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33661 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33662 to __totalordermag and define as weak alias.
33663 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33664 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33665 (ufromfp): Define as weak alias.
33666 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33667 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33669 (ufromfpx): Define as weak alias.
33670 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33671 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33672 Rename to __getpayload and define as weak alias.
33673 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33674 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33675 Rename to __roundeven and define as weak alias.
33676 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33677 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33678 Rename to __totalorder and define as weak alias.
33679 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33680 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33681 (totalordermag): Rename to __totalordermag and define as weak
33683 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33684 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33686 (__roundevenl): Likewise.
33687 (__totalorderl): Likewise.
33688 (__totalordermagl): Likewise
33689 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33691 (fromfpf128): Define as weak alias.
33692 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33694 (fromfpxf128): Define as weak alias.
33695 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33697 (setpayloadf128): Define as weak alias.
33698 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33699 __setpayloadsigf128.
33700 (setpayloadsigf128): Define as weak alias.
33701 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33703 (ufromfpf128): Define as weak alias.
33704 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33706 (ufromfpxf128): Define as weak alias.
33707 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33708 (fromfpf): Define as weak alias.
33709 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33711 (fromfpxf): Define as weak alias.
33712 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33713 __getpayloadf and define as weak alias.
33714 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33715 __roundevenf and define as weak alias.
33716 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33718 (setpayloadf): Define as weak alias.
33719 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33721 (setpayloadsigf): Define as weak alias.
33722 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33723 __totalorderf and define as weak alias.
33724 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33725 Rename to __totalordermagf and define as weak alias.
33726 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33728 (ufromfpf): Define as weak alias.
33729 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33731 (ufromfpxf): Define as weak alias.
33732 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33734 (fromfpl): Define as weak alias.
33735 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33737 (fromfpxl): Define as weak alias.
33738 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33739 to __getpayloadl and define as weak alias.
33740 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33741 __roundevenl and define as weak alias.
33742 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33744 (setpayloadl): Define as weak alias.
33745 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33747 (setpayloadsigl): Define as weak alias.
33748 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33749 to __totalorderl and define as weak alias.
33750 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33751 Rename to __totalordermagl and define as weak alias.
33752 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33754 (ufromfpl): Define as weak alias.
33755 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33757 (ufromfpxl): Define as weak alias.
33758 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33760 (fromfpl): Define as weak alias.
33761 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33763 (fromfpxl): Define as weak alias.
33764 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33765 Rename to __getpayloadl and define as weak alias.
33766 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33767 to __roundevenl and define as weak alias. Call __roundeven
33768 instead of roundeven.
33769 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33771 (setpayloadl): Define as weak alias.
33772 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33774 (setpayloadsigl): Define as weak alias.
33775 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33776 Rename to __totalorderl and define as weak alias.
33777 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33778 Rename to __totalordermagl and define as weak alias.
33779 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33781 (ufromfpl): Define as weak alias.
33782 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33784 (ufromfpxl): Define as weak alias.
33785 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33787 (fromfpl): Define as weak alias.
33788 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33790 (fromfpxl): Define as weak alias.
33791 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33792 __getpayloadl and define as weak alias.
33793 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33794 __roundevenl and define as weak alias.
33795 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33797 (setpayloadl): Define as weak alias.
33798 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33800 (setpayloadsigl): Define as weak alias.
33801 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33802 __totalorderl and define as weak alias.
33803 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33804 Rename to __totalordermagl and define as weak alias.
33805 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33807 (ufromfpl): Define as weak alias.
33808 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33810 (ufromfpxl): Define as weak alias.
33812 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33814 * benchtests/bench-string.h (realloc_bufs): New function.
33815 (test_init): Call it.
33816 * benchtests/bench-memset-large.c (do_test): Likewise.
33817 * benchtests/bench-memset.c (do_test): Likewise.
33819 * benchtests/bench-memset-large.c: Print output in JSON
33821 * benchtests/bench-memset.c: Likewise.
33823 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33826 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33827 * iconvdata/Makefile: Add IBM858.
33828 * iconvdata/gconv-modules: Likewise.
33829 * iconvdata/tst-tables.sh: Likewise.
33830 * iconvdata/ibm858.c: New file.
33831 * localedata/charmaps/IBM858: Likewise.
33833 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33836 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33837 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33839 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33842 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33843 and add tel_int_fmt.
33845 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33847 * sysdeps/generic/libm-alias-float128.h: New file.
33848 * sysdeps/generic/math-type-macros-float128.h: Include
33849 <libm-alias-float128.h>.
33850 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33852 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33854 * sysdeps/generic/libm-alias-ldouble.h: New file.
33855 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33856 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33857 * sysdeps/generic/math-type-macros-ldouble.h: Include
33858 <libm-alias-ldouble.h>.
33859 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33860 libm_alias_ldouble.
33862 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33864 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33865 * math/w_exp_compat.c: ... here.
33866 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33867 * math/w_expf_compat.c: ... here.
33868 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33869 * math/w_expl_compat.c: ... here.
33870 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33871 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33872 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33873 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33875 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33877 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33879 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33881 (ldexpl): Only define as compat symbol for libc, not libm.
33882 (scalbnl): Define as compat symbol for libc here.
33883 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33884 define for [IS_IN (libc)].
33885 (__ldexpl_2): Remove alias.
33886 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33887 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33888 name in long_double_symbol call.
33889 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33890 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33891 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33892 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33893 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33895 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33896 Define as compat symbol.
33898 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33900 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33901 * sysdeps/unix/sysv/linux/alpha/Makefile
33902 [$(subdir) = csu] (sysdep_routines): Remove rule.
33904 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33906 * sysdeps/generic/libm-alias-double.h: New file.
33907 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33908 * sysdeps/generic/math-type-macros-double.h: Include
33909 <libm-alias-double.h>.
33910 [declare_mgen_alias] (declare_mgen_alias): Define to use
33912 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33913 (M_LIBM_NEED_COMPAT): Remove macro.
33914 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33915 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33916 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33918 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33919 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33920 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33921 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33922 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33923 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33924 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33925 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33926 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33927 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33928 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33929 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33930 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33931 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33932 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33933 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33934 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33935 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33936 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33937 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33938 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33939 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33940 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33941 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33942 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33943 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33944 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33945 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33946 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33948 (declare_mgen_alias): New macro.
33949 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33950 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33952 (M_LIBM_NEED_COMPAT): Remove macro.
33953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33954 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33955 <first-versions.h>.
33956 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33957 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33959 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33961 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33962 (declare_mgen_alias_2): Remove.
33963 * sysdeps/generic/math-type-macros-double.h
33964 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33966 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33968 (ldexp): Define with declare_mgen_alias.
33969 (scalbn): Likewise.
33971 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33973 * grp/initgroups.c: Include config.h.
33974 (DEFAULT_CONFIG): New macro.
33975 (internal_getgrouplist): Use DEFAULT_CONFIG.
33976 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33977 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33978 (DEFAULT_DEFCONFIG): New macro.
33979 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33980 * nss/grp-lookup.c: Include config.h
33981 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33982 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33983 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33984 * manual/nss.texi: Update default values section.
33986 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33989 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33991 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33992 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33993 Handle MathVec_Prefer_No_AVX512.
33994 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33995 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33998 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34000 * posix/sched_primax.c (__sched_get_priority_max): Add
34002 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34003 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34004 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34005 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34006 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34007 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34008 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34009 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34012 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34014 * sysdeps/generic/libm-alias-float.h: New file.
34015 * sysdeps/generic/math-type-macros-float.h: Include
34016 <libm-alias-float.h>.
34017 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34019 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34022 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34023 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34024 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34025 (HWCAP_IMPORTANT): Likewise.
34026 (HWCAP_X86_64): New enum.
34027 (HWCAP_X86_AVX512_1): Updated.
34028 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34029 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34030 (modules-names): Add x86_64/tst-x86_64mod-1.
34031 (LDFLAGS-tst-x86_64mod-1.so): New.
34032 ($(objpfx)tst-x86_64-1): Likewise.
34033 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34034 (tst-x86_64-1-clean): Likewise.
34035 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34036 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34038 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34040 * po/sv.po: Update translations.
34041 * po/fr.po: Likewise.
34043 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34045 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34047 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34049 * elf/rtld-Rules: Fix $(error) use.
34051 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34054 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34055 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34056 * localedata/locales/bn_BD: “Bengali” was still used in some
34057 comments. Change it to “Bangla”.
34059 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34061 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34063 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34065 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34066 thunderx2t99p1 to list of cpu names.
34067 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34068 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34070 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34072 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34073 Use strcmp instead of tunable_is_name.
34075 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34077 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34078 (F_GET_RW_HINT): New macro.
34079 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34080 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34081 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34082 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34083 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34084 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34085 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34086 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34087 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34089 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34090 (F_ADD_SEALS): New macro.
34091 [__USE_GNU] (F_GET_SEALS): Likewise.
34092 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34093 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34094 [__USE_GNU] (F_SEAL_GROW): Likewise.
34095 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34097 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34099 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34100 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34101 * posix/glob_internal.h (__glob_pattern_type):
34102 * posix/glob.c (glob):
34103 * posix/glob_pattern_p.c (__glob_pattern_p):
34106 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34107 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34108 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34109 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34110 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34112 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34113 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34114 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34115 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34116 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34117 * sysdeps/wordsize-64/glob.c: Likewise.
34118 * sysdeps/wordsize-64/glob64.c: Likewise.
34119 * sysdeps/wordsize-64/globfree.c: Likewise.
34120 * sysdeps/wordsize-64/globfree64.c: Likewise.
34121 * sysdeps/unix/sysv/linux/glob.c: New file.
34122 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34123 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34124 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34125 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34126 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34127 adds !GLOB_NO_OLD_VERSION as an extra condition.
34128 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34129 using relative path instead of absolute one.
34130 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34131 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34132 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34133 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34134 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34135 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34138 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34139 (glob): Use the same scratch buffer for both getlogin_r and
34140 getpwnam_r. Don’t require preallocation of the login name. This
34141 simplifies storage allocation, and corrects the handling of
34145 * posix/glob.c (glob): Port recent patches to platforms
34146 lacking getpwnam_r.
34147 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34148 returns an error number rather than setting errno.
34150 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34151 instead of GCC extension.
34152 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34153 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34154 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34158 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34159 * posix/bug-glob1.c: Remove file.
34160 * posix/tst-glob_symlinks.c: New file.
34161 * posix/glob.c (__lstat64): New macro.
34162 (is_dir): New function.
34163 (glob, glob_in_dir): Match symlinks even if they are dangling.
34164 (link_stat, link_exists_p): Remove. All uses removed.
34168 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34169 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34174 * posix/Makefile (routines): Add globfree, globfree64, and
34176 * posix/flexmember.h: New file.
34177 * posix/glob_internal.h: Likewise.
34178 * posix/glob_pattern_p.c: Likewise.
34179 * posix/globfree.c: Likewise.
34180 * posix/globfree64.c: Likewise.
34181 * sysdeps/gnu/globfree64.c: Likewise.
34182 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34183 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34184 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34185 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34186 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34187 * sysdeps/wordsize-64/globfree.c: Likewise.
34188 * sysdeps/wordsize-64/globfree64.c: Likewise.
34189 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34190 [NDEBUG): Remove comments.
34191 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34192 (dirent_type): New type. Use uint_fast8_t not
34193 uint8_t, as C99 does not require uint8_t.
34194 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34195 (struct readdir_result): Use dirent_type. Do not define skip_entry
34196 unless it is needed; this saves a byte on platforms lacking d_ino.
34197 (readdir_result_type, readdir_result_skip_entry):
34198 New functions, replacing ...
34199 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34200 these functions, which were removed. This makes the callers
34201 easier to read. All callers changed.
34202 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34203 (size_add_wrapv, glob_use_alloca): New static functions.
34204 (glob, glob_in_dir): Check for size_t overflow in several places,
34205 and fix some size_t checks that were not quite right.
34206 Remove old code using SHELL since Bash no longer
34208 (glob, prefix_array): Separate MS code better.
34209 (glob_in_dir): Remove old Amiga and VMS code.
34210 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34212 (glob_in_dir): Do not rely on undefined behavior in accessing
34213 struct members beyond their bounds. Use a flexible array member
34215 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34216 0/1. Caller changed.
34217 (glob): Fix memory leaks.
34218 * posix/glob64 (globfree64): Move to separate file.
34219 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34220 (globfree64): Remove hidden alias.
34221 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34223 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34225 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34227 Move compat code to separate file.
34228 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34231 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34233 * resolv/tst-resolv-qtypes.c (domain): Changed to
34234 "const char domain[] =".
34236 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34238 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34241 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34242 (TCP_MD5SIG_EXT): Likewise.
34243 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34244 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34245 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34247 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34249 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34251 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34253 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34256 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34258 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34260 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34261 before assuming that the file is empty. Avoid testing buffer content
34264 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34267 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34269 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34271 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34273 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34275 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34277 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34279 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34282 2017-09-06 Florian Weimer <fweimer@redhat.com>
34284 * malloc/dynarray_emplace_enlarge.c
34285 (__libc_dynarray_emplace_enlarge): Add missing else.
34287 2017-09-06 Florian Weimer <fweimer@redhat.com>
34290 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34291 case of failure to obtain the global conf object.
34293 2017-09-06 Florian Weimer <fweimer@redhat.com>
34296 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34297 dynarray allocation failure.
34299 2017-09-06 Florian Weimer <fweimer@redhat.com>
34301 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34302 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34303 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34305 (response): Call them. Add 'p', '6' flag processing.
34306 (test_reverse): New function.
34307 (test_get2_any): Call it.
34308 (test_no_inet6): Add 'p' test.
34309 (test_inet6): Likewise.
34311 2017-09-06 Florian Weimer <fweimer@redhat.com>
34313 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34314 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34316 (test_gai): Adjust query names. Add additional tests.
34317 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34318 test_get2. Adjust query names. Add additional tests.
34319 (test_no_inet6): New function, extracted from threadfunc.
34320 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34321 Add additional tests.
34323 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34326 * localedata/unicode-gen/utf8_gen.py: Set the width for
34327 characters with Prepended_Concatenation_Mark property to 1
34328 * localedata/charmaps/UTF-8: Updated using the improved script.
34330 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34333 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34334 use the range notation for all ranges of neighbouring characters
34335 with the same width.
34337 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34339 * sysdeps/generic/math-type-macros-double.h: Include
34340 <math-svid-compat.h>.
34341 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34342 * sysdeps/generic/math-type-macros-float.h: Include
34343 <math-svid-compat.h>.
34344 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34345 * sysdeps/generic/math-type-macros-ldouble.h: Include
34346 <math-svid-compat.h>.
34347 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34348 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34350 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34351 * math/w_acosf_compat.c: Likewise.
34352 * math/w_acosh_compat.c: Likewise.
34353 * math/w_acoshf_compat.c: Likewise.
34354 * math/w_acoshl_compat.c: Likewise.
34355 * math/w_acosl_compat.c: Likewise.
34356 * math/w_asin_compat.c: Likewise.
34357 * math/w_asinf_compat.c: Likewise.
34358 * math/w_asinl_compat.c: Likewise.
34359 * math/w_atan2_compat.c: Likewise.
34360 * math/w_atan2f_compat.c: Likewise.
34361 * math/w_atan2l_compat.c: Likewise.
34362 * math/w_atanh_compat.c: Likewise.
34363 * math/w_atanhf_compat.c: Likewise.
34364 * math/w_atanhl_compat.c: Likewise.
34365 * math/w_cosh_compat.c: Likewise.
34366 * math/w_coshf_compat.c: Likewise.
34367 * math/w_coshl_compat.c: Likewise.
34368 * math/w_exp10_compat.c: Likewise.
34369 * math/w_exp10f_compat.c: Likewise.
34370 * math/w_exp10l_compat.c: Likewise.
34371 * math/w_exp2_compat.c: Likewise.
34372 * math/w_exp2f_compat.c: Likewise.
34373 * math/w_exp2l_compat.c: Likewise.
34374 * math/w_fmod_compat.c: Likewise.
34375 * math/w_fmodf_compat.c: Likewise.
34376 * math/w_fmodl_compat.c: Likewise.
34377 * math/w_hypot_compat.c: Likewise.
34378 * math/w_hypotf_compat.c: Likewise.
34379 * math/w_hypotl_compat.c: Likewise.
34380 * math/w_j0_compat.c: Likewise.
34381 * math/w_j0f_compat.c: Likewise.
34382 * math/w_j0l_compat.c: Likewise.
34383 * math/w_j1_compat.c: Likewise.
34384 * math/w_j1f_compat.c: Likewise.
34385 * math/w_j1l_compat.c: Likewise.
34386 * math/w_jn_compat.c: Likewise.
34387 * math/w_jnf_compat.c: Likewise.
34388 * math/w_jnl_compat.c: Likewise.
34389 * math/w_lgamma_r_compat.c: Likewise.
34390 * math/w_lgammaf_r_compat.c: Likewise.
34391 * math/w_lgammal_r_compat.c: Likewise.
34392 * math/w_log10_compat.c: Likewise.
34393 * math/w_log10f_compat.c: Likewise.
34394 * math/w_log10l_compat.c: Likewise.
34395 * math/w_log2_compat.c: Likewise.
34396 * math/w_log2f_compat.c: Likewise.
34397 * math/w_log2l_compat.c: Likewise.
34398 * math/w_log_compat.c: Likewise.
34399 * math/w_logf_compat.c: Likewise.
34400 * math/w_logl_compat.c: Likewise.
34401 * math/w_pow_compat.c: Likewise.
34402 * math/w_powf_compat.c: Likewise.
34403 * math/w_powl_compat.c: Likewise.
34404 * math/w_remainder_compat.c: Likewise.
34405 * math/w_remainderf_compat.c: Likewise.
34406 * math/w_remainderl_compat.c: Likewise.
34407 * math/w_sinh_compat.c: Likewise.
34408 * math/w_sinhf_compat.c: Likewise.
34409 * math/w_sinhl_compat.c: Likewise.
34410 * math/w_sqrt_compat.c: Likewise.
34411 * math/w_sqrtf_compat.c: Likewise.
34412 * math/w_sqrtl_compat.c: Likewise.
34413 * math/w_tgamma_compat.c: Likewise.
34414 * math/w_tgammaf_compat.c: Likewise.
34415 * math/w_tgammal_compat.c: Likewise.
34416 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34417 [LIBM_SVID_COMPAT].
34418 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34419 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34420 [LIBM_SVID_COMPAT].
34421 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34422 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34423 [LIBM_SVID_COMPAT].
34424 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34425 * sysdeps/i386/fpu/w_sqrt.c: New file.
34426 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34427 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34428 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34429 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34430 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34431 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34432 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34433 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34434 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34435 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34436 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34437 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34438 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34439 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34440 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34441 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34442 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34443 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34444 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34445 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34446 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34447 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34448 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34449 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34450 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34451 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34452 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34453 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34454 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34455 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34456 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34457 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34458 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34459 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34460 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34461 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34462 * sysdeps/ia64/fpu/w_log.c: Likewise.
34463 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34464 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34465 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34466 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34467 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34468 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34469 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34470 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34471 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34472 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34473 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34474 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34475 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34476 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34477 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34478 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34479 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34480 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34481 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34482 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34483 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34484 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34485 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34486 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34487 [LIBM_SVID_COMPAT].
34488 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34489 * sysdeps/ieee754/k_standard.c: Likewise.
34490 * sysdeps/ieee754/k_standardf.c: Likewise.
34491 * sysdeps/ieee754/k_standardl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34494 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34495 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34496 long_double_symbol call on [LIBM_SVID_COMPAT].
34497 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34498 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34499 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34500 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34501 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34502 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34503 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34504 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34505 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34506 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34507 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34508 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34509 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34510 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34511 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34512 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34513 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34514 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34515 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34516 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34517 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34518 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34520 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34522 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34523 * malloc/tst-mallocstate.c: Convert from test-skeleton
34524 to test-driver. Ifdef code using TEST_COMPAT macro.
34525 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34526 * math/test-matherr.c: Likewise.
34528 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34531 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34532 comparing word with byte-swapped constant.
34534 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34537 * locale/iso-639.def: add Miskito.
34538 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34539 * localedata/locales/miq_NI: New file.
34541 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34544 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34545 (__mkdir): Likewise.
34546 * io/chmod.c (__chmod): Add libc_hidden_def.
34547 * io/mkdir.c (__mkdir): Likewise.
34548 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34549 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34550 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34551 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34553 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34555 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34559 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34560 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34562 2017-09-04 Florian Weimer <fweimer@redhat.com>
34564 * math/math.h: Issue warning if log is defined.
34566 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34568 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34569 kernel version to 4.13.
34571 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34573 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34574 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34576 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34577 just <bits/types.h>.
34578 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34579 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34580 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34581 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34582 * misc/preadv2.c: Include <errno.h>.
34583 * misc/preadv64v2.c: Include <errno.h>.
34584 * misc/pwritev2.c: Include <errno.h>.
34585 * misc/pwritev64v2.c: Include <errno.h>.
34586 * sysdeps/posix/preadv2.c: Include <errno.h>.
34587 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34588 Fix <unistd.h> inclusion.
34589 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34590 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34591 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34592 __strtoul_internal): New functions.
34593 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34594 * sysdeps/posix/system.c: Include <sigsetops.h>.
34595 * sysdeps/mach/hurd/i386/Makefile
34596 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34597 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34598 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34599 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34600 __feraiseexcept_renamed to feraiseexcept instead of
34601 __GI_feraiseexcept.
34602 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34603 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34604 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34605 RWF_NOWAIT): Define to 0 if undefined already.
34606 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34608 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34609 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34611 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34613 * manual/math.texi (pow10): Do not document.
34614 (pow10f): Likewise.
34615 (pow10l): Likewise.
34616 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34617 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34618 * math/libm-test-exp10.inc (pow10_test): Remove.
34619 (do_test): Do not call pow10.
34620 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34621 [NO_LONG_DOUBLE] (pow10l): Likewise.
34622 * math/w_exp10f_compat.c (pow10f): Likewise.
34623 * math/w_exp10l_compat.c (pow10l): Likewise.
34624 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34625 (pow10): Make into compat symbol.
34626 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34627 (pow10f): Make into compat symbol.
34628 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34629 (pow10l): Make into compat symbol.
34630 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34632 (CFLAGS-nldbl-pow10.c): Remove variable..
34633 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34634 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34635 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34636 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34637 Undefine and redefine.
34638 (pow10l): Make into compat symbol.
34639 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34640 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34641 * sysdeps/arm/libm-test-ulps: Likewise.
34642 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34643 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34644 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34645 * sysdeps/microblaze/libm-test-ulps: Likewise.
34646 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34647 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34648 * sysdeps/nios2/libm-test-ulps: Likewise.
34649 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34650 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34651 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34652 * sysdeps/sh/libm-test-ulps: Likewise.
34653 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34654 * sysdeps/tile/libm-test-ulps: Likewise.
34655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34657 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34659 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34661 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34663 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34664 "../ChangeLog.old/ChangeLog.8".
34665 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34666 "../ChangeLog.old/ChangeLog.14".
34668 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34670 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34673 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34675 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34677 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34679 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34680 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34682 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34684 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34685 32 atexit handlers.
34687 2017-09-01 Zack Weinberg <zackw@panix.com>
34689 * math/math.h (HUGE_VAL): Improve commentary.
34691 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34692 Andreas Schwab <schwab@suse.de>
34695 * include/stdio.h (__gen_tempfd): New function.
34696 * stdio-common/Makefile (routines): Add gentempfd.
34697 * stdio-common/gentempfd.c: New file.
34698 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34699 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34700 unnamed file first.
34702 2017-09-01 Florian Weimer <fweimer@redhat.com>
34706 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34707 result to determine success or failure, not the errno value.
34708 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34709 (tst-nss-files-hosts-erange): Link with -ldl.
34710 * nss/tst-nss-files-hosts-erange.c: New file.
34711 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34712 (do_test): Add NO_DATA tests.
34713 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34714 (do_test): Call it.
34716 2017-09-01 Florian Weimer <fweimer@redhat.com>
34719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34720 coming from gethostbyname2_r.
34722 2017-09-01 Florian Weimer <fweimer@redhat.com>
34724 * support/namespace.h (struct support_chroot_configuration): Add
34726 (struct support_chroot): Add path_hosts, path_host_conf.
34727 * support/support_chroot.c (write_file): New function.
34728 (support_chroot_create): Call it to process /etc/resolv.conf,
34729 /etc/hosts, /etc/host.conf.
34730 (support_chroot_free): Update.
34732 2017-09-01 Florian Weimer <fweimer@redhat.com>
34734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34735 status indicates it is set.
34737 2017-09-01 Florian Weimer <fweimer@redhat.com>
34740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34741 function lookup failures more reliable.
34743 2017-09-01 Florian Weimer <fweimer@redhat.com>
34745 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34746 (getcanonname): Likewise.
34747 (gaih_inet): Likewise.
34749 2017-09-01 Florian Weimer <fweimer@redhat.com>
34751 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34752 (getcanonname): Likewise.
34753 (gaih_inet): Likewise.
34755 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34756 Richard Henderson <rth@twiddle.net>
34758 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34759 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34760 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34761 (IREG_SIZE, OREG_SIZE): New macros.
34762 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34763 (IREG_SIZE, OREG_SIZE): New macros.
34764 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34765 (IREG_SIZE): New macro.
34766 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34767 (IREG_SIZE): New macro.
34768 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34770 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34771 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34772 (__CONCATX): Handle exceptions correctly on large values that may
34774 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34775 Initialize if not already set.
34776 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34778 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34780 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34781 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34783 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34785 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34787 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34789 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34791 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34793 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34795 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34796 (NO_CANCELLATION): Likewise.
34797 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34799 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34801 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34803 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34804 (NO_CANCELLATION): Likewise.
34805 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34806 (NO_CANCELLATION): Likewise.
34807 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34809 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34811 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34813 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34815 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34817 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34818 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34820 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34822 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34825 2017-08-31 Florian Weimer <fweimer@redhat.com>
34827 * include/libc-symbols.h (internal_function): Remove.
34829 2017-08-31 Florian Weimer <fweimer@redhat.com>
34831 * stdlib/fmtmsg.c (internal_addseverity): Remove
34834 2017-08-31 Florian Weimer <fweimer@redhat.com>
34836 * stdio-common/printf_fp.c (group_number): Remove
34838 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34840 2017-08-31 Florian Weimer <fweimer@redhat.com>
34842 * posix/fnmatch.c (internal_function): Remove definition.
34843 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34844 * posix/regcomp.c (peek_token, init_word_char)
34845 (duplicate_node_closure, fetch_token, peek_token)
34846 (peek_token_bracket, build_range_exp, build_collating_symbol):
34848 * posix/regex_internal.c (re_string_construct_common)
34849 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34850 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34851 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34852 (re_string_translate_buffer, re_string_reconstruct)
34853 (re_string_peek_byte_case, re_string_fetch_byte_case)
34854 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34855 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34856 (re_node_set_add_intersect, re_node_set_init_union)
34857 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34858 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34859 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34860 (re_acquire_state_context): Likewise.
34861 * posix/regex_internal.h (internal_function): Remove definition.
34862 (re_string_realloc_buffers, build_wcs_buffer)
34863 (build_wcs_upper_buffer, build_upper_buffer)
34864 (re_string_translate_buffer, re_string_context_at)
34865 (re_string_char_size_at, re_string_wchar_at)
34866 (re_string_elem_size_at): Likewise.
34867 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34868 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34869 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34870 (re_search_internal, re_search_2_stub, re_search_stub)
34871 (re_copy_regs, prune_impossible_nodes, check_matching)
34872 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34873 (free_fail_stack_return, sift_states_iter_mb)
34874 (sift_states_backward, build_sifted_states)
34875 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34876 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34877 (check_subexp_limits, sift_states_bkref, merge_state_array)
34878 (find_recover_state, transit_state, merge_state_with_log)
34879 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34880 (transit_state_mb, transit_state_bkref, get_subexp)
34881 (get_subexp_sub, find_subexp_node, check_arrival)
34882 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34883 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34884 (check_node_accept_bytes, find_collation_sequence_value)
34885 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34886 (acquire_init_state_context, check_halt_node_context)
34887 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34888 (sub_epsilon_src_nodes): Likewise.
34889 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34890 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34891 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34892 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34893 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34894 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34895 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34896 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34897 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34898 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34899 (PREADV): Likewise.
34900 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34901 (PREADV): Likewise.
34902 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34903 (PWRITEV): Likewise.
34904 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34905 (PWRITEV): Likewise.
34906 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34907 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34909 2017-08-31 Florian Weimer <fweimer@redhat.com>
34911 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34912 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34913 Remove internal_function.
34914 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34915 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34916 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34917 (__deallocate_stack, __libc_pthread_init)
34918 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34919 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34920 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34922 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34923 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34924 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34926 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34927 (__pthread_mutex_unlock_usercnt): Likewise.
34929 2017-08-31 Florian Weimer <fweimer@redhat.com>
34931 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34932 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34933 (fts_safe_changedir): Remove internal_function.
34934 * io/ftw.c (internal_function): Remove definition.
34935 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34937 2017-08-31 Florian Weimer <fweimer@redhat.com>
34939 * inet/deadline.c (__deadline_current_time)
34940 (__deadline_from_timeval, __deadline_to_ms): Remove
34942 * inet/getnameinfo.c (nrl_domainname): Likewise.
34943 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34944 * inet/inet6_option.c (add_pad): Likewise.
34945 * inet/net-internal.h (__deadline_current_time)
34946 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34947 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34948 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34949 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34951 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34953 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34954 include <bits/nan.h>.
34955 * math/Makefile (headers): Remove bits/nan.h.
34956 * bits/nan.h: Remove.
34957 * sysdeps/ieee754/bits/nan.h: Likewise.
34958 * sysdeps/mips/bits/nan.h: Likewise.
34960 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34961 not include <bits/inf.h>.
34962 * math/Makefile (headers): Remove bits/inf.h.
34963 * bits/inf.h: Remove.
34964 * sysdeps/ieee754/bits/inf.h: Likewise.
34966 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34967 bits/huge_vall.h or bits/huge_val_flt128.h.
34968 (HUGE_VAL): Define directly here.
34969 [__USE_ISOC99] (HUGE_VALF): Likewise.
34970 [__USE_ISOC99] (HUGE_VALL): Likewise.
34971 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34972 (HUGE_VAL_F128): Likewise.
34973 * math/Makefile (headers): Remove bits/huge_val.h,
34974 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34975 * bits/huge_val.h: Remove.
34976 * bits/huge_val_flt128.h: Likewise.
34977 * bits/huge_valf.h: Likewise.
34978 * bits/huge_vall.h: Likewise.
34979 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34980 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34981 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34982 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34983 * sysdeps/sh/bits/huge_val.h: Likewise.
34984 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34985 * sysdeps/x86/bits/huge_vall.h: Likewise.
34987 2017-08-31 Florian Weimer <fweimer@redhat.com>
34989 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34991 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34993 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34994 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34995 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34996 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34997 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34998 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34999 * elf/dl-libc.c (dlerror_run): Likewise.
35000 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35001 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35002 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35003 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35005 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35006 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35007 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35008 * elf/dl-profile.c (_dl_start_profile): Likewise.
35009 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35010 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35012 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35013 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35014 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35015 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35016 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35017 (_dl_allocate_tls_storage): Likewise.
35018 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35019 (_dl_check_all_versions): Likewise.
35020 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35021 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35022 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35023 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35024 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35025 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35026 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35027 internal_function from __dl_start.
35028 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35029 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35030 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35031 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35032 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35033 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35034 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35035 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35036 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35037 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35038 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35039 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35040 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35041 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35042 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35044 (struct rtld_global_ro): Remove internal_function from the
35045 _dl_lookup_symbol_x member.
35046 (_dl_symbol_value): Remove. No longer defined anywhere.
35047 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35049 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35050 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35051 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35052 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35053 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35054 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35055 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35056 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35057 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35058 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35059 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35060 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35062 2017-08-31 Florian Weimer <fweimer@redhat.com>
35064 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35065 Remove internal_function.
35066 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35068 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35071 2017-08-31 Florian Weimer <fweimer@redhat.com>
35073 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35074 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35075 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35077 2017-08-31 Florian Weimer <fweimer@redhat.com>
35079 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35080 (__gai_enqueue_request): Remove internal_function.
35081 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35082 (__gai_remove_request, __gai_notify, __gai_notify_only)
35083 (__gai_sigqueue): Likewise.
35084 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35085 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35086 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35087 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35090 2017-08-31 Florian Weimer <fweimer@redhat.com>
35092 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35093 * include/dirent.h (__opendirat, __getdents, __getdents64)
35094 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35095 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35096 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35097 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35099 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35101 2017-08-31 Florian Weimer <fweimer@redhat.com>
35103 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35105 (GETCWD_RETURN_TYPE): Likewise.
35107 2017-08-31 Florian Weimer <fweimer@redhat.com>
35109 * include/time.h (__tz_compute, __strptime_internal): Remove
35111 * time/strptime_l.c (__strptime_internal): Likewise.
35112 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35114 2017-08-31 Florian Weimer <fweimer@redhat.com>
35116 * iconv/gconv.c (__gconv): Remove internal_function.
35117 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35118 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35119 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35120 (__gconv_release_cache): Likewise.
35121 * iconv/gconv_close.c (__gconv_close): Likewise.
35122 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35123 (read_conf_file, __gconv_get_path): Likewise.
35124 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35125 (__gconv_release_step, gen_steps, increment_counter)
35126 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35127 (__gconv_close_transform, free_modules_db): Likewise.
35128 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35130 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35131 (__gconv_find_transform, __gconv_lookup_cache)
35132 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35133 (__gconv_close_transform, __gconv_release_cache)
35134 (__gconv_loaded_object, __gconv_release_shlib)
35135 (__gconv_compare_alias): Likewise.
35136 * iconv/gconv_open.c (__gconv_open): Likewise.
35137 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35138 * iconv/iconvconfig.c (add_module): Likewise.
35139 * intl/dcigettext.c (plural_lookup, guess_category_value)
35140 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35141 * intl/eval-plural.h (plural_eval): Likewise.
35142 * intl/finddomain.c (_nl_find_domain): Likewise.
35143 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35144 (_nl_load_domain, _nl_find_msg): Likewise.
35145 (internal_function): Remove definition.
35146 * intl/loadinfo.h (internal_function): Likewise.
35147 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35149 * intl/localealias.c (internal_function): Remove definition.
35150 (read_alias_file): Remove internal_function.
35151 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35152 * intl/plural-exp.h (internal_function): Remove definition.
35153 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35155 * intl/plural.c: Regenerate.
35156 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35157 * locale/coll-lookup.c (__collidx_table_lookup)
35158 (__collseq_table_lookup): Likewise.
35159 * locale/coll-lookup.h (__collidx_table_lookup)
35160 (__collseq_table_lookup): Likewise.
35161 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35162 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35163 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35164 (_nl_unload_locale): Likewise.
35165 * locale/localeinfo.h (struct __locale_data): Remove
35166 internal_function from cleanup member.
35167 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35168 (_nl_remove_locale, _nl_load_locale_from_archive)
35169 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35170 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35171 (_nl_cleanup_time): Remove internal_function.
35172 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35173 (_nl_parse_alt_digit): Likewise.
35174 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35175 (_nl_select_era_entry): Likewise.
35176 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35177 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35178 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35179 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35180 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35182 2017-08-31 Florian Weimer <fweimer@redhat.com>
35184 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35185 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35186 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35187 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35189 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35190 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35191 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35192 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35194 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35196 2017-08-31 Florian Weimer <fweimer@redhat.com>
35198 * misc/getttyent.c (skip, value): Remove internal_function.
35199 * misc/syslog.c (openlog_internal): Likewise.
35200 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35202 2017-08-31 Florian Weimer <fweimer@redhat.com>
35204 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35205 (__nss_rewrite_field): Remove internal_function.
35206 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35207 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35208 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35209 * nss/nsswitch.c (nss_parse_file, nss_getline)
35210 (nss_parse_service_list, nss_new_service): Likewise.
35211 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35212 * nss/valid_field.c (__nss_valid_field): Likewise.
35213 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35215 2017-08-31 Florian Weimer <fweimer@redhat.com>
35217 * malloc/arena.c (__malloc_fork_lock_parent)
35218 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35219 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35220 internal_function from defintions.
35221 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35222 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35223 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35224 internal_function from declarations.
35225 * malloc/malloc.c (internal_function): Do not define.
35226 (mem2mem_check): Remove internal_function from declaration.
35227 (munmap_chunk, mremap_chunk): Remove internal_function.
35228 * malloc/mtrace.c (tr_where): Likewise.
35230 2017-08-31 Florian Weimer <fweimer@redhat.com>
35232 * include/rpc/pmap_clnt.h (__get_socket): Remove
35234 * sunrpc/auth_des.c (synchronize): Likewise.
35235 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35236 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35237 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35238 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35239 (key_call): Likewise.
35240 * sunrpc/pm_getport.c (__get_socket): Likewise.
35241 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35242 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35243 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35244 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35245 (invalidate): Likewise.
35246 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35247 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35248 (set_input_fragment, get_input_bytes): Likewise.
35250 2017-08-31 Florian Weimer <fweimer@redhat.com>
35252 * malloc/malloc.c (_int_free): Remove locked variable and related
35255 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35258 * Makerules (build-module-helper-objlist): Filter out
35259 $(elf-objpfx)sofini.os.
35260 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35263 2017-08-31 Florian Weimer <fweimer@redhat.com>
35265 * libio/fcloseall.c: Assume weak_alias is defined.
35266 * libio/feof.c: Likewise.
35267 * libio/fileno.c: Likewise.
35268 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35269 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35271 (_IO_file_open): Call __open directly.
35272 (_IO_new_file_sync): Assume ESPIPE is defined.
35273 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35274 (_IO_new_file_write): Call __write directly.
35275 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35276 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35277 * libio/genops.c: Assume _LIBC is defined.
35278 (save_for_backup): Remove internal_function.
35279 * libio/getc.c: Assume weak_alias is defined.
35280 * libio/getwc.c: Likewise.
35281 * libio/iofclose.c: Assume _LIBC is defined.
35282 * libio/iofdopen.c: Likewise.
35283 (_IO_fcntl): Remove macro definition.
35284 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35285 Call __fcntl directly.
35286 * libio/iofflush.c: Assume weak_alias is defined.
35287 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35289 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35290 * libio/iofgets.c: Likewise.
35291 * libio/iofopen.c: Assume _LIBC is defined.
35292 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35293 * libio/iofputs.c: Assume weak_alias is defined.
35294 * libio/iofread.c: Likewise.
35295 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35296 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35297 * libio/ioftell.c: Assume weak_alias is defined.
35298 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35299 * libio/iofwide.c: Assume _LIBC is defined.
35300 (_IO_fwide): Drop SHARED conditional because it is implied by
35302 * libio/iofwrite.c: Assume weak_alias is defined.
35303 * libio/iogetdelim.c: Likewise.
35304 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35305 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35306 (_IO_getwline): Call __wmemcpy directly.
35307 * libio/iopopen.c: Assume _LIBC is defined.
35308 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35309 (_IO_close): Remove macro definitions.
35310 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35312 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35314 * libio/ioputs.c: Assume weak_alias is defined.
35315 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35316 * libio/iosetbuffer.c: Assume weak_alias is defined.
35317 * libio/iosetvbuf.c: Likewise.
35318 * libio/ioungetc.c: Likewise.
35319 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35320 libc_hidden_def, libc_hidden_weak, NULL are defined.
35321 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35322 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35324 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35326 (_IO_old_file_init_internal): Drop SHARED conditional because it
35327 is implied by SHLIB_COMPAT.
35328 (_IO_old_file_fopen): Call __open directly.
35329 (_IO_old_file_sync): Assume ESPIPE is defined.
35330 (_IO_old_file_write): Call __write directly.
35331 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35332 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35333 Call __fcntl directly.
35334 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35335 (_IO_old_fgetpos): Assume EIO is defined.
35336 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35337 (_IO_old_fgetpos64): Assume EIO is defined.
35338 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35339 (_IO_old_fsetpos): Assume EIO is defined.
35340 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35341 (_IO_old_fsetpos64): Assume EIO is defined.
35342 * libio/oldiopopen.c: Assume _LIBC is defined.
35343 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35344 (_IO_close): Remove macro definitions.
35345 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35347 (_IO_old_proc_close): Call __close, __waitpid directly.
35348 * libio/put.c: Assume weak_alias is defined.
35349 * libio/stdfiles.c: Assume _LIBC is defined.
35350 * libio/stdio.c: Likewise.
35351 * libio/wfileops.c: Likewise.
35352 (_IO_wfile_sync): Assume ESPIPE is defined.
35353 * libio/wgenops.c: Assume _LIBC is defined.
35354 (save_for_wbackup): Remove internal_function.
35356 2017-08-31 Florian Weimer <fweimer@redhat.com>
35358 * malloc/malloc.c (top_check): Change return type to void. Remove
35360 * malloc/hooks.c (top_check): Likewise.
35361 (malloc_check, realloc_check, memalign_check): Adjust.
35363 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35366 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35367 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35368 sigcontext and namespace requirements.
35369 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35370 * sysdeps/m68k/sys/ucontext.h: Likewise.
35371 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35372 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35373 <bits/sigcontext.h>.
35374 (__ctx): Define earlier.
35375 (mcontext_t): Define structure contents rather than using struct
35377 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35378 __glibc_reserved1 instead of __reserved.
35379 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35380 <bits/sigcontext.h>.
35381 (__ctx): Define earlier.
35382 (mcontext_t): Define structure contents rather than using struct
35384 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35385 mcontext_t instead of struct sigcontext.
35386 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35387 <bits/sigcontext.h>.
35388 (__ctx): Define earlier.
35389 (mcontext_t): Define structure contents rather than using struct
35391 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35392 <bits/sigcontext.h>.
35393 (__ctx): Define earlier.
35394 (mcontext_t): Define structure contents rather than using struct
35396 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35397 mcontext_t instead of struct sigcontext.
35398 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35399 mcontext_t instead of struct sigcontext.
35400 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35401 <bits/sigcontext.h>.
35402 (__ctx): New macro.
35403 (struct __ia64_fpreg_mcontext): New type.
35404 (mcontext_t): Define structure contents rather than using struct
35406 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35407 (uc_sigmask): Define using __ctx.
35408 (uc_stack): Likewise.
35409 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35410 <bits/sigcontext.h>.
35411 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35412 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35413 <bits/sigcontext.h>.
35414 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35415 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35416 <bits/sigcontext.h>.
35417 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35418 <bits/sigcontext.h>.
35419 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35420 <bits/sigcontext.h>.
35421 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35422 <bits/sigcontext.h>.
35423 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35424 <bits/sigcontext.h>.
35425 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35426 <bits/sigcontext.h>.
35427 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35428 <bits/sigcontext.h>.
35429 (__ctx): Define earlier.
35430 (mcontext_t): Define structure contents rather than using struct
35432 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35433 <bits/sigcontext.h>. Include <bits/types.h>.
35434 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35435 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35436 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35437 (test-xfail-UNIX98/signal.h/conform): Likewise.
35438 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35439 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35440 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35441 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35442 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35443 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35444 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35445 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35446 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35448 2017-08-30 Florian Weimer <fweimer@redhat.com>
35450 * malloc/dynarray_emplace_enlarge.c
35451 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35452 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35453 * malloc/tst-dynarray.c (test_long_overflow): New function.
35454 (do_test): Call it.
35456 2017-08-30 Florian Weimer <fweimer@redhat.com>
35458 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35459 (set_arena_corrupt): Remove definitions.
35460 (mtrim): Do not check for corrupt arena.
35461 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35464 2017-08-30 Florian Weimer <fweimer@redhat.com>
35467 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35469 (ptmalloc_init): Do not set or use check_action.
35470 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35471 call to malloc_printerr. Remove return statement.
35472 (free_check): Likewise. Remove arena unlock.
35473 (top_check): Update comment. Adjust call to malloc_printerr.
35474 Remove heap repair code.
35475 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35476 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35477 (sysmalloc): Adjust call to malloc_printerr.
35478 (munmap_chunk, __libc_realloc): Likewise. Remove return
35480 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35481 Remove errout label and corresponding gotos.
35482 (_int_free): Likewise. Remove arena unlock.
35483 (do_set_mallopt_check): Do not set check_action.
35484 (malloc_printerr): Adjust parameter list. Do not mark arena as
35486 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35488 * manual/probes.texi (Memory Allocation Probes): Remove
35489 memory_mallopt_check_action.
35491 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35493 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35494 Use pointer to uint64_t instead of long int for sp.
35496 2017-08-30 Florian Weimer <fweimer@redhat.com>
35499 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35500 without printing a backtrace. Do not leak any information in the
35502 * manual/memory.texi (Heap Consistency Checking): Update.
35503 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35505 2017-08-30 Florian Weimer <fweimer@redhat.com>
35507 Do not scale NPTL tests with available number of CPUs.
35508 * nptl/tst-cond16.c (count): Set to constant value of 8.
35509 * nptl/tst-cond18.c (count): Likewise.
35511 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35514 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35515 Define to take a second argument that is a macro that
35516 concatentates a suffix, not the suffix itself.
35517 (__CONCAT_d): New macro.
35518 (__CONCAT_f): Likewise.
35519 (__CONCAT_l): Likewise.
35521 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35523 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35526 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35527 Aurelien Jarno <aurelien@aurel32.net>
35528 Maciej W. Rozycki <macro@imgtec.com>
35531 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35532 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35533 `mips16-syscall6' and `mips16-syscall7'.
35534 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35535 (CFLAGS-mips16-syscall7.c): Remove.
35536 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35537 Remove `__mips16_syscall5', `__mips16_syscall6' and
35538 `__mips16_syscall7'.
35539 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35540 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35541 `__mips_syscall_return'.
35542 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35543 (__mips16_syscall1): Likewise.
35544 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35545 (__mips16_syscall2): Likewise.
35546 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35547 (__mips16_syscall3): Likewise.
35548 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35549 (__mips16_syscall4): Likewise.
35550 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35552 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35554 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35556 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35557 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35558 `__mips16_syscall5'. Remove prototype.
35559 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35560 `__mips16_syscall6'. Remove prototype.
35561 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35562 `__mips16_syscall7'. Remove prototype.
35563 (__nomips16, __mips16_syscall_return): Move to...
35564 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35565 (__nomips16, __mips_syscall_return): ... here.
35566 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35567 `__mips16_syscall_return' to `__mips_syscall_return'.
35568 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35569 `internal_syscall##nr'.
35570 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35571 `internal_syscall##nr'.
35572 (FORCE_FRAME_POINTER): Remove.
35573 (__mips_syscall5): New prototype.
35574 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35575 (__mips_syscall6): New prototype.
35576 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35577 (__mips_syscall7): New prototype.
35578 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35579 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35580 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35581 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35582 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35583 (sysdep_routines): Add libc-do-syscall.
35584 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35585 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35587 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35590 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35591 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35592 (advise_stack_range): New function.
35593 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35594 stack non required to advise_stack_range at allocatestack.c
35596 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35598 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35600 2017-08-29 Florian Weimer <fweimer@redhat.com>
35603 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35604 __end_fct. Mangle __end_fct after setting it to NULL.
35605 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35606 (modules-names, modules-names-tests): Add
35607 tst-gconv-init-failure-mod.
35608 (gconv-modules): New target.
35609 (tst-gconv-init-failure-mod.so): Link against libsupport.
35610 (tst-gconv-init-failure): Depend on gconv-modules,
35611 tst-gconv-init-failure-mod.so.
35612 * iconv/tst-gconv-init-failure-mod.c: New file.
35613 * iconv/tst-gconv-init-failure.c: Likewise.
35614 * iconv/test-gconv-modules: Likewise.
35616 2017-08-29 Florian Weimer <fweimer@redhat.com>
35619 * iconv/gconv_db.c (free_derivation): Remove redundant
35621 (gen_steps): Unconditionally mangle __btowc_fct after
35623 (increment_counter): Likewise. Do not call init_fct for internal
35626 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35629 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35630 (_MSUF_): Remove macro.
35631 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35633 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35634 (__REDIRFROM_X): New macro.
35635 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35637 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35638 (__REDIRTO_X): Likewise.
35639 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35641 (__MATH_REDIRCALL_2): Likewise.
35642 (__MATH_REDIRCALL_INTERNAL): Likewise.
35643 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35644 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35645 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35646 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35647 * math/test-finite-macros.c: New file.
35648 * math/Makefile (tests): Add test-finite-macros.
35649 (CFLAGS-test-finite-macros.c): New variable.
35651 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35652 Jeff Law <law@redhat.com>
35655 Mangle NULL pointers in iconv/gconv.
35656 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35657 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35658 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35659 is non-NULL before demangling the end_fct. Check for NULL
35660 end_fct after demangling.
35661 (__gconv_release_step): Demangle the end_fct before checking
35662 it for NULL. Remove assert on __shlibc_handle != NULL.
35663 (gen_steps): Don't check btowc_fct for NULL before mangling.
35664 Demangle init_fct before checking for NULL.
35665 (increment_counter): Likewise.
35666 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35667 end_fct for NULL before mangling.
35668 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35671 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35674 * locale/iso-639.def: add Morisyen.
35676 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35679 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35680 (iszero): New C++ implementation that does not use
35681 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35682 signaling nans are enabled, since __builtin_types_compatible_p
35683 is a C-only feature.
35684 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35685 defined, include ieee754_float128.h for access to the union and
35686 member ieee854_float128.ieee.
35687 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35688 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35689 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35690 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35691 options of test-math-zero on powerpc64le.
35693 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35695 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35696 Change double to float.
35698 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35700 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35702 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35703 conditional code; define contents only for [LIBM_SVID_COMPAT].
35705 2017-08-28 Florian Weimer <fweimer@redhat.com>
35707 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35708 (abi-lp64_be-options): Remove.
35709 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35710 (abi-hard-options): Likewise.
35711 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35712 (abi-o32_hard-options, abi-o32_soft_2008-options)
35713 (abi-o32_hard_2008-options, abi-n32_soft-options)
35714 (abi-n32_hard-options, abi-n32_soft_2008-options)
35715 (abi-n32_hard_2008-options, abi-n64_soft-options)
35716 (abi-n64_hard-options, abi-n64_soft_2008-options)
35717 (abi-n64_hard_2008-options): Likewise.
35718 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35719 (abi-64-v1-options, abi-64-v2-options): Likewise.
35720 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35721 (abi-64-options): Likewise.
35722 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35723 (abi-64-options): Likewise.
35724 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35725 (abi-64-options): Likewise.
35726 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35727 (abi-64-options, abi-x32-options): Likewise.
35729 2017-08-28 Florian Weimer <fweimer@redhat.com>
35731 Store supported list of SYS_* system calls in the source tree.
35732 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35733 (bits/syscall.h): Generate from list file.
35734 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35735 [$(subdir) = misc] (tests): Add tst-syscall-list.
35736 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35737 [$(subdir) = misc] (tst-syscall-list-macros.list)
35738 [$(subdir) = misc] (tst-syscall-list-nr.list)
35739 (tst-syscall-list-sys.list): Helper targets for new
35740 tst-syscall-list test.
35741 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35742 tst-syscall-list.sh.
35743 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35744 target. Do not include bits/syscall.d.
35745 [$(subdir) = misc] (generated): Do not update.
35746 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35747 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35748 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35749 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35751 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35753 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35754 (tst-cxa_atexit, tst-on_exit): Likewise.
35755 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35756 tst-cxa_atexit, and tst-on_exit.
35757 * stdlib/tst-atexit-common.c: New file.
35758 * stdlib/tst-atexit.c: New file.
35759 * stdlib/tst-at_quick_exit.c: New file.
35760 * stdlib/tst-cxa_atexit.c: New file.
35761 * stdlib/tst-on_exit.c: New file.
35763 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35765 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35766 * mach/stack_chk_fail_local.c: New file.
35767 * hurd/stack_chk_fail_local.c: New file.
35768 * mach/Machrules ($(interface-library)-routines): Add
35769 stack_chk_fail_local.
35770 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35771 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35772 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35773 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35774 * hurd/Makefile (CFLAGS-hurdstartup.o,
35775 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35777 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35779 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35780 (index_cpu_*, index_arch_*): Removed.
35782 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35784 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35785 Use uint64_t instead of unsigned long.
35787 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35789 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35790 [__HAVE_DISTINCT_FLOAT128].
35792 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35793 of <bits/math-finite.h>.
35794 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35795 inclusion of <bits/math-finite.h>.
35796 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35797 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35798 __NO_LONG_DOUBLE_MATH].
35799 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35800 (__MATH_REDIRCALL_2): Likewise.
35801 (__MATH_REDIRCALL_INTERNAL): Likewise.
35802 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35803 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35804 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35818 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35819 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35820 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35821 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35823 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35824 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35825 w_sqrtf_compat-ppc32.
35827 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35829 * math/math.h [defined __cplusplus] (issignaling): In the long
35830 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35831 is not defined. Call __issignaling, otherwise.
35833 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35835 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35836 syscall definitions and replace __builtin_expect with __glibc_likely.
35837 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35839 (SYSCALL_CANCELLABLE): Removedefinition
35840 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35842 (PSEUDO_END): Likewise.
35843 [IS_IN (libpthread)] (CENABLE): Likewise.
35844 [IS_IN (libpthread)] (CDISABLE): Likewise.
35845 [IS_IN (libc)] (CENABLE): Likewise.
35846 [IS_IN (libc)] (CENABLE): Likewise.
35847 [IS_IN (librt)] (CDISABLE): Likewise.
35848 [IS_IN (librt)] (CDISABLE): Likewise.
35849 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35850 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35852 (PSEUDO_END): Likewise.
35853 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35854 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35855 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35856 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35857 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35858 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35859 (CENABLE): Likewise.
35860 (CDISABLE): Likewise.
35861 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35862 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35864 (PSEUDO_END): Likewise.
35865 [IS_IN (libpthread)] (CENABLE): Likewise.
35866 [IS_IN (libpthread)] (CDISABLE): Likewise.
35867 [IS_IN (libc)] (CENABLE): Likewise.
35868 [IS_IN (libc)] (CENABLE): Likewise.
35869 [IS_IN (librt)] (CDISABLE): Likewise.
35870 [IS_IN (librt)] (CDISABLE): Likewise.
35871 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35872 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35874 (PSEUDO_END): Likewise.
35875 [IS_IN (libpthread)] (CENABLE): Likewise.
35876 [IS_IN (libpthread)] (CDISABLE): Likewise.
35877 [IS_IN (libc)] (CENABLE): Likewise.
35878 [IS_IN (libc)] (CENABLE): Likewise.
35879 [IS_IN (librt)] (CDISABLE): Likewise.
35880 [IS_IN (librt)] (CDISABLE): Likewise.
35881 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35882 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35884 (PSEUDO_END): Likewise.
35885 [IS_IN (libpthread)] (CENABLE): Likewise.
35886 [IS_IN (libpthread)] (CDISABLE): Likewise.
35887 [IS_IN (libc)] (CENABLE): Likewise.
35888 [IS_IN (libc)] (CENABLE): Likewise.
35889 [IS_IN (librt)] (CDISABLE): Likewise.
35890 [IS_IN (librt)] (CDISABLE): Likewise.
35891 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35892 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35894 (PSEUDO_END): Likewise.
35895 [IS_IN (libpthread)] (CENABLE): Likewise.
35896 [IS_IN (libpthread)] (CDISABLE): Likewise.
35897 [IS_IN (libc)] (CENABLE): Likewise.
35898 [IS_IN (libc)] (CENABLE): Likewise.
35899 [IS_IN (librt)] (CDISABLE): Likewise.
35900 [IS_IN (librt)] (CDISABLE): Likewise.
35901 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35902 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35904 (PSEUDO_END): Likewise.
35905 [IS_IN (libpthread)] (CENABLE): Likewise.
35906 [IS_IN (libpthread)] (CDISABLE): Likewise.
35907 [IS_IN (libc)] (CENABLE): Likewise.
35908 [IS_IN (libc)] (CENABLE): Likewise.
35909 [IS_IN (librt)] (CDISABLE): Likewise.
35910 [IS_IN (librt)] (CDISABLE): Likewise.
35911 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35912 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35914 (PSEUDO_END): Likewise.
35915 [IS_IN (libpthread)] (CENABLE): Likewise.
35916 [IS_IN (libpthread)] (CDISABLE): Likewise.
35917 [IS_IN (libc)] (CENABLE): Likewise.
35918 [IS_IN (libc)] (CENABLE): Likewise.
35919 [IS_IN (librt)] (CDISABLE): Likewise.
35920 [IS_IN (librt)] (CDISABLE): Likewise.
35921 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35922 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35924 (PSEUDO_END): Likewise.
35925 [IS_IN (libpthread)] (CENABLE): Likewise.
35926 [IS_IN (libpthread)] (CDISABLE): Likewise.
35927 [IS_IN (libc)] (CENABLE): Likewise.
35928 [IS_IN (libc)] (CENABLE): Likewise.
35929 [IS_IN (librt)] (CDISABLE): Likewise.
35930 [IS_IN (librt)] (CDISABLE): Likewise.
35931 (SINGLE_THREAD_P): Likewise.
35932 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35934 (PSEUDO_END): Likewise.
35935 [IS_IN (libpthread)] (CENABLE): Likewise.
35936 [IS_IN (libpthread)] (CDISABLE): Likewise.
35937 [IS_IN (libc)] (CENABLE): Likewise.
35938 [IS_IN (libc)] (CENABLE): Likewise.
35939 [IS_IN (librt)] (CDISABLE): Likewise.
35940 [IS_IN (librt)] (CDISABLE): Likewise.
35941 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35942 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35944 (PSEUDO_END): Likewise.
35945 [IS_IN (libpthread)] (CENABLE): Likewise.
35946 [IS_IN (libpthread)] (CDISABLE): Likewise.
35947 [IS_IN (libc)] (CENABLE): Likewise.
35948 [IS_IN (libc)] (CENABLE): Likewise.
35949 [IS_IN (librt)] (CDISABLE): Likewise.
35950 [IS_IN (librt)] (CDISABLE): Likewise.
35951 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35952 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35953 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35954 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35955 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35957 (PSEUDO_END): Likewise.
35958 [IS_IN (libpthread)] (CENABLE): Likewise.
35959 [IS_IN (libpthread)] (CDISABLE): Likewise.
35960 [IS_IN (libc)] (CENABLE): Likewise.
35961 [IS_IN (libc)] (CENABLE): Likewise.
35962 [IS_IN (librt)] (CDISABLE): Likewise.
35963 [IS_IN (librt)] (CDISABLE): Likewise.
35964 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35967 (PSEUDO_END): Likewise.
35968 [IS_IN (libpthread)] (CENABLE): Likewise.
35969 [IS_IN (libpthread)] (CDISABLE): Likewise.
35970 [IS_IN (libc)] (CENABLE): Likewise.
35971 [IS_IN (libc)] (CENABLE): Likewise.
35972 [IS_IN (librt)] (CDISABLE): Likewise.
35973 [IS_IN (librt)] (CDISABLE): Likewise.
35974 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35975 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35977 (PSEUDO_END): Likewise.
35978 [IS_IN (libpthread)] (CENABLE): Likewise.
35979 [IS_IN (libpthread)] (CDISABLE): Likewise.
35980 [IS_IN (libc)] (CENABLE): Likewise.
35981 [IS_IN (libc)] (CENABLE): Likewise.
35982 [IS_IN (librt)] (CDISABLE): Likewise.
35983 [IS_IN (librt)] (CDISABLE): Likewise.
35984 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35987 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35988 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35990 (PSEUDO_END): Likewise.
35991 [IS_IN (libpthread)] (CENABLE): Likewise.
35992 [IS_IN (libpthread)] (CDISABLE): Likewise.
35993 [IS_IN (libc)] (CENABLE): Likewise.
35994 [IS_IN (libc)] (CENABLE): Likewise.
35995 [IS_IN (librt)] (CDISABLE): Likewise.
35996 [IS_IN (librt)] (CDISABLE): Likewise.
35997 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35998 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36000 (PSEUDO_END): Likewise.
36001 [IS_IN (libpthread)] (CENABLE): Likewise.
36002 [IS_IN (libpthread)] (CDISABLE): Likewise.
36003 [IS_IN (libc)] (CENABLE): Likewise.
36004 [IS_IN (libc)] (CENABLE): Likewise.
36005 [IS_IN (librt)] (CDISABLE): Likewise.
36006 [IS_IN (librt)] (CDISABLE): Likewise.
36007 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36009 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36011 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36013 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36015 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36017 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36020 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36021 middle and outer with size_t instead of int. Repleace %d and
36022 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36023 "MAX (outer, nchars - 64)" to support unsigned outer and
36024 nchars. Also exit loop when outer == 0.
36026 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36028 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36029 * include/signal.h (__sigsuspend_nocancel): Likewise.
36030 * include/time.h (__nanosleep_nocancel): Likewise.
36031 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36032 * login/utmp_file.c: Include non cancellable syscall header.
36033 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36036 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36038 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36039 .byte sequences with AVX512F instructions.
36040 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36041 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36042 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36043 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36045 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36048 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36049 Steve Ellcey <sellcey@cavium.com>
36051 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36052 Use PTR_REG macro in cmp instruction.
36054 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36056 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36057 Change the return type of the ifunc resolver to match the return
36058 type of the target function.
36060 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36062 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36063 (preadv64): Likewise.
36064 (pwrite64(: Likewise.
36065 (pwritev64): Likewise.
36067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36068 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36069 (LOAD_ARGS_0): Likewise.
36070 (LOAD_ARGS_1): Likewise.
36071 (LOAD_ARGS_2): Likewise.
36072 (LOAD_ARGS_3): Likewise.
36073 (LOAD_ARGS_4): Likewise.
36074 (LOAD_ARGS_5): Likewise.
36075 (LOAD_ARGS_6): Likewise.
36076 (LOAD_REGS_0): Likewise.
36077 (LOAD_REGS_1): Likewise.
36078 (LOAD_REGS_2): Likewise.
36079 (LOAD_REGS_3): Likewise.
36080 (LOAD_REGS_4): Likewise.
36081 (LOAD_REGS_5): Likewise.
36082 (LOAD_REGS_6): Likewise.
36083 (ASM_ARGS_0): Likewise.
36084 (ASM_ARGS_1): Likewise.
36085 (ASM_ARGS_2): Likewise.
36086 (ASM_ARGS_3): Likewise.
36087 (ASM_ARGS_4): Likewise.
36088 (ASM_ARGS_5): Likewise.
36089 (ASM_ARGS_6): Likewise.
36090 (LOAD_ARGS_TYPES_1): Likewise.
36091 (LOAD_ARGS_TYPES_2): Likewise.
36092 (LOAD_ARGS_TYPES_3): Likewise.
36093 (LOAD_ARGS_TYPES_4): Likewise.
36094 (LOAD_ARGS_TYPES_5): Likewise.
36095 (LOAD_ARGS_TYPES_6): Likewise.
36096 (LOAD_REGS_TYPES_1): Likewise.
36097 (LOAD_REGS_TYPES_2): Likewise.
36098 (LOAD_REGS_TYPES_3): Likewise.
36099 (LOAD_REGS_TYPES_4): Likewise.
36100 (LOAD_REGS_TYPES_5): Likewise.
36101 (LOAD_REGS_TYPES_6): Likewise.
36102 (TYPEFY): New define.
36103 (ARGIFY): Likewise.
36104 (internal_syscall0): Likewise.
36105 (internal_syscall1): Likewise.
36106 (internal_syscall2): Likewise.
36107 (internal_syscall3): Likewise.
36108 (internal_syscall4): Likewise.
36109 (internal_syscall5): Likewise.
36110 (internal_syscall6): Likewise.
36111 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36112 (INTERNAL_SYSCALL_NCS): Remove define.
36113 (internal_syscall1): Add define.
36115 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36117 * math/w_remainder_compat.c: Remove duplicate inclusion of
36118 math-svid-compat.h.
36119 * math/w_remainderf_compat.c: Likewise.
36120 * math/w_remainderl_compat.c: Likewise.
36122 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36126 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36129 * math/tgmath.h (__floating_type): Simplify definitions.
36130 (__real_integer_type): New macro.
36131 (__complex_integer_type): Likewise.
36132 (__expr_is_real): Likewise.
36133 (__tgmath_real_type_sub): Update comment to describe handling of
36135 (__tgmath_complex_type_sub): New macro.
36136 (__tgmath_complex_type): Likewise.
36137 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36138 (__TGMATH_CF128): Use __expr_is_real.
36139 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36141 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36142 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36143 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36146 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36148 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36150 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36152 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36155 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36156 nanosleep_not_cancel with __nanosleep_nocancel.
36157 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36158 (__nanosleep_nocancel): New macro.
36159 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36161 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36163 (__nanosleep_nocancel): New prototype.
36165 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36166 pause_not_cancel with __pause_nocancel.
36167 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36168 (__pause_nocancel): New macro.
36169 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36171 (__pause_nocancel): New prototype.
36172 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36174 2017-08-22 Martin Sebor <msebor@redhat.com>
36176 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36177 to return a pointer to the same type as the target function.
36179 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36183 * include/printf.h (__printf_fphex): Add attribute_hidden.
36184 (__guess_grouping): New prototype.
36185 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36186 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36187 libc_hidden_proto and libc_hidden_def.
36188 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36189 (__vstrfmon_l): Remove the third argument passed to
36192 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36194 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36195 definition for issignaling that does not rely on __MATH_TG,
36196 since __MATH_TG uses __builtin_types_compatible_p, which is only
36197 available in C mode.
36198 (CFLAGS-test-math-issignaling.cc): New variable.
36199 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36200 * math/test-math-issignaling.cc: New test for C++ implementation
36201 of type-generic issignaling.
36202 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36203 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36204 options of test-math-issignaling on powerpc64le.
36206 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36208 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36210 (hidden_proto): Likewise.
36211 (hidden_tls_proto): Likewise.
36212 (__hidden_proto): Likewise.
36214 2017-08-22 Florian Weimer <fweimer@redhat.com>
36216 math: Statically link tests of internal functionality.
36217 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36219 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36220 (gmp-objs): Remove assignment.
36221 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36223 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36226 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36228 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36230 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36233 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36234 variable definitions above inclusion of ../Rules.
36236 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36238 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36239 case calling __builtin_unreachable.
36241 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36243 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36244 __waitpid_nocancel.
36245 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36246 (__waitpid_nocancel): New macro.
36247 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36249 (__waitpid_nocancel): Replace macro with a function.
36250 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36253 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36255 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36256 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36258 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36259 __writev_nocancel_nostatus.
36260 (write_call_graph): Likewise.
36261 (write_bb_counts): Likewise.
36262 * resolv/herror.c (herror): Likewise.
36263 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36265 (__writev_nocancel_nostatus): New macro.
36266 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36268 (__writev_nocancel_nostatus): New function.
36270 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36273 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36275 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36277 (hidden_proto): Likewise.
36278 (hidden_tls_proto): Likewise.
36279 (__hidden_proto): Likewise.
36282 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36283 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36293 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36294 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36295 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36296 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36297 GLIBC_2.0 sqrtl symbol.
36299 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36300 [__USE_MISC] (_LIB_VERSION): Likewise.
36301 [__USE_MISC] (struct exception): Likewise.
36302 [__USE_MISC] (matherr): Likewise.
36303 [__USE_MISC] (DOMAIN): Likewise.
36304 [__USE_MISC] (SING): Likewise.
36305 [__USE_MISC] (OVERFLOW): Likewise.
36306 [__USE_MISC] (UNDERFLOW): Likewise.
36307 [__USE_MISC] (TLOSS): Likewise.
36308 [__USE_MISC] (PLOSS): Likewise.
36309 [__USE_MISC] (HUGE): Likewise.
36310 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36311 * math/math-svid-compat.h: New file.
36312 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36314 * include/math.h [!_ISOMAC] (__matherr): Remove.
36315 * manual/arith.texi (FP Exceptions): Do not document matherr.
36316 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36317 (tests-internal): New variable.
36318 (install-lib): Do not add libieee.a.
36319 (non-lib.a): Likewise.
36320 (extra-objs): Do not add libieee.a and ieee-math.o.
36321 (CPPFLAGS-s_lib_version.c): Remove variable.
36322 ($(objpfx)libieee.a): Remove rule.
36323 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36324 * math/ieee-math.c: Remove.
36325 * math/libm-test-support.c (matherr): Remove.
36326 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36327 and license notices. Include <math-svid-compat.h> and
36329 (matherr): Undefine as macro. Use compat_symbol_reference.
36330 (_LIB_VERSION): Likewise.
36331 * math/test-matherr-2.c: New file.
36332 * math/test-matherr-3.c: Likewise.
36333 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36335 (__kernel_standard_f): Likewise.
36336 (__kernel_standard_l): Likewise.
36337 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36338 <math_private.h>. Include <math-svid-compat.h>.
36339 (_LIB_VERSION): Undefine as macro.
36340 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36341 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36342 [LIBM_SVID_COMPAT], use compat_symbol.
36343 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36344 <math_private.h>. Include <math-svid-compat.h>.
36345 (matherr): Undefine as macro.
36346 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36348 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36349 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36350 compat_symbol_reference.
36351 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36352 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36353 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36354 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36355 (MATHERR_D): Remove declaration.
36356 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36357 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36358 [LIBM_BUILD] (pmatherrf): Likewise.
36359 [LIBM_BUILD] (pmatherr): Likewise.
36360 [LIBM_BUILD] (pmatherrl): Likewise.
36361 (DOMAIN): Likewise.
36363 (OVERFLOW): Likewise.
36364 (UNDERFLOW): Likewise.
36367 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36368 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36370 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36371 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36373 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36374 * math/w_acos_compat.c: Likewise.
36375 * math/w_acosf_compat.c: Likewise.
36376 * math/w_acosh_compat.c: Likewise.
36377 * math/w_acoshf_compat.c: Likewise.
36378 * math/w_acoshl_compat.c: Likewise.
36379 * math/w_acosl_compat.c: Likewise.
36380 * math/w_asin_compat.c: Likewise.
36381 * math/w_asinf_compat.c: Likewise.
36382 * math/w_asinl_compat.c: Likewise.
36383 * math/w_atan2_compat.c: Likewise.
36384 * math/w_atan2f_compat.c: Likewise.
36385 * math/w_atan2l_compat.c: Likewise.
36386 * math/w_atanh_compat.c: Likewise.
36387 * math/w_atanhf_compat.c: Likewise.
36388 * math/w_atanhl_compat.c: Likewise.
36389 * math/w_cosh_compat.c: Likewise.
36390 * math/w_coshf_compat.c: Likewise.
36391 * math/w_coshl_compat.c: Likewise.
36392 * math/w_exp10_compat.c: Likewise.
36393 * math/w_exp10f_compat.c: Likewise.
36394 * math/w_exp10l_compat.c: Likewise.
36395 * math/w_exp2_compat.c: Likewise.
36396 * math/w_exp2f_compat.c: Likewise.
36397 * math/w_exp2l_compat.c: Likewise.
36398 * math/w_fmod_compat.c: Likewise.
36399 * math/w_fmodf_compat.c: Likewise.
36400 * math/w_fmodl_compat.c: Likewise.
36401 * math/w_hypot_compat.c: Likewise.
36402 * math/w_hypotf_compat.c: Likewise.
36403 * math/w_hypotl_compat.c: Likewise.
36404 * math/w_j0_compat.c: Likewise.
36405 * math/w_j0f_compat.c: Likewise.
36406 * math/w_j0l_compat.c: Likewise.
36407 * math/w_j1_compat.c: Likewise.
36408 * math/w_j1f_compat.c: Likewise.
36409 * math/w_j1l_compat.c: Likewise.
36410 * math/w_jn_compat.c: Likewise.
36411 * math/w_jnf_compat.c: Likewise.
36412 * math/w_jnl_compat.c: Likewise.
36413 * math/w_lgamma_main.c: Likewise.
36414 * math/w_lgamma_r_compat.c: Likewise.
36415 * math/w_lgammaf_main.c: Likewise.
36416 * math/w_lgammaf_r_compat.c: Likewise.
36417 * math/w_lgammal_main.c: Likewise.
36418 * math/w_lgammal_r_compat.c: Likewise.
36419 * math/w_log10_compat.c: Likewise.
36420 * math/w_log10f_compat.c: Likewise.
36421 * math/w_log10l_compat.c: Likewise.
36422 * math/w_log2_compat.c: Likewise.
36423 * math/w_log2f_compat.c: Likewise.
36424 * math/w_log2l_compat.c: Likewise.
36425 * math/w_log_compat.c: Likewise.
36426 * math/w_logf_compat.c: Likewise.
36427 * math/w_logl_compat.c: Likewise.
36428 * math/w_pow_compat.c: Likewise.
36429 * math/w_powf_compat.c: Likewise.
36430 * math/w_powl_compat.c: Likewise.
36431 * math/w_remainder_compat.c: Likewise.
36432 * math/w_remainderf_compat.c: Likewise.
36433 * math/w_remainderl_compat.c: Likewise.
36434 * math/w_scalb_compat.c: Likewise.
36435 * math/w_scalbf_compat.c: Likewise.
36436 * math/w_scalbl_compat.c: Likewise.
36437 * math/w_sinh_compat.c: Likewise.
36438 * math/w_sinhf_compat.c: Likewise.
36439 * math/w_sinhl_compat.c: Likewise.
36440 * math/w_sqrt_compat.c: Likewise.
36441 * math/w_sqrtf_compat.c: Likewise.
36442 * math/w_sqrtl_compat.c: Likewise.
36443 * math/w_tgamma_compat.c: Likewise.
36444 * math/w_tgammaf_compat.c: Likewise.
36445 * math/w_tgammal_compat.c: Likewise.
36446 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36447 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36448 * sysdeps/ieee754/k_standard.c: Likewise.
36449 * sysdeps/ieee754/k_standardf.c: Likewise.
36450 * sysdeps/ieee754/k_standardl.c: Likewise.
36451 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36452 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36453 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36454 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36455 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36456 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36457 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36458 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36459 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36464 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36465 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36466 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36467 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36469 2017-08-21 Florian Weimer <fweimer@redhat.com>
36472 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36473 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36474 Move before inclusion of ../Rules.
36476 2017-08-21 Florian Weimer <fweimer@redhat.com>
36479 * assert/assert.h (assert): Use static_cast (bool) for C++.
36480 Use the ternary operator in the warning branch for GNU C.
36481 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36482 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36483 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36484 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36485 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36487 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36490 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36491 (__syscall_clock_gettime): Add attribute_hidden.
36492 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36493 (__start_context): Likewise.
36495 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36497 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36499 (hidden_proto): Likewise.
36500 (hidden_tls_proto): Likewise.
36501 (__hidden_proto): Likewise.
36503 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36505 * include/libc-symbols.h (attribute_hidden): Enable hidden
36506 visibility in libc.a compiled with PIE.
36508 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36511 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36512 Add attribute_hidden.
36514 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36517 * Makerules (all-nonlib): Add $(others-extras).
36518 * catgets/Makefile (others-extras): New.
36519 * elf/Makefile (others-extras): Likewise.
36520 * nss/Makefile (others-extras): Likewise.
36522 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36525 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36526 * elf/dl-open.c: Include <libc-internal.h>.
36527 (__libc_multiple_libcs): Removed.
36528 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36530 * include/libc-internal.h (__libc_multiple_libcs): New.
36531 * misc/sbrk.c: Include <libc-internal.h>.
36532 (__libc_multiple_libcs): Removed.
36534 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36537 * grp/initgroups.c (__nss_group_database): Removed.
36538 (__nss_initgroups_database): Likewise.
36539 * nscd/gai.c (__nss_hosts_database): Likewise.
36540 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36541 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36542 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36543 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36544 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36545 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36547 * nss/nsswitch.c (__nss_database_custom): Define only if
36548 USE_NSCD is defined.
36549 (__nss_configure_lookup): Use __nss_database_custom only if
36550 USE_NSCD is defined.
36551 * nss/nsswitch.h (__nss_database_custom): Declare only if
36552 USE_NSCD is defined. Add attribute_hidden.
36553 (__nss_setent): Add attribute_hidden.
36554 (__nss_endent): Likewise.
36555 (__nss_getent_r): Likewise.
36556 (__nss_getent): Likewise.
36557 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36559 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36562 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36563 libc_hidden_proto and libc_hidden_def.
36565 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36568 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36569 Add libc_hidden_proto.
36570 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36571 Add libc_hidden_def.
36573 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36576 * gmon/Makefile (routines): Remove bb_init_func and
36578 (elide-routines.os): Removed.
36579 * gmon/bb_exit_func.c: Likewise.
36580 * gmon/bb_init_func.c: Likewise.
36581 * include/sys/gmon.h (__bb): Likewise.
36582 (__bb_init_func): Likewise.
36583 (__bb_exit_func): Likewise.
36584 * sysdeps/alpha/bb_init_func.S: Likewise.
36586 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36588 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36589 * include/setjmp.h (____longjmp_chk): Here. Add
36592 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36595 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36597 (__strspn_sse2): Likewise.
36599 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36601 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36602 (close_not_cancel_no_status): Likewise.
36603 (__close_nocancel): New macro.
36604 (__close_nocancel_nostatus): Likewise.
36605 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36607 (close_not_cancel): Likewise.
36608 (close_not_cancel_no_status): Likewise.
36609 (__close_nocancel): New prototype.
36610 (__close_nocancel_nostatus): New function.
36611 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36612 * catgets/open_catalog.c (__open_catalog): Replace
36613 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36614 * gmon/gmon.c (write_gmon): Likewise.
36615 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36616 * intl/loadmsgcat.c (close): Likewise.
36617 * io/ftw.c (open_dir_stream): Likewise.
36618 (ftw_startup): Likewise.
36619 * libio/fileops.c (_IO_file_open): Likewise.
36620 (_IO_file_close_mmap): Likewise.
36621 (_IO_file_close): Likewise.
36622 * libio/iopopen.c (_IO_dup2): Likewise.
36623 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36624 * locale/loadlocale.c (_nl_load_locale): Likewise.
36625 * login/utmp_file.c (pututline_file): Likewise.
36626 (endutent_file): Likewise.
36627 * misc/daemon.c (daemon): Likewise.
36628 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36629 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36630 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36631 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36632 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36633 * nscd/nscd_helper.c (open_socket): Likewise.
36634 (__nscd_open_socket): Likewise.
36635 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36636 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36637 (__nscd_innetgr): Likewise.
36638 * nss/nss_db/db-open.c (internal_setent): Likewise.
36639 * resolv/res-close.c (__res_iclose): Likewise.
36640 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36641 * sysdeps/posix/closedir.c (__closedir): Likewise.
36642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36643 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36644 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36645 (opendir_tail): Likewise.
36646 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36647 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36648 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36649 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36650 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36651 (gethostid): Likewise.
36652 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36653 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36655 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36656 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36657 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36658 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36660 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36661 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36662 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36664 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36665 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36667 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36669 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36670 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36671 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36674 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36675 (openat_not_cancel_3): Likewise.
36676 (openat64_not_cancel_3): Likewise).
36677 (openat_not_cancel_3): Likewise).
36678 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36680 (openat_not_cancel_3): Likewise.
36681 (openat64_not_cancel): Likewise.
36682 (openat64_not_cancel_3): Likewise.
36683 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36684 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36685 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36686 __open{64}_nocancel.
36687 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36688 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36689 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36691 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36694 * include/argz.h (__argz_create_sep): New function prototype.
36695 (__argz_append): Likewise.
36696 (__argz_add): Likewise.
36697 (__argz_add_sep): Likewise.
36698 (__argz_delete): Likewise.
36699 (__argz_insert): Likewise.
36700 (__argz_replace): Likewise.
36701 * string/argz.h (__argz_create_sep): Removed.
36702 (__argz_append): Likewise.
36703 (__argz_add): Likewise.
36704 (__argz_add_sep): Likewise.
36705 (__argz_delete): Likewise.
36706 (__argz_insert): Likewise.
36707 (__argz_replace): Likewise.
36709 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36711 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36712 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36713 (GNU_PROPERTY_STACK_SIZE): Likewie.
36714 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36715 (GNU_PROPERTY_LOPROC): Likewise.
36716 (GNU_PROPERTY_HIPROC): Likewise.
36717 (GNU_PROPERTY_LOUSER): Likewise.
36718 (GNU_PROPERTY_HIUSER): Likewise.
36719 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36720 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36721 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36722 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36723 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36724 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36725 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36726 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36727 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36728 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36729 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36730 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36731 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36732 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36733 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36734 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36735 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36736 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36737 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36738 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36739 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36740 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36741 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36743 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36745 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36748 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36751 * math/math.h (isinf): Check if in C or C++ mode before using
36752 __builtin_types_compatible_p, since this is a C mode feature.
36754 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36756 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36757 (__write_nocancel): New macro.
36758 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36759 Rewrite as a function prototype.
36760 (write_not_cancel): Remove macro.
36761 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36762 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36763 (write_gmon): Likewise.
36764 * libio/fileops.c (_IO_new_file_write): Likewise.
36765 * login/utmp_file.c (pututline_file): Likewise.
36766 (updwtmp_file): Likewise.
36767 * stdio-common/psiginfo.c (psiginfo): Likewise.
36768 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36769 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36770 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36772 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36775 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36776 (__read_nocancel): New macro.
36777 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36779 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36781 (__read_nocancel): New prototype.
36782 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36783 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36784 with __read_nocancel.
36785 * intl/loadmsgcat.c (read): Likewise.
36786 * libio/fileops.c (_IO_file_read): Likewise.
36787 * locale/loadlocale.c (_nl_load_locale): Likewise.
36788 * login/utmp_file.c (getutent_r_file): Likewise.
36789 (internal_getut_r): Likewise.
36790 (getutline_r_file): Likewise.
36791 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36792 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36793 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36794 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36796 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36797 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36798 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36800 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36802 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36804 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36806 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36808 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36811 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36812 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36815 2017-08-17 DJ Delorie <dj@redhat.com>
36817 * bug17079.c: Update to new test harness.
36818 * test-digits-dots.c: Likewise.
36819 * test-netdb.c: Likewise.
36820 * tst-field.c: Likewise.
36821 * tst-nss-getpwent.c: Likewise.
36822 * tst-nss-static.c: Likewise.
36823 * tst-nss-test1.c: Likewise.
36824 * tst-nss-test2.c: Likewise.
36825 * tst-nss-test3.c: Likewise.
36826 * tst-nss-test4.c: Likewise.
36827 * tst-nss-test5.c: Likewise.
36829 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36831 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36832 (open_not_cancel_2): Likewise.
36833 (open_nocancel): New macro.
36834 (open64_nocancel): Likewise.
36835 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36836 (open_not_cancel_2): Likewise.
36837 (__open_nocancel): New prototype.
36838 (__open64_nocancel): Likewise.
36839 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36841 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36842 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36843 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36844 with __open_nocancel.
36845 * csu/check_fds.c (check_one_fd): Likewise.
36846 * gmon/gmon.c (write_gmon): Likewise.
36847 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36848 * intl/loadmsgcat.c (open): Likewise.
36849 * libio/fileops.c (_IO_file_open): Likewise.
36850 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36851 * locale/loadlocale.c (_nl_load_locale): Likewise.
36852 * login/utmp_file.c (setutent_file): Likewise.
36853 * misc/daemon.c (daemon): Likewise.
36854 * nss/nss_db/db-open.c (internal_setent): Likewise.
36855 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36856 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36857 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36858 (__opendir): Likewise.
36859 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36860 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36861 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36862 (gethostid): Likewise.
36863 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36864 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36866 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36867 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36868 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36869 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36871 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36873 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36875 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36877 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36879 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36881 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36882 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36884 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36886 * benchtests/bench-skeleton.c (main): Add support for
36887 latency benchmarking.
36888 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36890 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36892 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36893 the startup object.
36895 2017-08-17 Florian Weimer <fweimer@redhat.com>
36897 * include/sys/socket.h (__opensock): Remove internal_function.
36898 * socket/opensock.c (__opensock): Likewise.
36899 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36901 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36904 * signal/bits/types/__sigval_t.h: New file.
36905 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36906 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36907 and define sigval_t using __sigval_t.
36908 * include/bits/types/__sigval_t.h: New file.
36909 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36910 instead of <bits/types/__sigval_t.h>.
36911 (struct sigevent): Use __sigval_t instead of sigval_t.
36912 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36913 instead of <bits/types/__sigval_t.h>.
36914 (siginfo_t): Use __sigval_t instead of sigval_t.
36915 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36916 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36917 (struct sigevent): Use __sigval_t instead of sigval_t.
36918 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36919 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36920 (siginfo_t): Use __sigval_t instead of sigval_t.
36921 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36923 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36925 * NEWS: Remove "[Add new features here]" for 2.27.
36927 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36929 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36932 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36934 * NEWS: Mention x86-64 FMA optimization.
36936 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36939 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36941 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36942 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36943 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36945 2017-08-16 Andreas Schwab <schwab@suse.de>
36949 * elf/ldd.bash.in: Never run file directly.
36951 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36954 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36955 (L(SP_INF_0)): Likewise.
36957 2017-08-15 Florian Weimer <fweimer@redhat.com>
36959 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36962 2017-08-15 Florian Weimer <fweimer@redhat.com>
36964 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36965 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36966 BROKEN_THREAD_SIGNALS code.
36967 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36968 request_list): Remove caller_pid member used for
36969 BROKEN_THREAD_SIGNALS.
36970 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36971 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36972 Remove BROKEN_THREAD_SIGNALS support.
36973 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36974 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36976 2017-08-15 Florian Weimer <fweimer@redhat.com>
36978 * gmon/Makefile (tests): Add tst-gmon.
36979 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36981 (tests-special): Add tst-gmon-prof.out.
36982 (tst-gmon.out): Depend on clean-tst-gmon-data.
36983 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36984 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36985 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36987 * aclocal.m4 (GPROF): Set and substitute.
36988 * config.amke.in (GPROF): Set.
36989 * configure: Regenerate.
36991 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36993 * elf/elf.h A (NT_PPC_TAR): New macro.
36994 (NT_PPC_PPR): Likewise.
36995 (NT_PPC_DSCR): Likewise.
36996 (NT_PPC_EBB): Likewise.
36997 (NT_PPC_PMU): Likewise.
36998 (NT_PPC_TM_CGPR): Likewise.
36999 (NT_PPC_TM_CFPR): Likewise.
37000 (NT_PPC_TM_CVMX): Likewise.
37001 (NT_PPC_TM_CVSX): Likewise.
37002 (NT_PPC_TM_SPR): Likewise.
37003 (NT_PPC_TM_CTAR): Likewise.
37004 (NT_PPC_TM_CPPR): Likewise.
37005 (NT_PPC_TM_CDSCR): Likewise.
37007 2017-08-15 Florian Weimer <fweimer@redhat.com>
37009 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37010 regparm (2) instead of internal_function.
37011 (_MCOUNT_DECL): Adjust.
37013 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37015 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37016 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37018 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37020 * conform/data/sys/wait.h-data (si_value): Do not expect for
37023 2017-08-14 Florian Weimer <fweimer@redhat.com>
37026 NSS: Create stubs for accidentally exported lookup functions.
37027 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37028 Remove declaration.
37029 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37030 (ether_hostton): Call __nss_ethers_lookup2 instead.
37031 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37032 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37033 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37034 (setup): Call __nss_netgroup_lookup2 instead.
37035 * nss/Makefile (routines): Add compat-lookup.
37036 * nss/Versions (GLIBC_2.27): Add symbol version.
37037 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37038 (DB_COMPAT_FCT): Remove.
37039 * nss/compat-lookup.c: New file.
37040 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37041 from databases.def.
37042 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37043 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37044 (netname2user): Call __nss_publickey_lookup2 instead.
37045 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37046 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37049 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37050 Sergei Trofimovich <slyfox@inbox.ru>
37053 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37054 Rename to MMAP2_PAGE_UNIT.
37055 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37056 __OFF_T_MATCHES_OFF64_T is not defined.
37057 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37059 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37060 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37062 2017-08-14 Florian Weimer <fweimer@redhat.com>
37064 i386: Do not set internal_function.
37065 * config.h.in (USE_REGPARMS, internal_function): Remove.
37066 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37067 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37069 2017-08-14 Florian Weimer <fweimer@redhat.com>
37071 * elf/dl-init.c (_dl_init): Remove internal_function.
37072 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37073 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37075 2017-08-14 Florian Weimer <fweimer@redhat.com>
37077 * elf/rtld.c (_dl_start): Remove internal_function.
37078 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37081 2017-08-14 Florian Weimer <fweimer@redhat.com>
37083 * elf/dl-fini.c (_dl_fini): Remove internal_function
37084 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37086 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37088 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37089 (bit_cpu_SHSTK): Likewise.
37090 (index_cpu_IBT): Likewise.
37091 (index_cpu_SHSTK): Likewise.
37092 (reg_IBT): Likewise.
37093 (reg_SHSTK): Likewise.
37094 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37095 Handle index_cpu_IBT and index_cpu_SHSTK.
37097 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37100 * po/fr.po: Fix spelling mistake.
37102 2017-08-13 Florian Weimer <fweimer@redhat.com>
37104 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37105 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37106 (_dl_catch_error, _dl_receive_error): Likewise.
37107 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37108 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37109 (_dl_deallocate_tls): Likewise.
37110 * include/dlfcn.h (_dl_addr): Likewise.
37111 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37112 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37113 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37116 2017-08-13 Florian Weimer <fweimer@redhat.com>
37118 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37119 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37121 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37123 2017-08-13 Florian Weimer <fweimer@redhat.com>
37125 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37127 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37128 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37129 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37130 internal_function from _dl_make_stack_executable_hook member.
37131 (_dl_make_stack_executable): Remove internal_function.
37132 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37134 * sysdeps/unix/sysv/linux/dl-execstack.c
37135 (_dl_make_stack_executable): Likewise.
37137 2017-08-13 Florian Weimer <fweimer@redhat.com>
37139 * sysdeps/unix/sysv/linux/netlinkaccess.h
37140 (__netlink_assert_response): Remove internal_function.
37141 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37142 (__netlink_assert_response): Likewise.
37144 2017-08-13 Florian Weimer <fweimer@redhat.com>
37146 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37148 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37150 2017-08-13 Florian Weimer <fweimer@redhat.com>
37152 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37154 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37155 * inet/netgroup.h (__internal_setnetgrent)
37156 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37157 * inet/getnetgrent_r.c (__internal_setnetgrent)
37158 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37159 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37160 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37161 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37162 * nss/nsswitch.h (db_lookup_function): Likewise.
37164 2017-08-13 Florian Weimer <fweimer@redhat.com>
37166 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37167 Remove internal_function.
37168 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37169 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37170 message argument on the stack.
37171 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37174 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37176 Adapt test case data to the changes in the thousands
37180 * localedata/tst-langinfo.sh: Adapt test case data.
37181 * stdlib/tst-strfmon_l.c: Likewise.
37182 * stdlib/tst-strtod4.c: Likewise.
37183 * stdlib/tst-strtod5i.c: Likewise.
37185 2017-08-11 Florian Weimer <fweimer@redhat.com>
37188 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37189 Suppress pedantic warning resulting from statement expression.
37190 (__ASSERT_FUNCTION): Add missing __extension__.
37192 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37194 * benchtests/bench-memmove-large.c: Print output in JSON
37196 * benchtests/bench-memmove.c: Likewise.
37198 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37199 * benchtests/bench-memchr.c (do_one_test): Likewise.
37200 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37201 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37202 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37203 * benchtests/bench-memmove.c (do_one_test): Likewise.
37204 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37205 * benchtests/bench-memset.c (do_one_test): Likewise.
37206 * benchtests/bench-string.h (test_init): Remove memsets.
37208 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37211 (Computing the Width of an Integer Data Type): Rename section to
37212 "Width of an Integer Type". Remove inaccurate statement regarding
37213 lack of C language facilities for determining width of integer
37214 types, and reorder content to improve flow and context of
37217 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37219 * lang.texi (va_copy): Change standard from ISO to C99.
37220 (__va_copy): Add standard and header annotation.
37221 Update description for clarity of origins and current use.
37223 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37226 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37227 xssqrtqp requires operands to be in Vector Registers
37228 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37229 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37230 (__ieee754_sqrtf128): Likewise.
37232 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37234 * sysdeps/aarch64/memcmp.S (memcmp):
37235 Rewrite of optimized memcmp.
37237 2017-08-10 Florian Weimer <fweimer@redhat.com>
37239 Introduce ld.so exceptions.
37240 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37241 (_dl_exception_create, _dl_exception_create_format)
37242 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37243 (_dl_catch_exception): Declare.
37244 (_dl_catch_error): Update comment.
37245 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37246 errstring, malloced members with exception member.
37247 (_dl_out_of_memory): Remove.
37248 (fatal_error): New function, extracted from _dl_signal_error.
37249 (_dl_signal_exception, _dl_signal_cexception): New functions.
37250 (_dl_signal_error): Call _dl_exception_create to allocate an
37252 (_dl_catch_exception): New function, based on _dl_catch_error.
37253 (_dl_catch_error): Implement using _dl_catch_exception.
37254 * elf/dl-exception.c: New file.
37255 * elf/Makefile (dl-routines): Add dl-exception.
37256 (elide-routines.os): Likewise.
37257 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37258 _dl_exception_create_format, _dl_exception_free.
37259 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37260 _dl_signal_exception.
37261 * elf/dl-lookup.c (make_string): Remove.
37262 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37263 _dl_signal_cexception, _dl_exception_free.
37264 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37265 _dl_signal_exception.
37266 * elf/dl-sym.c (do_sym): Likewise.
37267 * elf/dl-version.c (make_string): Remove.
37268 (match_symbol): Use _dl_exception_create_format,
37269 _dl_signal_cexception, _dl_exception_free.
37270 (_dl_check_map_versions): Likewise.
37271 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37272 _dl_catch_exception.
37273 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37274 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37275 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37276 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37277 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37278 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37279 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37280 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37282 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37289 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37290 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37291 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37293 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37295 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37297 2017-08-10 Florian Weimer <fweimer@redhat.com>
37299 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37300 attribute_hidden, internal_function.
37301 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37304 2017-08-10 Florian Weimer <fweimer@redhat.com>
37306 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37307 function which calls __builtin_unreachable.
37309 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37311 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37312 Indian monetary formatting
37313 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37316 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37318 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37319 Fix typo in comment.
37322 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37323 PTRACE_SEIZE_DEVEL): Remove.
37324 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37325 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37326 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37327 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37328 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37330 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37332 * posix/bits/types.h (__qaddr_t): Remove.
37335 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37336 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37338 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37339 (ucontext_t): Use __ctx with uc_flags.
37340 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37341 (__ctxt): Likewise.
37342 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37344 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37345 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37347 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37348 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37350 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37352 (ucontext_t): Use __ctx with uc_flags.
37353 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37354 (ucontext_t): Use __ctx with uc_flags.
37355 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37356 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37357 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37358 (ucontext_t): Use __ctx with uc_flags.
37359 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37360 undefine further down.
37361 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37363 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37364 undefine further down.
37365 (ucontext_t): Use __ctx with uc_flags.
37366 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37367 undefine further down.
37368 (ucontext_t): Use __ctx with uc_flags.
37369 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37370 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37371 Rename uc_pad to __glibc_reserved1.
37372 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37373 undefine further down.
37374 (ucontext_t): Use __ctx with uc_flags.
37375 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37377 (ucontext_t): Use __ctx with uc_flags.
37378 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37379 __ctx with uc_flags.
37380 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37381 (ucontext_t): Use __ctx with uc_flags.
37382 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37383 __ctx with uc_flags.
37385 2017-08-09 Florian Weimer <fweimer@redhat.com>
37388 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37389 before early return.
37391 2017-08-09 Andreas Schwab <schwab@suse.de>
37394 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37398 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37399 tst-compat-forwarder.
37400 (modules-names): Add tst-compat-forwarder-mod.
37401 ($(objpfx)tst-compat-forwarder): Depend on
37402 $(objpfx)tst-compat-forwarder-mod.so.
37403 * nptl/tst-compat-forwarder.c: New file.
37404 * nptl/tst-compat-forwarder-mod.c: New file.
37406 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37408 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37411 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37412 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37414 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37416 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37417 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37418 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37419 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37421 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37424 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37427 * manual/setjmp.texi (getcontex): Document uc_stack value
37428 compatibility differences.
37430 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37432 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37433 (old_malloc_hook): Likewise.
37434 (old_memalign_hook): Likewise.
37435 (old_realloc_hook): Likewise.
37436 (struct hdr): Likewise.
37438 (freehook): Likewise.
37439 (mallochook): Likewise.
37440 (memalignhook): Likewise.
37441 (reallochook): Likewise.
37442 (mprobe): Likewise.
37443 * malloc/mtrace.c (mallwatch): Likewise.
37444 (tr_old_free_hook): Likewise.
37445 (tr_old_malloc_hook): Likewise.
37446 (tr_old_realloc_hook): Likewise.
37447 (tr_old_memalign_hook): Likewise.
37448 (tr_where): Likewise.
37449 (lock_and_info): Likewise.
37450 (tr_freehook): Likewise.
37451 (tr_mallochook): Likewise.
37452 (tr_reallochook): Likewise.
37453 (tr_memalignhook): Likewise.
37454 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37455 * misc/mmap.c (__mmap): Likewise.
37456 * misc/mmap64.c (__mmap64): Likewise.
37457 * misc/mprotect.c (__mprotect): Likewise.
37458 * misc/msync.c (msync): Likewise.
37459 * misc/munmap.c (__munmap): Likewise.
37460 * posix/posix_madvise.c (posix_madvise): Likewise.
37461 * socket/send.c (__send): Likewise.
37462 * socket/sendto.c (__sendto): Likewise.
37463 * socket/setsockopt.c (__setsockopt): Likewise.
37464 * string/memcmp.c (__ptr_t): Remove macro.
37465 (MEMCMP): Use void * instead of ptr_t.
37466 * string/memrchr.c (__ptr_t): Remove macro.
37467 (__memrchr): Use void * instead of ptr_t.
37468 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37469 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37470 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37471 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37472 * sysdeps/mach/msync.c (msync): Likewise.
37473 * sysdeps/mach/munmap.c (__munmap): Likewise.
37474 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37476 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37477 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37478 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37479 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37480 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37481 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37482 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37483 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37485 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37486 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37487 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37488 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37489 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37490 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37491 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37492 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37493 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37495 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37496 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37497 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37498 (MEMCMP): Use void * instead of ptr_t.
37499 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37500 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37502 2017-08-08 Florian Weimer <fweimer@redhat.com>
37504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37507 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37510 * csu/libc-tls.c: Include <startup.h> first.
37511 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37512 * elf/dl-tunables.c: Include <startup.h> first.
37513 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37514 * sysdeps/generic/startup.h: New file.
37515 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37516 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37517 (I386_USE_SYSENTER): New. Defined to 0.
37519 2017-08-08 Andreas Schwab <schwab@suse.de>
37522 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37523 * nptl/pt-system.c (system): Likewise.
37525 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37528 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37530 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37531 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37532 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37533 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37534 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37535 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37536 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37538 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37541 * bits/sigaction.h (struct sigaction): Define sa_handler and
37542 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37543 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37544 [__USE_XOPEN_EXTENDED].
37545 (SA_RESTART): Likewise.
37546 (SA_NODEFER): Likewise.
37547 (SA_RESETHAND): Likewise.
37548 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37549 (struct sigaction): Define sa_handler and sa_sigaction using union
37550 also for [__USE_XOPEN_EXTENDED].
37551 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37552 [__USE_XOPEN_EXTENDED].
37553 (SA_RESTART): Likewise.
37554 (SA_NODEFER): Likewise.
37555 (SA_RESETHAND): Likewise.
37556 * sysdeps/unix/sysv/linux/bits/sigaction.h
37557 (struct sigaction): Define sa_handler and sa_sigaction using union
37558 also for [__USE_XOPEN_EXTENDED].
37559 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37560 [__USE_XOPEN_EXTENDED].
37561 (SA_RESTART): Likewise.
37562 (SA_NODEFER): Likewise.
37563 (SA_RESETHAND): Likewise.
37564 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37565 (struct sigaction): Define sa_handler and sa_sigaction using union
37566 also for [__USE_XOPEN_EXTENDED].
37567 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37568 [__USE_XOPEN_EXTENDED].
37569 (SA_RESTART): Likewise.
37570 (SA_NODEFER): Likewise.
37571 (SA_RESETHAND): Likewise.
37572 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37573 (struct sigaction): Define sa_handler and sa_sigaction using union
37574 also for [__USE_XOPEN_EXTENDED].
37575 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37576 [__USE_XOPEN_EXTENDED].
37577 (SA_RESTART): Likewise.
37578 (SA_NODEFER): Likewise.
37579 (SA_RESETHAND): Likewise.
37580 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37581 (struct sigaction): Define sa_handler and sa_sigaction using union
37582 also for [__USE_XOPEN_EXTENDED].
37583 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37584 [__USE_XOPEN_EXTENDED].
37585 (SA_RESTART): Likewise.
37586 (SA_NODEFER): Likewise.
37587 (SA_RESETHAND): Likewise.
37588 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37589 (struct sigaction): Define sa_handler and sa_sigaction using union
37590 also for [__USE_XOPEN_EXTENDED].
37591 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37592 [__USE_XOPEN_EXTENDED].
37593 (SA_RESTART): Likewise.
37594 (SA_NODEFER): Likewise.
37595 (SA_RESETHAND): Likewise.
37596 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37597 (struct sigaction): Define sa_handler and sa_sigaction using union
37598 also for [__USE_XOPEN_EXTENDED].
37599 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37600 [__USE_XOPEN_EXTENDED].
37601 (SA_RESTART): Likewise.
37602 (SA_NODEFER): Likewise. Define directly rather than as alias.
37603 (SA_RESETHAND): Likewise.
37604 (SA_INTERRUPT): Define only for [__USE_MISC].
37605 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37606 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37608 (SA_STACK): Define only for [__USE_MISC].
37609 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37610 (struct sigaction): Define sa_handler and sa_sigaction using union
37611 also for [__USE_XOPEN_EXTENDED].
37612 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37613 [__USE_XOPEN_EXTENDED].
37614 (SA_RESTART): Likewise.
37615 (SA_NODEFER): Likewise.
37616 (SA_RESETHAND): Likewise.
37617 (SA_NOPTRACE): Define only for [__USE_MISC].
37619 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37620 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37621 (struct catalog_info): Likewise.
37622 * inet/htontest.c (lo): Likewise.
37624 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37625 * inet/inet_net.c (inet_network): Likewise.
37626 * inet/inet_netof.c (inet_netof): Likewise.
37627 * inet/rcmd.c (__ivaliduser): Likewise.
37628 (iruserok): Likewise.
37629 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37630 * locale/programs/locale-spec.c (locale_special): Likewise.
37631 * nis/nis_findserv.c (struct findserv_req): Likewise.
37632 (__nis_findfastest_with_timeout): Likewise.
37633 * nss/test-netdb.c (test_network): Likewise.
37634 * resolv/inet_neta.c (inet_neta): Likewise.
37635 * resolv/ns_date.c (ns_datetosecs): Likewise.
37636 (SECS_PER_DAY): Likewise.
37637 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37639 * resolv/res_comp.c (__putlong): Likewise.
37640 (__putshort): Likewise.
37641 (_getlong): Likewise.
37642 (_getshort): Likewise.
37643 * resolv/res_debug.c (p_time): Likewise.
37644 (precsize_ntoa): Likewise.
37645 (precsize_aton): Likewise.
37646 (latlon2ul): Likewise.
37647 (loc_aton): Likewise.
37648 (loc_ntoa): Likewise.
37649 * resolv/res_hconf.c (struct netaddr): Likewise.
37650 (_res_hconf_reorder_addrs): Likewise.
37651 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37652 (clnttcp_control): Likewise.
37653 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37654 (clntudp_control): Likewise.
37655 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37656 (clntunix_control): Likewise.
37657 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37658 * sunrpc/rpc/auth.h (union des_block): Likewise.
37659 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37660 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37661 (xdrrec_create): Likewise.
37662 (xdrrec_endofrecord): Likewise.
37663 (flush_out): Likewise.
37664 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37665 (xdrstdio_putlong): Likewise.
37666 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37669 * misc/sys/cdefs.h (__long_double_t): Remove.
37670 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37671 instead of __long_double_t,
37672 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37674 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37676 * benchtests/scripts/compare_strings.py: Avoid display error when
37677 running on a text terminal.
37679 * benchtests/scripts/compare_strings.py (main): Add an
37680 optional -base option.
37681 (process_results): New argument base_func.
37683 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37685 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37686 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37688 2017-08-07 Andreas Schwab <schwab@suse.de>
37690 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37691 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37692 * intl/Makefile ($(objpfx)tst-gettext.out)
37693 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37694 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37695 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37696 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37697 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37698 * posix/Makefile ($(objpfx)globtest.out)
37699 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37700 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37701 ($(objpfx)tst-printf.out): Likewise.
37702 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37703 ($(objpfx)tst-setcontext3.out): Likewise.
37705 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37707 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37708 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37709 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37710 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37711 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37713 (CFLAGS-doasin-fma.c): New.
37714 (CFLAGS-dosincos-fma.c): Likewise.
37715 (CFLAGS-e_asin-fma.c): Likewise.
37716 (CFLAGS-e_atan2-fma.c): Likewise.
37717 (CFLAGS-e_exp-fma.c): Likewise.
37718 (CFLAGS-e_log-fma.c): Likewise.
37719 (CFLAGS-e_pow-fma.c): Likewise.
37720 (CFLAGS-halfulp-fma.c): Likewise.
37721 (CFLAGS-mpa-fma.c): Likewise.
37722 (CFLAGS-mpatan-fma.c): Likewise.
37723 (CFLAGS-mpatan2-fma.c): Likewise.
37724 (CFLAGS-mpexp-fma.c): Likewise.
37725 (CFLAGS-mplog-fma.c): Likewise.
37726 (CFLAGS-mpsqrt-fma.c): Likewise.
37727 (CFLAGS-mptan-fma.c): Likewise.
37728 (CFLAGS-s_atan-fma.c): Likewise.
37729 (CFLAGS-sincos32-fma.c): Likewise.
37730 (CFLAGS-slowexp-fma.c): Likewise.
37731 (CFLAGS-slowpow-fma.c): Likewise.
37732 (CFLAGS-s_sin-fma.c): Likewise.
37733 (CFLAGS-s_tan-fma.c): Likewise.
37734 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37735 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37736 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37737 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37738 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37739 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37740 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37741 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37742 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37743 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37744 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37745 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37746 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37747 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37748 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37749 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37750 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37751 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37752 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37753 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37754 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37755 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37756 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37757 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37758 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37759 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37760 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37761 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37763 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37764 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37766 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37768 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37769 (min_of_type_f): New macro.
37770 (min_of_type_): Likewise.
37771 (min_of_type_l): Likewise.
37772 (min_of_type_f128): Likewise.
37773 (min_of_type): Define using __MATH_TG and taking an expression
37775 (math_check_force_underflow): Pass expression instead of type to
37777 (math_check_force_underflow_nonneg): Likewise.
37779 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37781 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37782 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37783 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37785 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37788 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37789 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37790 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37791 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37792 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37793 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37794 memmove_chk-nonshared and memset_chk-nonshared
37795 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37796 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37797 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37798 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37799 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37800 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37801 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37802 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37803 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37804 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37805 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37806 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37807 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37808 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37809 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37810 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37811 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37812 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37813 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37814 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37815 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37816 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37817 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37818 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37819 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37820 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37821 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37822 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37823 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37824 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37825 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37826 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37827 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37828 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37829 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37830 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37831 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37832 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37833 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37834 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37835 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37836 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37837 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37838 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37839 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37840 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37841 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37842 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37843 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37844 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37845 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37847 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37848 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37849 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37850 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37851 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37852 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37853 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37854 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37855 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37856 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37857 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37858 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37859 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37860 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37861 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37862 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37863 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37864 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37865 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37866 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37867 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37868 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37869 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37870 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37871 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37872 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37873 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37874 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37875 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37876 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37877 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37878 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37879 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37880 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37881 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37882 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37883 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37884 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37885 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37886 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37887 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37888 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37889 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37890 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37891 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37892 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37893 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37894 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37895 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37896 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37897 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37898 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37899 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37900 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37901 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37902 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37904 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37906 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37907 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37908 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37909 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37910 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37911 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37912 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37913 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37914 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37915 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37916 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37917 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37918 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37919 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37920 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37921 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37922 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37923 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37924 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37925 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37926 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37927 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37928 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37929 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37930 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37931 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37932 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37933 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37934 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37935 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37936 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37937 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37938 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37939 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37940 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37941 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37942 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37943 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37944 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37945 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37946 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37947 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37948 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37949 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37950 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37951 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37952 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37953 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37954 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37955 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37956 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37957 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37958 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37959 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37960 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37961 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37962 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37963 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37964 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37966 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37967 Don't include <sysdep.h> nor <init-arch.h>.
37968 (_ZGVbN2v_cos): Removed.
37969 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37971 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37972 Don't include <sysdep.h> nor <init-arch.h>.
37973 (_ZGVdN4v_cos): Removed.
37974 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37976 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37977 Don't include <sysdep.h> nor <init-arch.h>.
37978 (_ZGVeN8v_cos): Removed.
37979 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37981 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37982 Don't include <sysdep.h> nor <init-arch.h>.
37983 (_ZGVbN2v_exp): Removed.
37984 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37986 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37987 Don't include <sysdep.h> nor <init-arch.h>.
37988 (_ZGVdN4v_exp): Removed.
37989 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37991 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37992 Don't include <sysdep.h> nor <init-arch.h>.
37993 (_ZGVeN8v_exp): Removed.
37994 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37996 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37997 Don't include <sysdep.h> nor <init-arch.h>.
37998 (_ZGVbN2v_log): Removed.
37999 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38001 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38002 Don't include <sysdep.h> nor <init-arch.h>.
38003 (_ZGVdN4v_log): Removed.
38004 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38006 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38007 Don't include <sysdep.h> nor <init-arch.h>.
38008 (_ZGVeN8v_log): Removed.
38009 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38011 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38012 Don't include <sysdep.h> nor <init-arch.h>.
38013 (_ZGVbN2vv_pow): Removed.
38014 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38016 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38017 Don't include <sysdep.h> nor <init-arch.h>.
38018 (_ZGVdN4vv_pow): Removed.
38019 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38021 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38022 Don't include <sysdep.h> nor <init-arch.h>.
38023 (_ZGVeN8vv_pow): Removed.
38024 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38026 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38027 Don't include <sysdep.h> nor <init-arch.h>.
38028 (_ZGVbN2v_sin): Removed.
38029 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38031 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38032 Don't include <sysdep.h> nor <init-arch.h>.
38033 (_ZGVbN4v_sin): Removed.
38034 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38036 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38037 Don't include <sysdep.h> nor <init-arch.h>.
38038 (_ZGVbN8v_sin): Removed.
38039 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38041 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38042 Don't include <sysdep.h> nor <init-arch.h>.
38043 (_ZGVbN2vvv_sincos): Removed.
38044 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38046 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38047 Don't include <sysdep.h> nor <init-arch.h>.
38048 (_ZGVdN4vvv_sincos): Removed.
38049 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38051 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38052 Don't include <sysdep.h> nor <init-arch.h>.
38053 (_ZGVeN8vvv_sincos): Removed.
38054 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38056 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38057 Don't include <sysdep.h> nor <init-arch.h>.
38058 (_ZGVeN16v_cosf): Removed.
38059 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38061 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38062 Don't include <sysdep.h> nor <init-arch.h>.
38063 (_ZGVbN4v_cosf): Removed.
38064 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38066 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38067 Don't include <sysdep.h> nor <init-arch.h>.
38068 (_ZGVdN8v_cosf): Removed.
38069 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38071 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38072 Don't include <sysdep.h> nor <init-arch.h>.
38073 (_ZGVeN16v_expf): Removed.
38074 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38076 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38077 Don't include <sysdep.h> nor <init-arch.h>.
38078 (_ZGVbN4v_expf): Removed.
38079 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38081 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38082 Don't include <sysdep.h> nor <init-arch.h>.
38083 (_ZGVdN8v_expf): Removed.
38084 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38086 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38087 Don't include <sysdep.h> nor <init-arch.h>.
38088 (_ZGVeN16v_logf): Removed.
38089 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38091 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38092 Don't include <sysdep.h> nor <init-arch.h>.
38093 (_ZGVbN4v_logf): Removed.
38094 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38096 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38097 Don't include <sysdep.h> nor <init-arch.h>.
38098 (_ZGVdN8v_logf): Removed.
38099 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38101 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38102 Don't include <sysdep.h> nor <init-arch.h>.
38103 (_ZGVeN16vv_powf): Removed.
38104 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38106 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38107 Don't include <sysdep.h> nor <init-arch.h>.
38108 (_ZGVbN4vv_powf): Removed.
38109 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38111 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38112 Don't include <sysdep.h> nor <init-arch.h>.
38113 (_ZGVdN8vv_powf): Removed.
38114 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38117 Don't include <sysdep.h> nor <init-arch.h>.
38118 (_ZGVeN16vvv_sincosf): Removed.
38119 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38121 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38122 Don't include <sysdep.h> nor <init-arch.h>.
38123 (_ZGVbN4vvv_sincosf): Removed.
38124 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38126 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38127 Don't include <sysdep.h> nor <init-arch.h>.
38128 (_ZGVdN8vvv_sincosf): Removed.
38129 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38131 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38132 Don't include <sysdep.h> nor <init-arch.h>.
38133 (_ZGVeN16v_sinf): Removed.
38134 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38136 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38137 Don't include <sysdep.h> nor <init-arch.h>.
38138 (_ZGVbN4v_sinf): Removed.
38139 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38141 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38142 Don't include <sysdep.h> nor <init-arch.h>.
38143 (_ZGVdN8v_sinf): Removed.
38145 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38147 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38148 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38149 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38150 s_rint-sse4_1 and s_rintf-sse4_1.
38151 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38152 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38153 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38154 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38155 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38156 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38157 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38158 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38159 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38160 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38161 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38162 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38164 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38165 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38166 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38167 (__ceilf): Removed.
38168 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38169 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38170 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38171 (__floor): Removed.
38172 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38173 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38174 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38175 (__floorf): Removed.
38176 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38177 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38178 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38179 (__nearbyint): Removed.
38180 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38181 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38182 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38183 (__nearbyintf): Removed.
38184 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38185 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38186 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38188 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38189 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38190 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38191 (__rintf): Removed.
38193 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38195 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38196 SHARED. Avoid dynamic relocation against main in static PIE.
38198 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38201 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38202 (LDFLAGS-tst-prelink): Likewise.
38204 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38206 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38207 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38208 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38209 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38210 (INTERNAL_SYSCALL_NCS): Likewise.
38211 (LOADARGS_1): Likewise.
38212 (LOADARGS_5): Likewise.
38213 (RESTOREARGS_1): Likewise.
38214 (RESTOREARGS_5): Likewise.
38216 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38218 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38219 (MEMPCPY_SYMBOL): Likewise.
38220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38221 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38222 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38224 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38225 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38227 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38228 (__hidden_ver1): Don't use in libc.a.
38229 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38230 (__mempcpy): Don't create a weak alias in libc.a.
38231 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38233 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38234 (__hidden_ver1): Don't use in libc.a.
38236 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38238 * config.make.in (have-insert): New.
38239 * configure.ac (libc_cv_insert): New. Set to yes if linker
38240 supports INSERT in linker script.
38241 (AC_SUBST(libc_cv_insert): New.
38242 * configure: Regenerated.
38243 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38244 if $(have-insert) == yes.
38246 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38248 * elf/Makefile (tests): Add vismain only if
38249 $(have-protected-data) == yes.
38250 (tests-pie): Likewise.
38252 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38255 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38256 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38258 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38261 * sysdeps/i386/i586/memset.S
38262 (__memset_zero_constant_len_parameter): Removed.
38263 * sysdeps/i386/i686/memset.S
38264 (__memset_zero_constant_len_parameter): Likewise.
38265 * sysdeps/i386/i686/multiarch/memset_chk.S
38266 (__memset_zero_constant_len_parameter): Likewise.
38267 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38270 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38272 * stdlib/getentropy.c (getentropy): Change return type to int.
38274 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38276 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38278 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38280 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38282 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38283 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38285 (ieee_float_shape_type): Likewise.
38286 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38287 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38288 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38289 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38290 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38291 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38292 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38293 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38294 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38296 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38297 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38298 (__ieee754_yn): Likewise.
38299 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38300 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38301 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38303 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38304 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38305 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38306 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38307 (__erfc): Likewise.
38308 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38309 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38310 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38311 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38312 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38313 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38315 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38316 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38317 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38318 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38319 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38320 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38321 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38322 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38323 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38324 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38325 (__issignaling): Likewise.
38326 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38327 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38328 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38330 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38331 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38332 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38333 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38335 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38337 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38338 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38339 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38340 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38341 (__erfcf): Likewise.
38342 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38343 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38344 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38345 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38347 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38348 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38350 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38351 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38352 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38353 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38354 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38355 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38356 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38357 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38359 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38361 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38363 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38364 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38366 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38368 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38369 (__ieee754_ynl): Likewise.
38370 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38371 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38373 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38375 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38376 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38377 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38379 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38380 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38381 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38382 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38383 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38384 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38385 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38386 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38388 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38389 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38390 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38392 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38393 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38394 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38395 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38396 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38397 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38399 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38401 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38403 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38405 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38406 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38407 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38408 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38409 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38410 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38411 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38413 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38416 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38418 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38419 (__ieee754_remainderl): Likewise.
38420 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38421 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38422 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38423 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38425 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38426 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38428 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38429 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38430 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38431 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38432 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38433 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38435 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38436 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38437 (__ieee754_y0l): Likewise.
38440 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38441 (__ieee754_y1l): Likewise.
38444 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38445 (__ieee754_ynl): Likewise.
38446 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38447 (__ieee754_lgammal_r): Likewise.
38448 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38450 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38451 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38452 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38453 (__erfcl): Likewise.
38454 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38455 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38457 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38458 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38459 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38460 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38461 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38462 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38463 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38465 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38466 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38467 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38468 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38469 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38471 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38472 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38474 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38475 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38476 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38477 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38478 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38480 2017-08-03 Florian Weimer <fweimer@redhat.com>
38483 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38484 on memory allocation failure.
38486 2017-08-03 Alan Modra <amodra@gmail.com>
38488 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38489 tst-tlsopt-powerpc.c with function name change and no test harness.
38490 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38491 Call tls_get_addr_opt_test.
38492 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38493 (modules-names): Add mod-tlsopt-powerpc.
38494 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38495 (tst-tlsopt-powerpc): Depend on .so.
38496 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38497 define. Expand use in TLS_GD and TLS_LD.
38499 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38501 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38503 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38505 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38508 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38509 comparing size with that of double.
38510 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38511 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38512 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38513 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38514 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38515 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38516 unsigned __int128 types.
38518 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38520 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38521 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38522 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38523 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38524 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38526 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38528 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38530 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38532 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38534 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38535 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38537 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38538 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38539 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38540 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38542 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38545 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38546 bit-field expressions passed to sizeof or typeof.
38547 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38548 (__TGMATH_F128): Likewise.
38549 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38550 (__TGMATH_CF128): Likewise.
38551 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38552 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38553 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38554 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38555 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38556 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38557 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38558 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38559 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38560 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38561 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38562 (__TGMATH_UNARY_IMAG): Likewise.
38563 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38564 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38565 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38567 (define_vars_for_type): Handle bit_field type specially.
38568 (Tests.__init__): Declare structure with bit-field element.
38570 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38573 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38574 (MEMCPY_CHK): Define only if SHARED is defined.
38575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38580 See ChangeLog.18 for earlier changes.