]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
nss: Fix tst-nss-files-alias-truncated for default --as-needed linking
[thirdparty/glibc.git] / ChangeLog
CommitLineData
081bdf94
FW
12019-03-14 Florian Weimer <fweimer@redhat.com>
2
3 * nss/tst-nss-files-alias-truncated.c (do_test): Load
4 libnss_files.
5 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
6 but not with libnss_files.
7 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
8
97f8225d
ZW
92019-03-14 Zack Weinberg <zackw@panix.com>
10
11 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
12 Specify encoding="utf-8" when opening headers to check.
13
0c1041ee
JM
142019-03-13 Joseph Myers <joseph@codesourcery.com>
15
16 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17 version to 5.0.
18 (Context.checkout_tar): Handle variable major version for Linux
19 kernel.
20
043440e7
FW
212019-03-13 Florian Weimer <fweimer@redhat.com>
22
23 [BZ #24047]
24 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
25
29218b26
ZW
262019-03-13 Zack Weinberg <zackw@panix.com>
27
28 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
29 Move to stdlib.
30 * include/inttypes.h: Adjust to match.
31 * include/stdint.h: New wrapper.
32
711a322a
ZW
332019-03-13 Zack Weinberg <zackw@panix.com>
34
35 * scripts/check-obsolete-constructs.py: New test script.
36 * scripts/check-installed-headers.sh: Remove tests for
37 obsolete typedefs, superseded by check-obsolete-constructs.py.
38 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
39 as a special test. Update commentary.
40 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
41 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
42 Update commentary.
43 * posix/sys/types.h (__u_intN_t): Remove.
44 (u_int8_t): Typedef using __uint8_t.
45 (u_int16_t): Typedef using __uint16_t.
46 (u_int32_t): Typedef using __uint32_t.
47 (u_int64_t): Typedef using __uint64_t.
48
7c651308
SL
492019-03-13 Stefan Liebler <stli@linux.ibm.com>
50
51 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
52 call _dl_procinfo.
53 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
54 Ignore types other than AT_HWCAP.
55 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
56 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
57 Likewise.
58 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
59 in the case of falling back to generic output mechanism.
60 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
61 Likewise.
62
38b52865
FW
632019-03-12 Florian Weimer <fweimer@redhat.com>
64
65 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
66
08504de7
FW
672019-03-12 Florian Weimer <fweimer@redhat.com>
68
69 [BZ #24047]
70 resolv: Enable full ICMP errors for UDP DNS sockets
71 * resolv/res_enable_icmp.c: New file.
72 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
73 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
74 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
75 socket.
76
5fbcd763
MH
772019-03-11 Mao Han <han_mao@c-sky.com>
78
79 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
80 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
81
c4e5f34b
MH
822019-03-11 Mao Han <han_mao@c-sky.com>
83
84 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
85 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
86 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
87
827e30f3
MH
882019-03-11 Mao Han <han_mao@c-sky.com>
89
90 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
91 directly.
92 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
93 definition.
94
6229c9bf
MH
952019-03-11 Mao Han <han_mao@c-sky.com>
96
97 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
98 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
99 in mcontext_t
100
86bdd49d
MF
1012019-03-08 Mike FABIAN <mfabian@redhat.com>
102
103 [BZ #24307]
104 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
105 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
106 Unicode 12.0.0.
107 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
108 * localedata/unicode-gen/PropList.txt: Likewise.
109 * localedata/unicode-gen/UnicodeData.txt: Likewise.
110 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
111 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
112 * localedata/charmaps/UTF-8: Regenerate.
113 * localedata/locales/i18n_ctype: Likewise.
114 * localedata/locales/tr_TR: Likewise.
115 * localedata/locales/translit_circle: Likewise.
116 * localedata/locales/translit_cjk_compat: Likewise.
117 * localedata/locales/translit_combining: Likewise.
118 * localedata/locales/translit_compat: Likewise.
119 * localedata/locales/translit_font: Likewise.
120 * localedata/locales/translit_fraction: Likewise.
121
c5f65462
JM
1222019-03-07 Joseph Myers <joseph@codesourcery.com>
123
124 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
125 than after operators.
126 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
127 (setitimer_locked): Likewise.
128 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
129 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
130 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
131 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
132 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
133 (PPC_CPU_SUPPORTED): Likewise.
134 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
135 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
136 (stat_overflow): Likewise.
137 (statfs_overflow): Likewise.
138 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
139 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
140 (eq_ttyname_r): Likewise.
141 (run_chroot_tests): Likewise.
142
27a2f2f3
FW
1432019-03-07 Florian Weimer <fweimer@redhat.com>
144
145 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
146 header check.
147
ae514971 1482019-03-07 Martin Liska <mliska@suse.cz>
149
150 * math/Makefile: Change location where math-vector-fortran.h is
151 installed.
152 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
153 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
154 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
155 * scripts/check-installed-headers.sh: Skip Fortran header files.
156 * scripts/check-wrapper-headers.py: Likewise.
157
0ddb7ea8
AZ
1582019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
159
160 * nptl/nptl-init.c (__have_futex_clock_realtime,
161 __have_futex_clock_realtime): Remove definition.
162 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
163 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
164 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
165 __ASSUME_FUTEX_CLOCK_REALTIME support.
166 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
167 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
168 * sysdeps/unix/sysv/linux/kernel-features.h
169 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
170 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
171 Adjust comment.
172
590675c0
GG
1732019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
174
175 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
176 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
177 __GI___wcscpy and wcscpy.
178
de71ee7b
FW
1792019-03-04 Florian Weimer <fweimer@redhat.com>
180
181 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
182 declaration.
183 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
184 defined.
185
ce6ddae0
SL
1862019-03-04 Stefan Liebler <stli@linux.ibm.com>
187
188 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
189 * sysdeps/s390/s390-32/sysdep.h: Likewise.
190
31efface
TS
1912019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
192
193 [BZ #24162]
194 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
195 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
196
f0eaf862
GG
1972019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
198
199 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
200 tests.
201 (do_test): Likewise.
202 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
203 (do_test_call_varg): Likewise.
204 (do_test_call_rarg): Likewise.
205 * sysdeps/ieee754/ldbl-opt/Makefile
206 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
207 tst-nldbl-error.
208 ($(objpfx)tst-nldbl-warn.c): New rule.
209 ($(objpfx)tst-nldbl-error.c): Likewise.
210 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
211 New variables.
212
d11086a9
GG
2132019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
214
215 [BZ #23984]
216 * include/bits/error-ldbl.h: New file.
217 * include/error.h: Include stdarg.h. Declare internal functions
218 __error_internal and __error_at_line_internal.
219 * misc/Makefile (headers): Add bits/error-ldbl.h.
220 * misc/bits/error-ldbl.h: New file.
221 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
222 avoid the inclusion of bits/error.h.
223 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
224 and __nldbl_error_at_line.
225 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
226 (__nldbl_error, __ndlbl_error_at_line): New functions.
227 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
228 Redirect error and error_at_line.
229 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
231 Likewise.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
233 Likewise.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
235 Likewise.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
237 Likewise.
238 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
239 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
240 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
241
90188e7d
GG
2422019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
243
244 [BZ #23984]
245 * include/bits/err-ldbl.h: New file.
246 * include/err.h: Add prototypes for the internal functions:
247 __vwarnx_internal and __vwarn_internal.
248 * misc/Makefile (headers): Add bits/err-ldbl.h.
249 * misc/bits/err-ldbl.h: New file.
250 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
251 defined, i.e.: when -mlong-double-64 is in use.
252 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
253 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
254 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
255 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
256 (VA_CALL): New macro.
257 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
258 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
259 functions.
260 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
261 declare prototypes for the new functions.
262 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
264 Likewise.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
266 Likewise.
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
268 Likewise.
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
270 Likewise.
271 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
272 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
273 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
274
ea2d89d0
GG
2752019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
276
277 * sysdeps/ieee754/ldbl-opt/Makefile
278 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
279 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
280 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
281
6e1f6440
GG
2822019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
283
284 [BZ #23983]
285 * argp/Makefile (headers): Add bits/argp-ldbl.h.
286 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
287 * argp/bits/argp-ldbl.h: New file.
288 * include/argp.h: Include stdarg.h. Add prototypes for internal
289 functions: __argp_error_internal and __argp_failure_internal.
290 * include/bits/argp-ldbl.h: New file.
291 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
292 __nldbl_argp_error and __nldbl_argp_failure.
293 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
294 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
295 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
296 Redirect argp_error and argp_failure calls.
297 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
299 Likewise.
300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
301 Likewise.
302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
303 Likewise.
304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
305 Likewise.
306 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
307 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
308 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
309
c259196b
FW
3102019-03-01 Florian Weimer <fweimer@redhat.com>
311
312 [BZ #20419]
313 * elf/tst-big-note-lib.S: Create a syntactically valid note.
314 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
315 code, to avoid creating an ABI tag note.
316 (modules-names-nobuild): Add tst-big-note-lib.
317
928b305d
SL
3182019-03-01 Stefan Liebler <stli@linux.ibm.com>
319
320 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
321 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
322
36f30c10
FW
3232019-03-01 Florian Weimer <fweimer@redhat.com>
324
325 [BZ #20271]
326 * sysdeps/unix/sysv/linux/netlink_assert_response.c
327 (__netlink_assert_response): Add additional missing newlines.
328
462e83a4
JM
3292019-02-28 Joseph Myers <joseph@codesourcery.com>
330
331 * sysdeps/powerpc/powerpc32/dl-machine.c
332 (__elf_machine_fixup_plt): Use space before '('.
333 (__process_machine_rela): Likewise.
334 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
335 Likewise.
336 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
337 Likewise.
338 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
339 Likewise.
340 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
341 (pattern): Likewise.
342 (delta): Likewise.
343 (check_result): Likewise.
344 (check_excepts): Likewise.
345 (check_op): Likewise.
346 (fail_xr): Likewise.
347 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
348 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
349 (SCNHSZ): Likewise.
350 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
351 Likewise.
352 (ARGS): Likewise.
353 (__makecontext): Likewise.
354 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
355 Likewise.
356
cc3e573c
FW
3572019-02-28 Florian Weimer <fweimer@redhat.com>
358
359 [BZ #23937]
360 elf: Add test with a local IFUNC resolver.
361 * elf/ifuncmain9.c: New file.
362 * elf/ifuncmain9pic.c: Likewise.
363 * elf/ifuncmain9picstatic.c: Likewise.
364 * elf/ifuncmain9pie.c: Likewise.
365 * elf/ifuncmain9static.c: Likewise.
366 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
367 ifuncmain9static, ifuncmain9picstatic.
368 * elf/Makefile [multi-arch && build-shared] (tests-internal):
369 Add ifuncmain9, ifuncmain9pic.
370 * elf/Makefile [multi-arch && build-shared && have-fpie]
371 (ifunc-pie-tests): Add ifuncmain9pie.
372 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
373 (CFLAGS-ifuncmain9picstatic.c): Likewise.
374 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
375
92ad88fe
L
3762019-02-27 H.J. Lu <hongjiu.lu@intel.com>
377
378 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
379 * configure: Regenerated.
380 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
381
6bd4d02e
AZ
3822019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
383
384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
385 symbol as __wcspcy instead of wcscpy.
386
1b218417
ST
3872019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
388
389 * include/stdio.h (__renameat2): New hidden prototype.
390 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
391 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
392 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
393 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
394
c4f50205
JM
3952019-02-27 Joseph Myers <joseph@codesourcery.com>
396
f627dd4d
JM
397 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
398 if statement.
399
c4f50205
JM
400 * benchtests/bench-strcpy.c (do_test): Use space before '('.
401 * benchtests/bench-string.h (cmdline_process_function): Likewise.
402 * benchtests/bench-strlen.c (do_test): Likewise.
403 (test_main): Likewise.
404 * catgets/gencat.c (read_old): Likewise.
405 * elf/cache.c (load_aux_cache): Likewise.
406 * iconvdata/bug-iconv8.c (do_test): Likewise.
407 * math/test-tgmath-ret.c (do_test): Likewise.
408 * nis/nis_call.c (rec_dirsearch): Likewise.
409 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
410 * nptl/tst-audit-threads.c (do_test): Likewise.
411 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
412 * nss/nss_test1.c (init): Likewise.
413 * nss/test-netdb.c (test_hosts): Likewise.
414 * posix/execvpe.c (maybe_script_execute): Likewise.
415 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
416 * stdio-common/tst-printf.c (do_test): Likewise.
417 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
418 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
419 * stdlib/qsort.c (STACK_SIZE): Likewise.
420 * stdlib/test-canon.c (do_test): Likewise.
421 * stdlib/tst-swapcontext1.c (do_test): Likewise.
422 * string/memcmp.c (OPSIZ): Likewise.
423 * string/test-strcpy.c (do_test): Likewise.
424 (do_random_tests): Likewise.
425 * string/test-strlen.c (do_test): Likewise.
426 (test_main): Likewise.
427 * string/test-strrchr.c (do_test): Likewise.
428 (do_random_tests): Likewise.
429 * string/tester.c (test_memrchr): Likewise.
430 (test_memchr): Likewise.
431 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
432 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
433 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
434 (read_encoded_value_with_base): Likewise.
435 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
436 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
437 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
438 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
439 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
440 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
441 Likewise.
442 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
443 Likewise.
444 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
445 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
446 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
447 Likewise.
448 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
449 Likewise.
450 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
451 Likewise.
452 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
453 Likewise.
454 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
455 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
456 (FP_XSTATE_MAGIC2_SIZE): Likewise.
457 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
458 * time/test_time.c (main): Likewise.
459
7b3fb620
AZ
4602019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
461
457208b1
AZ
462 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
463
30a7e208
AZ
464 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
465 wmemcpy.
466
ddf21ec7
AZ
467 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
468 wmemcpy.
469
4d801563
AZ
470 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
471
81a14439
AZ
472 * include/wchar.h (__wcscpy): New prototype.
473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
474 (__wcscpy): Route internal symbol to generic implementation.
475 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
476 Add internal __wcscpy alias.
477 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
478 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
479 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
480 * wcsmbs/wcscpy.c (wcscpy): Add
481 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
482 use generic implementation.
483 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
484
39ef0744
AZ
485 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
486 wmemset.
487
7b3fb620
AZ
488 * sysdeps/m68k/wcpcpy.c: Remove file.
489 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
490
e0cb7b61
JM
4912019-02-26 Joseph Myers <joseph@codesourcery.com>
492
aa0e4663
JM
493 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
494 than after operators.
495 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
496 * sysdeps/mach/hurd/getcwd.c
497 (__hurd_canonicalize_directory_name_internal): Likewise.
498 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
499 (pthread_mutex_consistent): Likewise.
500 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
501 Likewise.
502 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
503 (__pthread_mutex_transfer_np): Likewise.
504 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
505 (__pthread_mutex_unlock): Likewise.
506 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
507 (mtx_owned_p): Likewise.
508 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
509 (pthread_mutexattr_getrobust): Likewise.
510 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
511 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
512 Likewise.
513 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
514 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
515 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
516 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
517 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
518 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
519 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
520 Likewise.
521 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
522 Likewise.
523 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
524 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
525 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
526 (____longjmp_chk): Likewise.
527 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
528 Likewise.
529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
530 (INTERNAL_SYSCALL): Likewise.
531 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
532 (INTERNAL_SYSCALL): Likewise.
533 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
534 (__get_clockfreq_via_cpuinfo): Likewise.
535
e0cb7b61
JM
536 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
537 comments.
538 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
539 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
540 (WORD_COPY_BWD): Likewise.
541 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
542 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
543 Likewise.
544 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
545 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
546 comment.
547 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
548
a04549c1
JM
5492019-02-25 Joseph Myers <joseph@codesourcery.com>
550
551 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
552 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
553 rather than after operators.
554 * elf/cache.c (print_cache): Likewise.
555 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
556 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
557 * hurd/hurdinit.c (_hurd_setproc): Likewise.
558 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
559 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
560 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
561 (reauth_proc): Likewise.
562 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
563 (__file_name_split_at): Likewise.
564 (__directory_name_split_at): Likewise.
565 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
566 * hurd/port2fd.c (_hurd_port2fd): Likewise.
567 * iconv/gconv_dl.c (do_print): Likewise.
568 * inet/netinet/in.h (struct sockaddr_in): Likewise.
569 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
570 * locale/setlocale.c (new_composite_name): Likewise.
571 * malloc/memusagestat.c (main): Likewise.
572 * misc/fstab.c (fstab_convert): Likewise.
573 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
574 Likewise.
575 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
576 (getgrent_next_file): Likewise.
577 (internal_getgrnam_r): Likewise.
578 (internal_getgrgid_r): Likewise.
579 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
580 Likewise.
581 (internal_getgrent_r): Likewise.
582 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
583 (getpwent_next_nss): Likewise.
584 (getpwent_next_file): Likewise.
585 (internal_getpwnam_r): Likewise.
586 (internal_getpwuid_r): Likewise.
587 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
588 Likewise.
589 (getspent_next_nss): Likewise.
590 (internal_getspnam_r): Likewise.
591 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
592 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
593 * string/strchr.c (STRCHR): Likewise.
594 * string/strchrnul.c (STRCHRNUL): Likewise.
595 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
596 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
597 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
598 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
599 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
600 Likewise.
601 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
602 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
603 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
604 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
605 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
606 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
607 (open_file): Likewise.
608 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
609 (pthread_mutexattr_setprotocol): Likewise.
610 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
611 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
612 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
613 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
614 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
615 Likewise.
616 (elf_machine_rela): Likewise.
617 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
618 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
619 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
620 * sysdeps/posix/rename.c (rename): Likewise.
621 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
622 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
623 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
624 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
625 * sysdeps/unix/grantpt.c (grantpt): Likewise.
626 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
627 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
628 Likewise.
629 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
630 Likewise.
631 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
632 * time/tzfile.c (__tzfile_compute): Likewise.
633
34a5a146
JM
6342019-02-22 Joseph Myers <joseph@codesourcery.com>
635
636 * benchtests/bench-memmem.c (simple_memmem): Break lines before
637 rather than after operators.
638 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
639 * crypt/md5.c (md5_finish_ctx): Likewise.
640 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
641 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
642 * elf/cache.c (load_aux_cache): Likewise.
643 * elf/dl-load.c (open_verify): Likewise.
644 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
645 * elf/readelflib.c (process_elf_file): Likewise.
646 * elf/rtld.c (dl_main): Likewise.
647 * elf/sprof.c (generate_call_graph): Likewise.
648 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
649 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
650 * hurd/dtable.c (reauth_dtable): Likewise.
651 * hurd/getdport.c (__getdport): Likewise.
652 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
653 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
654 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
655 Likewise.
656 * hurd/hurdioctl.c (fioctl): Likewise.
657 * hurd/hurdselect.c (_hurd_select): Likewise.
658 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
659 (STOPSIGS): Likewise.
660 * hurd/hurdstartup.c (_hurd_startup): Likewise.
661 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
662 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
663 * hurd/msgportdemux.c (msgport_server): Likewise.
664 * hurd/setauth.c (_hurd_setauth): Likewise.
665 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
666 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
667 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
668 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
669 * login/tst-utmp.c (do_check): Likewise.
670 (simulate_login): Likewise.
671 * mach/lowlevellock.h (lll_lock): Likewise.
672 (lll_trylock): Likewise.
673 * math/test-fenv.c (ALL_EXC): Likewise.
674 * math/test-fenvinline.c (ALL_EXC): Likewise.
675 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
676 * nis/nis_call.c (__do_niscall3): Likewise.
677 * nis/nis_callback.c (cb_prog_1): Likewise.
678 * nis/nis_defaults.c (searchaccess): Likewise.
679 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
680 * nis/nis_ismember.c (internal_ismember): Likewise.
681 * nis/nis_local_names.c (nis_local_principal): Likewise.
682 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
683 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
684 Likewise.
685 * nis/ypclnt.c (yp_match): Likewise.
686 (yp_first): Likewise.
687 (yp_next): Likewise.
688 (yp_master): Likewise.
689 (yp_order): Likewise.
690 * nscd/hstcache.c (cache_addhst): Likewise.
691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
692 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
693 (internal_getpwuid_r): Likewise.
694 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
695 * posix/glob.h (__GLOB_FLAGS): Likewise.
696 * posix/regcomp.c (peek_token): Likewise.
697 (peek_token_bracket): Likewise.
698 (parse_expression): Likewise.
699 * posix/regexec.c (sift_states_iter_mb): Likewise.
700 (check_node_accept_bytes): Likewise.
701 * posix/tst-spawn3.c (do_test): Likewise.
702 * posix/wordexp-test.c (testit): Likewise.
703 * posix/wordexp.c (parse_tilde): Likewise.
704 (exec_comm): Likewise.
705 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
706 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
707 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
708 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
709 * stdio-common/tst-fileno.c (do_test): Likewise.
710 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
711 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
712 * stdlib/strtod_l.c (round_and_return): Likewise.
713 (____STRTOF_INTERNAL): Likewise.
714 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
715 * string/strcspn.c (STRCSPN): Likewise.
716 * string/test-memmem.c (simple_memmem): Likewise.
717 * termios/tcsetattr.c (tcsetattr): Likewise.
718 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
719 * time/asctime.c (asctime_internal): Likewise.
720 * time/strptime_l.c (__strptime_internal): Likewise.
721 * time/sys/time.h (timercmp): Likewise.
722 * time/tzfile.c (__tzfile_compute): Likewise.
723
b0b50fe0
PF
7242019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
725
726 [BZ #21915]
727 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
728
f43b8dd5
GG
7292019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
730
731 * argp/argp-help.c (__argp_error_internal): New function,
732 renamed from __argp_error, but that takes a 'mode_flags'
733 parameter to control the format of long double parameters.
734 (__argp_error): Converted into a call __argp_error_internal.
735 (__argp_failure_internal): New function, renamed from
736 __argp_failure, but that takes a 'mode_flags' parameter.
737 (__argp_failure): Converted into a call __argp_failure_internal.
738 * misc/err.c (__vwarnx_internal): New function, renamed from
739 vwarnx, but that takes a 'mode_flags' parameter.
740 (vwarnx): Converted into a call to __vwarnx_internal.
741 (__vwarn_internal): New function, renamed from vwarn, but that
742 takes a 'mode_flags' parameter.
743 (vwarn): Converted into a call to __vwarn_internal.
744 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
745 call to __vfxprintf with 'mode_flags'.
746 (__error_internal): New function, renamed from error, but that
747 takes a 'mode_flags' parameter.
748 (error): Converted into a call to __error_internal.
749 (__error_at_line_internal): New function, renamed from
750 error_at_line, but that takes a 'mode_flags' parameter.
751 (error_at_line): Converted into a call to
752 __error_at_line_internal.
753 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
754 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
755 Likewise.
756
dc0afac3 7572019-02-20 Martin Liska <mliska@suse.cz>
758
759 * math/Makefile: Install math-vector-fortran.h.
760 * bits/math-vector-fortran.h: New file.
761 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
762
4a2dd41c
GG
7632019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
764
765 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
766 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
767
04de9302
WS
7682019-02-19 Wolfram Sang <wsa@the-dreams.de>
769
770 * nptl/pthread_mutex_trylock.c: Fix comment.
771
b026ce1e
CD
7722019-02-19 Carlos O'Donell <carlos@redhat.com>
773
774 * nptl/pthread_tryjoin.c: Fix comment.
775
8c9289b6
JM
7762019-02-18 Joseph Myers <joseph@codesourcery.com>
777
778 [BZ #24231]
779 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
780 after R_SPARC_H34 case.
781
308e022f
FW
7822019-02-18 Florian Weimer <fweimer@redhat.com>
783
784 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
785 (getanswer): Do not call Dprintf.
786 (res_gethostbyname2_context): Likewise.
787 (res_gethostbyaddr_context): Likewise.
788
a5406364
FW
7892019-02-18 Florian Weimer <fweimer@redhat.com>
790
791 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
792 declaration.
793 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
794 Remove definitions.
795 * libio/stdfiles.c: Update comment.
796 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
797 set _IO_stdin, _IO_stdout, _IO_stderr.
798 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
799 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
800 inline function.
801 (_IO_deallocate_file): New inline function.
802 * libio/iolibio.h (_IO_vprintf): Remove definition.
803 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
804 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
805 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
806 _IO_legacy_file.
807 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
808 __builtin_expect. Use _IO_legacy_file.
809
6c29942c
SL
8102019-02-18 Stefan Liebler <stli@linux.ibm.com>
811
812 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
813 Initialize ctid with a known value and remove update of ctid
814 after clone.
815 (wait_tid): Adjust arguments and call futex_wait with ctid_val
816 as assumed current value of ctid_ptr.
817
ad18dade
FW
8182019-02-15 Florian Weimer <fweimer@redhat.com>
819
820 Check that non-sysdeps headers have wrapper headers.
821 * scripts/check-wrapper-headers.py: New file.
822 * Makefile (tests-special): Add check-wrapper-headers.out.
823 (check-wrapper-headers.out): New target.
824 * Rules (tests-special): Add check-wrapper-headers.out.
825 (check-wrapper-headers.out): New target.
826
ebd32784
FW
8272019-02-15 Florian Weimer <fweimer@redhat.com>
828
829 Add missing header wrappers under include/.
830 * include/ar.h: New file.
831 * include/bits/mqueue2.h: Likewise.
832 * include/bits/stdio.h: Likewise.
833 * include/bits/stdio2.h: Likewise.
834 * include/fstab.h: Likewise.
835 * include/fts.h: Likewise.
836 * include/lastlog.h: Likewise.
837 * include/netinet/icmp6.h: Likewise.
838 * include/netinet/igmp.h: Likewise.
839 * include/netinet/ip6.h: Likewise.
840 * include/re_comp.h: Likewise.
841 * include/regexp.h: Likewise.
842 * include/rpcsvc/bootparam.h: Likewise.
843 * include/rpcsvc/yp_prot.h: Likewise.
844 * include/sys/random.h: Likewise.
845 * include/sys/stropts.h: Likewise.
846 * include/sys/ttychars.h: Likewise.
847 * include/sys/vfs.h: Likewise.
848 * include/wait.h: Likewise.
849
a198d37a
FW
8502019-02-15 Florian Weimer <fweimer@redhat.com>
851
852 * nptl_db/proc_service.h: Move to ...
853 * sysdeps/nptl/proc_service.h: ... here.
854 * nptl_db/thread_db.h: Move to ...
855 * sysdeps/nptl/thread_db.h: ... here.
856 * nptl/descr.h: Include <thread_db.h>.
857
e442e40d
AZ
8582019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
859
860 * io/Makefile (tests): Add tst-lockf.
861 * io/lockf.c (lockf): Use __fcntl and only define for
862 !__OFF_T_MATCHES_OFF64_T.
863 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
864 __OFF_T_MATCHES_OFF64_T case.
865 * io/tst-lockf.c: New file.
866 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
867 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
868 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
869 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
870 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
872 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
873 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
874 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
875
bc10e22c
FW
8762019-02-15 Florian Weimer <fweimer@redhat.com>
877
878 [BZ #24211]
879 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
880 pd->result after the thread descriptor has been freed.
881
365f05c7
JM
8822019-02-15 Joseph Myers <joseph@codesourcery.com>
883
8a11f970
JM
884 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
885 from function return type.
886
365f05c7
JM
887 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
888
56a731d4
JK
8892019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
890
891 * scripts/test_printers_common.py: Set TERM to a known harmless
892 value.
893
712182c8
JM
8942019-02-14 Joseph Myers <joseph@codesourcery.com>
895
896 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
897 (xdr_u_int): Likewise.
898 (xdr_enum): Likewise.
899 (xdr_bytes): Reword fall-through comment.
900 (xdr_string): Likewise.
901
eb76e5b4
AZ
9022019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
903
904 [BZ #2421]
905 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
906 (tests): Add tst-join8 tst-join9.
907 * nptl/lll_timedwait_tid.c: Remove file.
908 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
909 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
910 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
911 * nptl/pthread_join_common.c (timedwait_tid): New function.
912 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
913 is set.
914 * nptl/tst-join5.c (thread_join): New function.
915 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
916 check.
917 * nptl/tst-join8.c: New file.
918 * nptl/tst-join9.c: Likewise.
919 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
920 lll_futex_timed_wait_cancel): Add generic macros.
921 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
922 Remove definitions.
923 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
924 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
925 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
926 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
927 Remove function.
928 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
929 Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
931 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
932 (lll_futex_timed_wait_cancel): New macro.
933
3904fd85
WD
9342019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
935
936 * benchtests/Makefile: Add malloc-simple benchmark.
937 * benchtests/bench-malloc-simple.c: New benchmark.
938
24ca04fe
SP
9392019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
940
941 * benchtests/bench-memmove.c (do_one_test): Remove unused
942 ORIG_SRC.
943 (do_test): Adjust.
944 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
945 ORIG_SRC.
946 (do_test): Adjust.
947
85bd1ddb
JW
9482019-01-13 Jim Wilson <jimw@sifive.com>
949
950 [BZ #24040]
951 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
952 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
953 (func): New.
954 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
955 call func directly.
956 * nptl/Makefile (tests): Add tst-unwind-thread.
957 (CFLAGS-tst-unwind-thread.c): Define.
958 * nptl/tst-unwind-thread.c: New file.
959 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
960 as undefined.
961
86140c62
JM
9622019-02-13 Joseph Myers <joseph@codesourcery.com>
963
10756268
JM
964 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
965 comment wording.
966 * nis/nis_call.c (__do_niscall3): Likewise.
967
05383720
JM
968 * catgets/gencat.c (normalize_line): Use braces around empty
969 'else' body.
970 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
971 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
972 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
973 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
974 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
975 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
976 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
977 definition.
978
86140c62
JM
979 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
980 execlp returns.
981
16f87cfd
WD
9822019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
983
984 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
985 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
986 * benchtests/bench-strchr.c (stupid_strchr): Remove.
987 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
988 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
989 * benchtests/bench-strlen.c (builtin_strlen): Remove.
990 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
991 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
992 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
993 * benchtests/bench-strspn.c (stupid_strspn): Remove.
994 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
995 * benchtests/bench-bcopy.c: Delete file.
996 * benchtests/bench-bzero.c: Likewise.
997 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
998 (simple_memccpy): Remove.
999 (generic_memccpy): Add function.
1000 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1001 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1002 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1003 (generic_mempcpy): Add new function.
1004 * benchtests/bench-memset.c (simple_bzero): Remove.
1005 (builtin_bzero): Remove.
1006 (builtin_memset): Remove.
1007 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1008 (generic_rawmemchr): Add new function.
1009
0c6d82e9
FW
10102019-02-12 Florian Weimer <fweimer@redhat.com>
1011
1012 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1013
b3fbfe81
AZ
10142019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1015
1016 [BZ #24122]
1017 * elf/Makefile (tests): Add tst-audit13.
1018 (modules-names): Add tst-audit13mod1.
1019 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1020 rule.
1021 * elf/tst-audit13.c: New file.
1022 * elf/tst-audit13mod1.c: Likewise.
1023
3b856d09
FW
10242019-02-12 Florian Weimer <fweimer@redhat.com>
1025
1026 [BZ #24122]
1027 * elf/rtld.c (unload_audit_module): New function.
1028 (report_audit_module_load_error): Likewise.
1029 (load_audit_module): Likewise. Extracted from dl_main. Call
1030 _dl_close if the laversion symbol cannot be found. Use early
1031 returns for error handling. Add malloc error check. Check for a
1032 zero return value from la_version. Remove spurious comment about
1033 static TLS initialization. Remove useless casts.
1034 (notify_audit_modules_of_loaded_object): New function. Extracted
1035 from dl_main.
1036 (load_audit_module): Likewise.
1037 (dl_main): Call load_audit_modules.
1038
32db86d5
JM
10392019-02-12 Joseph Myers <joseph@codesourcery.com>
1040
1041 * elf/dl-exception.c (_dl_exception_create_format): Add
1042 fall-through comments.
1043 * elf/ldconfig.c (parse_conf_include): Likewise.
1044 * elf/rtld.c (print_statistics): Likewise.
1045 * locale/programs/charmap.c (parse_charmap): Likewise.
1046 * misc/mntent_r.c (__getmntent_r): Likewise.
1047 * posix/wordexp.c (parse_arith): Likewise.
1048 (parse_backtick): Likewise.
1049 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1050 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1051 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1052
a51bc4fe
PC
10532019-02-11 Paul A. Clarke <pc@us.ibm.com>
1054
1055 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1056 Use float instead of double.
1057
fb25b135
TS
10582019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1059
1060 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1061
32ea7299
JM
10622019-02-08 Joseph Myers <joseph@codesourcery.com>
1063
1064 * sysdeps/powerpc/bits/mathinline.h: Remove.
1065
eef4d4f8
FW
10662019-02-08 Florian Weimer <fweimer@redhat.com>
1067
1068 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1069 * math/bits/math-finite.h: Move to ...
1070 * bits/math-finite.h: ... here.
1071
fdfbd47d
FW
10722019-02-08 Florian Weimer <fweimer@redhat.com>
1073
1074 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1075 * bits/unistd_ext.h: here.
1076
11eb21c4
PF
10772019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1078
1079 [BZ #21915]
1080 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1081 * nss/tst-nss-files-hosts-long.c: New file.
1082 * nss/tst-nss-files-hosts-long.root: New directory.
1083 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1084 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1085
e47d82c9
FW
10862019-02-08 Florian Weimer <fweimer@redhat.com>
1087
1088 * include/bits/unistd_ext.h: Remove file.
1089 * posix/bits/unistd_ext.h: Move to ...
1090 * sysdeps/generic/bits/unistd_ext.h: ... here.
1091
8f89ab21
FW
10922019-02-08 Florian Weimer <fweimer@redhat.com>
1093
1094 * include/bits/unistd_ext.h: New file.
1095
144a794e
TS
10962019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1097
1098 * time/tst-strftime2.c: Use array_length macros instead of magic
1099 numbers.
1100
669ff911
FW
11012019-02-08 Florian Weimer <fweimer@redhat.com>
1102
1103 [BZ #24161]
1104 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1105 argument.
1106 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1107 locking if the new do_locking argument is true.
1108 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1109 __run_fork_handlers.
1110
d0bd87d4 11112019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
1112
1113 [BZ #6399]
1114 Linux: Add gettid system call wrapper.
1115 * posix/Makefile (headers): Add bits/unistd_ext.h.
1116 * posix/bits/unistd_ext.h: New file.
1117 * posix/unistd.h: Include it.
1118 * manual/process.texi (Process Identification): Document gettid.
1119 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1120 tst-gettid, tst-gettid-kill.
1121 (tst-gettid): Link with $(shared-thread-library).
1122 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1123 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1124 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1125 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1126 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1127 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1128 Add gettid.
1129 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1130 Likewise.
1131 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1132 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1133 Likewise.
1134 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1135 Likewise.
1136 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1137 Likewise.
1138 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1139 Likewise.
1140 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1141 Likewise.
1142 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1143 Likewise.
1144 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1145 Likewise.
1146 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1147 (GLIBC_2.30): Likewise.
1148 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1149 (GLIBC_2.30): Likewise.
1150 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1151 (GLIBC_2.30): Likewise.
1152 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1153 (GLIBC_2.30): Likewise.
1154 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1155 Likewise.
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1157 (GLIBC_2.30): Likewise.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1159 (GLIBC_2.30): Likewise.
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1161 (GLIBC_2.30): Likewise.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1163 (GLIBC_2.30): Likewise.
1164 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1165 Likewise.
1166 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1167 Likewise.
1168 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1169 Likewise.
1170 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1171 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1172 Likewise.
1173 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1174 Likewise.
1175 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1176 Likewise.
1177 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1178 Likewise.
1179 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1180
f289e656
FW
11812019-02-07 Florian Weimer <fweimer@redhat.com>
1182
1183 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1184 compatibility symbols.
1185
823624bd
SL
11862019-02-07 Stefan Liebler <stli@linux.ibm.com>
1187
1188 [BZ #24180]
1189 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1190 Add compiler barriers and comments.
1191
8311c83f
FW
11922019-02-07 Florian Weimer <fweimer@redhat.com>
1193
1194 * include/array_length.h (array_length): Do not use a statement
1195 expression and _Static_assert, so that array_length can be used at
1196 file scope and as a constant expression.
1197
94b63e66
FW
11982019-02-07 Florian Weimer <fweimer@redhat.com>
1199
1200 * support/xdlfcn.h (xdlmopen): Declare.
1201 * support/xdlmopen.c: New file.
1202 * support/Makefile (libsupport-routines): Add xdlmopen.
1203
c2d8f0b7
JM
12042019-02-06 Joseph Myers <joseph@codesourcery.com>
1205
1206 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1207 before return type, without separate inline.
1208 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1209 * elf/dl-tunables.h (tunable_is_name): Likewise.
1210 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1211 (do_set_top_pad): Likewise.
1212 (do_set_mmap_threshold): Likewise.
1213 (do_set_mmaps_max): Likewise.
1214 (do_set_mallopt_check): Likewise.
1215 (do_set_perturb_byte): Likewise.
1216 (do_set_arena_test): Likewise.
1217 (do_set_arena_max): Likewise.
1218 (do_set_tcache_max): Likewise.
1219 (do_set_tcache_count): Likewise.
1220 (do_set_tcache_unsorted_limit): Likewise.
1221 * nis/nis_subr.c (count_dots): Likewise.
1222 * nptl/allocatestack.c (advise_stack_range): Likewise.
1223 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1224 (do_sin): Likewise.
1225 (reduce_sincos): Likewise.
1226 (do_sincos): Likewise.
1227 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1228 (do_set_elision_enable): Likewise.
1229 (TUNABLE_CALLBACK_FNDECL): Likewise.
1230
3b935595
FW
12312019-02-06 Florian Weimer <fweimer@redhat.com>
1232
1233 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1234 (xdlsym): Use dlerror to detect a NULL symbol.
1235
b4333340
FW
12362019-02-06 Florian Weimer <fweimer@redhat.com>
1237
1238 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1239 <stap-probe.h>.
1240 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1241
b6d8a999
SL
12422019-02-06 Stefan Liebler <stli@linux.ibm.com>
1243
1244 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1245
94eeeec0
SL
12462019-02-06 Stefan Liebler <stli@linux.ibm.com>
1247
1248 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1249 __wmemcmp and weak alias to wmemcmp.
1250
bc79db3f
SL
12512019-02-06 Stefan Liebler <stli@linux.ibm.com>
1252
1253 [BZ #23403]
1254 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1255 TLS_TCB_AT_TP tls variant.
1256 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1257 Add alignment checks.
1258 * support/Makefile (libsupport-routines): Add xposix_memalign and
1259 xpthread_setstack.
1260 * support/support.h: Add xposix_memalign.
1261 * support/xthread.h: Add xpthread_attr_setstack.
1262 * support/xposix_memalign.c: New File.
1263 * support/xpthread_attr_setstack.c: Likewise.
1264
f1ac7455
FW
12652019-02-05 Florian Weimer <fweimer@redhat.com>
1266
1267 [BZ #24164]
1268 arm: Use "nr" constraint for Systemtap probes, to avoid the
1269 compiler using memory operands for constants, due to the "o"
1270 alternative in the default "nor" constraint.
1271 * include/stap-probe.h [USE_STAP_PROBE]: Include
1272 <stap-probe-machine.h>
1273 * sysdeps/generic/stap-probe-machine.h: New file.
1274 * sysdeps/arm/stap-probe-machine.h: Likewise.
1275
7a0dcfc6
JM
12762019-02-04 Joseph Myers <joseph@codesourcery.com>
1277
77dc0d86
JM
1278 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1279 with 0, not tcache->entries[tc_idx].
1280
7a0dcfc6
JM
1281 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1282 once.
1283
65f7767a
AS
12842019-02-04 Andreas Schwab <schwab@suse.de>
1285
1286 [BZ #16976]
1287 [BZ #17396]
1288 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1289 looking up collating elements match against (wide) character
1290 sequence instead of name. Correct alignment adjustment.
1291 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1292 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1293 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1294 (LOCALES): Add cs_CZ.ISO-8859-2.
1295 * posix/tst-fnmatch4.c: New file.
1296 * posix/tst-fnmatch5.c: New file.
1297 * include/wchar.h (__wmemcmp): Declare.
1298 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1299 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1300 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1301 * sysdeps/s390/wmemcmp.c: Likewise.
1302
3f635fb4
L
13032019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1304
1305 [BZ #24155]
1306 CVE-2019-7309
1307 * NEWS: Updated for CVE-2019-7309.
1308 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1309 upper 32 bits of RDX register for x32. Use unsigned Jcc
1310 instructions, instead of signed.
1311 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1312 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1313
2ab5741b
FW
13142019-02-04 Florian Weimer <fweimer@redhat.com>
1315
1316 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1317 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1318 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1319 Likewise.
1320 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1321 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1322 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1323 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1324 Likewise.
1325 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1326 Likewise.
1327 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1328 Likewise.
1329 (posix_spawn_file_actions_addopen): Likewise.
1330 (posix_spawn_file_actions_addclose): Likewise.
1331 (posix_spawn_file_actions_adddup2): Likewise.
1332 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1333 qualifiers.
1334 (posix_spawn_file_actions_addfchdir_np): Likewise.
1335
8692ebdb
DN
13362019-02-04 David Newall <glibc@davidnewall.com>
1337
1338 elf: Implement --preload option for the dynamic linker.
1339 * elf/rtld.c (preloadarg): New variable.
1340 (handle_preload_list): Pass through “where” argument to
1341 do_preload.
1342 (dl_main): Handle "--preload" and add second call to
1343 handle_preload_list.
1344 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1345 (tst-rtld-preload-OBJS): Set variable.
1346 (tst-rtld-preload.out): New target.
1347 * elf/tst-rtld-preload.sh: New file.
1348
5e10136b
MM
13492019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1350
1351 * Makefile (testrun.sh): Exit in case of incorrect argument.
1352
221baae0
FW
13532019-02-04 Florian Weimer <fweimer@redhat.com>
1354
1355 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1356 alignment gaps.
1357
b8c72381
FW
13582019-02-03 Florian Weimer <fweimer@redhat.com>
1359
1360 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1361 implicit overflow checks.
1362
11f382ee
AJ
13632019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1364
1365 * stdlib/isomac.c: Include <unistd.h>.
1366
77c7d55e
FW
13672019-02-03 Florian Weimer <fweimer@redhat.com>
1368
1369 * include/time.h (__tzfile_default): Use int, not long int, for
1370 the GMT offsets.
1371 * time/tzfile.c (struct ttinfo): Change type of the offset member
1372 to int.
1373 (__tzfile_read): Remove useless cast.
1374 (__tzfile_default): Adjust prototype.
1375 * time/tzset.c (tz_rule): Change type of the offset member to int.
1376 (parse_offset): Change the type of the sign variable to int.
1377
ee9941f9
FW
13782019-02-03 Florian Weimer <fweimer@redhat.com>
1379
1380 [BZ #24153]
1381 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1382 * libio/getchar.c (getchar): Likewise.
1383 * libio/getchar_u.c (getchar_unlocked): Likewise.
1384 * libio/getwchar.c (getwchar): Likewise.
1385 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1386 * libio/iogets.c (_IO_gets): Likewise.
1387 * libio/vscanf.c (_IO_vscanf): Likewise.
1388 * libio/vwscanf.c (__vwscanf): Likewise.
1389 * libio/tst-bz24153.c: New file.
1390 * libio/Makefile (tests): Add it.
1391
c70824b9
FW
13922019-02-02 Florian Weimer <fweimer@redhat.com>
1393
1394 [BZ #14829]
1395 * manual/resource.texi (Basic Scheduling Functions): Add
1396 portability note. Change process to task throughout the section.
1397 Remove incorrect comment about sched_yield as it affects
1398 tasks/threads, not entire processes.
1399 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1400 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1401
4dcbbc3b
JM
14022019-02-01 Joseph Myers <joseph@codesourcery.com>
1403
1404 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1405 * configure: Regenerated.
1406 * manual/install.texi (Tools for Compilation): Update minimum GCC
1407 version.
1408 * INSTALL: Regenerated.
1409
6175507c
FW
14102019-02-01 Florian Weimer <fweimer@redhat.com>
1411
1412 * support/support_test_compare_string.c
1413 (support_test_compare_string): Use "string" in error message.
1414 * support/tst-test_compare_string.c (do_test): Adjust.
1415
baef1943
FW
14162019-02-01 Florian Weimer <fweimer@redhat.com>
1417
1418 * support/support_format_address_family.c
1419 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1420
395599f0
FW
14212019-02-01 Florian Weimer <fweimer@redhat.com>
1422
1423 * manual/socket.texi (Internet Address Formats): Clarify the byte
1424 order of struct sockaddr_in, struct sockaddr_in6. Document
1425 sin6_flowinfo and sin6_scope_id.
1426
b06f4c00
WD
14272019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1428
1429 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1430 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1431 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1432 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1433 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1434 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1435
83d1cc42
FX
14362019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1437
1438 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1439 [!MEMCHR](MEMCHR): Set to __memchr.
1440 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1441 Add memchr_generic and memchr_nosimd.
1442 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1443 (__libc_ifunc_impl_list): Add memchr ifuncs.
1444 * sysdeps/aarch64/multiarch/memchr.c: New file.
1445 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1446 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1447
c7d3890f
FX
14482019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1449
1450 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1451 Add memset_emag.
1452 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1453 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1454 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1455 Add IS_EMAG check for ifunc dispatch.
1456 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1457 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1458
07c3d1ec
FX
14592019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1460
1461 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1462 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1463 Add emag.
1464 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1465 New macro.
1466
114f792e
SL
14672019-02-01 Stefan Liebler <stli@linux.ibm.com>
1468
1469 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1470
d5627550
VG
14712019-01-31 Vineet Gupta <vgupta@synopsys.com>
1472
1473 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1474 syscall-template file.
1475
5fc9ed4c
CD
14762019-01-31 Carlos O'Donell <carlos@redhat.com>
1477 Torvald Riegel <triegel@redhat.com>
1478 Rik Prohaska <prohaska7@gmail.com>
1479
1480 [BZ# 23844]
1481 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1482 tst-rwlock-trywrlock-stall.
1483 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1484 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1485 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1486 Set __wrphase_fute to 1 only if we started the write phase.
1487 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1488 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1489 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1490 * support/xpthread_rwlock_destroy.c: New file.
1491 * support/xthread.h: Declare xpthread_rwlock_destroy.
1492
932329a5
JM
14932019-02-01 Joseph Myers <joseph@codesourcery.com>
1494
1495 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1496 version to 4.0.2.
1497
5f10701f
PP
14982019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1499
1500 [BZ #24051]
1501 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1502 * libio/fileops.c (_IO_new_file_underflow): Likewise
1503 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1504 * libio/putchar.c (putchar): Likewise.
1505 * libio/putchar_u.c (putchar_unlocked): Likewise.
1506 * libio/putwchar.c (putchar): Likewise.
1507 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1508 * libio/tst-bz24051.c: New test.
1509 * libio/Makefile (tests): Add tst-bz24051
1510
583dd860
PE
15112019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1512
1513 regex: fix read overrun [BZ #24114]
1514 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1515 https://debbugs.gnu.org/34140
1516 * posix/regexec.c (proceed_next_node):
1517 Do not read past end of input buffer.
1518
2bac7daa
FW
15192019-01-31 Florian Weimer <fweimer@redhat.com>
1520
1521 [BZ #24059]
1522 * nss/nss_files/files-alias.c (get_next_alias): Handle
1523 continuation line without newline at the end.
1524 * nss/tst-nss-files-alias-truncated.c: New file.
1525 * nss/Makefile [$(build-shared)] (tests): Add
1526 tst-nss-files-alias-truncated.
1527 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1528 * support/namespace.h (struct support_chroot_configuration): Add
1529 aliases member.
1530 (struct support_chroot): Add path_aliases member.
1531 * support/support_chroot.c (support_chroot_create): Handle
1532 aliases.
1533 (support_chroot_free): Free path_aliases.
1534
330c9d0d
SP
15352019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1536
de44ab67
SP
1537 * version.h (RELEASE): Set to "development".
1538 (VERSION): Set to "2.29.9000".
1539 * NEWS: Add section for 2.30.
1540
56c86f5d
SP
1541 * version.h (RELEASE): Set to "stable".
1542 (VERSION): Set to "2.29".
1543 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1544
330c9d0d
SP
1545 * NEWS: Add the list of bugs fixed in 2.29.
1546 * manual/contrib.texi: Update contributors list with some more
1547 names.
1548 * manual/install.texi: Update latest versions of packages
1549 tested.
1550 * INSTALL: Regenerated.
1551
e1e47c91
SP
15522019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1553
1554 * po/be.po: Update translations.
1555 * po/bg.po: Likewise.
1556 * po/ca.po: Likewise.
1557 * po/cs.po: Likewise.
1558 * po/da.po: Likewise.
1559 * po/de.po: Likewise.
1560 * po/el.po: Likewise.
1561 * po/eo.po: Likewise.
1562 * po/es.po: Likewise.
1563 * po/fi.po: Likewise.
1564 * po/fr.po: Likewise.
1565 * po/gl.po: Likewise.
1566 * po/hr.po: Likewise.
1567 * po/hu.po: Likewise.
1568 * po/ia.po: Likewise.
1569 * po/id.po: Likewise.
1570 * po/it.po: Likewise.
1571 * po/ja.po: Likewise.
1572 * po/ko.po: Likewise.
1573 * po/lt.po: Likewise.
1574 * po/nb.po: Likewise.
1575 * po/nl.po: Likewise.
1576 * po/pl.po: Likewise.
1577 * po/pt_BR.po: Likewise.
1578 * po/ru.po: Likewise.
1579 * po/rw.po: Likewise.
1580 * po/sk.po: Likewise.
1581 * po/sl.po: Likewise.
1582 * po/sv.po: Likewise.
1583 * po/tr.po: Likewise.
1584 * po/uk.po: Likewise.
1585 * po/vi.po: Likewise.
1586 * po/zh_CN.po: Likewise.
1587 * po/zh_TW.po: Likewise.
1588
8d016826
UB
15892019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1590
1591 [BZ #24130]
1592 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1593 of $f3 register on $y_is_neg path.
1594
a0bb5abd
ST
15952019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1596
b96e22d0 1597 [BZ #24110]
a0bb5abd
ST
1598 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1599 sigaltstack.ss_flags.
1600
b22eed37
TS
16012019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1602
1603 [BZ #23758]
1604 * manual/time.texi (strftime): Document "%Ey".
1605 * time/strftime_l.c (__strftime_internal): Set the default width
1606 padding with zero of "%Ey" to 2.
1607
32f600a2
TS
1608 [BZ #24096]
1609 * manual/time.texi (strftime): Document "%EC" and "%EY".
1610 * time/Makefile (tests): Add tst-strftime2.
1611 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1612 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1613 override padding for "%Ey".
1614 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1615 "%Ey" in the subformat as if decorated with that flag.
1616 * time/tst-strftime2.c: New file.
1617
8e889c5d
AZ
16182019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1619
3367acdb
AZ
1620 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1621 are not defined.
1622
8e889c5d
AZ
1623 [BZ #24122]
1624 * elf/Makefile (tests): Add tst-audit13.
1625 (modules-names): Add tst-audit13mod1.
1626 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1627 rule.
1628 * elf/rtld.c (dl_main): Handle invalid audit module version.
1629 * elf/tst-audit13.c: New file.
1630 * elf/tst-audit13mod1.c: Likewise.
1631
a95dc01c
ST
16322019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1633
1634 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1635 returned by __hurd_at_flags.
ee4d7902
ST
1636 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1637 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1638 directly instead of __hurd_file_name_lookup.
a95dc01c 1639
712f1167
JM
16402019-01-21 Joseph Myers <joseph@codesourcery.com>
1641
1642 * scripts/build-many-glibcs.py (Context.checkout): Default
1643 binutils version to 2.32 branch.
1644
108bc404
FW
16452019-01-21 Florian Weimer <fweimer@redhat.com>
1646
1647 [BZ #20018]
1648 CVE-2016-10739
1649 resolv: Reject trailing characters in host names
1650 * include/arpa/inet.h (__inet_aton_exact): Declare.
1651 (inet_aton): Remove hidden prototype. No longer used internally.
1652 * nscd/gai.c (__inet_aton): Do not define.
1653 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1654 * nss/digits_dots.c (__inet_aton): Likewise.
1655 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1656 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1657 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1658 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1659 (tst-resolv-trailing): Likewise.
1660 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1661 libc.
1662 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1663 Make static. Add endp parameter.
1664 (__inet_aton_exact): New function.
1665 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1666 (__inet_addr): Call inet_aton_end.
1667 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1668 not just IPv6. Call __inet_aton_exact.
1669 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1670 (tests): Make const. Add additional test cases with trailing
1671 characters.
1672 (do_test): Use array_length.
1673 * resolv/tst-inet_aton_exact.c: New file.
1674 * resolv/tst-resolv-trailing.c: Likewise.
1675 * resolv/tst-resolv-nondecimal.c: Likewise.
1676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1677
5165de69
L
16782019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1679
1680 [BZ# 24097]
1681 CVE-2019-6488
1682 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1683 Clear the upper 32 bits of RSI register.
1684 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1685 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1686 and tst-size_t-wcsnlen.
1687 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1688 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1689
c7c54f65
L
16902019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1691
1692 [BZ# 24097]
1693 CVE-2019-6488
1694 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1695 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1696 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1697 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1698 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1699
ee915088
L
17002019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1701
1702 [BZ# 24097]
1703 CVE-2019-6488
1704 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1705 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1706 * sysdeps/x86_64/strcmp.S: Likewise.
1707 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1708 tst-size_t-strncmp and tst-size_t-wcsncmp.
1709 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1710 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1711 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1712
82d0b4a4
L
17132019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1714
1715 [BZ# 24097]
1716 CVE-2019-6488
1717 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1718 RDX_LP for length. Clear the upper 32 bits of RDX register.
1719 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1720 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1721 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1722 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1723
ecd8b842
L
17242019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1725
1726 [BZ# 24097]
1727 CVE-2019-6488
1728 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1729 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1730 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1731 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1732
231c5676
L
17332019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1734
1735 [BZ# 24097]
1736 CVE-2019-6488
1737 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1738 length. Clear the upper 32 bits of RDX register.
1739 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1740 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1741 Likewise.
1742 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1743 Likewise.
1744 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1745 tst-size_t-wmemchr.
1746 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1747
b304fc20
L
17482019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1749
1750 [BZ# 24097]
1751 CVE-2019-6488
1752 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1753 length. Clear the upper 32 bits of RDX register.
1754 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1755 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1756 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1757 tst-size_t-wmemcmp.
1758 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1759 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1760
97700a34
L
17612019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1762
1763 [BZ# 24097]
1764 CVE-2019-6488
1765 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1766 upper 32 bits of RDX register.
1767 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1768 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1769 tst-size_t-wmemchr.
1770 * sysdeps/x86_64/x32/test-size_t.h: New file.
1771 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1772 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1773
6ca53a24
FW
17742019-01-18 Florian Weimer <fweimer@redhat.com>
1775
1776 [BZ #24112]
1777 resolv: Do not send queries for non-host-names in nss_dns.
1778 * resolv/nss_dns/dns-host.c (check_name): New function.
1779 (_nss_dns_gethostbyname2_r): Use it.
1780 (_nss_dns_gethostbyname_r): Likewise.
1781 (_nss_dns_gethostbyname4_r): Likewise.
1782
5e30b8ef
FW
17832019-01-21 Florian Weimer <fweimer@redhat.com>
1784
1785 * resolv/inet_addr.c: Reformat to GNU style.
1786 (__inet_addr, __inet_aton): Update comment.
1787
71effcea
FW
17882019-01-18 Florian Weimer <fweimer@redhat.com>
1789
1790 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1791 ("malloc: Use current (C11-style) atomics for fastbin access").
1792 This commit introduces a substantial performance regression on
1793 POWER and Aarch64.
1794 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1795 (REMOVE_FB): Define.
1796 (_int_malloc): Use it and reindent.
1797 (_int_free): Use CAS loop with
1798 catomic_compare_and_exchange_val_rel.
1799 (malloc_consolidate): Use atomic_exchange_acq.
1800
1801
562f4362
L
18022019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1803
1804 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1805 -Wl,-z,now.
1806 (LDFLAGS-tst-minsigstksz-2): Likewise.
1807 (LDFLAGS-tst-minsigstksz-3): Likewise.
1808 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1809 (LDFLAGS-tst-minsigstksz-4): Likewise.
1810
80dfa298
TS
18112019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1812
1813 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1814 than "alternate".
1815
008b598e
PC
18162019-01-16 Paul A. Clarke <pc@us.ibm.com>
1817
1818 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1819
fbbc9a4e
ZW
18202019-01-16 Zack Weinberg <zackw@panix.com>
1821
1822 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1823 (xget_sigstack_location): New test support functions.
1824 * support/xsigstack.c: New file, implementing them.
1825 * support/tst-xsigstack.c: New test for them.
1826 * support/Makefile: Update.
1827
1828 * signal/tst-minsigstksz-1.c
1829 * signal/tst-minsigstksz-2.c
1830 * signal/tst-minsigstksz-3.c
1831 * signal/tst-minsigstksz-3a.c
1832 * signal/tst-minsigstksz-4.c: New tests.
1833 * signal/Makefile: Run them.
1834
5f1135e4
SP
18352019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1836
1837 * po/libc.pot: Regenerate.
1838
ecdacd34
TMQMF
18392019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1840
1841 * math/libm-test-fma.inc (fma_test_data): Set
1842 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1843
56054664
RA
18442019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1845
1846 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1847 (do_test): Changed __vector __int128_t to __vector unsigned int.
1848
1a153e47
LS
18492019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1850
1851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1852 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1853 stpcpy-avx2 and stpncpy-avx2.
1854 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1855 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1856 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1857 and __stpncpy_avx2.
1858 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1859 ifunc-strcpy.h}: rename header for a more generic name.
1860 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1861 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1862 AVX unaligned load is fast and vzeroupper is preferred.
1863 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1864 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1865 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1866 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1867 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1868 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1869
a1b02ae7
DL
18702019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1871
1872 * argp/argp-help.c: Fix typo in comment.
1873 * misc/sys/cdefs.h: Likewise.
1874 * posix/regexec.c (sift_states_iter_mb): Likewise.
1875 * socket/sockatmark.c: Likewise.
1876 * socket/sys/socket.h: Likewise.
1877 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1878 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1879 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1880 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1881 * sysdeps/unix/sockatmark.c: Likewise.
1882 * time/strptime_l.c: Likewise.
1883
5cbbf01e
TS
18842019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1885
1886 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1887 missing space after the cast of "_NL_CURRENT".
1888
0bc9bdf1
RA
18892019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1890
1891 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1892 ifdef to fix read of VSCR.
1893 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1894 tst-ucontext-ppc64-vscr.c to test list.
1895 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1896
5494af04
AH
18972019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1898
1899 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1900 fall-through.
1901
e17f63ff
JW
19022019-01-09 Jim Wilson <jimw@sifive.com>
1903
1904 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1905
02f440c1
WD
19062019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1907
1908 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1909 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1910 __memcpy_falkor for ares.
1911 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1912 Add new define.
1913 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1914 Add ares cpu.
1915
69da3c9e
L
19162019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1917
1918 [BZ #24066]
1919 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1920 4_FP_W_TYPEs are used for IEEE quad precision.
1921 * soft-fp/extendhftf2.c: Likewise.
1922 * soft-fp/extendsftf2.c: Likewise.
1923 * soft-fp/extendxftf2.c: Likewise.
1924 * soft-fp/trunctfdf2.c: Likewise.
1925 * soft-fp/trunctfhf2.c: Likewise.
1926 * soft-fp/trunctfsf2.c: Likewise.
1927 * soft-fp/trunctfxf2.c: Likewise.
1928 * sysdeps/alpha/ots_cvttx.c: Likewise.
1929 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1930 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1931 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1932 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1933 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1934 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1935 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1936 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1937 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1938 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1939 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1940 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1941 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1942 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1943 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1944 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1945 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1946
2ef42716
AJ
19472019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1948
1949 [BZ #24024]
1950 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1951 code with -fmath-errno.
1952 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1953 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1954 * string/test-strerror-errno.c: New file.
1955
7395f3a0
AJ
19562019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1957
1958 [BZ #24046]
1959 * localedata/locales/en_US (date_fmt): Add, set to
1960 "%a %d %b %Y %r %Z".
1961
010fe231
FW
19622019-01-07 Florian Weimer <fweimer@redhat.com>
1963
1964 [BZ #24063]
1965 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1966 instead of @var{errno}.
1967 (Parsing of Integers): Likewise.
1968 (Parsing of Floats): Likewise.
1969 * manual/filesys.texi (Working with Directory Trees): Likewise.
1970 (Temporary Files): Likewise.
1971 * manual/job.texi (Terminal Access Functions): Likewise.
1972 * manual/llio.texi (Synchronizing I/O): Likewise.
1973 * manual/math.texi (SVID Random): Likewise.
1974 * manual/message.texi (The catgets Functions): Likewise.
1975 (Translation with gettext): Likewise.
1976 (Locating gettext catalog): Likewise.
1977 (Charset conversion in gettext): Likewise.
1978 * manual/nss.texi (NSS Module Function Internals): Likewise.
1979 * manual/search.texi (Hash Search Function): Likewise.
1980 * manual/setjmp.texi (System V contexts): Likewise.
1981 * manual/time.texi (Sleeping): Likewise.
1982 * manual/users.texi (Lookup User): Likewise.
1983 (Lookup Group): Likewise.
1984
b79dc8d0
AZ
19852019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1986
1987 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1988 fix typo.
1989
890461fe 19902019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
1991
1992 [BZ #19444]
1993 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1994 __builtin_unreachable for default case in switch.
1995 (__ieee754_yn): Likewise.
1996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1997 (__ieee754_ynl): Likewise.
1998 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1999 (__ieee754_ynl): Likewise.
2000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2001 (__ieee754_ynl): Likewise.
2002
8b18d418
SN
20032019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2004
2005 * manual/maint.texi: Use @{ and @}.
2006
4392898d
FW
20072019-01-04 Florian Weimer <fweimer@redhat.com>
2008
2009 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2010 function.
2011 (do_in_chroot_1): Call it.
2012 (run_chroot_tests):
2013 Improve error reporting in case it is not possible to create a
2014 collision for the PTY name required by the test.
2015
17cc27d5
AZ
20162019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2017
ce7eb0e9
AZ
2018 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2019 lll_wait_tid with timeout.
2020 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2021 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2022 futex_reltimed_wait_cancelable for cancelabla mode.
2023 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2024 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2025 macros.
2026 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2027 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2028 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2029 SYSCALL_CANCEL_NCS): New macro.
2030 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2031 (lll_timedwait_tid): Remove macro.
2032 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2033 Likewise.
2034 (lll_timedwait_tid): Likewise.
2035 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2036 Likewise.
2037 (lll_timedwait_tid): Likewise.
2038 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2039 Likewise.
2040 (lll_timedwait_tid): Likewise.
2041 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2042 Use INTERNAL_SYSCALL_CANCEL.
2043 * sysdeps/unix/sysv/linux/futex-internal.h
2044 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2045 instead of __pthread_{enable,disable}_asynccancel.
2046 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2047 (lll_futex_wait_cancel): New macro.
2048
0b13e255
AZ
2049 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2050 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2051
85c828a4
AZ
2052 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2053 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2054
d0d7f85f
AZ
2055 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2056 in backtrace analysis.
2057 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2058 side-effects.
2059 (tf_send): Likewise.
2060
17cc27d5
AZ
2061 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2062 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2063 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2064 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2065 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2066 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2067 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2068 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2069 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2070 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2071 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2072 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2073 Likewise.
2074 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2075 tst-cancel-wrappers.sh.
2076 (generated): Remove tst-cancel-wrappers.out.
2077 (tst-cancel-wrappers.out): Remove rule.
2078 * nptl/tst-cancel-wrappers.sh: Remove file.
2079
7d7af8f1
SN
20802019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2081
2082 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2083 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2084 Update.
2085
805334b2
AZ
20862019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2087
2088 [BZ #23640]
2089 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2090 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2091 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2092 close-on-exec reset for adddup2 file action.
2093 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2094
03992356
ZW
20952019-01-03 Zack Weinberg <zackw@panix.com>
2096
2097 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2098 parameter. Only use deprecated scanf when __USE_GNU is defined
2099 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2100 than 201103L, whichever is relevant for the language being compiled.
2101
2102 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2103 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2104 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2105 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2106 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2107
2108 * libio/iovsscanf.c
2109 * libio/fwscanf.c
2110 * libio/iovswscanf.c
2111 * libio/swscanf.c
2112 * libio/vscanf.c
2113 * libio/vwscanf.c
2114 * libio/wscanf.c
2115 * stdio-common/fscanf.c
2116 * stdio-common/scanf.c
2117 * stdio-common/vfscanf.c
2118 * stdio-common/vfwscanf.c
2119 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2120 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2121 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2122 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2123 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2124 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2125 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2126 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2127 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2128 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2129 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2130 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2131 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2132 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2133 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2134
2135 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2136 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2137 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2138 not sscanf.
2139 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2140 with a preprocessor macro.
2141
2142 * stdio-common/bug21.c, stdio-common/scanf14.c:
2143 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2144 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2145 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2146 to xscanf, xfscanf, xsscanf.
2147
2148 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2149 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2150 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2151 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2152 xfscanf, xsscanf.
2153 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2154 override feature selection macros or provide definitions of u_char etc.
2155 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2156 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2157 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2158 with -std=gnu89.
2159
8083afa5
AZ
21602019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2161
6f343c1f
AZ
2162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2163 bits/termios-misc.h.
2164 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2165 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2166 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2167 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2168 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2169 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2170
51f4beb0
AZ
2171 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2172 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2173 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2174 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2175 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2176 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2177 termios-misc.h.
2178 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2179 (sysdep_headers): Add termios-misc.h.
2180
f69c5cb2
AZ
2181 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2182 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2183 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2184
3aa4a07e
AZ
2185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2186 termios-tcflow.h.
2187 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2188 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2189 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2190 TCSAFLUSH): Move to termios-tcflow.h.
2191 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2192 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2194 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2195
22679ddf
AZ
2196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2197 termios-c_lflag.h.
2198 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2199 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2200 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2201 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2202 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2203 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2204 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2205 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2206 Likewise.
2207 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2208 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2209 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2210 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2211
72eb6ecc
AZ
2212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2213 termios-c_cflag.h.
2214 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2215 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2216 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2217 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2218 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2219 termios-c_cflag.h.
2220 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2221 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2222 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2223 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2224
9c5d0d02
AZ
2225 [BZ #23783]
2226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2227 termios-baud.h.
2228 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2229 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2230 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2231 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2232 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2233 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2234 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2235 __MAX_BAUD): Move to termios-baud.h.
2236 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2237 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2238 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2240 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2241
7b832018
AZ
2242 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2243 termios-c_oflag.h.
2244 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2245 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2246 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2247 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2248 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2249 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2250 termios-c_oflag.h.
2251 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2252 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2253 FFR1): Likewise.
2254 [USE_MISC] (XTABS): Likewise.
2255 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2256 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2257 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2258 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2259
3127003e
AZ
2260 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2261 termios-c_iflag.h.
2262 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2263 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2264 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2265 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2266 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2267 IUTF8): Move to termios-c_iflag.h.
2268 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2269 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2270 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2271 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2272
48c1dd96
AZ
2273 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2274 termios-cc.h.
2275 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2276 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2277 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2278 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2279 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2280 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2281 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2282 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2283 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2284 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2286 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2287
e5a50db3
AZ
2288 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2289 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2290 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2291 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2293 termios-struct.h.
2294 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2295 termios-struct.h.
2296 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2297 Likewise.
2298 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2299 Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2301 Likewise.
2302 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2303 Likewise.
2304 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2305 _HAVE_C_OSPEED): Define.
2306 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2307 _HAVE_C_OSPEED): Likewise.
2308 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2309 _HAVE_C_OSPEED): Likewise.
2310 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2311 (cfsetospeed): Check for define value instead of existence.
2312 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2313 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2314 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2315 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2316 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2317
8083afa5
AZ
2318 [BZ #17783]
2319 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2320 Define.
2321 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2322 (TIOCSER_TEMT): Likewise.
2323 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2324 (TEOCSER_TEMT): Likewise.
2325
4d7d7dc6
P
23262019-01-02 PanderMusubi <pander@users.sourceforge.net>
2327
2328 [BZ #24011]
2329 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2330
8e291a29
JM
23312019-01-02 Joseph Myers <joseph@codesourcery.com>
2332
2333 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2334
55137f7d
ST
23352019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2336
2337 * sysdeps/htl/pt-barrierattr-setpshared.c
2338 (pthread_barrierattr_setpshared): Add stub warning.
2339 * sysdeps/htl/pt-condattr-setpshared.c
2340 (pthread_condattr_setpshared): Likewise.
2341 * sysdeps/htl/pt-mutexattr-setpshared.c
2342 (pthread_mutexattr_setpshared): Likewise.
2343 * sysdeps/htl/pt-rwlockattr-setpshared.c
2344 (pthread_rwlockattr_setpshared): Likewise.
2345 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2346 (pthread_mutexattr_setpshared): Likewise.
2347
2ce09e01
JM
23482019-01-02 Joseph Myers <joseph@codesourcery.com>
2349
acb55dcb
JM
2350 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2351 constants to match with Linux 4.20.
2352
2ce09e01
JM
2353 * sysdeps/mips/mips32/libm-test-ulps: Update.
2354 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2355
fe20bb1d
AJ
23562019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2357
2358 [BZ #24034]
2359 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2360 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2361 than __typeof (...) for the a_ptr variable.
2362
2d9837c1
GG
23632019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2364
2365 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2366 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2367 * libio/Makefile (tests): Add tst-sprintf-ub and
2368 tst-sprintf-chk-ub.
2369 (CFLAGS-tst-sprintf-ub.c): New variable.
2370 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2371 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2372 destination buffer and check for overflows in fortified mode.
2373 * libio/libioP.h (PRINTF_CHK): New macro.
2374 * libio/tst-sprintf-chk-ub.c: New file.
2375 * libio/tst-sprintf-ub.c: Likewise.
2376
d5c6df0b 23772019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
2378
2379 [BZ #24018]
2380 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2381 failure.
2382
66081e38
FW
23832019-01-02 Florian Weimer <fweimer@redhat.com>
2384
2385 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2386
04277e02
JM
23872019-01-01 Joseph Myers <joseph@codesourcery.com>
2388
6ef3d225
JM
2389 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2390 macro.
2391
e3d4e292
JM
2392 * sysdeps/unix/sysv/linux/netpacket/packet.h
2393 (PACKET_IGNORE_OUTGOING): New macro.
2394
f4507797
JM
2395 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2396 macro.
2397
47ad5e1a
JM
2398 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2399 version to 4.20.
2400 (riscv_flush_icache): New syscall.
2401
7628a1b0
JM
2402 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2403 trailing whitespace removed.
2404 * scripts/config.guess: Update to version 2019-01-01.
2405 * scripts/config.sub: Update to version 2019-01-01.
2406 * scripts/move-if-change: Update from gnulib.
2407
c9123888
JM
2408 * NEWS: Update copyright dates.
2409 * catgets/gencat.c (print_version): Likewise.
2410 * csu/version.c (banner): Likewise.
2411 * debug/catchsegv.sh: Likewise.
2412 * debug/pcprofiledump.c (print_version): Likewise.
2413 * debug/xtrace.sh (do_version): Likewise.
2414 * elf/ldconfig.c (print_version): Likewise.
2415 * elf/ldd.bash.in: Likewise.
2416 * elf/pldd.c (print_version): Likewise.
2417 * elf/sotruss.sh: Likewise.
2418 * elf/sprof.c (print_version): Likewise.
2419 * iconv/iconv_prog.c (print_version): Likewise.
2420 * iconv/iconvconfig.c (print_version): Likewise.
2421 * locale/programs/locale.c (print_version): Likewise.
2422 * locale/programs/localedef.c (print_version): Likewise.
2423 * login/programs/pt_chown.c (print_version): Likewise.
2424 * malloc/memusage.sh (do_version): Likewise.
2425 * malloc/memusagestat.c (print_version): Likewise.
2426 * malloc/mtrace.pl: Likewise.
2427 * manual/libc.texinfo: Likewise.
2428 * nptl/version.c (banner): Likewise.
2429 * nscd/nscd.c (print_version): Likewise.
2430 * nss/getent.c (print_version): Likewise.
2431 * nss/makedb.c (print_version): Likewise.
2432 * posix/getconf.c (main): Likewise.
2433 * scripts/test-installation.pl: Likewise.
2434 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2435
04277e02
JM
2436 * All files with FSF copyright notices: Update copyright dates
2437 using scripts/update-copyrights.
2438 * locale/programs/charmap-kw.h: Regenerated.
2439 * locale/programs/locfile-kw.h: Likewise.
2440
e740e5b1
JM
24412018-12-31 Joseph Myers <joseph@codesourcery.com>
2442
2443 * timezone/zdump.c: Update from tzcode 2018i.
2444 * timezone/zic.c: Likewise.
2445
9b7f98b3
PE
24462018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2447
2448 regex: improve Gnulib port to AIX
2449 From the glibc point of view, this removes duplicate macro
2450 definitions and is obviously safe.
2451 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2452 * posix/regex_internal.h:
2453 (__attribute__, __attribute_warn_unused_result__):
2454 Remove; already defined elsewhere.
2455
b50dd3bc
FW
24562018-12-31 Florian Weimer <fw@deneb.enyo.de>
2457
2458 [BZ #24027]
2459 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2460 copying operation. (ncopies had the wrong type, resulting in an
2461 integer wraparound and too few elements being copied.)
2462
0b9c8490
L
24632018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2464
2465 [BZ #24022]
2466 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2467 <asm/syscalls.h> exists with __has_include__ before including it.
2468
01047fa6
JM
24692018-12-31 Joseph Myers <joseph@codesourcery.com>
2470
2471 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2472 version to 4.20.
2473
065957a3
JW
24742018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2475
2476 * hurd/lookup-retry: Include <unistd.h>.
2477 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2478 Release it on return. Handle "pid" magical lookup retry.
2479
989182c4
RL
24802018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2481
2482 [BZ #10496]
2483 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2484 (t_fmt_ampm): Likewise.
2485 * localedata/locales/aa_ER (t_fmt): Likewise.
2486 (t_fmt_ampm): Likewise.
2487 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2488 (t_fmt_ampm): Likewise.
2489 * localedata/locales/aa_ET (t_fmt): Likewise.
2490 (t_fmt_ampm): Likewise.
2491 * localedata/locales/am_ET (t_fmt): Likewise.
2492 (t_fmt_ampm): Likewise.
2493 * localedata/locales/byn_ER (t_fmt): Likewise.
2494 (t_fmt_ampm): Likewise.
2495 * localedata/locales/om_ET (t_fmt): Likewise.
2496 (t_fmt_ampm): Likewise.
2497 * localedata/locales/sid_ET (t_fmt): Likewise.
2498 (t_fmt_ampm): Likewise.
2499 * localedata/locales/so_DJ (t_fmt): Likewise.
2500 (t_fmt_ampm): Likewise.
2501 * localedata/locales/so_ET (t_fmt): Likewise.
2502 (t_fmt_ampm): Likewise.
2503 * localedata/locales/so_SO (t_fmt): Likewise.
2504 (t_fmt_ampm): Likewise.
2505 * localedata/locales/ti_ER (t_fmt): Likewise.
2506 (t_fmt_ampm): Likewise.
2507 * localedata/locales/ti_ET (t_fmt): Likewise.
2508 (t_fmt_ampm): Likewise.
2509 * localedata/locales/tig_ER (t_fmt): Likewise.
2510 (t_fmt_ampm): Likewise.
2511 * localedata/locales/wal_ET (t_fmt): Likewise.
2512 (t_fmt_ampm): Likewise.
2513
2514 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2515 * localedata/locales/ar_IN (t_fmt): Likewise.
2516 * localedata/locales/bhb_IN (t_fmt): Likewise.
2517 * localedata/locales/bho_IN (t_fmt): Likewise.
2518 * localedata/locales/bi_VU (t_fmt): Likewise.
2519 * localedata/locales/bn_BD (t_fmt): Likewise.
2520 * localedata/locales/bn_IN (t_fmt): Likewise.
2521 * localedata/locales/brx_IN (t_fmt): Likewise.
2522 * localedata/locales/doi_IN (t_fmt): Likewise.
2523 * localedata/locales/en_HK (t_fmt): Likewise.
2524 (t_fmt_ampm): Likewise.
2525 * localedata/locales/en_IN (t_fmt): Likewise.
2526 * localedata/locales/en_PH (t_fmt): Likewise.
2527 * localedata/locales/gu_IN (t_fmt): Likewise.
2528 * localedata/locales/hi_IN (t_fmt): Likewise.
2529 * localedata/locales/hif_FJ (t_fmt): Likewise.
2530 * localedata/locales/hne_IN (t_fmt): Likewise.
2531 * localedata/locales/kn_IN (t_fmt): Likewise.
2532 * localedata/locales/kok_IN (t_fmt): Likewise.
2533 * localedata/locales/ks_IN (t_fmt): Likewise.
2534 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2535 * localedata/locales/mag_IN (t_fmt): Likewise.
2536 * localedata/locales/mai_IN (t_fmt): Likewise.
2537 * localedata/locales/mjw_IN (t_fmt): Likewise.
2538 * localedata/locales/ml_IN (t_fmt): Likewise.
2539 * localedata/locales/mni_IN (t_fmt): Likewise.
2540 * localedata/locales/mr_IN (t_fmt): Likewise.
2541 * localedata/locales/ms_MY (t_fmt): Likewise.
2542 * localedata/locales/pa_IN (t_fmt): Likewise.
2543 * localedata/locales/raj_IN (t_fmt): Likewise.
2544 * localedata/locales/sa_IN (t_fmt): Likewise.
2545 * localedata/locales/sat_IN (t_fmt): Likewise.
2546 * localedata/locales/sd_IN (t_fmt): Likewise.
2547 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2548 * localedata/locales/tcy_IN (t_fmt): Likewise.
2549 * localedata/locales/the_NP (t_fmt): Likewise.
2550 * localedata/locales/to_TO (t_fmt): Likewise.
2551 * localedata/locales/ur_IN (t_fmt): Likewise.
2552
2553 * localedata/locales/hif_FJ (d_t_fmt): Set to
2554 "%A %d %b %Y %I:%M:%S %p".
2555 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2556
2557 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2558 * localedata/locales/ar_BH (t_fmt): Likewise.
2559 * localedata/locales/ar_DZ (t_fmt): Likewise.
2560 * localedata/locales/ar_EG (t_fmt): Likewise.
2561 * localedata/locales/ar_IQ (t_fmt): Likewise.
2562 * localedata/locales/ar_JO (t_fmt): Likewise.
2563 * localedata/locales/ar_KW (t_fmt): Likewise.
2564 * localedata/locales/ar_LB (t_fmt): Likewise.
2565 * localedata/locales/ar_LY (t_fmt): Likewise.
2566 * localedata/locales/ar_OM (t_fmt): Likewise.
2567 * localedata/locales/ar_QA (t_fmt): Likewise.
2568 * localedata/locales/ar_SD (t_fmt): Likewise.
2569 * localedata/locales/ar_SS (t_fmt): Likewise.
2570 * localedata/locales/ar_SY (t_fmt): Likewise.
2571 * localedata/locales/ar_TN (t_fmt): Likewise.
2572 * localedata/locales/ar_YE (t_fmt): Likewise.
2573
2574 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2575 (t_fmt_ampm): Likewise.
2576 * localedata/locales/gez_ET (t_fmt): Likewise.
2577 (t_fmt_ampm): Likewise.
2578
2579 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2580 (t_fmt_ampm): Likewise.
2581 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2582
2583 * localedata/locales/zh_HK (t_fmt):
2584 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2585
2586 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2587 because this locale does not use the 12-hour clock.
2588 (t_fmt): Set to "%Z %H:%M:%S".
2589 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2590
2591 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2592 because this locale does not use the 12-hour clock.
2593 (t_fmt): Set to "%H:%M:%S %Z".
2594 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2595
2596 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2597 because this locale does not use the 12-hour clock.
2598 (t_fmt): Set to "%T".
2599 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2600 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2601
2602 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2603 because this locale does not use the 12-hour clock.
2604 (t_fmt): Set to "%H:%M:%S %Z".
2605 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2606
2607 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2608 because this locale does not use the 12-hour clock.
2609 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2610 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2611
27841a7d
RL
26122018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2613
2614 [BZ #10496]
2615 [BZ #23724]
2616 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2617 (t_fmt_ampm): Likewise.
2618 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2619 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2620 (d_fmt): Set to "%-d.%-m.%y".
2621
0253580a
AZ
26222018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2623
2624 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2625 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2626 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2627 Likewise.
2628 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2629 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2630 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2631 function.
2632 * support/blob_repeat.c (check_mul_overflow_size_t,
2633 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2634
09104e5b
AJ
26352018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2636
2637 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2638
c0feb731
PE
26392018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2640
2641 regex: simplify Gnulib port
2642 This simplifies the code, by removing stuff intended for porting
2643 to Gnulib but no longer needed there.
2644 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2645 uses of libc_hidden_def, weak_alias.
2646 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2647 _Restrict_ except for public-facing headers.
2648 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2649 Remove; already defined elsewhere.
2650 * posix/regex.c, posix/regex_internal.h:
2651 Use __GNUC_PREREQ instead of rolling our own.
2652 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2653
5289f1f5
WD
26542018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2655
2656 * benchtests/bench-strlen.c (generic_strlen): New function.
2657 (memchr_strlen): New function.
2658
ba4b8fab
L
26592018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2660
2661 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2662 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2663 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2664
9412979a
L
26652018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2666
2667 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2668
8700a785
L
26692018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2670
2671 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2672 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2673 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2674 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2675 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2676 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2677 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2678
57b3ff8e
JM
26792018-12-21 Joseph Myers <joseph@codesourcery.com>
2680
2681 [BZ #24023]
2682 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2683 PLT reference in libc.so.
2684 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2685 _Q_lltoq and _Q_qtod PLT references in libc.so.
2686
90d3320d
WD
26872018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2688
2689 * benchtests/bench-memchr.c: Cleanup defines.
2690 * benchtests/bench-memcmp.c: Likewise.
2691 * benchtests/bench-memset.c: Likewise.
2692 * benchtests/bench-memset-large.c: Likewise.
2693 * benchtests/bench-memset-walk.c: Likewise.
2694 * benchtests/bench-stpcpy.c: Likewise.
2695 * benchtests/bench-stpncpy.c: Likewise.
2696 * benchtests/bench-strcat.c: Likewise.
2697 * benchtests/bench-strchr.c: Likewise.
2698 * benchtests/bench-strcmp.c: Likewise.
2699 * benchtests/bench-strcpy.c: Likewise.
2700 * benchtests/bench-strcspn.c: Likewise.
2701 * benchtests/bench-string.h: Likewise.
2702 * benchtests/bench-strlen.c: Likewise.
2703 * benchtests/bench-strncat.c: Likewise.
2704 * benchtests/bench-strncmp.c: Likewise.
2705 * benchtests/bench-strncpy.c: Likewise.
2706 * benchtests/bench-strnlen.c: Likewise.
2707 * benchtests/bench-strpbrk.c: Likewise.
2708 * benchtests/bench-strrchr.c: Likewise.
2709 * benchtests/bench-strspn.c: Likewise.
2710
192963be
JM
27112018-12-21 Joseph Myers <joseph@codesourcery.com>
2712
5d025ea6
JM
2713 * stdlib/longlong.h: Update from GCC.
2714
192963be
JM
2715 [BZ #23993]
2716 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2717 * configure: Regenerated.
2718 * manual/install.texi (Tools for Compilation): Update minimum GCC
2719 version.
2720 * INSTALL: Regenerated.
2721
c0e82f11
IK
27222018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2723
2724 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2725
ebe544bf
IK
27262018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2727
2728 * malloc/malloc.c (mremap_chunk): Additional checks.
2729
5f72b005
MH
27302018-12-21 Mao Han <han_mao@c-sky.com>
2731
2732 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2733 * scripts/build-many-glibcs.py: Add C-SKY targets.
2734 * sysdeps/csky/Implies: New file.
2735 * sysdeps/csky/Makefile: Likewise.
2736 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2737 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2738 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2739 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2740 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2741 * sysdeps/csky/abiv2/memmove.S: Likewise.
2742 * sysdeps/csky/abiv2/memset.S: Likewise.
2743 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2744 * sysdeps/csky/abiv2/start.S: Likewise.
2745 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2746 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2747 * sysdeps/csky/abiv2/strlen.S: Likewise.
2748 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2749 * sysdeps/csky/abort-instr.h: Likewise.
2750 * sysdeps/csky/atomic-machine.h: Likewise.
2751 * sysdeps/csky/bits/endian.h: Likewise.
2752 * sysdeps/csky/bits/fenv.h: Likewise.
2753 * sysdeps/csky/bits/link.h: Likewise.
2754 * sysdeps/csky/bits/setjmp.h: Likewise.
2755 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2756 * sysdeps/csky/bsd-setjmp.S: Likewise.
2757 * sysdeps/csky/configure: Likewise.
2758 * sysdeps/csky/configure.ac: Likewise.
2759 * sysdeps/csky/dl-machine.h: Likewise.
2760 * sysdeps/csky/dl-procinfo.c: Likewise.
2761 * sysdeps/csky/dl-procinfo.h: Likewise.
2762 * sysdeps/csky/dl-sysdep.h: Likewise.
2763 * sysdeps/csky/dl-tls.h: Likewise.
2764 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2765 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2766 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2767 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2768 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2769 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2770 * sysdeps/csky/fpu/fegetround.c: Likewise.
2771 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2772 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2773 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2774 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2775 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2776 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2777 * sysdeps/csky/fpu/fesetround.c: Likewise.
2778 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2779 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2780 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2781 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2782 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2783 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2784 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2785 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2786 * sysdeps/csky/fpu_control.h: Likewise.
2787 * sysdeps/csky/gccframe.h: Likewise.
2788 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2789 * sysdeps/csky/ldsodefs.h: Likewise.
2790 * sysdeps/csky/libc-tls.c: Likewise.
2791 * sysdeps/csky/linkmap.h: Likewise.
2792 * sysdeps/csky/machine-gmon.h: Likewise.
2793 * sysdeps/csky/memusage.h: Likewise.
2794 * sysdeps/csky/nofpu/Implies: Likewise.
2795 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2796 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2797 * sysdeps/csky/nptl/Makefile: Likewise.
2798 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2799 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2800 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2801 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2802 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2803 * sysdeps/csky/nptl/tls.h: Likewise.
2804 * sysdeps/csky/preconfigure: Likewise.
2805 * sysdeps/csky/sfp-machine.h: Likewise.
2806 * sysdeps/csky/sotruss-lib.c: Likewise.
2807 * sysdeps/csky/stackinfo.h: Likewise.
2808 * sysdeps/csky/sysdep.h: Likewise.
2809 * sysdeps/csky/tininess.h: Likewise.
2810 * sysdeps/csky/tst-audit.h: Likewise.
2811 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2812 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2813 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2814 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2815 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2816 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2817 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2818 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2819 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2820 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2821 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2822 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2823 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2824 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2825 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2826 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2827 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2828 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2829 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2830 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2831 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2832 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2833 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2834 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2835 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2836 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2837 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2838 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2839 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2840 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2841 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2842 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2843 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2844 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2845 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2846 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2847 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2848 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2849 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2850 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2851 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2852 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2853 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2854 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2855
ac253355
AA
28562018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2857
2858 * include/time.h (__difftime64): Add.
2859 * time/difftime.c (subtract): convert to 64-bit time.
2860 * time/difftime.c (__difftime64): Add.
2861 * time/difftime.c (__difftime): Wrap around __difftime64.
2862
ab416931
L
28632018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2864
2865 * manual/examples/add.c: Remove redundant "if not".
2866 * manual/examples/argp-ex1.c: Likewise.
2867 * manual/examples/argp-ex2.c: Likewise.
2868 * manual/examples/argp-ex3.c: Likewise.
2869 * manual/examples/argp-ex4.c: Likewise.
2870 * manual/examples/atexit.c: Likewise.
2871 * manual/examples/db.c: Likewise.
2872 * manual/examples/dir.c: Likewise.
2873 * manual/examples/dir2.c: Likewise.
2874 * manual/examples/execinfo.c: Likewise.
2875 * manual/examples/filecli.c: Likewise.
2876 * manual/examples/filesrv.c: Likewise.
2877 * manual/examples/fmtmsgexpl.c: Likewise.
2878 * manual/examples/genpass.c: Likewise.
2879 * manual/examples/inetcli.c: Likewise.
2880 * manual/examples/inetsrv.c: Likewise.
2881 * manual/examples/isockad.c: Likewise.
2882 * manual/examples/longopt.c: Likewise.
2883 * manual/examples/memopen.c: Likewise.
2884 * manual/examples/memstrm.c: Likewise.
2885 * manual/examples/mkdirent.c: Likewise.
2886 * manual/examples/mkfsock.c: Likewise.
2887 * manual/examples/mkisock.c: Likewise.
2888 * manual/examples/mygetpass.c: Likewise.
2889 * manual/examples/pipe.c: Likewise.
2890 * manual/examples/popen.c: Likewise.
2891 * manual/examples/rprintf.c: Likewise.
2892 * manual/examples/search.c: Likewise.
2893 * manual/examples/select.c: Likewise.
2894 * manual/examples/setjmp.c: Likewise.
2895 * manual/examples/sigh1.c: Likewise.
2896 * manual/examples/sigusr.c: Likewise.
2897 * manual/examples/stpcpy.c: Likewise.
2898 * manual/examples/strdupa.c: Likewise.
2899 * manual/examples/strftim.c: Likewise.
2900 * manual/examples/subopt.c: Likewise.
2901 * manual/examples/swapcontext.c: Likewise.
2902 * manual/examples/termios.c: Likewise.
2903 * manual/examples/testopt.c: Likewise.
2904 * manual/examples/testpass.c: Likewise.
2905 * manual/examples/timeval_subtract.c: Likewise.
2906
515f463f
JM
29072018-12-19 Joseph Myers <joseph@codesourcery.com>
2908
da75c1b1
JM
2909 * sysdeps/x86/fpu/math_private.h: New file.
2910 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2911
515f463f
JM
2912 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2913 definition.
2914 (cosh): Likewise.
2915 (tanh): Likewise.
2916
1616d034
TMQMF
29172018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2918
2919 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2920 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2921 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2922 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2923 fields.
2924 (_dl_show_auxv): Give a special treatment to
2925 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2926 and AT_L3_CACHEGEOMETRY.
2927 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2928 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2929 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2930 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2931
61595e3d
AS
29322018-12-19 Andreas Schwab <schwab@suse.de>
2933
2934 * nscd/connections.c (check_use): Don't abort on invalid len.
2935
bbb7dc84
ST
29362018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2937
2938 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2939 values in the 64bit value cases.
2940
64c2277d
AA
29412018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2942
c4c2836a
AA
2943 * include/time.h
2944 (__ctime64_r): Add.
2945 * time/ctime_r.c
2946 (__ctime64_r): Add.
2947 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2948
7755e504
AA
2949 * include/time.h
2950 (__ctime64): Add.
2951 * time/gmtime.c
2952 (__ctime64): Add.
2953 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2954
a1d346ce
AA
2955 * include/time.h
2956 (__gmtime64_r): Add.
2957 * time/gmtime.c
2958 (__gmtime64_r): Add.
2959 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2960
131db8b0
AA
2961 * include/time.h
2962 (__gmtime64): Add.
2963 * time/gmtime.c
2964 (__gmtime64): Add.
2965 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2966
64c2277d
AA
2967 * include/time.h
2968 (__localtime64_r): Add.
2969 * time/localtime.c
2970 (__localtime64_r): Add.
2971 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2972
56b98bf1
AZ
29732018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2974
64dd7a16
AZ
2975 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2976 kernel_sigction definition.
2977
8b1d5da5
AZ
2978 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2979
f9eabb19
AZ
2980 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2981
56b98bf1
AZ
2982 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2983 __syscall_rt_sigaction.
2984 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2985 (kernel_sigaction): Use Linux generic defintion.
2986 (STUB): Define.
2987 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2988 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2989 (__syscall_rt_sigaction): Remove implementation.
2990 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2991 hidden.
2992 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2993 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2994 INTERNAL_SYSCALL): Remove definitions.
2995 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2996 action and signal set size.
2997 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2999
43a45c2d
AZ
30002018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3001 James Clarke <jrtc27@jrtc27.com>
3002
dfa6216f 3003 [BZ #23967]
43a45c2d
AZ
3004 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3005 Define if SA_RESTORER is defined.
3006 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3007 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3008 already defined.
3009 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3010 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3011 definitions.
3012 (HAS_SA_RESTORER): Define.
3013 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3014 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3015 (HAS_SA_RESTORER): Define.
3016 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3017 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3018 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3019 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3020 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3021
646ce7e0
JM
30222018-12-18 Joseph Myers <joseph@codesourcery.com>
3023
3024 * sysdeps/unix/sysv/linux/kernel-features.h
3025 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3026 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3027 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3028 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3029 (__ASSUME_ST_INO_64_BIT): Likewise.
3030 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3031 <kernel-features.h>.
3032 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3033 Remove conditional code.
3034 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3035 <kernel-features.h>.
3036 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3037 Remove conditional code.
3038 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3039 <kernel-features.h>.
3040 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3041 Remove conditional code.
3042 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3043 <kernel-features.h>.
3044 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3045 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3046
80190d2b
SL
30472018-12-18 Stefan Liebler <stli@linux.ibm.com>
3048
3049 * sysdeps/s390/multiarch/ifunc-resolve.h
3050 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3051 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3052 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3053 Delete macro definition.
3054 (s390_libc_ifunc_init): Rename to
3055 s390_libc_ifunc_expr_stfle_init.
3056 * sysdeps/s390/bzero: Use
3057 s390_libc_ifunc_expr_stfle_init instead of
3058 s390_libc_ifunc_init.
3059 * sysdeps/s390/memcmp.c: Likewise.
3060 * sysdeps/s390/memcpy.c: Likewise.
3061 * sysdeps/s390/mempcpy.c: Likewise.
3062 * sysdeps/s390/memset.c: Likewise.
3063
12f0dcb8
SL
30642018-12-18 Stefan Liebler <stli@linux.ibm.com>
3065
3066 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3067 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3068
25654a8c
SL
30692018-12-18 Stefan Liebler <stli@linux.ibm.com>
3070
3071 * sysdeps/s390/multiarch/Makefile
3072 (sysdep_routines): Remove wmemcmp variants.
3073 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3074 * sysdeps/s390/multiarch/ifunc-impl-list.c
3075 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3076 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3077 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3078 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3079 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3080 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3081 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3082 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3083
d2a7436c
SL
30842018-12-18 Stefan Liebler <stli@linux.ibm.com>
3085
3086 * sysdeps/s390/multiarch/Makefile
3087 (sysdep_routines): Remove wmemset variants.
3088 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3089 * sysdeps/s390/multiarch/ifunc-impl-list.c
3090 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3091 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3092 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3093 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3094 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3095 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3096 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3097 * sysdeps/s390/ifunc-wmemset.h: New file.
3098
c62534ae
SL
30992018-12-18 Stefan Liebler <stli@linux.ibm.com>
3100
3101 * sysdeps/s390/multiarch/Makefile
3102 (sysdep_routines): Remove wmemchr variants.
3103 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3104 * sysdeps/s390/multiarch/ifunc-impl-list.c
3105 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3106 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3107 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3108 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3109 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3110 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3111 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3112 * sysdeps/s390/ifunc-wmemchr.h: New file.
3113
79b44cf6
SL
31142018-12-18 Stefan Liebler <stli@linux.ibm.com>
3115
3116 * sysdeps/s390/multiarch/Makefile
3117 (sysdep_routines): Remove wcscspn variants.
3118 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3119 * sysdeps/s390/multiarch/ifunc-impl-list.c
3120 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3121 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3122 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3123 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3124 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3125 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3126 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3127 * sysdeps/s390/ifunc-wcscspn.h: New file.
3128
8e87c1f6
SL
31292018-12-18 Stefan Liebler <stli@linux.ibm.com>
3130
3131 * sysdeps/s390/multiarch/Makefile
3132 (sysdep_routines): Remove wcspbrk variants.
3133 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3134 * sysdeps/s390/multiarch/ifunc-impl-list.c
3135 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3136 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3137 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3138 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3139 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3140 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3141 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3142 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3143
8507e831
SL
31442018-12-18 Stefan Liebler <stli@linux.ibm.com>
3145
3146 * sysdeps/s390/multiarch/Makefile
3147 (sysdep_routines): Remove wcsspn variants.
3148 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3149 * sysdeps/s390/multiarch/ifunc-impl-list.c
3150 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3151 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3152 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3153 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3154 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3155 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3156 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3157 * sysdeps/s390/ifunc-wcsspn.h: New file.
3158
4753713a
SL
31592018-12-18 Stefan Liebler <stli@linux.ibm.com>
3160
3161 * sysdeps/s390/multiarch/Makefile
3162 (sysdep_routines): Remove wcsrchr variants.
3163 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3164 * sysdeps/s390/multiarch/ifunc-impl-list.c
3165 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3166 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3167 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3168 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3169 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3170 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3171 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3172 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3173
c09c1b6f
SL
31742018-12-18 Stefan Liebler <stli@linux.ibm.com>
3175
3176 * sysdeps/s390/multiarch/Makefile
3177 (sysdep_routines): Remove wcschrnul variants.
3178 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3179 * sysdeps/s390/multiarch/ifunc-impl-list.c
3180 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3181 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3182 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3183 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3184 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3185 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3186 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3187 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3188
cf3ccc31
SL
31892018-12-18 Stefan Liebler <stli@linux.ibm.com>
3190
3191 * sysdeps/s390/multiarch/Makefile
3192 (sysdep_routines): Remove wcschr variants.
3193 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3194 * sysdeps/s390/multiarch/ifunc-impl-list.c
3195 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3196 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3197 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3198 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3199 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3200 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3201 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3202 * sysdeps/s390/ifunc-wcschr.h: New file.
3203
e9873e1d
SL
32042018-12-18 Stefan Liebler <stli@linux.ibm.com>
3205
3206 * sysdeps/s390/multiarch/Makefile
3207 (sysdep_routines): Remove wcsncmp variants.
3208 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3209 * sysdeps/s390/multiarch/ifunc-impl-list.c
3210 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3211 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3212 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3213 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3214 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3215 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3216 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3217 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3218
3459e23d
SL
32192018-12-18 Stefan Liebler <stli@linux.ibm.com>
3220
3221 * sysdeps/s390/multiarch/Makefile
3222 (sysdep_routines): Remove wcscmp variants.
3223 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3224 * sysdeps/s390/multiarch/ifunc-impl-list.c
3225 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3226 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3227 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3228 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3229 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3230 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3231 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3232 * sysdeps/s390/ifunc-wcscmp.h: New file.
3233
814a76e1
SL
32342018-12-18 Stefan Liebler <stli@linux.ibm.com>
3235
3236 * sysdeps/s390/multiarch/Makefile
3237 (sysdep_routines): Remove wcsncat variants.
3238 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3239 * sysdeps/s390/multiarch/ifunc-impl-list.c
3240 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3241 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3242 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3243 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3244 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3245 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3246 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3247 * sysdeps/s390/ifunc-wcsncat.h: New file.
3248
3389cae4
SL
32492018-12-18 Stefan Liebler <stli@linux.ibm.com>
3250
3251 * sysdeps/s390/multiarch/Makefile
3252 (sysdep_routines): Remove wcscat variants.
3253 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3254 * sysdeps/s390/multiarch/ifunc-impl-list.c
3255 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3256 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3257 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3258 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3259 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3260 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3261 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3262 * sysdeps/s390/ifunc-wcscat.h: New file.
3263
c3081bcb
SL
32642018-12-18 Stefan Liebler <stli@linux.ibm.com>
3265
3266 * sysdeps/s390/multiarch/Makefile
3267 (sysdep_routines): Remove wcpncpy variants.
3268 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3269 * sysdeps/s390/multiarch/ifunc-impl-list.c
3270 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3271 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3272 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3273 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3274 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3275 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3276 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3277 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3278
0966dd86
SL
32792018-12-18 Stefan Liebler <stli@linux.ibm.com>
3280
3281 * sysdeps/s390/multiarch/Makefile
3282 (sysdep_routines): Remove wcsncpy variants.
3283 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3284 * sysdeps/s390/multiarch/ifunc-impl-list.c
3285 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3286 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3287 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3288 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3289 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3290 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3291 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3292 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3293
0582e428
SL
32942018-12-18 Stefan Liebler <stli@linux.ibm.com>
3295
3296 * sysdeps/s390/multiarch/Makefile
3297 (sysdep_routines): Remove wcpcpy variants.
3298 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3299 * sysdeps/s390/multiarch/ifunc-impl-list.c
3300 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3301 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3302 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3303 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3304 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3305 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3306 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3307 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3308
804f2e5c
SL
33092018-12-18 Stefan Liebler <stli@linux.ibm.com>
3310
3311 * sysdeps/s390/multiarch/Makefile
3312 (sysdep_routines): Remove wcscpy variants.
3313 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3314 * sysdeps/s390/multiarch/ifunc-impl-list.c
3315 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3316 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3317 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3318 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3319 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3320 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3321 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3322 * sysdeps/s390/ifunc-wcscpy.h: New file.
3323
c7e7cd26
SL
33242018-12-18 Stefan Liebler <stli@linux.ibm.com>
3325
3326 * sysdeps/s390/multiarch/Makefile
3327 (sysdep_routines): Remove wcsnlen variants.
3328 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3329 * sysdeps/s390/multiarch/ifunc-impl-list.c
3330 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3331 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3332 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3333 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3334 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3335 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3336 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3337 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3338
2e02d0b7
SL
33392018-12-18 Stefan Liebler <stli@linux.ibm.com>
3340
3341 * sysdeps/s390/multiarch/Makefile
3342 (sysdep_routines): Remove wcslen variants.
3343 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3344 * sysdeps/s390/multiarch/ifunc-impl-list.c
3345 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3346 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3347 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3348 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3349 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3350 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3351 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3352 * sysdeps/s390/ifunc-wcslen.h: New file.
3353
89bfcbdf
SL
33542018-12-18 Stefan Liebler <stli@linux.ibm.com>
3355
3356 * sysdeps/s390/multiarch/Makefile
3357 (sysdep_routines): Remove memrchr variants.
3358 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3359 * sysdeps/s390/multiarch/ifunc-impl-list.c
3360 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3361 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3362 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3363 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3364 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3365 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3366 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3367 * sysdeps/s390/ifunc-memrchr.h: New file.
3368
196655ba
SL
33692018-12-18 Stefan Liebler <stli@linux.ibm.com>
3370
3371 * sysdeps/s390/multiarch/Makefile
3372 (sysdep_routines): Remove memccpy variants.
3373 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3374 * sysdeps/s390/multiarch/ifunc-impl-list.c
3375 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3376 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3377 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3378 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3379 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3380 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3381 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3382 * sysdeps/s390/ifunc-memccpy.h: New file.
3383
4c7b3cec
SL
33842018-12-18 Stefan Liebler <stli@linux.ibm.com>
3385
3386 * sysdeps/s390/multiarch/Makefile
3387 (sysdep_routines): Remove rawmemchr variants.
3388 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3389 * sysdeps/s390/multiarch/ifunc-impl-list.c
3390 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3391 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3392 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3393 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3394 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3395 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3396 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3397 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3398
581a051c
SL
33992018-12-18 Stefan Liebler <stli@linux.ibm.com>
3400
3401 * sysdeps/s390/multiarch/Makefile
3402 (sysdep_routines): Remove memchr variants.
3403 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3404 * sysdeps/s390/multiarch/ifunc-impl-list.c
3405 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3406 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3407 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3408 * sysdeps/s390/multiarch/memchr.c: Move to ...
3409 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3410 * sysdeps/s390/ifunc-memchr.h: New file.
3411 * sysdeps/s390/s390-64/memchr.S: Move to ...
3412 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3413 for 31/64bit and ifunc handling.
3414 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3415 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3416 * sysdeps/s390/s390-32/memchr.S: Likewise.
3417
5d2ec20a
SL
34182018-12-18 Stefan Liebler <stli@linux.ibm.com>
3419
3420 * sysdeps/s390/multiarch/Makefile
3421 (sysdep_routines): Remove strcspn variants.
3422 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3423 * sysdeps/s390/multiarch/ifunc-impl-list.c
3424 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3425 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3426 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3427 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3428 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3429 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3430 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3431 * sysdeps/s390/ifunc-strcspn.h: New file.
3432
572cca93
SL
34332018-12-18 Stefan Liebler <stli@linux.ibm.com>
3434
3435 * sysdeps/s390/multiarch/Makefile
3436 (sysdep_routines): Remove strpbrk variants.
3437 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3438 * sysdeps/s390/multiarch/ifunc-impl-list.c
3439 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3440 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3441 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3442 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3443 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3444 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3445 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3446 * sysdeps/s390/ifunc-strpbrk.h: New file.
3447
483fc569
SL
34482018-12-18 Stefan Liebler <stli@linux.ibm.com>
3449
3450 * sysdeps/s390/multiarch/Makefile
3451 (sysdep_routines): Remove strspn variants.
3452 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3453 * sysdeps/s390/multiarch/ifunc-impl-list.c
3454 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3455 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3456 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3457 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3458 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3459 * sysdeps/s390/multiarch/strspn.c: Move to ...
3460 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3461 * sysdeps/s390/ifunc-strspn.h: New file.
3462
26ea8760
SL
34632018-12-18 Stefan Liebler <stli@linux.ibm.com>
3464
3465 * sysdeps/s390/multiarch/Makefile
3466 (sysdep_routines): Remove strrchr variants.
3467 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3468 * sysdeps/s390/multiarch/ifunc-impl-list.c
3469 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3470 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3471 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3472 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3473 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3474 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3475 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3476 * sysdeps/s390/ifunc-strrchr.h: New file.
3477
a1361e65
SL
34782018-12-18 Stefan Liebler <stli@linux.ibm.com>
3479
3480 * sysdeps/s390/multiarch/Makefile
3481 (sysdep_routines): Remove strchrnul variants.
3482 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3483 * sysdeps/s390/multiarch/ifunc-impl-list.c
3484 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3485 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3486 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3487 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3488 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3489 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3490 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3491 * sysdeps/s390/ifunc-strchrnul.h: New file.
3492
32f12653
SL
34932018-12-18 Stefan Liebler <stli@linux.ibm.com>
3494
3495 * sysdeps/s390/multiarch/Makefile
3496 (sysdep_routines): Remove strchr variants.
3497 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3498 * sysdeps/s390/multiarch/ifunc-impl-list.c
3499 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3500 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3501 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3502 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3503 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3504 * sysdeps/s390/multiarch/strchr.c: Move to ...
3505 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3506 * sysdeps/s390/ifunc-strchr.h: New file.
3507
316b8842
SL
35082018-12-18 Stefan Liebler <stli@linux.ibm.com>
3509
3510 * sysdeps/s390/multiarch/Makefile
3511 (sysdep_routines): Remove strncmp variants.
3512 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3513 * sysdeps/s390/multiarch/ifunc-impl-list.c
3514 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3515 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3516 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3517 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3518 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3519 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3520 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3521 * sysdeps/s390/ifunc-strncmp.h: New file.
3522
cdab85fe
SL
35232018-12-18 Stefan Liebler <stli@linux.ibm.com>
3524
3525 * sysdeps/s390/multiarch/Makefile
3526 (sysdep_routines): Remove strcmp variants.
3527 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3528 * sysdeps/s390/multiarch/ifunc-impl-list.c
3529 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3530 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3531 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3532 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3533 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3534 * sysdeps/s390/ifunc-strcmp.h: New file.
3535 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3536 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3537 for 31/64bit and ifunc handling.
3538 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3539 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3540 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3541
b9353351
SL
35422018-12-18 Stefan Liebler <stli@linux.ibm.com>
3543
3544 * sysdeps/s390/multiarch/Makefile
3545 (sysdep_routines): Remove strncat variants.
3546 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3547 * sysdeps/s390/multiarch/ifunc-impl-list.c
3548 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3549 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3550 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3551 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3552 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3553 * sysdeps/s390/multiarch/strncat.c: Move to ...
3554 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3555 * sysdeps/s390/ifunc-strncat.h: New file.
3556
8e5a0afb
SL
35572018-12-18 Stefan Liebler <stli@linux.ibm.com>
3558
3559 * sysdeps/s390/multiarch/Makefile
3560 (sysdep_routines): Remove strcat variants.
3561 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3562 * sysdeps/s390/multiarch/ifunc-impl-list.c
3563 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3564 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3565 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3566 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3567 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3568 * sysdeps/s390/multiarch/strcat.c: Move to ...
3569 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3570 * sysdeps/s390/ifunc-strcat.h: New file.
3571
25218822
SL
35722018-12-18 Stefan Liebler <stli@linux.ibm.com>
3573
3574 * sysdeps/s390/multiarch/Makefile
3575 (sysdep_routines): Remove stpncpy variants.
3576 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3577 * sysdeps/s390/multiarch/ifunc-impl-list.c
3578 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3579 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3580 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3581 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3582 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3583 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3584 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3585 * sysdeps/s390/ifunc-stpncpy.h: New file.
3586
d1bdbf38
SL
35872018-12-18 Stefan Liebler <stli@linux.ibm.com>
3588
3589 * sysdeps/s390/multiarch/Makefile
3590 (sysdep_routines): Remove strncpy variants.
3591 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3592 * sysdeps/s390/multiarch/ifunc-impl-list.c
3593 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3594 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3595 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3596 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3597 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3598 * sysdeps/s390/ifunc-strncpy.h: New file.
3599 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3600 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3601 and adjust ifunc handling.
3602 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3603 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3604 and adjust ifunc handling.
3605 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3606 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3607
97044931
SL
36082018-12-18 Stefan Liebler <stli@linux.ibm.com>
3609
3610 * sysdeps/s390/multiarch/Makefile
3611 (sysdep_routines): Remove stpcpy variants.
3612 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3613 * sysdeps/s390/multiarch/ifunc-impl-list.c
3614 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3615 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3616 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3617 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3618 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3619 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3620 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3621 * sysdeps/s390/ifunc-stpcpy.h: New file.
3622
914a4e05
SL
36232018-12-18 Stefan Liebler <stli@linux.ibm.com>
3624
3625 * sysdeps/s390/multiarch/Makefile
3626 (sysdep_routines): Remove strcpy variants.
3627 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3628 * sysdeps/s390/multiarch/ifunc-impl-list.c
3629 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3630 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3631 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3632 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3633 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3634 * sysdeps/s390/ifunc-strcpy.h: New file.
3635 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3636 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3637 for 31/64bit and ifunc handling.
3638 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3639 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3640 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3641
de10e44d
SL
36422018-12-18 Stefan Liebler <stli@linux.ibm.com>
3643
3644 * sysdeps/s390/multiarch/Makefile
3645 (sysdep_routines): Remove strnlen variants.
3646 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3647 * sysdeps/s390/multiarch/ifunc-impl-list.c
3648 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3649 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3650 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3651 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3652 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3653 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3654 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3655 * sysdeps/s390/ifunc-strnlen.h: New file.
3656
ff3ca374
SL
36572018-12-18 Stefan Liebler <stli@linux.ibm.com>
3658
3659 * sysdeps/s390/multiarch/Makefile
3660 (sysdep_routines): Remove strlen variants.
3661 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3662 * sysdeps/s390/multiarch/ifunc-impl-list.c
3663 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3664 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3665 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3666 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3667 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3668 * sysdeps/s390/multiarch/strlen.c: Move to ...
3669 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3670 * sysdeps/s390/ifunc-strlen.h: New file.
3671
d2c4c403
SL
36722018-12-18 Stefan Liebler <stli@linux.ibm.com>
3673
3674 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3675 * sysdeps/s390/multiarch/ifunc-impl-list.c
3676 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3677 * sysdeps/s390/ifunc-memmem.h: New file.
3678 * sysdeps/s390/memmem.c: Likewise.
3679 * sysdeps/s390/memmem-c.c: Likewise.
3680 * sysdeps/s390/memmem-vx.c: Likewise.
3681
8c25dddd
SL
36822018-12-18 Stefan Liebler <stli@linux.ibm.com>
3683
3684 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3685 * sysdeps/s390/multiarch/ifunc-impl-list.c
3686 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3687 * sysdeps/s390/ifunc-strstr.h: New file.
3688 * sysdeps/s390/strstr.c: Likewise.
3689 * sysdeps/s390/strstr-c.c: Likewise.
3690 * sysdeps/s390/strstr-vx.c: Likewise.
3691
cdd927d9
SL
36922018-12-18 Stefan Liebler <stli@linux.ibm.com>
3693
3694 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3695 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3696 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3697 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3698 New defines.
3699 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3700 * sysdeps/s390/memmove-c.c: New file.
3701 * sysdeps/s390/memmove.c: Likewise.
3702 * sysdeps/s390/multiarch/ifunc-impl-list.c
3703 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3704
2ee1bc57
SL
37052018-12-18 Stefan Liebler <stli@linux.ibm.com>
3706
3707 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3708 * sysdeps/s390/configure.ac: Add check for z13 support.
3709 * sysdeps/s390/configure: Regenerated.
3710
d097d976
SL
37112018-12-18 Stefan Liebler <stli@linux.ibm.com>
3712
3713 * sysdeps/s390/memcopy.h: New file.
3714
e099aab0
SL
37152018-12-18 Stefan Liebler <stli@linux.ibm.com>
3716
3717 * sysdeps/s390/s390-32/bcopy.S: Remove.
3718 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3719
18eb862d
SL
37202018-12-18 Stefan Liebler <stli@linux.ibm.com>
3721
3722 * sysdeps/s390/ifunc-memcpy.h: New File.
3723 * sysdeps/s390/memcpy.S: Move to ...
3724 * sysdeps/s390/memcpy-z900.S ... here.
3725 Move implementations from memcpy-s390x.s to here.
3726 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3727 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3728 Remove memcpy/mempcpy variants.
3729 * sysdeps/s390/Makefile (sysdep_routines):
3730 Add memcpy/mempcpy variants.
3731 * sysdeps/s390/multiarch/ifunc-impl-list.c
3732 (__libc_ifunc_impl_list): Adjust ifunc variants for
3733 memcpy and mempcpy.
3734 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3735 to ...
3736 * sysdeps/s390/memcpy.c: ... here.
3737 Adjust ifunc variants for memcpy.
3738 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3739 * sysdeps/s390/mempcpy.c: ... here.
3740 Adjust ifunc variants for mempcpy.
3741 * sysdeps/s390/mempcpy.S: Delete file.
3742
df3eb8de
SL
37432018-12-18 Stefan Liebler <stli@linux.ibm.com>
3744
3745 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3746 * sysdeps/s390/memcpy.S: ... here.
3747 Adjust to be usable for 31/64bit.
3748 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3749 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3750 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3751 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3752 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3753 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3754 Adjust to be usable for 31/64bit.
3755 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3756 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3757 * sysdeps/s390/multiarch/memcpy.c: ... here.
3758 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3759
b7e024a8
SL
37602018-12-18 Stefan Liebler <stli@linux.ibm.com>
3761
3762 * sysdeps/s390/ifunc-memcmp.h: New File.
3763 * sysdeps/s390/memcmp.S: Move to ...
3764 * sysdeps/s390/memcmp-z900.S ... here.
3765 Move implementations from memcmp-s390x.s to here.
3766 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3767 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3768 Remove memcmp variants.
3769 * sysdeps/s390/Makefile (sysdep_routines):
3770 Add memcmp variants.
3771 * sysdeps/s390/multiarch/ifunc-impl-list.c
3772 (__libc_ifunc_impl_list): Adjust ifunc variants for
3773 memcmp.
3774 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3775 to ...
3776 * sysdeps/s390/memcmp.c: ... here.
3777 Adjust ifunc variants for memcmp.
3778
6c6b8c74
SL
37792018-12-18 Stefan Liebler <stli@linux.ibm.com>
3780
3781 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3782 * sysdeps/s390/memcmp.S: ... here.
3783 Adjust to be usable for 31/64bit.
3784 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3785 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3786 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3787 Remove memcmp.
3788 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3789 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3790 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3791 Adjust to be usable for 31/64bit.
3792 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3793 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3794 * sysdeps/s390/multiarch/memcmp.c: ... here.
3795 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3796
07be3928
SL
37972018-12-18 Stefan Liebler <stli@linux.ibm.com>
3798
3799 * sysdeps/s390/s390-32/bzero.S: Delete file.
3800 * sysdeps/s390/s390-64/bzero.S: Likewise.
3801 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3802 * sysdeps/s390/bzero.c: New file.
3803 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3804 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3805 * sysdeps/s390/multiarch/ifunc-impl-list.c
3806 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3807
712a254a
SL
38082018-12-18 Stefan Liebler <stli@linux.ibm.com>
3809
3810 * sysdeps/s390/ifunc-memset.h: New File.
3811 * sysdeps/s390/memset.S: Move to ...
3812 * sysdeps/s390/memset-z900.S ... here.
3813 Move implementations from memset-s390x.s to here.
3814 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3815 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3816 Remove memset variants.
3817 * sysdeps/s390/Makefile (sysdep_routines):
3818 Add memset variants.
3819 * sysdeps/s390/multiarch/ifunc-impl-list.c
3820 (__libc_ifunc_impl_list): Adjust ifunc variants for
3821 memset.
3822 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3823 to ...
3824 * sysdeps/s390/memset.c: ... here.
3825 Adjust ifunc variants for memset.
3826
5f1743d1
SL
38272018-12-18 Stefan Liebler <stli@linux.ibm.com>
3828
3829 * sysdeps/s390/s390-64/memset.S: Move to ...
3830 * sysdeps/s390/memset.S: ... here.
3831 Adjust to be usable for 31/64bit.
3832 * sysdeps/s390/s390-32/memset.S: Delete File.
3833 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3834 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3835 Remove memset.
3836 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3837 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3838 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3839 Adjust to be usable for 31/64bit.
3840 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3841 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3842 * sysdeps/s390/multiarch/memset.c: ... here.
3843 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3844
e8023f26
SL
38452018-12-18 Stefan Liebler <stli@linux.ibm.com>
3846
3847 * sysdeps/s390/multiarch/ifunc-resolve.h
3848 (s390_libc_ifunc_init, s390_libc_ifunc,
3849 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3850
b8686c0d
SL
38512018-12-18 Stefan Liebler <stli@linux.ibm.com>
3852
3853 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3854 * sysdeps/s390/configure.ac: Add check for z10 support.
3855 * sysdeps/s390/configure: Regenerated.
3856
cd815050
L
38572018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3858
3859 * sysdeps/i386/atomic-machine.h: Merged with ...
3860 * sysdeps/x86_64/atomic-machine.h: To ...
3861 * sysdeps/x86/atomic-machine.h: This. New file.
3862
053c52b1
FW
38632018-12-18 Florian Weimer <fweimer@redhat.com>
3864
3865 Rewrite locale/gen-translit.pl in Python.
3866 * locale/Makefile (generated): Add C-translit.h.
3867 (before-compile): Add $(objpfx)C-translit.h.
3868 (C-translit.h): Move to $(objpfx). Create target directory.
3869 Build using Python script.
3870 * locale/gen-translit.py: New file.
3871 * locale/gen-translit.pl: Remove file.
3872 * locale/C-translit.h.in: Change comment character to '#' for
3873 easier parsing without a C preprocessor.
3874 * locale/C-translit.h: Remove generated file.
3875 * manual/install.texi (Tools for Compilation): Do not mention
3876 C-translit.h.
3877 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3878 Remove locale/C-translit.h.
3879 * scripts/update-copyrights: Likewise.
3880 * INSTALL: Regenerate.
3881
40e6c1ec
FW
38822018-12-18 Florian Weimer <fweimer@redhat.com>
3883
3884 [BZ #23995]
3885 * localedata/locales/bi_VU: Remove executable bit from file.
3886
6e15f3e2
AA
38872018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3888
3889 * include/time.h
3890 (__localtime64): Add.
3891 * manual/maint.texi: Document Y2038 symbol handling.
3892 * time/localtime.c
3893 (__localtime64): Add.
bfb79db4 3894 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 3895
df648905
JM
38962018-12-17 Joseph Myers <joseph@codesourcery.com>
3897
551e81d9
JM
3898 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3899 Do not clobber r12.
3900
df648905
JM
3901 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3902 to allow extra macros from first or second sources.
3903 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3904 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3905 (tests-special): Add $(objpfx)tst-mman-consts.out.
3906 ($(objpfx)tst-mman-consts.out): New makefile target.
3907
6bbfc5c0
MH
39082018-12-17 Mao Han <han_mao@c-sky.com>
3909
3910 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3911 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3912 without stat64 system call support.
3913 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3914 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3915 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3916 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3917 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3918 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3919 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3920 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3921 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3922 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3923 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3924
ef202e53
PE
39252018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3926
3927 regex: fix storage-exhaustion error
3928 [BZ #18040]
3929 * posix/regexec.c (get_subexp):
3930 Do not continue if storage is exhausted.
3931
077caf61
AG
39322018-12-15 Assaf Gordon <assafgordon@gmail.com>
3933
3934 regex: fix heap-use-after-free error
3935 [BZ #18040]
3936 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3937 https://debbugs.gnu.org/32592
3938 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3939 call extend_buffers which reallocates the re_string_t internal buffer.
3940 Local variable 'buf' was not updated in such case, resulting in
3941 use-after-free.
3942 * posix/regexec.c (get_subexp): Update 'buf' after call to
3943 get_subexp_sub.
3944
0c1719e6
FW
39452018-12-15 Florian Weimer <fweimer@redhat.com>
3946
3947 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3948 (minimum_stride_size): Use it.
3949 (support_blob_repeat_allocate): Likewise.
3950
033a2c0a
JM
39512018-12-14 Joseph Myers <joseph@codesourcery.com>
3952
3953 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3954 definition.
3955 (acosh): Likewise.
3956 (atanh): Likewise.
3957
e361dc04
FW
39582018-12-14 Florian Weimer <fweimer@redhat.com>
3959
3960 * manual/process.texi (Process Creation Concepts): Remove
3961 documentation of process (ID) lifetime. List more process
3962 creation functions. Reference Process Identification section.
3963 (Process Identification): Add information about process ID
3964 lifetime. Describe Linux thread/task IDs.
3965 * manual/signal.texi (Signaling Another Process): Mention that the
3966 signal is always sent to the process.
3967
bd51ff5e
GG
39682018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3969
3970 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3971 and tst-ldbl-efgcvt.
3972 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3973 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3974 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3975 (fcvt_tests, output_error, output_r_error, do_test): Use the
3976 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3977 select the type of floating-point variables and arguments; to
3978 produce extra tests for double and conversion specifiers for
3979 printf; and to set the names of called functions.
3980 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3981 in tst-efgcvt-template.c.
3982 * misc/tst-ldbl-efgcvt.c: Likewise.
3983
268bb71e
SL
39842018-12-14 Stefan Liebler <stli@linux.ibm.com>
3985
3986 * nss/Makefile (tst-nss-test3.out): New rule.
3987
db6df070
JM
39882018-12-13 Joseph Myers <joseph@codesourcery.com>
3989
3990 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3991 clobber sp.
3992
ade8b817
CD
39932018-12-13 fanjinke <fanjinke@hygon.cn>
3994
3995 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3996 "HygonGenuine".
3997
3d265911
AS
39982018-12-13 Andreas Schwab <schwab@suse.de>
3999
f21e8f8c 4000 [BZ #23861]
3d265911 4001 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
4002 (__pthread_rwlock_rdlock_full): Update expected value for
4003 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4004 * nptl/tst-rwlock-pwn.c: New file.
4005 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 4006
bf8ae8c0
JM
40072018-12-12 Joseph Myers <joseph@codesourcery.com>
4008
4009 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4010 definition.
4011
de099757
LS
40122018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4013
4014 * benchtests/scripts/compare_bench.py (do_compare): write to
4015 stderr in casestat is not present.
4016 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4017 stderr in case timings field is not present. Also string showing
4018 the output filename goes into the stderr.
4019
1990185f
LS
40202018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4021
4022 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4023 and ZeroDivisorError exceptions.
4024 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4025 argument to loop through user provided statistics.
4026 * benchtests/scripts/compare_bench.py (main): Include the --stats
4027 argument.
4028
587426d4
LS
40292018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4030
4031 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4032 instead of return.
4033
46703efa
FW
40342018-12-12 Florian Weimer <fweimer@redhat.com>
4035
4036 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4037 clause to copyright header.
4038
1d880d4a
TMQMF
40392018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4040
4041 [BZ #23614]
4042 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4043 registers saved in the stack frame.
4044 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4045 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4046
1a502f52
GG
40472018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4048
4049 * include/bits/monetary-ldbl.h: New file.
4050 * include/bits/printf-ldbl.h: Likewise.
4051 * include/bits/stdio-ldbl.h: Likewise.
4052 * include/bits/stdlib-ldbl.h: Likewise.
4053 * include/bits/syslog-ldbl.h: Likewise.
4054 * include/bits/wchar-ldbl.h: Likewise.
4055
df682d1d
GG
40562018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4057
4058 * libio/libio.h: Remove redirection for _IO_vfprintf.
4059
c2c082c1
AS
40602018-12-11 Andreas Schwab <schwab@suse.de>
4061
4062 * Makerules: Remove all references to abilist-pattern.
4063 (update-all-abi): Simplify find expression.
4064
505b5b29
SN
40652018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4066
4067 [BZ #23961]
4068 * math/auto-libm-test-in: Add new test case.
4069 * math/auto-libm-test-out-pow: Regenerated.
4070 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4071
304c61a2
DD
40722018-12-10 DJ Delorie <dj@redhat.com>
4073
4074 [BZ #23948]
4075 * support/test-container.c: Move postclean step to before we
4076 change namespaces.
4077
a8110b72
JM
40782018-12-10 Joseph Myers <joseph@codesourcery.com>
4079
cb7be159
JM
4080 * scripts/gen-as-const.py (main): Handle --python option.
4081 * scripts/gen-py-const.awk: Remove.
4082 * Makerules (py-const-script): Use gen-as-const.py.
4083 ($(py-const)): Likewise.
4084 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4085 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4086 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4087 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4088 ~PTHREAD_MUTEX_NO_ELISION_NP.
4089 * manual/README.pretty-printers: Update reference to
4090 gen-py-const.awk.
4091
a8110b72
JM
4092 * scripts/glibcextract.py: New file.
4093 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4094 or tempfile. Import glibcexctract.
4095 (compute_c_consts): Remove. Moved to glibcextract.py.
4096 (gen_test): Update reference to compute_c_consts.
4097 (main): Likewise.
4098 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4099 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4100 * sysdeps/unix/sysv/linux/Makefile
4101 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4102 Redirect stderr as well as stdout.
4103
f9ba9eb8
RÁE
41042018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4105
4106 [BZ #19767]
4107 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4108 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4109 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4110 ALWAYS_USE_VSYSCALL.
4111 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4112 ALWAYS_USE_VSYSCALL.
4113 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4114 ALWAYS_USE_VSYSCALL.
4115
8d20a2f4
FW
41162018-12-10 Florian Weimer <fweimer@redhat.com>
4117
4118 [BZ #23972]
4119 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4120 offset instead of count for clarity. Fix typo in comment.
4121 (__old_getdents64): Keep track of previous offset. Use it to call
4122 handle_overflow.
4123 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4124 that d_off is never zero.
4125
80472e2f
AS
41262018-12-10 Andreas Schwab <schwab@suse.de>
4127
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4129 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4131 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4132 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4133
0afcb29d
JM
41342018-12-10 Joseph Myers <joseph@codesourcery.com>
4135
4136 * timezone/private.h: Update from tzcode 2018g.
4137 * timezone/tzfile.h: Likewise.
4138 * timezone/tzselect.ksh: Likewise.
4139 * timezone/zdump.c: Likewise.
4140 * timezone/zic.c: Likewise.
4141
b93f4052
PP
41422018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4143
4144 [BZ #23490]
4145 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4146 (do_test): Adjust buffer size and fix format.
4147
7c9a7c68
DD
41482018-12-07 DJ Delorie <dj@redhat.com>
4149
4150 [BZ #23907]
4151 * malloc/tst-tcfree3.c: New.
4152 * malloc/Makefile: Add it.
4153
37caec3a
L
41542018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4155
4156 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4157
10446f5d
GG
41582018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4159
4160 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4161 used as a mask for the mode argument of __vfscanf_internal and
4162 __vfwscanf_internal.
4163 * stdio-common/vfscanf-internal.c
4164 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4165 (__strtof128_internal): Define to __wcstof128_internal.
4166 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4167 __strtof128_internal or __wcstof128_internal when the format of
4168 long double is the same as _Float128.
4169
45f33aac
ST
41702018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4171
4172 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4173 * posix/confstr.c (confstr): Rename to __confstr.
4174 (__confstr): Add hidden def.
4175 (confstr): Add weak alias for __confstr.
4176 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4177 confstr.
4178
a092ca94
L
41792018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4180
4181 * NEWS: Mention getcpu.
4182 * include/sched.h (__getcpu): New libc_hidden_proto.
4183 * manual/resource.texi: Document getcpu.
4184 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4185 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4186 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4187 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4188 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4189 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4190 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4191 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4192 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4193 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4194 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4195 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4196 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4197 Likewise.
4198 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4199 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4200 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4202 Likewise.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4204 Likewise.
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4206 Likewise.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4208 Likewise.
4209 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4210 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4211 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4212 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4213 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4214 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4215 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4216 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4217 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4218 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4219 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4220 Also check getcpu.
4221
7c857b6f
ST
42222018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4223
4224 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4225 functions.
4226 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4227
3a3fb755
FW
42282018-12-07 Florian Weimer <fweimer@redhat.com>
4229
4230 [BZ #17405]
4231 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4232 * posix/Versions (GLIBC_2.29): Export
4233 posix_spawn_file_actions_addfchdir_np.
4234 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4235 * posix/spawn_faction_destroy.c
4236 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4237 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4238 and the field action.fchdir_action.
4239 * posix/tst-spawn-chdir.c (add_chdir): New function.
4240 (do_test): Add do_fchdir loop. Call add_chdir.
4241 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4242 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4243 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4244 posix_spawn_file_actions_addfchdir_np.
4245 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4246 Likewise.
4247 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4248 Likewise.
4249 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4250 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4251 Likewise.
4252 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4253 Likewise.
4254 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4255 Likewise.
4256 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4257 Likewise.
4258 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4259 Likewise.
4260 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4261 Likewise.
4262 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4263 (GLIBC_2.29): Likewise.
4264 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4265 (GLIBC_2.29): Likewise.
4266 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4267 (GLIBC_2.29): Likewise.
4268 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4269 (GLIBC_2.29): Likewise.
4270 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4271 Likewise.
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4273 (GLIBC_2.29): Likewise.
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4275 (GLIBC_2.29): Likewise.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4277 (GLIBC_2.29): Likewise.
4278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4279 (GLIBC_2.29): Likewise.
4280 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4281 Likewise.
4282 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4283 Likewise.
4284 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4285 Likewise.
4286 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4287 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4288 Likewise.
4289 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4290 Likewise.
4291 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4292 Likewise.
4293 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4294 Likewise.
4295
c37cd439
JM
42962018-12-06 Joseph Myers <joseph@codesourcery.com>
4297
4298 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4299 trailing whitespace removed.
4300 * scripts/config.guess: Update to version 2018-11-28.
4301 * scripts/config.sub: Update to version 2018-11-28.
4302 * scripts/install-sh: Update to version 2018-03-11.20.
4303 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4304 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4305
899478c2
FW
43062018-12-07 Florian Weimer <fweimer@redhat.com>
4307
4308 [BZ #23927]
4309 CVE-2018-19591
4310 * inet/tst-if_index-long.c: New file.
4311 * inet/Makefile (tests): Add tst-if_index-long.
4312
f255336a
FW
43132018-12-07 Florian Weimer <fweimer@redhat.com>
4314
4315 * support/check.h (support_record_failure_is_failed): Declare.
4316 * support/descriptors.h: New file.
4317 * support/support_descriptors.c: Likewise.
4318 * support/tst-support_descriptors.c: Likewise.
4319 * support/support_record_failure.c
4320 (support_record_failure_is_failed): New function.
4321 * support/Makefile (libsupport-routines): Add support_descriptors.
4322 (tests): Add tst-support_descriptors.
4323
35caceb1
ZW
43242018-12-05 Zack Weinberg <zackw@panix.com>
4325 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4326
4327 * stdio-common/vfprintf-internal.c
4328 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4329 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4330 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4331 and __no_long_double.
4332 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4333 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4334 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4335 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4336 and __nldbl_*syslog* functions.
4337 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4338 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4339 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4340 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4341 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4342 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4343 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4344 (__nldbl_vwprintf, __nldbl_wprintf):
4345 Directly call the appropriate __v*printf_internal routine, passing
4346 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4347 variable names.
4348 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4349 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4350 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4351 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4352 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4353 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4354 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4355 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4356 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4357 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4358 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4359 (__nldbl_syslog, __nldbl_vsyslog):
4360 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4361 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4362 appropriate.
4363 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4364 appropriate.
4365
4e2f43f8
ZW
43662018-12-05 Zack Weinberg <zackw@panix.com>
4367 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4368
4369 [BZ #11319]
4370 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4371 Moved here from debug/vsprintf_chk.c.
4372 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4373 and completion logic for the strfile to match exactly what
4374 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4375 _IO_str_init_static_internal instead of maxlen-1.
4376 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4377 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4378 __vsprintf_internal.
4379
4380 * debug/vsprintf_chk.c (__vsprintf_chk)
4381 * debug/sprintf_chk.c (__sprintf_chk):
4382 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4383 'flags' argument is positive, and slen as maxlen. No need to lock
4384 the FILE and/or construct a temporary FILE. Minimize and normalize
4385 header inclusions and variable names. Do not libc_hidden_def anything.
4386
4387 * debug/asprintf_chk.c (__asprintf_chk)
4388 * debug/dprintf_chk.c (__dprintf_chk)
4389 * debug/fprintf_chk.c (__fprintf_chk)
4390 * debug/fwprintf_chk.c (__fwprintf_chk)
4391 * debug/printf_chk.c (__printf_chk)
4392 * debug/snprintf_chk.c (__snprintf_chk)
4393 * debug/swprintf_chk.c (__swprintf_chk)
4394 * debug/vasprintf_chk.c (__vasprintf_chk)
4395 * debug/vdprintf_chk.c (__vdprintf_chk)
4396 * debug/vfprintf_chk.c (__vfprintf_chk)
4397 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4398 * debug/vprintf_chk.c (__vprintf_chk)
4399 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4400 * debug/vswprintf_chk.c (__vswprintf_chk)
4401 * debug/vwprintf_chk.c (__vwprintf_chk)
4402 * debug/wprintf_chk.c (__wprintf_chk):
4403 Directly call the corresponding vxxprintf_internal function, passing
4404 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4405 the FILE and/or construct a temporary FILE. Minimize and normalize
4406 header inclusions and variable names. Do not libc_hidden_def anything.
4407
4408 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4409 __obstack_vprintf_internal.
4410 (__obstack_vprintf_chk): Convert into a wrapper that calls
4411 __obstack_vprintf_internal (these two functions already had the
4412 same code) and move to new file...
4413 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4414 file.
4415 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4416 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4417 * debug/Makefile (routines): Add vobprintf_chk.
4418
4419 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4420 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4421 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4422 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4423 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4424 (__nldbl___obstack_vfprintf_chk):
4425 Directly call the corresponding vxxprintf_internal function,
4426 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4427 duplicate comparison of slen with 0 or maxlen from the corresponding
4428 non-__nldbl function.
4429
4430 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4431 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4432 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4433 Remove libc_hidden_proto.
4434
4435 * stdio-common/vfprintf-internal.c
4436 (__vfprintf_internal, __vfwprintf_internal):
4437 Do not check _IO_FLAGS2_FORTIFY.
4438 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4439 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4440 a comment explaining why it has the maxlen argument.
4441 (_IO_acquire_lock_clear_flags2_fct): Remove.
4442 (_IO_acquire_lock_clear_flags2): Remove.
4443 (_IO_release_lock): Remove conditional statement which will
4444 now never execute.
4445 (_IO_acquire_lock): Remove variable which is now unused.
4446 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4447 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4448
4449 * stdio-common/Makefile (tests): Add tst-bz11319 and
4450 tst-bz11319-fortify2.
4451 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4452 * stdio-common/tst-bz11319-fortify2.c: New file.
4453 * stdio-common/tst-bz11319.c: Likewise.
4454
124fc732
ZW
44552018-12-05 Zack Weinberg <zackw@panix.com>
4456 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4457
4458 * misc/syslog.c: Include libioP.h, not iolibio.h.
4459 (__vsyslog_internal): New function with the former body of
4460 __vsyslog_chk; takes mode_flags argument same as
4461 __v*printf_internal. Call __vfprintf_internal directly.
4462
4463 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4464 Remove libc_hidden_def.
4465 (__syslog, __syslog_chk): Use __vsyslog_internal.
4466 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4467
4468 * include/sys/syslog.h: Add multiple inclusion guard.
4469 Add prototype for __vsyslog_internal.
4470 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4471
4472 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4473 Use __vsyslog_internal.
4474
698fb75b
ZW
44752018-12-05 Zack Weinberg <zackw@panix.com>
4476 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4477
4478 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4479 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4480 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4481 New functions.
4482 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4483 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4484
4485 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4486 Include wctype.h here if COMPILE_WPRINTF is defined.
4487 Define __vfprintf_internal or __vfwprintf_internal, depending
4488 on COMPILE_WPRINTF.
4489 Temporarily, on entry to this function, update mode_flags
4490 according to the environmental settings corresponding to
4491 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4492 Throughout, check mode_flags instead of __ldbl_is_dbl and
4493 _IO_FLAGS2_FORTIFY on the destination FILE.
4494 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4495 Include vfprintf-internal.c. Don't include wctype.h.
4496 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4497 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4498 and vfprintf.
4499 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4500 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4501 and vfwprintf.
4502 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4503
4504 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4505 and add mode_flags argument; use __vfprintf_internal.
4506 (__vdprintf): New function. Alias vdprintf to this.
4507 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4508 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4509 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4510 (__obstack_printf): Use __obstack_printf_internal.
4511 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4512 public aliases __vsnprintf and vsnprintf.
4513 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4514 called internally.
4515 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4516 public aliases _IO_vsprintf and vsprintf.
4517 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4518 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4519 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4520 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4521 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4522
4523 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4524 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4525 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4526 * stdio-common/printf.c: Use __vfprintf_internal.
4527
4528 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4529 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4530 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4531
4532 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4533 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4534 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4535 __vfwprintf_internal.
4536
4537 * libio/libio.h: Remove libc_hidden_proto and declaration for
4538 _IO_vfprintf.
4539 Remove declaration of _IO_vfwprintf.
4540 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4541 _IO_vsprintf.
4542 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4543 _IO_obstack_printf.
4544 * include/stdio.h: Add prototype for __vasprintf.
4545 (__vsnprintf): Remove declaration, because there are no more
4546 internal calls.
4547 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4548 declaration, because there are no more internal calls.
4549
4550 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4551 __vsnprintf_internal, instead of _IO_vsnprintf.
4552 * argp/argp-help.c (__argp_error, __argp_failure): Use
4553 __vasprintf_internal, instead of _IO_vasprintf.
4554 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4555 redefine, because there are no more internal calls.
4556
d91798b3
ZW
45572018-12-05 Zack Weinberg <zackw@panix.com>
4558 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4559
4560 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4561 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4562 Include libio/strfile.h instead of libioP.h.
4563 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4564 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4565 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4566 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4567 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4568 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4569 necessary. Do not set __no_long_double. Normalize variable names.
4570 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4571 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4572 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4573 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4574 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4575 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4576 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4577 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4578 Do not set __no_long_double. Normalize variable names.
4579
b87eb3f8
ZW
45802018-12-05 Zack Weinberg <zackw@panix.com>
4581 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4582
4583 * stdio-common/isoc99_scanf.c
4584 * stdio-common/isoc99_fscanf.c
4585 * stdio-common/isoc99_sscanf.c
4586 * stdio-common/isoc99_vscanf.c
4587 * stdio-common/isoc99_vfscanf.c
4588 * stdio-common/isoc99_vsscanf.c
4589 * wcsmbs/isoc99_wscanf.c
4590 * wcsmbs/isoc99_fwscanf.c
4591 * wcsmbs/isoc99_swscanf.c
4592 * wcsmbs/isoc99_vwscanf.c
4593 * wcsmbs/isoc99_vfwscanf.c
4594 * wcsmbs/isoc99_vswscanf.c:
4595 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4596 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4597 No need to lock and unlock the FILE passed to that function.
4598
4599 * stdio-common/vfscanf-internal.c
4600 (__vfscanf_internal, __vfwscanf_internal):
4601 Don't look at _IO_FLAGS2_SCANF_STD.
4602 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4603 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4604 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4605
349718d4
ZW
46062018-12-05 Zack Weinberg <zackw@panix.com>
4607 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4608
4609 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4610 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4611 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4612 * libio/strfile.h: Add multiple inclusion guard.
4613 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4614
4615 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4616 consistency with the other version of this file.
4617 (ldbl_compat_symbol): New macro.
4618 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4619 New macro.
4620
4621 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4622 Define __vfscanf_internal or __vfwscanf_internal, depending on
4623 COMPILE_WSCANF; don't define any other public symbols.
4624 Remove errval and code to set errp.
4625 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4626 as the mode_flags argument.
4627 (encode_error, conv_error, input_error): Don't set errval.
4628 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4629 Include vfscanf-internal.c.
4630 * stdio-common/vfscanf.c: New file defining the public entry
4631 point vfscanf, which calls __vfscanf_internal.
4632 * stdio-common/vfwscanf.c: New file defining the public entry
4633 point vfwscanf, which calls __vfwscanf_internal.
4634
4635 * stdio-common/iovfscanf.c: New file.
4636 * stdio-common/iovfwscanf.c: Likewise.
4637
4638 * stdio-common/Makefile (routines): Add vfscanf-internal,
4639 vfwscanf-internal, iovfscanf, iovfwscanf.
4640 * stdio-common/Versions: Mention GLIBC_2.29, so that
4641 it can be used in SHLIB_COMPAT expressions.
4642 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4643 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4644 Call __vfscanf_internal, instead of _IO_vfscanf.
4645 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4646 _IO_vfscanf.
4647 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4648 _IO_vfwscanf.
4649
4650 * libio/iovsscanf.c: Clean up includes, when possible. Use
4651 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4652 __vfscanf_internal or __vfwscanf_internal directly.
4653 * libio/iovswscanf.c: Likewise.
4654 * libio/swscanf.c: Likewise.
4655 * libio/vscanf.c: Likewise.
4656 * libio/vwscanf.c: Likewise.
4657 * libio/wscanf.c: Likewise.
4658 * stdio-common/isoc99_fscanf.c: Likewise.
4659 * stdio-common/isoc99_scanf.c: Likewise.
4660 * stdio-common/isoc99_sscanf.c: Likewise.
4661 * stdio-common/isoc99_vfscanf.c: Likewise.
4662 * stdio-common/isoc99_vscanf.c: Likewise.
4663 * stdio-common/isoc99_vsscanf.c: Likewise.
4664 * stdio-common/scanf.c: Likewise.
4665 * stdio-common/sscanf.c: Likewise.
4666 * wcsmbs/isoc99_fwscanf.c: Likewise.
4667 * wcsmbs/isoc99_swscanf.c: Likewise.
4668 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4669 * wcsmbs/isoc99_vswscanf.c: Likewise.
4670 * wcsmbs/isoc99_vwscanf.c: Likewise.
4671 * wcsmbs/isoc99_wscanf.c: Likewise.
4672
72b8692d
AA
46732018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4674
4675 * include/time.h
4676 (__tz_compute): Replace time_t with __time64_t.
4677 (__tz_convert): Replace time_t* with __time64_t.
4678 (__offtime): Replace time_t* with __time64_t.
4679 * time/gmtime.c
4680 (__gmtime_r): Adjust call to __tz_convert.
4681 (gmtime): Likewise.
4682 * time/localtime.c
4683 (__localtime_r): Likewise.
4684 (localtime): Likewise.
4685 * time/offtime.c: Replace time_t with __time64_t.
4686 * time/tzset.c: Likewise.
4687
bd598da9
JM
46882018-12-04 Joseph Myers <joseph@codesourcery.com>
4689
4690 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4691 dynamic linker unless [$(run-built-tests) = yes].
4692
b2e93de0
DD
46932018-12-03 DJ Delorie <dj@delorie.com>
4694
4695 * support/test-container.c (check_for_unshare_hints): New.
4696 (main): Call it if unshare fails. Add support for "su" scriptlet
4697 command.
4698
477a02f6
JM
46992018-12-03 Joseph Myers <joseph@codesourcery.com>
4700
4701 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4702 'START' to indicate that start text should be output.
4703 (gen_test): Likewise.
4704 (main): Generate 'START' for first symbol or '--' line, or at end
4705 of input if not previously generated.
4706
6af956e5
RÁE
47072018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4708
4709 [BZ #19767]
4710 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4711 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4712 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4713 ALWAYS_USE_VSYSCALL.
4714
f5ec0ea9
AZ
47152018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4716
4717 [BZ #23913]
4718 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4719 new_argv by one.
4720
8cebd4ff
CD
47212018-12-03 Carlos O'Donell <carlos@redhat.com>
4722
4723 [BZ #23923]
4724 * locale/programs/localedef.c: Declare boolean hard_links default true.
4725 (options): Add --no-hard-links option.
4726 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4727 * locale/programs/localedef.h: Declare prototype for hard_links.
4728 * locale/programs/locfile.c (write_locale_data): Don't use hard
4729 links if hard_links is false.
4730
c22e4c2a
L
47312018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4732
4733 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4734 cpu_features_basic.
4735 (__cache_sysconf): Likewise.
4736 (init_cacheinfo): Likewise.
4737 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4738 populate COMMON_CPUID_INDEX_80000007 and
4739 COMMON_CPUID_INDEX_80000008.
4740 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4741 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4742 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4743 (init_cpu_features): Use _Static_assert on
4744 index_arch_Fast_Unaligned_Load.
4745 __get_cpuid_registers and __get_arch_feature. Updated for
4746 cpu_features_basic. Set stepping in cpu_features.
4747 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4748 (FEATURE_INDEX_2): New.
4749 (FEATURE_INDEX_MAX): Changed to enum.
4750 (COMMON_CPUID_INDEX_D_ECX_1): New.
4751 (COMMON_CPUID_INDEX_80000007): Likewise.
4752 (COMMON_CPUID_INDEX_80000008): Likewise.
4753 (cpuid_registers): Likewise.
4754 (cpu_features_basic): Likewise.
4755 (CPU_FEATURE_USABLE): Likewise.
4756 (bit_arch_XXX_Usable): Likewise.
4757 (cpu_features): Use cpuid_registers and cpu_features_basic.
4758 (bit_arch_XXX): Reweritten.
4759 (bit_cpu_XXX): Likewise.
4760 (index_cpu_XXX): Likewise.
4761 (reg_XXX): Likewise.
4762 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4763 <support/check.h>.
4764 (CHECK_CPU_FEATURE): New.
4765 (CHECK_CPU_FEATURE_USABLE): Likewise.
4766 (cpu_kinds): Likewise.
4767 (do_test): Print vendor, family, model and stepping. Check
4768 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4769 (TEST_FUNCTION): Removed.
4770 Include <support/test-driver.c> instead of
4771 "../../test-skeleton.c".
4772 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4773 Check POPCNT instead of POPCOUNT.
4774 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4775
7b36d26b
ST
47762018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4777
4778 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4779 there is no element in `consts'.
4780
02cd5c1a
FW
47812018-12-01 Florian Weimer <fweimer@redhat.com>
4782
4783 * support/support_capture_subprocess.c
4784 (support_capture_subprocess): Check that pipe descriptors have
4785 expected values. Close original pipe descriptors in subprocess.
4786
fc493bc9
ST
47872018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4788
4789 [BZ #23032]
4790 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4791 attr with __pthread_default_barrierattr.
4792 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4793 attr with __pthread_default_condattr.
4794 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4795 attr with __pthread_default_mutexattr.
4796 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4797 attr with __pthread_default_rwlockattr.
4798
6310e6be
KW
47992018-12-01 Kemi Wang <kemi.wang@intel.com>
4800
4801 * manual/tunables.texi (POSIX Thread Tunables): New node.
4802 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4803 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4804 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4805 __pthread_tunables_init.
4806 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4807 (max_adaptive_count): Define.
4808 * nptl/pthread_mutex_conf.c: New file.
4809 * nptl/pthread_mutex_conf.h: New file.
4810 * sysdeps/generic/adaptive_spin_count.h: New file.
4811 * sysdeps/nptl/dl-tunables.list: New file.
4812 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4813 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4814 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4815 Likewise.
4816
8e67b39e
PP
48172018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4818
4819 [BZ #20544]
4820 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4821 * stdlib/on_exit.c (__on_exit): Likewise.
4822 * stdlib/Makefile (tests): Add tst-bz20544.
4823 * stdlib/tst-bz20544.c: New test.
4824
15b8d67e
RÁE
48252018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4826
4827 [BZ #19767]
4828 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4829 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4830 New.
4831
5e63c240
FW
48322018-11-30 Florian Weimer <fweimer@redhat.com>
4833
4834 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4835 Extend error logging.
4836 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4837 symbol.
4838
71058602 48392018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 4840
5fb7fc96
AZ
4841 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4842 __sigismember instead of sigismember.
4843 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4844 cancel_handler): New definitions.
4845 (do_system): Use posix_spawn instead of fork and execl and remove
4846 reentracy code.
4847 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4848 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4849 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4850 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4851 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4852 * sysdeps/unix/sysv/linux/system.c: Likewise.
4853
14d0e87d
AZ
4854 [BZ #22834]
4855 [BZ #17490]
4856 * NEWS: Add new semantic for atfork with popen and system.
4857 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4858 fork and execl.
4859
e5d262ef
TMQMF
48602018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4861
4862 [BZ #23690]
4863 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4864 modification order when accessing reloc_result->addr.
4865 * include/link.h (reloc_result): Add field init.
4866 * nptl/Makefile (tests): Add tst-audit-threads.
4867 (modules-names): Add tst-audit-threads-mod1 and
4868 tst-audit-threads-mod2.
4869 Add rules to build tst-audit-threads.
4870 * nptl/tst-audit-threads-mod1.c: New file.
4871 * nptl/tst-audit-threads-mod2.c: Likewise.
4872 * nptl/tst-audit-threads.c: Likewise.
4873 * nptl/tst-audit-threads.h: Likewise.
4874
7e1d4240
JM
48752018-11-30 Joseph Myers <joseph@codesourcery.com>
4876
4877 * scripts/gen-as-const.py: New file.
4878 * scripts/gen-as-const.awk: Remove.
4879 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4880 gen-as-const.py.
4881 ($(objpfx)test-as-const-%.c): Likewise.
4882
ce7387cc
L
48832018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4884
4885 * elf/dl-exception.c: Include <_itoa.h>.
4886
c6a5bdc1
ST
48872018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4888
4889 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4890 returned by __f_setlk.
4891
a5275ba5
L
48922018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4893 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4894
4895 * elf/Makefile (tests-internal): Add tst-create_format1.
4896 * elf/dl-exception.c (_dl_exception_create_format): Support
4897 %x, %lx and %zx.
4898 * elf/tst-create_format1.c: New file.
4899
3a67e81d
CAC
49002018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4901
4902 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4903 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4904 gnulib.)
4905 * argp/argp-help.c (__argp_failure): Likewise.
4906
4975f0c3
MH
49072018-11-29 Mao Han <han_mao@c-sky.com>
4908
4909 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4910 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4911 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4912 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4913 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4914 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4915 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4916 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4917 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4918 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4919 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4920 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4921 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4922 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4923 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4924 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4925 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4926 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4927 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4928 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4929 (R_CKCORE_TLS_TPOFF32): New defines.
4930
250102c8
FW
49312018-11-29 Florian Weimer <fweimer@redhat.com>
4932
4933 * posix/Makefile (before-compile): Remove testcases.h and
4934 ptestcases.h.
4935 (generated): Add testcases.h and ptestcases.h.
4936 (testcases.h, ptestcases.h): Move to $(objpfx).
4937 (runtests.o): Add dependency on testcases.h.
4938 (runptests.o): Add dependency on ptestcases.h.
4939 * posix/testcases.h, posix/ptestcases.h: Remove files.
4940 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4941 not touch posix/testcases.h and posix/ptestcases.h.
4942
96cd0558
FW
49432018-11-28 Florian Weimer <fweimer@redhat.com>
4944
4945 support: Add signal support to support_capture_subprocess_check.
4946 * support/capture_subprocess.h (support_capture_subprocess_check):
4947 Adjust comment and rename parameter.
4948 * support/support_capture_subprocess_check.c
4949 (print_actual_status): New function.
4950 (support_capture_subprocess_check): Support negative
4951 status_or_signal. Call print_actual_status.
4952 * support/tst-support_capture_subprocess.c (do_test): Call
4953 support_capture_subprocess_check.
4954 * libio/tst-vtables-common.c (termination_status)
4955 (init_termination_status): Remove.
4956 (check_for_termination): Adjust support_capture_subprocess_check
4957 call.
4958 (do_test): Remove call to init_termination_status.
4959
530504e3
JM
49602018-11-28 Joseph Myers <joseph@codesourcery.com>
4961
4962 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4963 source directory instead of a copy.
4964 (CommandList.create_copy_dir): Remove.
4965
9a0b6970
SL
49662018-11-28 Stefan Liebler <stli@linux.ibm.com>
4967
4968 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4969
47d8d9a2
FW
49702018-11-28 Florian Weimer <fweimer@redhat.com>
4971
4972 * support/support.h (support_quote_string): Do not use str
4973 parameter name.
4974
b473b7d8
JM
49752018-11-27 Joseph Myers <joseph@codesourcery.com>
4976
4977 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4978 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4979
c74a91de
FW
49802018-11-27 Florian Weimer <fweimer@redhat.com>
4981
4982 * support/support.h (support_quote_string): Declare.
4983 * support/support_quote_string.c: New file.
4984 * support/tst-support_quote_string.c: Likewise.
4985 * support/Makefile (libsupport-routines): Add
4986 support_quote_string.
4987 (tests): Add tst-support_quote_string.
4988
d527c860
FW
49892018-11-27 Florian Weimer <fweimer@redhat.com>
4990
4991 [BZ #23927]
4992 CVE-2018-19591
4993 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4994 descriptor leak in case of ENODEV error.
4995
979cfed0
RÁE
49962018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4997
4998 [BZ #19767]
4999 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5000 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5001 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5002
ce035c6e
CD
50032018-11-26 Carlos O'Donell <carlos@redhat.com>
5004
5005 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5006 Error for unknown lines.
5007
2bd0bfcc
JM
50082018-11-26 Joseph Myers <joseph@codesourcery.com>
5009
5010 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5011 Touch additional files.
5012
affec03b
FW
50132018-11-26 Florian Weimer <fweimer@redhat.com>
5014
5015 [BZ #23907]
5016 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5017 double-frees.
5018
8ae74ead
RÁE
50192018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5020
5021 [BZ #19767]
5022 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5023 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5024 SHARED. Include sysdep.h.
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5026 ALWAYS_USE_VSYSCALL.
5027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5028 ALWAYS_USE_VSYSCALL.
5029
1e8bdc3a
RÁE
50302018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5031
5032 [BZ #19767]
5033 * nptl/Makefile (tests-static): Add tst-cond11-static.
5034 (tests): Likewise.
5035 * nptl/tst-cond11-static.c: New File.
5036 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5037 tst-affinity-static.
5038 (tests): Likewise.
5039 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5040 instead of SHARED.
5041 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5042 (USE_VSYSCALL): Likewise.
5043 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5044 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5045 instead of SHARED.
5046 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5047 SHARED.
5048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5049 New.
5050
1283c478
JM
50512018-11-23 Joseph Myers <joseph@codesourcery.com>
5052
5053 [BZ #23915]
5054 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5055 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5056 Undefine.
5057
c089fd80
L
50582018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5059
5060 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5061 (tst-cet-legacy-1a-ARGS): New.
5062 ($(objpfx)tst-cet-legacy-1a): New target.
5063 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5064
cc6c89fa
JM
50652018-11-22 Joseph Myers <joseph@codesourcery.com>
5066
95edd05c
JM
5067 * conform/conformtest.py (CompileSubTest.__init__): Set
5068 self.run_early to False.
5069 (ExecuteSubTest.__init__): Likewise.
5070 (HeaderTests.run): Try running all non-optional, non-XFAILed
5071 compilation tests in a single execution of the compiler.
5072
cc6c89fa
JM
5073 * conform/conformtest.py (CompileSubTest): New class.
5074 (ExecuteSubTest): Likewise.
5075 (ElementTest.run): Rename to gen_subtests. Append tests to
5076 self.subtests instead of running them.
5077 (ConstantTest.run): Likewise.
5078 (SymbolTest.run): Likewise.
5079 (TypeTest.run): Likewise.
5080 (TagTest.run): Likewise.
5081 (FunctionTest.run): Likewise.
5082 (VariableTest.run): Likewise.
5083 (MacroFunctionTest.run): Likewise.
5084 (MacroStrTest.run): Likewise.
5085 (HeaderTests.handle_test_line): Generate subtests for tests.
5086 (HeaderTests.run): Run subtests for tests.
5087
a502c529
SN
50882018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5089
5090 * math/Versions (GLIBC_2.29): Add pow.
5091 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5092 symbol.
5093 * math/w_pow.c: New file.
5094 * sysdeps/i386/fpu/w_pow.c: New file.
5095 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5097 and add necessary aliases.
5098 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5099 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5100 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5101 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5102 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5103 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5104 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5105 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5106 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5107 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5108 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5109 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5110 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5111 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5112 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5117 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5118 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5119 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5120 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5121 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5122 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5123 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5124 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5125 __pow.
5126 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5127 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5128 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5129
718d6542
SN
51302018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5131
5132 * math/Versions (GLIBC_2.29): Add log2.
5133 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5134 symbol.
5135 * math/w_log2.c: New file.
5136 * sysdeps/i386/fpu/w_log2.c: New file.
5137 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5138 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5139 and add necessary aliases.
5140 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5141 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5142 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5143 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5144 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5145 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5146 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5147 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5148 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5149 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5150 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5151 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5152 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5153 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5154 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5159 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5160 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5161 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5162 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5163 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5164 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5165 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5166
f29b7c49
SN
51672018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5168
5169 * math/Versions (GLIBC_2.29): Add log.
5170 * math/w_log_compat.c (__log_compat): Change to versioned compat
5171 symbol.
5172 * math/w_log.c: New file.
5173 * sysdeps/i386/fpu/w_log.c: New file.
5174 * sysdeps/ia64/fpu/e_log.S: Update.
5175 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5176 and add necessary aliases.
5177 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5178 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5179 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5180 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5181 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5182 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5183 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5184 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5185 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5186 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5187 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5188 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5189 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5190 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5191 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5196 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5197 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5198 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5199 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5200 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5201 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5202 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5203 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5204 __log.
5205 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5206 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5207 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5208 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5209
c20a1056
SN
52102018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5211
5212 * math/Versions (GLIBC_2.29): Add exp and exp2.
5213 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5214 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5215 * math/w_exp_compat.c (__exp_compat): Likewise.
5216 * math/w_exp.c: New file.
5217 * math/w_exp2.c: New file.
5218 * sysdeps/i386/fpu/w_exp.c: New file.
5219 * sysdeps/i386/fpu/w_exp2.c: New file.
5220 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5221 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5222 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5223 and add necessary aliases.
5224 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5225 and add necessary aliases.
5226 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5227 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5228 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5229 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5230 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5231 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5232 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5233 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5234 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5235 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5236 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5237 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5238 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5239 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5240 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5241 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5242 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5247 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5248 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5249 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5250 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5251 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5252 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5253 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5254 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5255 (__ieee754_exp): Rename to __exp.
5256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5257 (__ieee754_exp): Rename to __exp.
5258 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5259 (__ieee754_exp): Rename to __exp.
5260 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5261 __exp.
5262 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5263
bcdaad21
DD
52642018-11-20 DJ Delorie <dj@redhat.com>
5265
5266 * malloc/malloc.c (tcache_entry): Add key field.
5267 (tcache_put): Set it.
5268 (tcache_get): Likewise.
5269 (_int_free): Check for double free in tcache.
5270 * malloc/tst-tcfree1.c: New.
5271 * malloc/tst-tcfree2.c: New.
5272 * malloc/Makefile: Run the new tests.
5273 * manual/probes.texi: Document memory_tcache_double_free probe.
5274
5275 * dlfcn/dlerror.c (check_free): Prevent double frees.
5276
5770c0ad
WD
52772018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5278
5279 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5280
9a62a939
JM
52812018-11-20 Joseph Myers <joseph@codesourcery.com>
5282
5283 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5284 in tests. Use names for format arguments.
5285 (ConstantTest.run): Likewise.
5286 (SymbolTest.run): Likewise.
5287 (TypeTest.run): Likewise.
5288 (TagTest.run): Likewise.
5289 (FunctionTest.run): Likewise.
5290 (VariableTest.run): Likewise.
5291 (MacroFunctionTest.run): Likewise.
5292 (MacroStrTest.run): Likewise.
5293 (HeaderTests.__init__): Set self.num_tests.
5294 (HeaderTests.handle_test_line): Set test.num. Increment
5295 self.num_tests.
5296
b15b1a95
ST
52972018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5298
5299 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5300 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5301 SEEK_SET.
5302
0c7f97ae
MH
53032018-11-19 Mao Han <han_mao@c-sky.com>
5304
5305 * scripts/config.guess: Update to version 2018-08-29.
5306 * scripts/config.sub: Update to version 2018-08-29.
5307
35e3fbc4
FW
53082018-11-19 Florian Weimer <fweimer@redhat.com>
5309
5310 support: Print timestamps in timeout handler.
5311 * support/support_test_main.c (print_timestamp): New function.
5312 (signal_handler): Use it to print the termination time and the
5313 time of the last write to standard output.
5314
c75772e3
ZW
53152018-11-16 Zack Weinberg <zackw@panix.com>
5316 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5317
5318 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5319 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5320 argument.
5321 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5322 and add flags argument. Check flags instead of __ldbl_is_dbl when
5323 deciding whether to set is_long_double.
5324 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5325 passing zero for flags argument.
5326 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5327
5328 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5329 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5330 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5331 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5332 variable names. Remove libc_hidden_def/libc_hidden_proto from
5333 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5334 longer called from within the library.
5335 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5336 for __nldbl___vstrfmon_l, declare it explicitly.
5337
5338 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5339
346ef23f
ST
53402018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5341
5342 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5343 macros
5344 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5345 F_SETLK64, F_SETLKW64, respectively.
5346 * sysdeps/mach/hurd/f_setlk.c: New file.
5347 * sysdeps/mach/hurd/f_setlk.h: New file.
5348 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5349 f_setlk.
5350 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5351 (__libc_fcntl): Move non-flock operations to...
5352 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5353 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5354
de20b81a
PE
53552018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5356
5d8af156
PE
5357 mktime: DEBUG_MKTIME cleanup
5358 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5359 And it’s no longer needed now that glibc and Gnulib both have
5360 their own testing mechanisms for mktime.
5361 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5362
86aece3b
PE
5363 mktime: fix non-EOVERFLOW errno handling
5364 [BZ#23789]
5365 mktime was not properly reporting failures when the underlying
5366 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5367 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5368 The problem could happen on non-glibc platforms, with Gnulib.
5369 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5370 (tm_diff): ... this simpler function, which does not change errno.
5371 All callers changed to deal with errno themselves.
5372 (ranged_convert, __mktime_internal): Return failure immediately if
5373 the underlying function reports any failure other than EOVERFLOW.
5374 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5375 gap code fails.
5376
f6b3331b
PE
5377 mktime: fix bug with Y2038 DST transition
5378 [BZ#23789]
5379 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5380 mishandle a DST transition that jumps over the Y2038 boundary.
5381 No such DST transitions are known so this is only a theoretical
5382 bug, but we might as well do things right.
5383
efbdddc3
PE
5384 mktime: make more room for overflow
5385 [BZ#23789]
5386 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5387 This is so that we can add tm_diff results to a previous guess,
5388 which will be useful in a later patch.
5389
6c90d759
PE
5390 mktime: simplify offset guess
5391 [BZ#23789]
5392 * time/mktime.c (__mktime_internal): Omit excess precision.
5393
32c12f3f
PE
5394 mktime: new test for mktime failure
5395 [BZ#23789]
5396 Based on a test suggested by Albert Aribaud in:
5397 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5398 * time/Makefile (tests): Add bug-mktime4.
5399 * time/bug-mktime4.c: New file.
5400
de20b81a
PE
5401 mktime: fix EOVERFLOW bug
5402 [BZ#23789]
5403 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5404 Include libc-config.h, not config.h, for __set_errno.
5405 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5406
8c6c3fb0
ST
54072018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5408
5409 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5410 __attribute_copy__ to copy attributes from name. Drop static qualifier
5411 to avoid warnings about leaf attribute not having effect on static
5412 functions.
5413
6923f6db
FW
54142018-11-13 Florian Weimer <fweimer@redhat.com>
5415
5416 * malloc/malloc.c (fastbin_push_entry): New function.
5417 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5418 (REMOVE_FB): Remove macro.
5419 (_int_malloc): Use fastbin_pop_entry and reindent.
5420 (_int_free): Use fastbin_push_entry.
5421 (malloc_consolidate): Use atomic_exchange_acquire.
5422
53f5c659
JM
54232018-11-13 Joseph Myers <joseph@codesourcery.com>
5424
0c096dcf
JM
5425 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5426 alias attribute, not with strong_alias.
5427
9c4b457e
JM
5428 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5429 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5430 with additional parameter thread.
5431 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5432 in terms of __hidden_ver2.
5433 (hidden_tls_def): New macro.
5434 (libc_hidden_tls_def): Likewise.
5435 (rtld_hidden_tls_def): Likewise.
5436 (libm_hidden_tls_def): Likewise.
5437 (libmvec_hidden_tls_def): Likewise.
5438 (libresolv_hidden_tls_def): Likewise.
5439 (librt_hidden_tls_def): Likewise.
5440 (libdl_hidden_tls_def): Likewise.
5441 (libnss_files_hidden_tls_def): Likewise.
5442 (libnsl_hidden_tls_def): Likewise.
5443 (libnss_nisplus_hidden_tls_def): Likewise.
5444 (libutil_hidden_tls_def): Likewise.
5445 (libutil_hidden_tls_def): Likweise.
5446 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5447 libc_hidden_tls_def.
5448 (__sim_disabled_exceptions_thread): Likewise.
5449 (__sim_round_mode_thread): Likewise.
5450
53f5c659
JM
5451 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5452 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5453 copy attributes from name.
5454
092dfde6
JM
54552018-11-12 Joseph Myers <joseph@codesourcery.com>
5456
f578f97b
JM
5457 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5458 Use __attribute_copy__ to copy attributes from name.
5459
9a7c643a
JM
5460 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5461 with __hidden_ver1 call.
5462 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5463 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5464 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5465 (__cosf): Do not declare here.
5466 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5467 (__sincosf): Do not declare here.
5468 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5469 (__sinf): Do not declare here.
5470
092dfde6
JM
5471 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5472 (__BIG_ENDIAN): Likewise.
5473 (__BYTE_ORDER): Likewise.
5474 (strong_alias): Likewise.
5475 (_strong_alias): Likewise.
5476
1ecba1fa
FW
54772018-11-12 Florian Weimer <fweimer@redhat.com>
5478
5479 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5480 function. Move after the definition of in_smallbin_range. Do not
5481 use __builtin_expect for paths that lead to a noreturn function.
5482 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5483 because it is unclear whether this is in fact an unlikely
5484 condition.
5485 (_int_malloc, _int_free): Adjust.
5486 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5487 variables.
5488 * malloc/arena.c (heap_trim): Likewise.
5489
434c34bd
ST
54902018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5491
5492 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5493 it, free it if needed.
5494 (reauthenticate): Test and use ccwdir.
5495 (child_init_port): In non-resetids case, test and use ccwdir.
5496 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
5497 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5498 * hurd/hurd/port.h (_hurd_port_move): New function.
5499 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5500 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
5501 * hurd/Versions (_hurd_port_move): Export function.
5502 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5503 symbol.
58bb655a
ST
5504 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5505 of dtablesize for allocating dtable_cloexec.
434c34bd 5506
1626a1cf
MS
55072018-11-09 Martin Sebor <msebor@redhat.com>
5508
5509 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5510 it's already defined.
5511 (_strong_alias): Use __attribute_copy__.
5512 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5513 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5514 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5515 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5516 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5517 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5518 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5519 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5520 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5521 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5522 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5523 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5524 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5525 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5526 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5527 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5528 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5529 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5530 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5531
968ed530
GG
55322018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5533
5534 * misc/tst-efgcvt.c: Include support/check.h and
5535 support/test-driver.c. Do not include test-skeleton.c.
5536 (error_count): Remove.
5537 (output_error): Replace increments to error_count with calls to
5538 support_record_failure.
5539 (output_r_error): Likewise.
5540 (special): Likewise.
5541 (do_test): Unconditionally return zero.
5542 (TEST_FUNCTION): Remove.
5543
c3ec0972
JM
55442018-11-09 Joseph Myers <joseph@codesourcery.com>
5545
91faaa93
JM
5546 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5547 not $(@D)/scratch.
5548 ($(linknamespace-header-tests)): Likewise.
5549
c3ec0972
JM
5550 * conform/conformtest.py: New file.
5551 * conform/conformtest.pl: Remove.
5552 * conform/GlibcConform.pm: Likewise.
5553 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5554 (KEYWORDS_C99): Likewise.
5555 (KEYWORDS): Likewise.
5556 * conform/Makefile ($(conformtest-header-tests)): Use
5557 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5558 option. Use --header instead of --headers.
5559 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5560 function entries.
5561 * conform/data/spawn.h-data: Likewise.
5562 * conform/data/fcntl.h-data (openat): Add space after function
5563 name.
5564 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5565 (wcscasecmp_l): Likewise.
5566 * conform/data/termios.h-data (c_cc): Add space after element
5567 name.
5568
43257c33
GG
55692018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5570
5571 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5572 instead of manually comparing and reporting mismatching strings.
5573 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5574 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5575
e5de3b5b
JM
55762018-11-08 Joseph Myers <joseph@codesourcery.com>
5577
5578 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5579 __ASSUME_SOCKETCALL.
5580 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5581 (__ASSUME_SOCKETCALL): Remove.
5582 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5583 (__ASSUME_SOCKETCALL): Likewise.
5584 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5585 (__ASSUME_SOCKETCALL): Likewise.
5586 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5587 (__ASSUME_SOCKETCALL): Likewise.
5588 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5589 (__ASSUME_SOCKETCALL): Likewise.
5590 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5591 (__ASSUME_SOCKETCALL): Likewise.
5592 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5593 (__ASSUME_SOCKETCALL): Likewise.
5594
d524fa6c
L
55952018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5596
5597 [BZ #23509]
5598 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5599 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5600 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5601 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5602 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5603 lc_unknown.
5604
ac806026
AH
56052018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5606
5607 [BZ #17630]
5608 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5609
596cc360
JM
56102018-11-07 Joseph Myers <joseph@codesourcery.com>
5611
5612 [BZ #23867]
5613 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5614 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5615 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5616 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5617
00c86a37
AZ
56182018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5619
5620 * support/support_test_compare_string.c
5621 (support_test_compare_string): Fix printf format.
5622
1df872fd
FW
56232018-11-07 Florian Weimer <fweimer@redhat.com>
5624
5625 Implement TEST_COMPARE_STRING.
5626 * support/check.h (TEST_COMPARE_STRING): Define.
5627 (support_test_compare_string): Declare.
5628 * support/Makefile (libsupport-routines): Add
5629 support_test_compare_string.
5630 (tests): Add tst-test_compare_string.
5631 * support/support_test_compare_string.c: New file.
5632 * support/tst-test_compare_string.c: Likewise.
5633
295132ff
AS
56342018-11-07 Andreas Schwab <schwab@suse.de>
5635
5636 [BZ #23864]
5637 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5638 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5639 Undef.
5640
e143ceba
JM
56412018-11-06 Joseph Myers <joseph@codesourcery.com>
5642
5643 [BZ #23862]
5644 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5645 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5646 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5647 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5648 Likewise.
5649
4a938cb2
FW
56502018-11-06 Florian Weimer <fweimer@redhat.com>
5651
5652 [BZ #17405]
5653 * posix/Makefile (routines): Add spawn_faction_addchdir.
5654 (tests): Add tst-spawn-chdir.
5655 * posix/Versions (GLIBC_2.29): Add
5656 posix_spawn_file_actions_addchdir_np.
5657 * posix/spawn_faction_addchdir.c: New file.
5658 * posix/spawn_faction_destroy.c
5659 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5660 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5661 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5662 chdir_action.
5663 * posix/tst-spawn-chdir.c: New file.
5664 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5665 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5666 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5667 posix_spawn_file_actions_addchdir_np.
5668 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5669 Likewise.
5670 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5671 Likewise.
5672 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5673 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5674 Likewise.
5675 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5676 Likewise.
5677 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5678 Likewise.
5679 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5680 Likewise.
5681 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5682 Likewise.
5683 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5684 Likewise.
5685 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5686 (GLIBC_2.29): Likewise.
5687 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5688 (GLIBC_2.29): Likewise.
5689 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5690 (GLIBC_2.29): Likewise.
5691 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5692 (GLIBC_2.29): Likewise.
5693 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5694 Likewise.
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5696 (GLIBC_2.29): Likewise.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5698 (GLIBC_2.29): Likewise.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5700 (GLIBC_2.29): Likewise.
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5702 (GLIBC_2.29): Likewise.
5703 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5704 Likewise.
5705 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5706 Likewise.
5707 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5708 Likewise.
5709 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5710 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5711 Likewise.
5712 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5713 Likewise.
5714 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5715 Likewise.
5716 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5717 Likewise.
5718
7597b0c7
GG
57192018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5720
5721 * misc/Makefile (tests): Add tst-ldbl-error.
5722 * misc/tst-ldbl-error.c: New file.
5723
9771e6cb
GG
57242018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5725
5726 * misc/Makefile (tests): Add tst-ldbl-warn.
5727 * misc/tst-ldbl-warn.c: New file.
5728
2c03961f
GG
57292018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5730
5731 * argp/Makefile (tests): Add tst-ldbl-argp.
5732 * argp/tst-ldbl-argp.c: New file.
5733
6d6ee046
AS
57342018-11-05 Arjun Shankar <arjun@redhat.com>
5735
5736 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5737 __gconv_path_elem and call __gconv_get_path unconditionally.
5738
bd3b0fba
AS
57392018-11-05 Andreas Schwab <schwab@suse.de>
5740
5741 [BZ #22927]
5742 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5743 creating the first helper thread failed.
5744
2e96e980
ST
57452018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5746
5747 * sysdeps/mach/hurd/msync.c: New file.
5748
6e36266c
FW
57492018-11-02 Florian Weimer <fweimer@redhat.com>
5750
5751 * support/shell-container.c (copy_func): Call
5752 support_copy_file_range instead of copy_file_range to support
5753 cross-device copies.
5754
599f7bee
FW
57552018-11-02 Florian Weimer <fweimer@redhat.com>
5756
5757 * support/test-container.c: Include <libc-pointer-arith.h> for
5758 ALIGN_UP.
5759
ff48ea67
ZL
57602018-11-01 Zong Li <zong@andestech.com>
5761
af1d5782
ZL
5762 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5763 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5764 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5765 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5766
ff48ea67
ZL
5767 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5768 variable to avoid overlap arguments.
5769
daea71c2
JM
57702018-11-01 Joseph Myers <joseph@codesourcery.com>
5771
eac4405a
JM
5772 * posix/bug-regex22.c (main): Use puts with distinct error
5773 messages for unexpected success of re_compile_pattern, not printf
5774 with NULL argument to %s.
5775
6f30e59f
JM
5776 * stdio-common/bug22.c: Include <libc-diag.h>.
5777 (do_test): Disable -Wformat-overflow= warnings around fprintf
5778 calls outputting more than INT_MAX characters.
5779 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5780 around printf call with NULL %s argument.
5781
daea71c2
JM
5782 [BZ #23848]
5783 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5784 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5785 Undefine.
5786 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5787 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5788 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5789 (__ASSUME_SENDTO_SYSCALL): Likewise.
5790 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5791 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5792 [!__arch64__].
5793 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5794 (__ASSUME_CONNECT_SYSCALL): Likewise.
5795 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5796 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5797 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5798 Define.
5799 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5800 Likewise.
5801 [__LINUX_KERNEL_VERSION >= 0x040400]
5802 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5803 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5804 Remove.
5805 (listen): Likewise.
5806 (setsockopt): Likewise.
5807
8e3c00db
FN
58082018-11-01 Fredrik Noring <noring@nocrew.org>
5809
5810 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5811 with the ISA override.
5812
9c3dbdbe
RAE
58132018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5814
5815 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5816 #endif.
5817
e3a88b3e
ST
58182018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5819
a67377e7 5820 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 5821 translate the error message.
a67377e7
ST
5822 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5823 printing trailing whitespaces refused by git.
5824 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5825 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 5826 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 5827
3ca235ed
JM
58282018-10-30 Joseph Myers <joseph@codesourcery.com>
5829
5830 * conform/linknamespace.py: New file.
5831 * conform/linknamespace.pl: Remove file.
5832 * conform/Makefile ($(linknamespace-header-tests)): Use
5833 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5834 option.
5835
60708030
FW
58362018-10-30 Florian Weimer <fweimer@redhat.com>
5837
5838 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5839 memory leaks.
5840
a91e9301
FW
58412018-10-30 Florian Weimer <fweimer@redhat.com>
5842
5843 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5844
07da99aa
FW
58452018-10-30 Florian Weimer <fweimer@redhat.com>
5846
5847 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5848 support_blob_repeat.
5849
f5e7e959
FW
58502018-10-30 Florian Weimer <fweimer@redhat.com>
5851
5852 Avoid spurious test failures in stdlib/test-bz22786.
5853 * support/Makefile (libsupport-routines): Add blob_repeat.
5854 (tests): Add tst-support_blob_repeat.
5855 * support/blob_repeat.h: New file.
5856 * support/blob_repeat.c: Likewise.
5857 * support/tst-support_blob_repeat.c: Likewise.
5858 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5859 support_blob_repeat_allocate.
5860
2dd12baa
AS
58612018-10-30 Andreas Schwab <schwab@suse.de>
5862
5863 [BZ #23125]
5864 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5865 Don't use tail call.
5866 * elf/tst-unwind-main.c: New file.
5867 * elf/Makefile (tests): Add tst-unwind-main.
5868 (CFLAGS-tst-unwind-main.c): Define.
5869
fec8bb7c
SAA
58702018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5871
5872 [BZ #23791]
5873 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5874 n_cs_precedes to 0.
5875 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5876
c6982f7e
JM
58772018-10-29 Joseph Myers <joseph@codesourcery.com>
5878
954cf3c2
JM
5879 * conform/glibcconform.py: Do not import shutil.
5880 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5881 of mkdtemp.
5882
c6982f7e
JM
5883 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5884 critic_missing for versions before 3.4.
5885 * configure: Regenerated.
5886 * manual/install.texi (Tools for Compilation): Document
5887 requirement for Python to build glibc.
5888 * INSTALL: Regenerated.
5889 * Rules [PYTHON]: Make code unconditional.
5890 * benchtests/Makefile [PYTHON]: Likewise.
5891 * conform/Makefile [PYTHON]: Likewise.
5892 * manual/Makefile [PYTHON]: Likewise.
5893 * math/Makefile [PYTHON]: Likewise.
5894
46a7f24c
ST
58952018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5896
5897 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 5898 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 5899 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
5900 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5901 _hurd_intr_rpc_msg_about_to global point to start of controlled
5902 assembly snippet. Make it check canceled flag.
5903 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5904 the _hurd_intr_rpc_msg_about_to point.
5905 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5906 issue, remove cancel flag check.
46a7f24c 5907
e5b8756d
JM
59082018-10-26 Joseph Myers <joseph@codesourcery.com>
5909
5910 * scripts/build-many-glibcs.py: Remove compatibility for missing
5911 os.cpu_count and re.fullmatch.
5912
ba5b14c7
SN
59132018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5914
5915 [BZ #23822]
5916 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5917 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5918 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5919
fe61f17c
JM
59202018-10-25 Joseph Myers <joseph@codesourcery.com>
5921
5922 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5923 macro.
5924
7c5e34d7
FW
59252018-10-25 Florian Weimer <fweimer@redhat.com>
5926
5927 [BZ #23562]
5928 [BZ #23821]
5929 XFAIL siginfo_t si_band conform test on sparc64.
5930 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5931 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5932 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5933 (conformtest-xfail-conds): Add sparc64-linux.
5934 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5935 sparc64.
5936 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5937
5b784e88
JM
59382018-10-25 Joseph Myers <joseph@codesourcery.com>
5939
5940 * elf/elf.h (NT_MIPS_DSP): New macro.
5941 (NT_MIPS_FP_MODE): Likewise.
5942
41432ebe
ZL
59432018-10-25 Zong Li <zong@andestech.com>
5944
5945 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5946 name by adding the file extension (.so).
5947
d026efea
ST
59482018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5949
5950 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5951 (test-xfail-ISO11/threads.h/linknamespace,
5952 test-xfail-ISO11/threads.h/conform): Add.
5953
b71ac2b9
JM
59542018-10-24 Joseph Myers <joseph@codesourcery.com>
5955
5956 * math/gen-libm-test.py: Import os.
5957 (ALL_FLOATS_MANUAL): New constant.
5958 (ALL_FLOATS_SUFFIX): Likewise.
5959 (Ulps.all_functions): New function.
5960 (real_all_ulps): Likewise.
5961 (generate_err_table_sub): Likewise.
5962 (generate_err_table): Likewise.
5963 (main): Handle -s and -m options.
5964 * manual/libm-err-tab.pl: Remove.
5965 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5966 instead of libm-err-tab.pl.
5967 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5968 != no].
5969 * manual/install.texi (Tools for Compilation): Document
5970 requirement for Python to build manual.
5971 * INSTALL: Regenerated.
5972
d51f99ce
AA
59732018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5974
5975 * bits/time64.h: New file.
5976 * include/time.h: Replace internal_time_t with __time64_t.
5977 * posix/bits/types (__time64_t): Add.
5978 * stdlib/Makefile: Add bits/time64.h to includes.
5979 * time/tzfile.c: Replace internal_time_t with __time64_t.
5980
97d91fcc 59812018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
5982
5983 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5984 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5985 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5986 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5987 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5988 prototype.
5989 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5990 * posix/spawn_faction_addclose.c
5991 (__posix_spawn_file_actions_addclose): Add hidden definition.
5992 * posix/spawn_faction_adddup2.c
5993 (__posix_spawn_file_actions_adddup2): Likewise.
5994 * posix/spawn_faction_destroy.c
5995 (__posix_spawn_file_actions_destroy): Likewise.
5996 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5997 Likewise.
5998 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5999 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6000 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6001 Likewise.
6002 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6003 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6004 Likewise.
6005
2954daf0
AS
60062018-10-24 Andreas Schwab <schwab@suse.de>
6007
6008 [BZ #18093]
6009 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6010 format cache.
6011 * elf/cache.c (print_cache): Likewise.
6012
a27a4f47
AA
60132018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6014
6015 * bits/timesize.h: New file.
6016 * stdlib/Makefile (headers): Add bits/timesize.h.
6017 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6018 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6019 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6020 (__SEM_PAD_AFTER_TIME): Likewise.
6021 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6022 (__SHM_PAD_AFTER_TIME): Likewise.
6023 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6024 (__MSQ_PAD_BEFORE_TIME): Likewise.
6025 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6026 (__SEM_PAD_BEFORE_TIME): Likewise.
6027 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6028 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6029 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6030 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6031 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6032 (__MSQ_PAD_BEFORE_TIME): Likewise.
6033 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6034 (__SEM_PAD_BEFORE_TIME): Likewise.
6035 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6036 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6037 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6038 (__MSQ_PAD_BEFORE_TIME): Likewise.
6039 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6040 (__SEM_PAD_BEFORE_TIME): Likewise.
6041 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6042 (__SHM_PAD_BEFORE_TIME): Likewise.
6043 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6044 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6045 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6046
7cc65773
L
60472018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6048
6049 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6050 USE_RDTSCP is defined.
6051 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6052 USE_RDTSCP is defined.
6053
c3d8dc45
AZ
60542018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6055
18ad0de6
AZ
6056 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6057 defined.
6058
c3d8dc45
AZ
6059 [BZ #23709]
6060 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6061 independently of other flags.
6062
f1034472
FW
60632018-10-23 Florian Weimer <fweimer@redhat.com>
6064
6065 * time/tst-mktime2.c (N_STRINGS): Remove.
6066 (set_timezone): New function.
6067 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6068 (mktime_test1): Report localtime failure and check errno value.
6069 Use TEST_COMPARE.
6070 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6071 (do_test): Remove alarm call. Use set_timezone and array_length.
6072
367d7cc2
AS
60732018-10-23 Andreas Schwab <schwab@suse.de>
6074
6075 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6076 (__start_context): Use END instead of PSEUDO_END.
6077
be8ff03f
JM
60782018-10-22 Joseph Myers <joseph@codesourcery.com>
6079
029ad711
JM
6080 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6081 version to 4.19.
6082
8190520f
JM
6083 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6084 version to 4.19.
6085
be8ff03f
JM
6086 [BZ #23793]
6087 * wcsmbs/c32rtomb.c: New file.
6088 * wcsmbs/mbrtoc32.c: Likewise.
6089 * wcsmbs/tst-c32-state.c: Likewise.
6090 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6091 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6092 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6093 (tests): Add tst-c32-state.
6094 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6095 $(gen-locales).
6096
2dd8e58c
L
60972018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6098
6099 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6100 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6101
d0a74159
JM
61022018-10-19 Joseph Myers <joseph@codesourcery.com>
6103
6104 [BZ #23794]
6105 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6106 pair and return 0 in that case, and use saved character to
6107 interpret following character.
6108 * wcsmbs/tst-c16-surrogate.c: New file.
6109 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6110 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6111 Depend on $(gen-locales)
6112
f997b4be
IYM
61132018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6114
6115 [BZ #23562]
6116 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6117 (struct siginfo_t): Use correct type for si_band.
6118
53b2bb87
FW
61192018-10-19 Florian Weimer <fweimer@redhat.com>
6120
6121 [BZ #23689]
6122 * resource/bits/types/struct_rusage.h (struct rusage): Update
6123 comment on struct. Remove extraneous field comment.
6124
0a271c8f
DM
61252018-10-18 David S. Miller <davem@davemloft.net>
6126
94a3a27f
DM
6127 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6128 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6129 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6130 sysdep_routines in subdir elf.
6131 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6132 version for __vdso_clock_gettime.
6133 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6134 Define.
6135 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6136 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6137
0a271c8f
DM
6138 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6139
72771e53
L
61402018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6141
6142 * sysdeps/i386/init-arch.h: Removed.
6143 * sysdeps/i386/i586/init-arch.h: Likewise.
6144 * sysdeps/i386/i686/init-arch.h: Likewise.
6145 * sysdeps/i386/i686/hp-timing.h: Likewise.
6146 * sysdeps/x86_64/hp-timing.h: Likewise.
6147 * sysdeps/i386/isa.h: New file.
6148 * sysdeps/i386/i586/isa.h: Likewise.
6149 * sysdeps/i386/i686/isa.h: Likewise.
6150 * sysdeps/x86_64/isa.h: Likewise.
6151 * sysdeps/x86/hp-timing.h: New file.
6152 * sysdeps/x86/init-arch.h: Include <isa.h>.
6153
c2b7ccad
JM
61542018-10-17 Joseph Myers <joseph@codesourcery.com>
6155
6156 * math/libm-test-pow.inc (pow_test_data): Do not allow
6157 divide-by-zero exception for pow(+/- 0, -Inf).
6158
26756e57
ZW
61592018-10-17 Zack Weinberg <zackw@panix.com>
6160
6161 * manual/job.texi (Job Control is Optional): Remove node, as
6162 job control has not been optional in quite some time.
6163 (Job Control): Mention briefly that systems older than
6164 POSIX.1-2001 might not support job control.
6165 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6166 defined on systems conforming to POSIX.1-2001.
6167
c5288d37
AS
61682018-10-17 Arjun Shankar <arjun@redhat.com>
6169
6170 [BZ #22062]
6171 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6172 indentation.
6173 * (__gconv_read_conf): Mark function static.
6174 * (once): New static variable.
6175 * (__gconv_load_conf): New function.
6176 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6177 * iconv/gconv_db.c (once): Remove static variable.
6178 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6179 __gconv_read_conf.
6180 * (__gconv_find_transform): Likewise.
6181 * iconv/tst-iconv-mt.c: New test.
6182 * iconv/Makefile: Add tst-iconv_mt.
6183
8c8d2a8a
JM
61842018-10-17 Joseph Myers <joseph@codesourcery.com>
6185
6186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
6187 bits/shm-pad.h.
6188 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6189 (shmatt_t): Define as __syscall_ulong_t.
6190 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6191 and [__SHM_PAD_AFTER_TIME].
6192 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6193 Define shm_segsz and associated padding based on
6194 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6195 Use __syscall_ulong_t instead of unsigned long int.
6196 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6197 unsigned long int.
6198 [__USE_MISC] (struct shm_info): Likewise.
6199 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6200 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6201 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6202 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6203 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6204 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6205 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6206 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6207 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6208 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6209 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6210
6211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
6212 bits/shmlba.h.
6213 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6214 (SHMLBA): Remove macro.
6215 (__getpagesize): Remove function declaration.
6216 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6217 <bits/shmlba.h>.
6218 (SHMLBA): Remove macro.
6219 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6220 <bits/shmlba.h>.
6221 (SHMLBA): Remove macro.
6222 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6223 <bits/shmlba.h>.
6224 (SHMLBA): Remove macro.
6225 (__getpagesize): Remove function declaration.
6226 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6227 <bits/shmlba.h>.
6228 (SHMLBA): Remove macro.
6229 (__getshmlba): Remove function declaration.
6230 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6231 (SHMLBA): Remove macro.
6232 (__getpagesize): Remove function declaration.
6233 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6234 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6235 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6236 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6237 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6238 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6239 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6240 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6241 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6242 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6243
403b4feb
SL
62442018-10-17 Stefan Liebler <stli@linux.ibm.com>
6245
6246 [BZ #23275]
6247 * nptl/tst-mutex10.c: New File.
6248 * nptl/Makefile (tests): Add tst-mutex10.
6249 (tst-mutex10-ENV): New variable.
6250 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6251 Ensure that elision path is used if elision is available.
6252 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6253 Likewise.
6254 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6255 Likewise.
6256 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6257 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6258 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6259 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6260 Likewise.
6261 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6262 (__pthread_mutex_cond_lock_adjust): Likewise.
6263 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6264 Likewise.
6265 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6266 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6267 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6268 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6269 Add comments.
6270 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6271 Use atomic_load_relaxed and atomic_store_relaxed.
6272 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6273 Use atomic_store_relaxed.
6274
ce5a7de6
AS
62752018-10-17 Andreas Schwab <schwab@suse.de>
6276
6277 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6278 * crypt/badsalttest.c (TIMEOUT): Likewise.
6279 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6280 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6281 * io/test-lfs.c (TIMEOUT): Likewise.
6282 * libio/tst-atime.c (TIMEOUT): Likewise.
6283 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6284 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6285 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6286 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6287 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6288 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6289 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6290 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6291 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6292 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6293 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6294 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6295 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6296 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6297 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6298 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6299 * nptl/tst-once2.c (TIMEOUT): Likewise.
6300 * nptl/tst-once3.c (TIMEOUT): Likewise.
6301 * nptl/tst-once4.c (TIMEOUT): Likewise.
6302 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6303 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6304 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6305 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6306 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6307 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6308 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6309 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6310 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6311 * posix/tst-chmod.c (TIMEOUT): Likewise.
6312 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6313 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6314 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6315 * posix/tst-regex2.c (TIMEOUT): Likewise.
6316 * posix/tst-waitid.c (TIMEOUT): Likewise.
6317 * rt/tst-aio.c (TIMEOUT): Likewise.
6318 * rt/tst-aio10.c (TIMEOUT): Likewise.
6319 * rt/tst-aio4.c (TIMEOUT): Likewise.
6320 * rt/tst-aio5.c (TIMEOUT): Likewise.
6321 * rt/tst-aio6.c (TIMEOUT): Likewise.
6322 * rt/tst-aio64.c (TIMEOUT): Likewise.
6323 * rt/tst-aio7.c (TIMEOUT): Likewise.
6324 * rt/tst-aio9.c (TIMEOUT): Likewise.
6325 * rt/tst-clock.c (TIMEOUT): Likewise.
6326 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6327 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6328 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6329 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6330 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6331 * rt/tst-timer4.c (TIMEOUT): Likewise.
6332 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6333 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6334 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6335 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6336 * time/tst-ftime.c (TIMEOUT): Likewise.
6337 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6338
75c1aee5
AY
63392018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6340
6341 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6342 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6343 for thunderX2.
6344
bcdb1bfa
JM
63452018-10-15 Joseph Myers <joseph@codesourcery.com>
6346
6347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6348 bits/sem-pad.h.
6349 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6350 instead of <bits/wordsize.h>.
6351 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6352 and [__SEM_PAD_AFTER_TIME].
6353 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6354 __syscall_ulong_t instead of unsigned long int.
6355 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6356 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6357 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6358 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6359 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6360 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6361 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6362 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6363 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6364 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6365 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6366
f4efbdfb
PE
63672018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6368
620a5d4c
PE
6369 regex: simplify by using intprops.h
6370 [BZ#23744]
6371 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6372 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6373 intprops.h defines them.
6374
f4efbdfb
PE
6375 regex: __builtin_expect → __glibc_unlikely
6376 [BZ#23744]
6377 This refactoring was prompted by a problem when the regex code is
6378 used as part of Gnulib and when the builder’s compiler does not grok
6379 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6380 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6381 Although this refactoring does not fix the problem directly,
6382 we might as well have Gawk use the now-preferred glibc style for when
6383 __builtin_expect is unavailable.
6384 * posix/regex_internal.h (BE): Remove.
6385 All uses replaced by __glibc_unlikely or __glibc_likely.
6386
9f9feb6d
JM
63872018-10-11 Joseph Myers <joseph@codesourcery.com>
6388
6389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6390 bits/msq-pad.h.
6391 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6392 instead of <bits/wordsize.h>.
6393 (msgqnum_t): Define as __syscall_ulong_t.
6394 (msglen_t): Likewise.
6395 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6396 and [__MSQ_PAD_AFTER_TIME].
6397 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6398 __syscall_ulong_t instead of unsigned long int.
6399 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6400 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6401 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6402 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6403 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6404 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6405 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6406 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6407 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6408 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6409 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6410
b9c0f6c1
JM
64112018-10-10 Joseph Myers <joseph@codesourcery.com>
6412
2a4b25fa
JM
6413 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6414 (struct shmid_ds): Condition padding after time fields on
6415 [__WORDSIZE == 32].
6416 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6417 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6418 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6419
19e62f26
JM
6420 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6421 (struct semid_ds): Condition padding after time fields on
6422 [__WORDSIZE == 32].
6423 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6424 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6425 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6426 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6427
b9c0f6c1
JM
6428 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6429 (struct msqid_ds): Condition padding after time fields on
6430 [__WORDSIZE == 32].
6431 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6432 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6433 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6434 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6435
97785a61
SN
64362018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6437
6438 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6439
ed643089
SN
64402018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6441
6442 * libio/tst-readline.c (TIMEOUT): Define.
6443
5a580643
PE
64442018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6445
6446 mktime fix for Gnulib + coreutils
6447 [BZ#23745]
6448 This fix affects only Gnulib. Problem discovered when
6449 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6450 * time/mktime.c:
6451 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6452 Do not define since it is not used. Defining an unused static
6453 function prompts a warning from GCC when Coreutils is configured
6454 with --enable-gcc-warnings.
6455
c892ae04
LS
64562018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6457
6458 * benchtests/scripts/compare_bench.py (main): set float type on
6459 threshold argument.
6460
a68ec8ea
RL
64612018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6462
6463 [BZ #23740]
6464 * localedata/locales/kl_GL (mon): Update, the relative case.
6465 (alt_mon): Add, fill with month names in the nominative case.
6466 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6467 (d_fmt): Set to "%b %d %Y".
6468
a1987621
JM
64692018-10-04 Joseph Myers <joseph@codesourcery.com>
6470
47c49251
JM
6471 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6472 <bits/mman-linux.h>.
6473 (PROT_READ): Don't define here.
6474 (PROT_WRITE): Likewise.
6475 (PROT_EXEC): Likewise.
6476 (PROT_NONE): Likewise.
6477 (PROT_GROWSDOWN): Likewise.
6478 (PROT_GROWSUP): Likewise.
6479 (MAP_SHARED): Likewise.
6480 (MAP_PRIVATE): Likewise.
6481 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6482 [__USE_MISC] (MAP_FILE): Likewise.
6483 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6484 [__USE_MISC] (MAP_ANON): Likewise.
6485 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6486 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6487 (MCL_CURRENT): Likewise.
6488 (MCL_FUTURE): Likewise.
6489 (MCL_ONFAULT): Likewise.
6490 [__USE_MISC] (MADV_NORMAL): Likewise.
6491 [__USE_MISC] (MADV_RANDOM): Likewise.
6492 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6493 [__USE_MISC] (MADV_WILLNEED): Likewise.
6494 [__USE_MISC] (MADV_DONTNEED): Likewise.
6495 [__USE_MISC] (MADV_FREE): Likewise.
6496 [__USE_MISC] (MADV_REMOVE): Likewise.
6497 [__USE_MISC] (MADV_DONTFORK): Likewise.
6498 [__USE_MISC] (MADV_DOFORK): Likewise.
6499 [__USE_MISC] (MADV_HWPOISON): Likewise.
6500 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6501 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6502 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6503 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6504 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6505 (__MAP_ANONYMOUS): New macro.
6506 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6507 <bits/mman-linux.h> inclusion.
6508 (MAP_FIXED): Likewise.
6509 (MS_SYNC): Likewise.
6510 (MS_ASYNC): Likewise.
6511 (MS_INVALIDATE): Likewise.
6512 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6513 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6514 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6515 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6516 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6517 [__USE_MISC] (MADV_DODUMP): Likewise.
6518 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6519 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6520
a1987621
JM
6521 [BZ #23735]
6522 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6523 Define.
6524 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6525 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6526 Add test-nldbl-redirect.
6527 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6528 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6529 $(objpfx)libnldbl_nonshared.a.
6530
e7624d70
SL
65312018-10-04 Stefan Liebler <stli@linux.ibm.com>
6532
6533 * support/support.h (support_objdir_elf_ldso): New variable.
6534 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6535 * support/Makefile (CFLAGS-support_paths.c): Add definition
6536 for OBJDIR_ELF_LDSO_PATH.
6537 * support/test-container.c (main): Search for the ld.so
6538 which is also used by the testsuite.
6539
dae3ed95
RL
65402018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6541
6542 [BZ #20209]
6543 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6544 should be "sap" rather than "sab".
6545 (day): Fix spelling of Sunday, should be "sapaat" rather than
6546 "sabaat".
6547
f346b5b3
JM
65482018-10-02 Joseph Myers <joseph@codesourcery.com>
6549
6550 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6551
4a06ceea
MJ
65522018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6553
6554 [BZ #19444]
6555 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6556 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6557 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6558
a06fc4a5
AZ
65592018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6560
6561 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6562
a1ccc065
L
65632018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6564
6565 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6566 Add -mrtm.
6567 (CFLAGS-elision-unlock.c): Likewise.
6568 (CFLAGS-elision-timed.c): Likewise.
6569 (CFLAGS-elision-trylock.c): Likewise.
6570 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6571
0b727ed4
AZ
65722018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6573
6574 [BZ #21037]
6575 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6576 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6577 new fd_to_filename interface.
6578 * libio/freopen64.c (freopen64): Likewise.
6579 * libio/tst-memstream.h: New file.
6580 * libio/tst-memstream4.c: Likewise.
6581 * libio/tst-wmemstream4.c: Likewise.
6582 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6583 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6584 and remove internal dynamic allocation.
6585
d0e91e8c
JM
65862018-10-01 Joseph Myers <joseph@codesourcery.com>
6587
6588 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6589 (MREMAP_MAYMOVE): Do not define here.
6590 [__USE_GNU] (MREMAP_FIXED): Likewise.
6591 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6592 (MREMAP_MAYMOVE): Define here instead.
6593 [__USE_GNU] (MREMAP_FIXED): Likewise.
6594 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6595 (MREMAP_MAYMOVE): Remove.
6596 [__USE_GNU] (MREMAP_FIXED): Likewise.
6597
c52944e8
JM
65982018-09-28 Joseph Myers <joseph@codesourcery.com>
6599
6600 * math/fromfp.h: Do not include <math_private.h>.
6601 * math/s_cacosh_template.c: Likewise.
6602 * math/s_casin_template.c: Likewise.
6603 * math/s_casinh_template.c: Likewise.
6604 * math/s_ccos_template.c: Likewise.
6605 * math/s_cproj_template.c: Likewise.
6606 * math/s_fdim_template.c: Likewise.
6607 * math/s_fmaxmag_template.c: Likewise.
6608 * math/s_fminmag_template.c: Likewise.
6609 * math/s_iseqsig_template.c: Likewise.
6610 * math/s_ldexp_template.c: Likewise.
6611 * math/s_nextdown_template.c: Likewise.
6612 * math/w_log1p_template.c: Likewise.
6613 * math/w_scalbln_template.c: Likewise.
6614 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6615 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6616 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6617 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6618 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6619 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6620 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6621 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6622 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6623 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6624 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6625 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6626 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6627 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6628 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6629 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6630 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6631 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6632 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6633 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6634 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6635 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6636 * sysdeps/ieee754/k_standardf.c: Likewise.
6637 * sysdeps/ieee754/k_standardl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6640 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6646 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6647 * sysdeps/ieee754/s_signgam.c: Likewise.
6648 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6649 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6650 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6651 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6652 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6653 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6654 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6655 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6656 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6657 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6658 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6659 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6660 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6661 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6662 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6663 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6664 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6665 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6666 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6667 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6668 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6669 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6670 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6671 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6672 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6673 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6674 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6675 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6676 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6677 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6678 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6679 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6680 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6681 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6682 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6683 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6684 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6685 <math_private.h>.
6686 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6687
7b1f9406
L
66882018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6689
6690 [BZ #23716]
6691 * sysdeps/i386/dl-cet.c: Removed.
6692 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6693 prototype.
6694 (_dl_runtime_profile_shstk): Likewise.
6695 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6696 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6697
7a16bdbb
AZ
66982018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6699
6700 [BZ #23579]
6701 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6702 do_test_with_invalid_iov): New tests.
6703 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6704 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6705 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6706 errno is ENOSYS.
6707 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6708 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6709 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6710
9755bc46
JM
67112018-09-27 Joseph Myers <joseph@codesourcery.com>
6712
81dca813
JM
6713 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6714 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6715 (MATH_REDIRECT_BINARY_ARGS): New macro.
6716 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6717 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6718 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6719 header inclusion.
6720 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6722 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6723 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6728 Likewise.
6729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6730 Likewise.
6731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6733 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6734 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6736 Likewise.
6737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6738 Likewise.
6739 * sysdeps/generic/math_private_calls.h
6740 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6741 Do not declare and define as an inline function.
6742 * math/divtc3.c (__divtc3): Use copysign functions instead of
6743 __copysign variants.
6744 * math/multc3.c (__multc3): Likewise.
6745 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6746 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6747 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6748 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6749 Likewise.
6750 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6751 (__ieee754_yn): Likewise.
6752 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6753 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6754 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6755 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6756 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6757 (__sin): Likewise.
6758 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6759 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6760 Likewise.
6761 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6762 Likewise.
6763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6764 Likewise.
6765 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6766 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6767 Likewise.
6768 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6769 (__ieee754_ynf): Likewise.
6770 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6771 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6772 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6773 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6774 Likewise.
6775 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6776 (__ieee754_ynl): Likewise.
6777 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6778 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6779 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6780 Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6782 (__ieee754_ynl): Likewise.
6783 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6784 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6785 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6786 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6787 Likewise.
6788 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6789 (__ieee754_ynl)
6790 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6791 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6792 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6793 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6794 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6795
9755bc46
JM
6796 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6797 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6798 using MATH_REDIRECT.
6799 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6800 header inclusion.
6801 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6804 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6805 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6812 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6813 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6815 (round): Redirect to __round.
6816 (__roundl): Call round instead of __round.
6817 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6818 Remove macro.
6819 [_ARCH_PWR5X] (__roundf): Likewise.
6820 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6821 functions instead of __round variants.
6822 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6823 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6824 Likewise.
6825 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6826 Likewise.
6827 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6828 Likewise.
6829 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6831 __lroundl.
6832 (__ieee754_expl): Call roundl instead of __roundl.
6833
f841c97e
AS
68342018-09-27 Andreas Schwab <schwab@suse.de>
6835
6836 [BZ #23717]
6837 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6838 (do_test): Make st1 static.
6839
6ca8284e
AS
68402018-09-26 Andreas Schwab <schwab@suse.de>
6841
6842 [BZ #23707]
6843 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6844 * elf/Makefile (tests): Add tst-unwind-ctor.
6845 (modules-names): Add tst-unwind-ctor-lib.
6846 ($(objpfx)tst-unwind-ctor): Depend on
6847 $(objpfx)tst-unwind-ctor-lib.so.
6848
61d8b5fe
JM
68492018-09-26 Joseph Myers <joseph@codesourcery.com>
6850
6851 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6852 file. Most contents moved from ....
6853 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6854 and include <bits/mman-map-flags-generic.h>.
6855 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6856 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6857 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6858 <bits/mman-map-flags-generic.h>.
6859 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6860 macros defined in <bits/mman-map-flags-generic.h>.
6861 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6862 <bits/mman-map-flags-generic.h>.
6863 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6864 defined in <bits/mman-map-flags-generic.h>.
6865
46341286
AS
68662018-09-26 Andreas Schwab <schwab@suse.de>
6867
6868 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6869 output.
6870
b5c45e83
AZ
68712018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6872 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6873 Fangrui Song <maskray@google.com>
6874
6875 [BZ #20480]
6876 * config.make.in (have-textrel_ifunc): New define.
6877 * configure.ac: Add check if linker supports textrel relocation with
6878 ifunc.
6879 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6880 tst-ifunc-textrel.
6881 (CFLAGS-tst-ifunc-textrel.c): New rule.
6882 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6883 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6884 * elf/tst-ifunc-textrel.c: New file.
6885
8ea4d2b7
JM
68862018-09-25 Joseph Myers <joseph@codesourcery.com>
6887
d62f9ec0
JM
6888 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6889 <bits/procfs-prregset.h>.
6890 (prgregset_t): Define using __prgregset_t.
6891 (prfpregset_t): Define using __prfpregset_t.
6892 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6893 (sysdep_headers): Add bits/procfs-prregset.h.
6894 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6895 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6896 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6897 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6898
d0d8eb43
JM
6899 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6900 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6901 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6902 pr_uid and pr_gid.
6903 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6904 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6905 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6906 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6907 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6908 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6909 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6910 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6911 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6912 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6913 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6914 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6915 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6916 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6917 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6918 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6919 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6920 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6921 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6922 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6923 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6924 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6925 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6926 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6927
8ea4d2b7
JM
6928 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6929 AArch64 version. Include <bits/procfs.h>.
6930 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6931 (sysdep_headers): Add bits/procfs.h.
6932 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6933 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6934 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6935 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6936 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6937 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6938 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6939 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6940 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6941 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6942 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6943 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6944 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6945 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6946 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6947 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6948 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6949
c7027166
AZ
69502018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6951
6952 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6953 Use libsupport.
6954
335a3b0a
AS
69552018-09-25 Arjun Shankar <arjun@redhat.com>
6956
6957 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6958 (__gconv_max_path_elem_len): Likewise.
6959 (__gconv_nmodules): Likewise.
6960 (__gconv_get_path): Likewise.
6961 (path_elem): Move to ...
6962 * iconv/gconv_conf.c: ... here.
6963 (__gconv_get_path): Mark function static.
6964 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6965 * iconv/gconv_open.c: ... here.
6966
462d348c
AS
69672018-09-24 Andreas Schwab <schwab@suse.de>
6968
6969 * scripts/haveversions.awk: New file.
6970 * Makerules ($(common-objpfx)Versions.def)
6971 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6972 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6973 Move rules ...
6974 * Makeconfig ($(common-objpfx)Versions.def)
6975 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6976 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6977 ... here.
6978 ($(common-objpfx)Versions.mk): New rule. Include it.
6979 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6980 Emit error if build-obsolete-nsl = yes.
6981 * manual/install.texi (Configuring and compiling): Describe
6982 --enable-obsolete-nsl as unavaiable after version 2.28.
6983 * INSTALL: Regenerate.
6984
f0458cf4
AZ
69852018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6986
6987 * NEWS: Add note about new TLE support on powerpc64le.
6988 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6989 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6990 __ununsed1.
6991 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6992 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6993 * sysdeps/powerpc/powerpc32/sysdep.h,
6994 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6995 ABORT_TRANSACTION): Remove macros.
6996 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6997 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6998 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7000 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7001 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7002 usage.
7003 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7004
434d45fd
RL
70052018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7006
7007 [BZ #10425]
7008 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7009 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7010 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7011 which is the same as in it_IT.
7012 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7013 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7014
d90c9b1a
JM
70152018-09-20 Joseph Myers <joseph@codesourcery.com>
7016
7abf97be
JM
7017 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7018 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7019 using MATH_REDIRECT.
7020 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7021 header inclusion.
7022 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7024 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7026 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7032 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7033 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7034 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7035 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7036 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7037 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7038 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7040 (ceil): Redirect to __ceil.
7041 (floor): Redirect to __floor.
7042 (trunc): Redirect to __trunc.
7043 (__truncl): Call trunc instead of __trunc.
7044 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7045 Remove macro.
7046 [_ARCH_PWR5X] (__truncf): Likewise.
7047 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7048 trunc functions instead of __trunc variants.
7049 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7050 Likewise.
7051 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7052 Likewise.
7053 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7054 Likewise.
7055 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7056 Likewise.
7057
d90c9b1a
JM
7058 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7059 [__i586__ || __pentium__].
7060 [__i486__]: Handle explicitly.
7061 (HAS_CPUID): Define to 1 if above macros are undefined.
7062 (HAS_I586): Likewise.
7063 (HAS_I686): Likewise.
7064
db9a8ad4
FW
70652018-09-20 Florian Weimer <fweimer@redhat.com>
7066
7067 * misc/tst-gethostid.c: New file.
7068 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7069 (tst-gethostid): Link with -ldl.
7070
1214ba06
MY
70712018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7072
7073 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7074 value from gethostbyname_r.
7075
791b350d
CD
70762018-09-19 Carlos O'Donell <carlos@redhat.com>
7077
7078 * stdlib/tst-setcontext9.c (f1): Rename to...
7079 (f1a): ... this.
7080 (f1b): New function implementing lower half of f1 in alternate stack.
7081
8e6fd2bd
PE
70822018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7083
e1080e7e
PE
7084 Fix mktime localtime offset confusion
7085 [BZ #23603]
7086 * include/time.h (__mktime_internal): The localtime offset is now
7087 of type long int instead of time_t. This is the longstanding type
7088 in glibc, and it is more than enough to represent difference
7089 between localtime and gmtime even if it is 32 bits and time_t is
7090 64. Changing it now will let us avoid an unnecessary change when
7091 time_t is widened to 64 bits on 32-bit platforms.
7092 * time/mktime-internal.h (mktime_offset_t): Now long int.
7093
8e6fd2bd
PE
7094 Merge mktime, timegm from upstream Gnulib
7095 [BZ #23603][BZ #16346]
7096 This fixes some obscure problems with integer overflow.
7097 Although it looks scary, it is almost all a byte-for-byte copy
7098 from Gnulib, and the Gnulib code has been tested reasonably well.
7099 * include/intprops.h: New file, copied from Gnulib.
7100 * include/verify.h, time/mktime-internal.h:
7101 New tiny files, simplified from Gnulib.
7102 * time/mktime.c: Copy from Gnulib. This has the following changes:
7103 Do not include config.h if DEBUG_MKTIME is nonzero.
7104 Include stdbool.h, intprops.h, verify.h.
7105 Include string.h only if needed.
7106 Include stdlib.h on MS-Windows.
7107 Include mktime-internal.h.
7108 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7109 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7110 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7111 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7112 simplify later conditionals; default the others to zero. Use
7113 these conditionals to express only the code needed on the current
7114 platform. In uses of these conditionals, explicitly spell out how
7115 _LIBC affects things, so it’s easier to review from a glibc
7116 viewpoint.
7117 (WRAPV): Remove; no longer needed now that we have
7118 systematic overflow checking.
7119 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7120 compartmentalize tzset issues. Move system-dependent tzsettish
7121 code here from mktime.
7122 (verify): Remove; now done by verify.h. All uses changed.
7123 (long_int): Use a more-conservative definition, to avoid
7124 integer overflow.
7125 (SHR): Remove, replacing with ...
7126 (shr): New function, which means we needn’t worry about side
7127 effects in args, and conversion analysis is simpler.
7128 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7129 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7130 (time_t_avg, time_t_add_ok): Remove.
7131 (mktime_min, mktime_max): New constants.
7132 (leapyear, isdst_differ): Use bool for booleans.
7133 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7134 Use long_int, not time_t, for mktime differences.
7135 (long_int_avg): New function, replacing time_t_avg.
7136 INT_ADD_WRAPV replaces time_t_add_ok.
7137 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7138 All uses changed.
7139 (convert_time): New function.
7140 (ranged_convert): Use it.
7141 (__mktime_internal): Last arg now points to mktime_offset_t, not
7142 time_t. All uses changed. This is a no-op on glibc, where
7143 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7144 offset guess. Directly check for integer overflow instead of
7145 using a heuristic that works only 99.9...% of the time.
7146 Access *OFFSET only once, to avoid an unlikely race if the
7147 compiler delays a load and if this cascades into a signed integer
7148 overflow.
7149 (mktime): Move tzsettish code to my_tzset, and move
7150 localtime_offset to within mktime so that it doesn’t
7151 need a separate ifdef.
7152 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7153 instead of localtime.
7154 * time/timegm.c: Copy from Gnulib. This has the following changes:
7155 Include mktime-internal.h.
7156 [!_LIBC]: Include config.h and time.h. Do not include
7157 timegm.h or time_r.h. Make __mktime_internal a macro,
7158 and include mktime-internal.h to get its declaration.
7159 (timegm): Temporary is now mktime_offset_t, not time_t.
7160 This affects only Gnulib.
7161
83a552b0
WD
71622018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7163
7164 [BZ #23637]
7165 * string/test-strstr.c (pr23637): New function.
7166 (test_main): Add tests with longer needles.
7167 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7168 * string/strstr.c (AVAILABLE): Likewise.
7169
d7347278
SN
71702018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7171
7172 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7173
424c4f60
SN
71742018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7175
7176 * NEWS: Mention pow improvements.
7177 * math/Makefile (type-double-routines): Add e_pow_log_data.
7178 * sysdeps/generic/math_private.h (__exp1): Remove.
7179 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7180 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7181 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7182 contraction.
7183 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7184 (exp_inline): Remove.
7185 (__ieee754_exp): Only single double input is handled.
7186 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7187 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7188 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7189 (__pow_log_data): Define.
7190 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7191 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7192 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7193 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7194 contraction.
7195 (CFLAGS-e_pow-fma4.c): Likewise.
7196
e4e4fde5
PE
71972018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7198
dab9c348
PE
7199 Simplify tzfile fstat failure code
7200 [BZ #21716]
7201 * time/tzfile.c (__tzfile_read): Simplify slightly.
7202
e4e4fde5
PE
7203 Fix tzfile low-memory assertion failure
7204 [BZ #21716]
7205 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7206 when registering time zone abbreviations.
7207
50bc59ca
JM
72082018-09-18 Joseph Myers <joseph@codesourcery.com>
7209
d3a43e49
JM
7210 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7211 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7212 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7213 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7214 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7215 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7216 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7217 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7218 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7219
50bc59ca
JM
7220 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7221 __ceil.
7222 (__ceill): Call ceil instead of __ceil.
7223 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7224 __floor.
7225 (__floorl): Call floor instead of __floor.
7226
89983cb3
JM
72272018-09-17 Joseph Myers <joseph@codesourcery.com>
7228
71223ef9
JM
7229 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7230 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7231 using MATH_REDIRECT.
7232 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7233 header inclusion.
7234 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7235 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7236 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7237 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7238 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7239 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7240 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7241 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7246 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7247 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7250 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7251 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7252 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7253 Remove macro.
7254 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7255 functions instead of __ceil variants.
7256 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7257 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7258 Likewise.
7259 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7260 Likewise.
7261 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7262 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7263 Likewise.
7264 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7265 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7266
89983cb3
JM
7267 [BZ #21286]
7268 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7269 constant.
7270 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7271 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7272 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7273 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7274 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7275 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7276 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7277 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7278 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7279 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7280 (ILL_BADIADDR): Remove constant.
7281 (TRAP_BRANCH): Likewise.
7282 (TRAP_HWBKPT): Likewise.
7283
e44acb20
JM
72842018-09-14 Joseph Myers <joseph@codesourcery.com>
7285
3f7f1d18
JM
7286 [BZ #23656]
7287 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7288 Remove [_MIPS_SIM = _ABIN32] conditional case.
7289 (struct elf_prpsinfo): Likewise.
7290
d59f3e5e
JM
7291 [BZ #23649]
7292 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7293 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7294 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7295 Likewise.
7296 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7297 elf_prpsinfo): Likewise.
7298 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7299 elf_prpsinfo): Likewise.
7300 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7301 Likewise.
7302
f29b6f17
JM
7303 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7304 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7305 using MATH_REDIRECT.
7306 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7307 header inclusion.
7308 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7309 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7310 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7311 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7312 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7313 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7314 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7315 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7318 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7319 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7320 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7321 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7322 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7323 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7324 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7325 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7326 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7331 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7332 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7333 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7334 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7335 __rint variants.
7336 * math/e_scalbf.c (invalid_fn): Likewise.
7337 * math/e_scalbl.c (invalid_fn): Likewise.
7338 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7339 Likewise.
7340 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7341 Likewise.
7342 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7343 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7344 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7345 Likewise.
7346 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7347 Likewise.
7348 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7349 Likewise.
7350 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7351 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7352
e44acb20
JM
7353 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7354 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7355 New macro.
7356 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7357 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7358 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7359 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7360 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7361 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7362 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7363 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7364 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7365 && !NO_MATH_REDIRECT] (floor): Likewise.
7366 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7367 header inclusion.
7368 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7369 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7371 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7372 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7375 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7380 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7381 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7384 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7385 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7386 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7387 Remove macro.
7388 [_ARCH_PWR5X] (__floorf): Likewise.
7389 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7390 inline function.
7391 [__SSE4_1__] (__floorf): Likewise.
7392 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7393 instead of __floor variants.
7394 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7395 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7396 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7397 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7398 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7399 * math/w_tgamma_compat.c (__tgamma): Likewise.
7400 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7401 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7402 * math/w_tgammal_compat.c (__tgammal): Likewise.
7403 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7404 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7405 Likewise.
7406 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7407 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7408 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7409 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7410 Likewise.
7411 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7412 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7413 Likewise.
7414 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7415 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7416 Likewise.
7417 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7418 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7419 Likewise.
7420 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7421 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7422 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7423 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7424 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7425 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7426
221e4bab
JM
74272018-09-12 Joseph Myers <joseph@codesourcery.com>
7428
7429 * elf/Makefile (modules-names-tests): New variable.
7430
3e08ff54
SN
74312018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7432
7433 * NEWS: Mention log2 improvements.
7434 * math/Makefile (type-double-routines): Add e_log2_data.
7435 * sysdeps/i386/fpu/e_log2_data.c: New file.
7436 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7437 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7438 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7439 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7440 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7441 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7442
f41b0a43
SN
74432018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7444
7445 * NEWS: Mention log improvement.
7446 * math/Makefile (type-double-routines): Add e_log_data.
7447 * sysdeps/i386/fpu/e_log_data.c: New file.
7448 * sysdeps/ia64/fpu/e_log_data.c: New file.
7449 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7450 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7451 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7452 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7453 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7454 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7455
5a274db4
L
74562018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7457 Xuepeng Guo <xuepeng.guo@intel.com>
7458
7459 [BZ #23606]
7460 * sysdeps/i386/start.S: Include <sysdep.h>
7461 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7462 enabled. Add cfi_undefined (eip).
7463
b1176270
JM
74642018-09-11 Joseph Myers <joseph@codesourcery.com>
7465
4e7fbdd7
JM
7466 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7467 (MOVQ): Likewise.
7468 (EXTRACT_WORDS64): Likewise.
7469 (INSERT_WORDS64): Likewise.
7470 (GET_FLOAT_WORD): Likewise.
7471 (SET_FLOAT_WORD): Likewise.
7472
b1176270
JM
7473 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7474 argument.
7475 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7476 build, but not for second build if --full-gcc. Use
7477 --enable-languages=all for second build if --full-gcc.
7478 (get_parser): Add --full-gcc option.
7479 (main): Update call to Context.
7480
527f355e
RL
74812018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7482
7483 [BZ #10797]
7484 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7485 Single Quotation Mark).
7486 (thousands_sep): Likewise.
7487 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7488 * localedata/locales/it_IT (thousands_sep): Use ".".
7489 (grouping): Use "3;3".
7490
7244f13d
JM
74912018-09-10 Joseph Myers <joseph@codesourcery.com>
7492
7493 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7494 x86_64 and i686 configs using --enable-obsolete-rpc
7495 --enable-obsolete-nsl.
7496
38245425
SL
74972018-09-06 Stefan Liebler <stli@linux.ibm.com>
7498
7499 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7500
28669f86
SL
75012018-09-06 Stefan Liebler <stli@linux.ibm.com>
7502
7503 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7504 Increment size of new_argv by one.
7505
a33650d1
RL
75062018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7507
7508 [BZ #17426]
7509 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7510 * localedata/locales/ar_IN (d_fmt): Likewise.
7511 * localedata/locales/bhb_IN (d_fmt): Likewise.
7512 * localedata/locales/bho_IN (d_fmt): Likewise.
7513 * localedata/locales/bn_BD (d_fmt): Likewise.
7514 * localedata/locales/bn_IN (d_fmt): Likewise.
7515 * localedata/locales/doi_IN (d_fmt): Likewise.
7516 * localedata/locales/gu_IN (d_fmt): Likewise.
7517 * localedata/locales/hi_IN (d_fmt): Likewise.
7518 * localedata/locales/hne_IN (d_fmt): Likewise.
7519 * localedata/locales/kn_IN (d_fmt): Likewise.
7520 * localedata/locales/mag_IN (d_fmt): Likewise.
7521 * localedata/locales/mai_IN (d_fmt): Likewise.
7522 * localedata/locales/mjw_IN (d_fmt): Likewise.
7523 * localedata/locales/ml_IN (d_fmt): Likewise.
7524 * localedata/locales/mni_IN (d_fmt): Likewise.
7525 * localedata/locales/mr_IN (d_fmt): Likewise.
7526 * localedata/locales/pa_IN (d_fmt): Likewise.
7527 * localedata/locales/raj_IN (d_fmt): Likewise.
7528 * localedata/locales/sat_IN (d_fmt): Likewise.
7529 * localedata/locales/sd_IN (d_fmt): Likewise.
7530 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7531 * localedata/locales/ta_IN (d_fmt): Likewise.
7532 * localedata/locales/ta_LK (d_fmt): Likewise.
7533 * localedata/locales/tcy_IN (d_fmt): Likewise.
7534 * localedata/locales/ur_IN (d_fmt): Likewise.
7535
7536 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7537 * localedata/locales/ks_IN (d_fmt): Likewise.
7538 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7539
7540 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7541 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7542 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7543 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7544
d114e6a7
SN
75452018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7546
7547 * NEWS: Mention exp and exp2 improvements.
7548 * math/Makefile (libm-support): Remove t_exp.
7549 (type-double-routines): Add math_err and e_exp_data.
7550 * sysdeps/aarch64/libm-test-ulps: Update.
7551 * sysdeps/arm/libm-test-ulps: Update.
7552 * sysdeps/i386/fpu/e_exp_data.c: New file.
7553 * sysdeps/i386/fpu/math_err.c: New file.
7554 * sysdeps/i386/fpu/t_exp.c: Remove.
7555 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7556 * sysdeps/ia64/fpu/math_err.c: New file.
7557 * sysdeps/ia64/fpu/t_exp.c: Remove.
7558 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7559 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7560 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7562 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7563 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7564 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7565 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7566 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7567 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7568 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7569 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7570 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7571 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7574
b9d8c474
JM
75752018-09-05 Joseph Myers <joseph@codesourcery.com>
7576
b7cdc2ae
JM
7577 * sysdeps/alpha/fpu/math_private.h: Remove.
7578
b9d8c474
JM
7579 * sysdeps/generic/math_private.h
7580 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7581 Move this inline function ....
7582 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7583 * include/math.h [!_ISOMAC]: To here....
7584
418d99e6
JM
75852018-09-04 Joseph Myers <joseph@codesourcery.com>
7586
7587 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7588 code ....
7589 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7590 * include/fenv.h [!_ISOMAC]: ... to here.
7591 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7592 (feraiseexcept): Likewise.
7593 * math/fromfp.h: Do not include <fenv_private.h>.
7594 * math/s_cexp_template.c: Likewise.
7595 * math/s_csin_template.c: Likewise.
7596 * math/s_csinh_template.c: Likewise.
7597 * math/s_ctan_template.c: Likewise.
7598 * math/s_ctanh_template.c: Likewise.
7599 * math/s_iseqsig_template.c: Likewise.
7600 * math/w_acos_compat.c: Likewise.
7601 * math/w_acosf_compat.c: Likewise.
7602 * math/w_acosl_compat.c: Likewise.
7603 * math/w_asin_compat.c: Likewise.
7604 * math/w_asinf_compat.c: Likewise.
7605 * math/w_asinl_compat.c: Likewise.
7606 * math/w_j0_compat.c: Likewise.
7607 * math/w_j0f_compat.c: Likewise.
7608 * math/w_j0l_compat.c: Likewise.
7609 * math/w_j1_compat.c: Likewise.
7610 * math/w_j1f_compat.c: Likewise.
7611 * math/w_j1l_compat.c: Likewise.
7612 * math/w_jn_compat.c: Likewise.
7613 * math/w_jnf_compat.c: Likewise.
7614 * math/w_log10_compat.c: Likewise.
7615 * math/w_log10f_compat.c: Likewise.
7616 * math/w_log10l_compat.c: Likewise.
7617 * math/w_log2_compat.c: Likewise.
7618 * math/w_log2f_compat.c: Likewise.
7619 * math/w_log2l_compat.c: Likewise.
7620 * math/w_log_compat.c: Likewise.
7621 * math/w_logf_compat.c: Likewise.
7622 * math/w_logl_compat.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7624 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7625 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7626 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7627 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7628 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7629 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7630 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7631 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7632 * sysdeps/ieee754/k_standardl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7645 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7646 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7649 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7650 * math/w_ilogb_template.c: Include <fenv.h> instead of
7651 <fenv_private.h>.
7652 * math/w_llogb_template.c: Likewise.
7653 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7654 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7655
70e2ba33
JM
76562018-09-03 Joseph Myers <joseph@codesourcery.com>
7657
7658 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7659 * math/fromfp.h: Include <fenv_private.h>.
7660 * math/math-narrow.h: Likewise.
7661 * math/s_cexp_template.c: Likewise.
7662 * math/s_csin_template.c: Likewise.
7663 * math/s_csinh_template.c: Likewise.
7664 * math/s_ctan_template.c: Likewise.
7665 * math/s_ctanh_template.c: Likewise.
7666 * math/s_iseqsig_template.c: Likewise.
7667 * math/w_acos_compat.c: Likewise.
7668 * math/w_acosf_compat.c: Likewise.
7669 * math/w_acosl_compat.c: Likewise.
7670 * math/w_asin_compat.c: Likewise.
7671 * math/w_asinf_compat.c: Likewise.
7672 * math/w_asinl_compat.c: Likewise.
7673 * math/w_ilogb_template.c: Likewise.
7674 * math/w_j0_compat.c: Likewise.
7675 * math/w_j0f_compat.c: Likewise.
7676 * math/w_j0l_compat.c: Likewise.
7677 * math/w_j1_compat.c: Likewise.
7678 * math/w_j1f_compat.c: Likewise.
7679 * math/w_j1l_compat.c: Likewise.
7680 * math/w_jn_compat.c: Likewise.
7681 * math/w_jnf_compat.c: Likewise.
7682 * math/w_llogb_template.c: Likewise.
7683 * math/w_log10_compat.c: Likewise.
7684 * math/w_log10f_compat.c: Likewise.
7685 * math/w_log10l_compat.c: Likewise.
7686 * math/w_log2_compat.c: Likewise.
7687 * math/w_log2f_compat.c: Likewise.
7688 * math/w_log2l_compat.c: Likewise.
7689 * math/w_log_compat.c: Likewise.
7690 * math/w_logf_compat.c: Likewise.
7691 * math/w_logl_compat.c: Likewise.
7692 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7693 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7694 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7695 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7699 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7700 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7702 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7703 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7704 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7705 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7706 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7707 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7708 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7709 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7710 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7711 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7712 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7713 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7714 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7715 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7716 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7717 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7720 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7721 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7722 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7723 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7724 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7725 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7726 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7727 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7728 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7729 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7730 * sysdeps/ieee754/k_standardl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7733 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7734 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7738 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7746 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7748 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7750 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7751 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7753 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7755 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7756 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7757 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7758 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7761 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7762 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7763 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7764 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7765 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7766 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7767 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7768 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7769 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7770 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7771 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7772 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7773 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7774 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7775 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7776 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7777 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7778 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7779 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7780 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7781 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7782 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7783 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7784 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7785 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7786 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7787 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7788 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7789 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7790 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7791 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7792 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7793 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7794 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7795 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7796 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7797 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7798 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7799 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7800 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7801 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7802
a6e8926f
PP
78032018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7804
7805 [BZ #20271]
7806 * include/stdio.h (__libc_fatal): Mention newline in comment.
7807 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7808 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7809 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7810 * nss/nsswitch.c (__nss_next2): Likewise.
7811 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7812 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7813 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7814 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7815 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7816 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7817 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7818 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7819 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7820 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7821 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7822 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7823 (__netlink_assert_response): Likewise.
7824
2bbd06bc
JM
78252018-08-31 Joseph Myers <joseph@codesourcery.com>
7826
7827 * conform/glibcconform.py: New file.
7828 * conform/list-header-symbols.py: Likewise.
7829 * conform/list-header-symbols.pl: Remove.
7830 * conform/Makefile (tests-special): Only add linknamespace tests
7831 if [PYTHON].
7832 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7833
81b9d87b
L
78342018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7835
7836 [BZ #23597]
7837 * support/Makefile (libsupport-routines): Add
7838 support_copy_file_range and xcopy_file_range.
7839 * support/support.h: Include <sys/types.h>.
7840 (support_copy_file_range): New prototype.
7841 * support/support_copy_file_range.c: New file. Copied and
7842 modified from io/copy_file_range-compat.c.
7843 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7844 instead of copy_file_range.
7845 * support/xcopy_file_range.c: New file.
7846 * support/xunistd.h (xcopy_file_range): New prototype.
7847
d330f31a
CD
78482018-08-30 Carlos O'Donell <carlos@redhat.com>
7849
7850 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7851 xpthread_create and xpthread_join.
7852
2bda273a
FW
78532018-08-30 Florian Weimer <fweimer@redhat.com>
7854
7855 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7856
3bad2358
SL
78572018-08-30 Stefan Liebler <stli@linux.ibm.com>
7858
7859 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7860 if malloc fails.
7861
09c12efc
JM
78622018-08-29 Joseph Myers <joseph@codesourcery.com>
7863
7864 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7865 and minus_oflow as non-finite.
7866
ff6b2450
JM
78672018-08-28 Joseph Myers <joseph@codesourcery.com>
7868
7869 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7870 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7871 moved to fenv_private.h except for ...
7872 (TOINT_INTRINSICS): Kept in math_private.h.
7873 (roundtoint): Likewise.
7874 (converttoint): Likewise.
7875 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7876 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7877 * sysdeps/arm/math_private.h: Remove.
7878 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7879 ....
7880 * sysdeps/generic/math_private.h: ... this file. Include
7881 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7882 Include <fenv_private.h>. Remove functions and macros moved to
7883 fenv_private.h.
7884 * sysdeps/i386/fpu/math_private.h: Remove.
7885 * sysdeps/mips/math_private.h: Move to ....
7886 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7887 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7888 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7889 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7890 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7891 * sysdeps/powerpc/fpu/math_private.h: Do not include
7892 <fenv_private.h>.
7893 * sysdeps/riscv/rvf/math_private.h: Move to ....
7894 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7895 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7896 <fenv_private.h>.
7897 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7898 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7899 * sysdeps/sparc/fpu/math_private.h: Remove.
7900 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7901 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7902 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7903 <fenv_private.h>.
7904 * sysdeps/x86_64/fpu/math_private.h: Do not include
7905 <sysdeps/i386/fpu/fenv_private.h>.
7906
761404b7
FW
79072018-08-28 Florian Weimer <fweimer@redhat.com>
7908
7909 [BZ #23578]
7910 * posix/tst-regcomp-truncated.c: New file.
7911 * posix/Makefile (tests): Add it.
7912 (tst-regcomp-truncated.out): Depend on generated locales.
7913
d6c44c3d
FW
79142018-08-28 Florian Weimer <fweimer@redhat.com>
7915
7916 * support/test-container.c (main): Treat unshare failure with
7917 EPERM as an unsupported test.
7918
745664bd
FW
79192018-08-28 Florian Weimer <fweimer@redhat.com>
7920
7921 [BZ #23520]
7922 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7923 * nscd/netgroupcache.c
7924 (addgetnetgrentX): Add tofreep parameter. Do not free
7925 heap-allocated buffer.
7926 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7927 (addgetnetgrentX_ignore): New function.
7928 (addgetnetgrent): Call it.
7929 (readdgetnetgrent): Likewise.
7930
c8dd67e7
RS
79312018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7932
7933 * string/memmem.c: Use memcmp for first match.
7934
5abedf97
RL
79352018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7936
7937 [BZ #17426]
7938 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7939
86de0499
DD
79402018-08-27 DJ Delorie <dj@redhat.com>
7941
7942 * support/Makefile (others): Don't list programs explicitly as a
7943 dependency of "others".
7944
c3ab2110
JM
79452018-08-27 Joseph Myers <joseph@codesourcery.com>
7946
7947 * sysdeps/generic/math-tests-trap-force.h: New file.
7948 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7949 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7950 * sysdeps/powerpc/math-tests.h: Remove file.
7951 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7952
99ea93ca
MK
79532018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7954 Torvald Riegel <triegel@redhat.com>
7955
7956 [BZ #23538]
7957 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7958 Update r to include the set wake-request flag if waiters are
7959 remaining after spinning.
7960
4061791f
JM
79612018-08-27 Joseph Myers <joseph@codesourcery.com>
7962
7963 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7964
bc680b33
PE
79652018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7966
761404b7 7967 [BZ #23578]
bc680b33
PE
7968 regex: fix uninitialized memory access
7969 I introduced this bug into gnulib in commit
7970 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7971 eventually it was merged into glibc. The bug was found by
7972 project-repo <bugs@feusi.co> and reported here:
7973 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7974 Diagnosis and draft fix reported by Assaf Gordon here:
7975 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7976 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7977 * posix/regex_internal.c (build_wcs_upper_buffer):
7978 Fix bug when mbrtowc returns 0.
7979
02458a52
CD
79802018-08-24 Carlos O'Donell <carlos@redhat.com>
7981
7982 * po/be.po: Update translation.
7983
acc2842a
DD
79842018-08-24 DJ Delorie <dj@delorie.com>
7985
7986 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7987 $(libunwind).
7988
6c3a8a9d
PP
79892018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7990
7991 [BZ #23400]
7992 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7993 create temporary files in source tree.
7994
895ef79e
JM
79952018-08-24 Joseph Myers <joseph@codesourcery.com>
7996
7997 * sysdeps/generic/math-tests-trap.h: New file.
7998 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7999 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8000 * sysdeps/aarch64/math-tests.h: Remove file.
8001 * sysdeps/arm/math-tests.h: Likewise.
8002 * sysdeps/riscv/math-tests.h: Likewise.
8003 * sysdeps/aarch64/math-tests-trap.h: New file.
8004 * sysdeps/arm/math-tests-trap.h: Likewise.
8005 * sysdeps/riscv/math-tests-trap.h: Likewise.
8006
ca3aac57
WD
80072018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8008
8009 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8010 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8011 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8012 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8013 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8014 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8017 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8018 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8019 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8020 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8021 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8022 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8023 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8024 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8025 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8026 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8027
60bcac09
JM
80282018-08-23 Joseph Myers <joseph@codesourcery.com>
8029
8030 * sysdeps/generic/math-tests-exceptions.h: New file.
8031 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8032 (EXCEPTION_TESTS_float): Do not define here.
8033 (EXCEPTION_TESTS_double): Likewise.
8034 (EXCEPTION_TESTS_long_double): Likewise.
8035 (EXCEPTION_TESTS_float128): Likewise.
8036 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8037 Likewise.
8038 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8039 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8040 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8041 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8042 * sysdeps/mips/math-tests.h: Likewise.
8043 * sysdeps/nios2/math-tests.h: Likewise.
8044 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8045 (EXCEPTION_TESTS_float): Do not define here.
8046 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8047 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8048 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8049
3bded567
WD
80502018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8051
8052 * NEWS: Move optimized sinf entry to 2.29.
8053
900fb446
WD
80542018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8055
8056 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8057
561b0bec
DD
80582018-08-22 DJ Delorie <dj@redhat.com>
8059
8060 * Makefile (testroot.pristine): New rules to initialize the
8061 test-in-container "testroot".
8062 * Makerules (all-testsuite): Add tests-container.
8063 * Rules (tests-expected): Add tests-container.
8064 (binaries-all-tests): Likewise.
8065 (tests-container): New, run these tests in the testroot container.
8066 * support/Makefile (others): Add *-container, support_paths.c,
8067 xmkdirp, and links-dso-program.
8068 * support/links-dso-program-c.c: New.
8069 * support/links-dso-program.cc: New.
8070 * support/test-container.c: New.
8071 * support/shell-container.c: New.
8072 * support/echo-container.c: New.
8073 * support/true-container.c: New.
8074 * support/xmkdirp.c: New.
8075 * support/xsymlink.c: New.
8076 * support/support_paths.c: New.
8077 * support/support.h: Add support paths prototypes.
8078 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8079
8080 * nss/tst-nss-test3.c: Convert to test-in-container.
8081 * nss/tst-nss-test3.root/: New.
8082
b35d3509
PE
80832018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8084
8085 regex: port Gnulib code to z/OS POSIX environment
8086 Problem reported by Arnold Robbins in:
8087 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8088 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8089 Undef.
8090
16a25138
JM
80912018-08-22 Joseph Myers <joseph@codesourcery.com>
8092
debc4c98
JM
8093 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8094 (ROUNDING_TESTS_double): Remove.
8095 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8096 (ROUNDING_TESTS_double): Remove.
8097 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8098 (ROUNDING_TESTS_double): Remove.
8099 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8100 (ROUNDING_TESTS_float): Remove.
8101 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8102 (ROUNDING_TESTS_float): Remove.
8103 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8104 (ROUNDING_TESTS_float): Remove.
8105 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8106 !TEST_MATHVEC here.
8107 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8108 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8109
16a25138
JM
8110 * sysdeps/generic/math-tests-rounding.h: New file.
8111 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8112 (ROUNDING_TESTS_float): Do not define here.
8113 (ROUNDING_TESTS_double): Likewise.
8114 (ROUNDING_TESTS_long_double): Likewise.
8115 (ROUNDING_TESTS_float128): Likewise.
8116 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8117 (ROUNDING_TESTS_double): Undefine before defining.
8118 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8119 (ROUNDING_TESTS_double): Undefine before defining.
8120 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8121 (ROUNDING_TESTS_double): Undefine before defining.
8122 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8123 (ROUNDING_TESTS_float): Undefine before defining.
8124 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8125 (ROUNDING_TESTS_float): Undefine before defining.
8126 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8127 (ROUNDING_TESTS_float): Undefine before defining.
8128 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8129 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8130 not define here.
8131 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8132 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8133 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8134 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8135 (ROUNDING_TESTS_float): Do not define here.
8136 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8137 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8138 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8139 (ROUNDING_TESTS_float): Likewise.
8140 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8141 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8142 * sysdeps/mips/math-tests.h [__mips_soft_float]
8143 (ROUNDING_TESTS_float): Likewise.
8144 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8145 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8146 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8147 (ROUNDING_TESTS_double): Likewise.
8148 (ROUNDING_TESTS_long_double): Likewise.
8149
38b0593e
TK
81502018-08-21 Tobias Klauser <tklauser@distanz.ch>
8151
8152 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8153 (PF_XDP): New macro.
8154 (AF_XDP): New macro.
8155 (SOL_XDP): New macro.
8156
5cd7dbde
JM
81572018-08-21 Joseph Myers <joseph@codesourcery.com>
8158
8159 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8160 (TCP_INQ): Likewise.
8161 (TCP_CM_INQ): Likewise.
8162 (TCP_REPAIR_ON): Likewise.
8163 (TCP_REPAIR_OFF): Likewise.
8164 (TCP_REPAIR_OFF_NO_WP): Likewise.
8165 (struct tcp_zerocopy_receive): New type.
8166
aa42b3db
FW
81672018-08-21 Florian Weimer <fweimer@redhat.com>
8168
8169 * support/support.h (support_descriptor_supports_holes): Declare.
8170 * support/Makefile (libsupport-routines): Add
8171 support_descriptor_supports_holes.
8172 * support/support_descriptor_supports_holes.c: New file.
8173 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8174 and stop testing if holes are not supported.
8175 * io/test-lfs.c (do_prepare): Likewise.
8176 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8177 Likewise.
8178 * timezone/tst-tzset.c (create_tz_file): Likewise.
8179 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8180 variable.
8181 (do_prepare): Set it.
8182 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8183
c7627f41
FW
81842018-08-21 Florian Weimer <fweimer@redhat.com>
8185
8186 [BZ #17248]
8187 * Makeconfig (+cflags): Do not sort (and deduplicate).
8188
ef939d92
FW
81892018-08-21 Florian Weimer <fweimer@redhat.com>
8190
8191 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8192 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8193
88ffb39d
FW
81942018-08-20 Florian Weimer <fweimer@redhat.com>
8195
8196 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8197 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8198
17419540
JM
81992018-08-20 Joseph Myers <joseph@codesourcery.com>
8200
e6edd40d
JM
8201 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8202 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8203 and ssi_arch members.
8204
17419540
JM
8205 * elf/elf.c (NT_VMCOREDD): New macro.
8206 (AT_MINSIGSTKSZ): Likewise.
8207
fa78896b
RS
82082018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8209
8210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8211 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8212 s_cosf-ppc64 and s_cosf-power8.
8213 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8214 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8215 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8216 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8223 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8224 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8225
86a6c75a
FW
82262018-08-17 Florian Weimer <fweimer@redhat.com>
8227
8228 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8229
35cfefd9
FW
82302018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8231
8232 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8233
6413fcde
FW
82342018-08-16 Florian Weimer <fweimer@redhat.com>
8235
8236 * configure.ac: Add --with-nonshared-cflags option.
8237 * config.make.in (extra-nonshared-cflags): Set variable.
8238 * Makeconfig (CFLAGS-.oS): Use it.
8239 * manual/install.texi (Configuring and compiling): Document
8240 --with-nonshared-cflags.
8241 * configure: Regenerate.
8242 * INSTALL: Likewise.
8243
93a2584c
FW
82442018-08-16 Florian Weimer <fweimer@redhat.com>
8245
8246 * Makeconfig (ASFLAGS): Always append required assembler flags.
8247
f6f275d2 82482018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
8249
8250 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8251 (malloc_consolidate): Likewise.
8252
30a17d8c
PC
82532018-08-16 Pochang Chen <johnchen902@gmail.com>
8254
8255 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8256
953a5a4a
SP
82572018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8258
34f86d61
SP
8259 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8260 every strlen call.
8261
953a5a4a
SP
8262 * benchtests/bench-strlen.c: Print performance numbers in json.
8263
7793ad7a
RS
82642018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8265
8266 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8267 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8268 only for little endian.
8269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8270 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8271 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8272 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8273 Add check for little endian.
8274 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8275 (__strcmp_power9): Add check for little endian.
8276 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8277 Add check for little endian.
8278 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8279 (__strncmp_power9): Add check for little endian.
8280 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8281 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8282 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8283 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8284 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8285
436e4d5b
SP
82862018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8287
8288 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8289 [!STRLEN](STRLEN): Set to __strlen.
8290 * sysdeps/aarch64/multiarch/strlen.c: New file.
8291 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8292 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8293 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8294 (__libc_ifunc_impl_list): Add strlen.
8295 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8296 strlen_generic and strlen_asimd.
8297
126c4e3f
WD
82982018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8299
8300 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8301 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8302 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8303
49acec17
WD
83042018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8305
8306 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8307
fdb16de3
FW
83082018-08-14 Florian Weimer <fweimer@redhat.com>
8309
8310 [BZ #23519]
8311 * include/stdio.h (__vfxprintf): Declare.
8312 * stdio-common/fxprintf.c (__vfxprintf): New function.
8313 (__fxprintf): Call it.
8314 * misc/err.c (convert_and_print): Remove function.
8315 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8316 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8317 * misc/Makefile (tests): Add tst-warn-wide.
8318 * misc/tst-warn-wide.c: New file.
8319
599cf397
WD
83202018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8321 Szabolcs Nagy <szabolcs.nagy@arm.com>
8322
8323 * NEWS: Mention sinf, cosf, sincosf.
8324 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8325 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8326 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8327 constants rather than including generic sincosf.h.
8328 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8329 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8330 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8331 (reduced_cos): Remove.
8332 (sinf_poly): New function.
8333 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8334
e95c6f61
FW
83352018-08-14 Florian Weimer <fweimer@redhat.com>
8336
8337 [BZ #23521]
8338 [BZ #23522]
8339 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8340 processing, bail out if no room, and close the stream before
8341 returning ERANGE.
8342 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8343 (tst-nss-files-alias-leak): Link with libdl.
8344 (tst-nss-files-alias-leak.out): Depend on nss_files.
8345
8346 * nss/tst-nss-files-alias-leak.c: New file.
8347
2d7acfac
FW
83482018-08-14 Florian Weimer <fweimer@redhat.com>
8349
8350 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8351 server_user, stat_user.
8352
f3cd0904
JM
83532018-08-13 Joseph Myers <joseph@codesourcery.com>
8354
17b26500
JM
8355 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8356 version to 4.18.
8357 (io_pgetevents): New syscall.
8358 (rseq): Likewise.
8359
3c1622eb
JM
8360 * manual/install.texi (Configuring and compiling): Do not list
8361 tools used for testing pretty printers here.
8362 (Tools for Compilation): List Python, PExpect and GDB here.
8363 Update descriptions of uses of Perl and Python.
8364 * INSTALL: Regenerate.
8365
f3cd0904
JM
8366 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8367 version to 4.18.
8368
b7b52b9d
FW
83692018-08-13 Florian Weimer <fweimer@redhat.com>
8370
8371 * misc/error.c (error): Add missing va_end call.
8372 (error_at_line): Likewise.
8373
01780188
FW
83742018-08-13 Florian Weimer <fweimer@redhat.com>
8375
8376 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8377
44727aec
SP
83782018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8379
8cac1f26
SP
8380 * benchtests/scripts/benchout.schema.json (properties): Add
8381 new properties.
8382
44727aec
SP
8383 * benchtests/bench-skeleton.c (main): Add duration and
8384 iterations attributes.
8385
c77bf91b
PE
83862018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8387
8388 regex: Gnulib unibyte RRI uses bytes not chars
8389 Adjust the non-glibc code to agree with what Gawk needs for
8390 rational range interpretation (RRI) for regular expression ranges.
8391 In unibyte locales, Gawk wants ranges to use the underlying byte
8392 rather than the character code point. This change does not affect
8393 glibc proper.
8394 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8395 In unibyte locales, use the byte value rather than
8396 running it through btowc.
8397
2ce7ba7d
JM
83982018-08-10 Joseph Myers <joseph@codesourcery.com>
8399
8400 * sysdeps/generic/math-tests-snan.h: New file.
8401 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8402 (SNAN_TESTS_float): Do not define here.
8403 (SNAN_TESTS_double): Likewise.
8404 (SNAN_TESTS_long_double): Likewise.
8405 (SNAN_TESTS_float128): Likewise.
8406 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8407 * sysdeps/i386/fpu/math-tests.h: Remove file.
8408 * sysdeps/ia64/math-tests-snan.h: New file.
8409 * sysdeps/ia64/math-tests.h: Remove file.
8410 * sysdeps/x86/math-tests.h: Likewise.
8411 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8412
ea5c662c
WD
84132018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8414 Szabolcs Nagy <szabolcs.nagy@arm.com>
8415
8416 * math/Makefile: Add s_sincosf_data.c.
8417 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8418 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8419 (sincosf_poly): Likewise.
8420 (reduce_small): Likewise.
8421 (reduce_large): Likewise.
8422 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8423 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8424 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8425 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8426
43cfdf8f
SN
84272018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8428 Szabolcs Nagy <szabolcs.nagy@arm.com>
8429
8430 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8431 (converttoint): Use lround.
8432 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8433 document the semantics when TOINT_INTRINSICS is set.
8434 (converttoint): Likewise.
8435 (TOINT_RINT): Remove.
8436 (TOINT_SHIFT): Remove.
8437 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8438 path.
8439
69065288
FW
84402018-08-10 Florian Weimer <fweimer@redhat.com>
8441
8442 [BZ #23497]
8443 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8444 function.
8445 (__old_getdents64): Use getdents64. Convert entries without
8446 moving them.
8447 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8448 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8449 tst-readdir64-compat.
8450
8f135efc
IL
84512018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8452
8453 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8454 Fix unwind.
8455
71c01af5
IL
84562018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8457
8458 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8459 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8460 code to s390x-mcount.h and #include it.
8461 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8462 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8463 (__fentry__): Add.
8464
8d997d22
IL
84652018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8466
8467 * stdlib/Versions: Remove __fentry__.
8468 * sysdeps/i386/Versions: Add __fentry__.
8469 * sysdeps/x86_64/Versions: Add __fentry__.
8470
69e2444a
IL
84712018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8472
8473 * sysdeps/s390/Makefile: Register the new tests.
8474 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8475 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8476 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8477 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8478 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8479 * sysdeps/s390/tst-dl-runtime.c: New file.
8480
bde6320f
IL
84812018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8482
8483 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8484 Do not clobber R0.
8485
5755f5e4
IL
84862018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8487
8488 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8489 Do not clobber R0.
8490
c8ad8522
IL
84912018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8492
8493 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8494 Do not clobber R0.
8495
b215eee1
IL
84962018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8497
8498 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8499 Do not clobber R0.
8500
329c6fec
IL
85012018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8502
8503 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8504 Use symbolic offsets for stack variables.
8505
0fb7afa2
IL
85062018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8507
8508 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8509 Use symbolic offsets for stack variables.
8510
6954059a
IL
85112018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8512
8513 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8514 Use symbolic offsets for stack variables.
8515
c7099673
IL
85162018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8517
8518 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8519 Use symbolic offsets for stack variables.
8520
2813e41e
JM
85212018-08-09 Joseph Myers <joseph@codesourcery.com>
8522
8523 * math/gen-libm-test.py: New file.
8524 * math/gen-libm-test.pl: Remove.
8525 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8526 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8527 gen-libm-test.pl.
8528 ($(libm-test-c-noauto-obj)): Likewise.
8529 ($(libm-test-c-auto-obj)): Likewise.
8530 ($(libm-test-c-narrow-obj)): Likewise.
8531 (regen-ulps): Likewise.
8532 * math/README.libm-test: Update references to gen-libm-test.pl.
8533 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8534 referencing gen-libm-test.pl.
8535 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8536 * math/libm-test-support.c: Likewise.
8537 * math/libm-test-support.h: Likewise.
8538 * sysdeps/generic/libm-test-ulps: Likewise.
8539
be64b194
SP
85402018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8541
8542 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8543 Fix value.
8544
140137fb
JM
85452018-08-08 Joseph Myers <joseph@codesourcery.com>
8546
8547 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8548 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8549
b5403eca
ST
85502018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8551
8552 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8553 symbols.
8ac0f9e6
ST
8554 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8555 __pthread_setspecific): Add hidden proto.
8556 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8557 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 8558
014efdd7
SP
85592018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8560
8561 * benchtests/bench-string.h (buf1_size, buf2_size): New
8562 variables.
8563 (init_sizes): New function.
8564 (test_init): Use it.
8565 (alloc_buf, exit_error): New functions.
8566 (alloc_bufs): Use ALLOC_BUF.
8567 (realloc_bufs): Remove.
8568 * benchtests/bench-memcmp.c (do_test): Adjust.
8569 * benchtests/bench-memset-large.c (do_test): Likewise.
8570 * benchtests/bench-memset-walk.c (do_test): Likewise.
8571 * benchtests/bench-memset.c (do_test): Likewise.
8572 * benchtests/bench-strncmp.c (do_test): Likewise.
8573
92a4cba7
AS
85742018-08-06 Andreas Schwab <schwab@suse.de>
8575
8576 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8577 of CONST_THREAD_AREA.
8578
fb4c32ae
L
85792018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8580
8581 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8582 (STATE_SAVE_MASK): Likewise.
8583 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8584 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8585 (STATE_SAVE_MASK): Likewise.
8586 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8587 instead of <cpu-features.h>.
8588
bf418187
DD
85892018-08-03 DJ Delorie <dj@redhat.com>
8590
8591 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 8592 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 8593
bb17621a
DD
8594 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8595
ea705eb5
JM
85962018-08-03 Joseph Myers <joseph@codesourcery.com>
8597
8598 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8599 after TEST_* calls.
8600 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8601 * math/libm-test-logb.inc (logb_test_data): Likewise.
8602
284f42bc
WD
86032018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8604
8605 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8606 * string/strstr.c (AVAILABLE): Likewise.
8607
430388d5
L
86082018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8609
8610 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8611 <init-arch.h>.
8612 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8613 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8614 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8615
c5760aa9
CD
86162018-08-03 Carlos O'Donell <carlos@redhat.com>
8617
8618 * po/be.po: Update translation.
8619
6b535b84
CD
8620 * po/be.po: Update translation.
8621
ae67f2e5
L
86222018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8623
8624 * sysdeps/x86/cpu-features-offsets.sym
8625 (rtld_global_ro_offsetof): Removed.
8626 (CPU_FEATURES_SIZE): Likewise.
8627 (CPUID_OFFSET): Likewise.
8628 (CPUID_SIZE): Likewise.
8629 (CPUID_EAX_OFFSET): Likewise.
8630 (CPUID_EBX_OFFSET): Likewise.
8631 (CPUID_ECX_OFFSET): Likewise.
8632 (CPUID_EDX_OFFSET): Likewise.
8633 (FAMILY_OFFSET): Likewise.
8634 (MODEL_OFFSET): Likewise.
8635 (FEATURE_OFFSET): Likewise.
8636 (FEATURE_SIZ): Likewise.
8637 (COMMON_CPUID_INDEX_1): Likewise.
8638 (COMMON_CPUID_INDEX_7): Likewise.
8639 (FEATURE_INDEX_1): Likewise.
8640 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8641
cfb0ff93 86422018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
8643
8644 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8645 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8646 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8647 (install-locales): Depend on install-locale-archive.
8648 (install-locale-archive): Define.
7b7adbd8 8649 (install-locale-files): Define.
08a5ee14
CD
8650 (build-one-locale): Define macro.
8651 * manual/install.texi (Running make install): Document.
8652 * manual/INSTALL: Regenerate.
8653
525691bd
SP
86542018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8655
d67d634b
SP
8656 * benchtests/scripts/compare_strings.py: Import traceback.
8657 (parse_file): Pretty-print error.
8658
525691bd
SP
8659 * NEWS: Mention the change.
8660 * elf/dl-tunables.list: Rename tune namespace to cpu.
8661 * sysdeps/powerpc/dl-tunables.list: Likewise.
8662 * sysdeps/x86/dl-tunables.list: Likewise.
8663 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8664 cpu.name.
8665 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8666 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8667 * manual/README.tunables: Likewise.
8668 * manual/tunables.texi: Likewise.
8669 * sysdeps/powerpc/cpu-features.c: Likewise.
8670 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8671 (init_cpu_features): Likewise.
8672 * sysdeps/x86/cpu-features.c: Likewise.
8673 * sysdeps/x86/cpu-features.h: Likewise.
8674 * sysdeps/x86/cpu-tunables.c: Likewise.
8675 * sysdeps/x86_64/Makefile: Likewise.
8676 * sysdeps/x86/dl-cet.c: Likewise.
8677
506d7fb1
JM
86782018-08-02 Joseph Myers <joseph@codesourcery.com>
8679
8680 [BZ #23479]
8681 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8682 [__mips_hard_float].
8683 (FE_UNDERFLOW): Likewise.
8684 (FE_OVERFLOW): Likewise.
8685 (FE_DIVBYZERO): Likewise.
8686 (FE_INVALID): Likewise.
8687 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8688 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8689 (FE_UPWARD): Likewise.
8690 (FE_DOWNWARD): Likewise.
8691 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8692 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8693 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8694 [__mips_hard_float].
8695 (FP_ROUNDMODE): Likewise.
8696 (FP_RND_NEAREST): Likewise.
8697 (FP_RND_ZERO): Likewise.
8698 (FP_RND_PINF): Likewise.
8699 (FP_RND_MINF): Likewise.
8700 (FP_EX_INVALID): Likewise.
8701 (FP_EX_OVERFLOW): Likewise.
8702 (FP_EX_UNDERFLOW): Likewise.
8703 (FP_EX_DIVZERO): Likewise.
8704 (FP_EX_INEXACT): Likewise.
8705 (FP_INIT_ROUNDMODE): Likewise.
8706 * sysdeps/mips/nofpu/fesetenv.c: New file.
8707 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8708
f6dcefbe
JM
87092018-08-01 Joseph Myers <joseph@codesourcery.com>
8710
8711 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8712 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8713 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8714 conditional on [FE_UPWARD].
8715
fa67ba06
PE
87162018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8717
8718 regex: fix memory leak in Gnulib
8719 Problem and fix reported by Assaf Gordon in:
8720 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8721 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8722 range_ends members too, as they are defined in 'struct
8723 re_charset_t' even if not _LIBC. This affects only Gnulib.
8724
82c80ac2
L
87252018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8726
8727 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8728 ...
8729 (get_common_indices): This.
8730 (init_cpu_features): Updated.
8731
c0e7e2c1
JM
87322018-08-01 Joseph Myers <joseph@codesourcery.com>
8733
46f8cf57
JM
8734 * sysdeps/generic/math-tests-snan-payload.h: New file.
8735 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8736 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8737 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8738 * sysdeps/generic/math-tests.h: Include
8739 <math-tests-snan-payload.h>.
8740 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8741 * sysdeps/hppa/math-tests.h: Remove file.
8742 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8743 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8744 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8745 Likewise.
8746
c0e7e2c1
JM
8747 * sysdeps/generic/math-tests-snan-cast.h: New file.
8748 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8749 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8750 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8751 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8752
74939c83
CD
87532018-08-01 Carlos O'Donel <carlos@redhat.com>
8754
b029723b
CD
8755 * version.h (RELEASE): Set to "development".
8756 (VERSION): Set to "2.28.9000".
8757 * NEWS (2.29): New section.
8758
3c03baca
CD
8759 * version.h (RELEASE): Set to "stable".
8760 (VERSION): Set to "2.28".
8761 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8762 * NEWS: Add the list of bugs fixed in 2.28.
8763
74939c83
CD
8764 * po/ca.po: Update to latest version.
8765 * po/cs.po: Likewise
8766 * po/da.po: Likewise
8767 * po/el.po: Likewise
8768 * po/eo.po: Likewise
8769 * po/es.po: Likewise
8770 * po/fi.po: Likewise
8771 * po/fr.po: Likewise
8772 * po/gl.po: Likewise
8773 * po/hu.po: Likewise
8774 * po/ia.po: Likewise
8775 * po/id.po: Likewise
8776 * po/it.po: Likewise
8777 * po/ja.po: Likewise
8778 * po/ko.po: Likewise
8779 * po/lt.po: Likewise
8780 * po/nb.po: Likewise
8781 * po/nl.po: Likewise
8782 * po/pt_BR.po: Likewise
8783 * po/ru.po: Likewise
8784 * po/rw.po: Likewise
8785 * po/sk.po: Likewise
8786 * po/sl.po: Likewise
8787 * po/tr.po: Likewise
8788 * po/zh_CN.po: Likewise
8789 * po/zh_TW.po: Likewise
8790
d4b54bdf
ST
87912018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8792
8793 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8794 initialization...
8795 (init): ... before initializing libpthread.
8796
42fc12ef
ST
8797 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8798 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8799 (__mach_setup_tls): ... new function.
8800 (mach_setup_tls): New alias.
8801 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8802 __mach_setup_thread.
8803 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8804 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8805 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8806 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8807
6cca855e
CD
88082018-07-31 Carlos O'Donell <carlos@redhat.com>
8809
f650932b
CD
8810 * manual/install.texi: Update versions.
8811 * INSTALL: Regenerate.
8812
6cca855e
CD
8813 * manual/contrib.texi (Contributors): Update contributions.
8814
07fdea47
CD
88152018-07-31 Carlos O'Donell <carlos@redhat.com>
8816
8817 * po/be.po: Update translations.
8818
63d5fad4
AZ
88192018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8820
8821 * sysdeps/sh/libm-test-ulps: Update.
8822
1ff712a6
CD
88232018-07-30 Carlos O'Donell <carlos@redhat.com>
8824
8825 * po/bg.po: Update translations.
8826 * po/de.po: Likewise.
8827 * po/hr.po: Likewise.
8828 * po/pt_BR.po: Likewise.
8829 * po/sv.po: Likewise.
8830 * po/vi.po: Likewise.
8831
98864ed0
L
88322018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8833
8834 [BZ #23467]
8835 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8836 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8837 (CFLAGS-tst-cet-property-1.o): New.
8838 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8839 ($(objpfx)tst-cet-property-2): Likewise.
8840 ($(objpfx)tst-cet-property-2.out): Likewise.
8841 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8842 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8843 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8844 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8845 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8846
c92a00d8
L
88472018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8848
8849 [BZ #23458]
8850 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8851
99bc6241
ST
88522018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8853
8854 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8855 __sbrk): Do not set attribute_hidden.
af86087f 8856 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
8857 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8858 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8859
bcb1c4af
CD
88602018-07-27 Carlos O'Donell <carlos@redhat.com>
8861
8862 * po/uk.po: Update translations.
8863 * po/cs.po: Likewise.
8864 * po/pl.po: Likewise.
8865
4591b7db
L
88662018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8867
8868 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8869 parse beyond the note end.
8870
2c6da2f4
AZ
88712018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8872
8873 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8874 kernel does not support OFD locks.
8875 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8876
20365a31
ST
88772018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8878
8879 * sysdeps/mach/hurd/Versions (libc): Make __access and
8880 __access_noerrno external so they can override the ld symbols.
8881 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8882 __writev, __open64, __access_noerrno extern so they can be overrided.
8883 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8884 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8885
cb1a43db
CD
88862018-07-26 Carlos O'Donell <carlos@redhat.com>
8887
8888 * po/libc.pot: Regenerate.
8889
74759ae5
JM
88902018-07-26 Joseph Myers <joseph@codesourcery.com>
8891
8892 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8893
da80612d
L
88942018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8895
8896 [BZ #23459]
8897 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8898 function.
8899 (init_cpu_features): Call get_extended_indices for both Intel
8900 and AMD CPUs.
8901 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8902 Remove "for AMD" comment.
8903
65d87ade
L
89042018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8905
8906 [BZ # 23456]
8907 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8908 COMMON_CPUID_INDEX_80000001.
8909
c9dc4d51
SL
89102018-07-26 Stefan Liebler <stli@linux.ibm.com>
8911
8912 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8913 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8914
cfba5dbb
FW
89152018-07-26 Florian Weimer <fweimer@redhat.com>
8916
8917 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8918 aliases for symbols not in the implementation namespace.
8919
7cd7d36f
CD
89202018-07-25 Carlos O'Donell <carlos@redhat.com>
8921
8922 [BZ #23393]
8923 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8924 lowercase in LATIN script.
8925 * localedata/Makefile (test-input): Add en_US.UTF-8.
8926 * localedata/en_US.UTF-8.in: New file.
8927 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8928 and restore old tests.
8929 * posix/tst-regexloc.c (do_test): Add back range expression test.
8930
3fb455b3
L
89312018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8932
8933 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8934
d6499b70
AZ
89352018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8936
8937 * nptl/threads.h: Move to ...
8938 * sysdeps/nptl/threads.h: ... here.
8939 * sysdeps/hurd/stdc-predef.h: New file.
8940
08ac6bed
L
89412018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8942
8943 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8944 tst-cet-setcontext-1 if CET is enabled.
8945 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8946 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8947
9faaf938
AZ
89482018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8949
8950 * include/threads.h: Move to ...
8951 * sysdeps/nptl/threads.h: ... here.
8952 * sysdeps/htl/threads.h: New file.
8953 * conform/Makefile (linknamespace-libs-ISO11): Use
8954 static-thread-library instead of linking libpthread.
8955 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8956
d6b8f847
FW
89572018-07-25 Florian Weimer <fweimer@redhat.com>
8958
8959 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8960 nanoseconds into seconds.
8961 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8962 (do_test): Likewise.
8963 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8964 (do_test): Likewise. Avoid nanosecond overflow and spurious
8965 timeouts due to system load.
8966 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8967 (child_wait): Increment it.
8968 (do_test): Wait as long as necessary until all expected threads
8969 have arrived.
8970
25123a1c
L
89712018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8972 H.J. Lu <hongjiu.lu@intel.com>
8973
8974 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8975 __ssp.
8976 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8977 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8978 (__push___start_context): New.
8979 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8980 <asm/prctl.h>.
8981 (__getcontext): Record the current shadow stack base. Save the
8982 caller's shadow stack pointer and base.
8983 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8984 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8985 (__push___start_context): New prototype.
8986 (__makecontext): Call __push___start_context to allocate a new
8987 shadow stack, push __start_context onto the new stack as well
8988 as the new shadow stack.
8989 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8990 <asm/prctl.h>.
8991 (__setcontext): Restore the target shadow stack.
8992 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8993 <asm/prctl.h>.
8994 (__swapcontext): Record the current shadow stack base. Save
8995 the caller's shadow stack pointer and base. Restore the target
8996 shadow stack.
8997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8998 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8999 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9000
375a4844
L
90012018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9002
9003 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9004 tst-setcontext8 and tst-setcontext9.
9005 * stdlib/tst-setcontext6.c: New file.
9006 * stdlib/tst-setcontext7.c: Likewise.
9007 * stdlib/tst-setcontext8.c: Likewise.
9008 * stdlib/tst-setcontext9.c: Likewise.
9009
bd4f7903
L
90102018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9011
9012 * stdlib/Makefile ((tests): Add tst-setcontext5.
9013 * stdlib/tst-setcontext5.c: New file.
9014
7e28f203
L
90152018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9016
9017 * stdlib/Makefile (tests): Add tst-setcontext4.
9018 * stdlib/tst-setcontext4.c: New file.
9019
8516ad2d
L
90202018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9021
9022 * stdlib/Makefile (tests): Add tst-swapcontext1.
9023 * stdlib/tst-swapcontext1.c: New test.
9024
fddcd003
L
90252018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9028 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9029 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9030 and tst-cet-legacy-4c.
9031 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9032 and tst-cet-legacy-mod-4.
9033 (CFLAGS-tst-cet-legacy-2.c): New.
9034 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9035 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9036 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9037 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9038 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9039 ($(objpfx)tst-cet-legacy-1): Likewise.
9040 ($(objpfx)tst-cet-legacy-2): Likewise.
9041 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9042 ($(objpfx)tst-cet-legacy-2a): Likewise.
9043 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9044 ($(objpfx)tst-cet-legacy-4): Likewise.
9045 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9046 ($(objpfx)tst-cet-legacy-4a): Likewise.
9047 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9048 (tst-cet-legacy-4a-ENV): Likewise.
9049 ($(objpfx)tst-cet-legacy-4b): Likewise.
9050 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9051 (tst-cet-legacy-4b-ENV): Likewise.
9052 ($(objpfx)tst-cet-legacy-4c): Likewise.
9053 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9054 (tst-cet-legacy-4c-ENV): Likewise.
9055 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9056 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9057 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9058 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9059 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9060 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9061 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9062 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9063 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9064 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9065 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9066
9aa3113a
L
90672018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9068
9069 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9070 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9071 with ssp_base.
9072 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9073 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9074 with ssp_base.
9075
9c79cec8
AS
90762018-07-25 Andreas Schwab <schwab@suse.de>
9077
9078 [BZ #23442]
9079 * locale/weightwc.h (findidx): Handle the case where usrc is a
9080 prefix of cp but one character too short.
9081
969c3355
AZ
90822018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9083
9084 * NEWS: Add ISO C threads addition.
9085
e0f9c462
FW
90862018-07-24 Florian Weimer <fweimer@redhat.com>
9087
9088 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9089 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9090 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9091 4.13.
9092
394df381
L
90932018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9094
9095 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9096 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9097 <sys/prctl.h> and <asm/prctl.h>.
9098 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9099 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9100 and <asm/prctl.h>.
9101 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9102 ARCH_CET_LEGACY_BITMAP.
9103 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9104 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9105 * sysdeps/x86/libc-start.c: Include <startup.h>.
9106
46545530
FW
91072018-07-24 Florian Weimer <fweimer@redhat.com>
9108
9109 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9110 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9111
9d0a979e
RJ
91122018-07-24 Rical Jasan <rj@2c3t.io>
9113 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
9114 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9115
9116 [BZ #14092]
9d0a979e
RJ
9117 * manual/debug.texi: Update adjacent chapter name.
9118 * manual/probes.texi: Likewise.
9119 * manual/threads.texi (ISO C Threads): New section.
9120 (POSIX Threads): Convert to a section.
9121
91222018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9123 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9124
9125 [BZ# 14092]
0a07288b
AZ
9126 * nptl/Makefile (tests): Add new test files.
9127 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9128 * nptl/tst-cnd-basic.c: Likewise.
9129 * nptl/tst-cnd-broadcast.c: Likewise.
9130 * nptl/tst-cnd-timedwait.c: Likewise.
9131 * nptl/tst-mtx-basic.c: Likewise.
9132 * nptl/tst-mtx-recursive.c: Likewise.
9133 * nptl/tst-mtx-timedlock.c: Likewise.
9134 * nptl/tst-mtx-trylock.c: Likewise.
9135 * nptl/tst-thrd-basic.c: Likewise.
9136 * nptl/tst-thrd-detach.c: Likewise.
9137 * nptl/tst-thrd-sleep.c: Likewise.
9138 * nptl/tst-tss-basic.c: Likewise.
9139
ce7528f6
AZ
91402018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9141
c6dd669b
AZ
9142 [BZ #14092]
9143 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9144 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9145 symbols.
9146 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9147 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9148 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9149 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9150 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9151 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9152 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9153 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9154 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9155 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9156 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9157 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9159 Likewise.
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9161 Likewise.
9162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9163 Likewise.
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9165 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9166 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9167 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9168 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9169 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9170 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9171 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9172 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9173 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9174 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9175 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9176 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9177 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9178 Likewise.
9179 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9180 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9181 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9182 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9183 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9184 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9185 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9186 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9187 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9188 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9189 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9190 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9191 ikewise.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9194 Likewise.
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9196 Likewise.
9197 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9198 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9199 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9200 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9201 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9203 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9204 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9205
78d40132
AZ
9206 [BZ #14092]
9207 * conform/data/threads.h-data (thread_local): New macro.
9208 (TSS_DTOR_ITERATIONS): Likewise.
9209 (tss_t): New type.
9210 (tss_dtor_t): Likewise.
9211 (tss_create): New function.
9212 (tss_get): Likewise.
9213 (tss_set): Likewise.
9214 (tss_delete): Likewise.
9215 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9216 tss_get, and tss_set objects.
9217 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9218 * nptl/tss_create.c: New file.
9219 * nptl/tss_delete.c: Likewise.
9220 * nptl/tss_get.c: Likewise.
9221 * nptl/tss_set.c: Likewise.
9222 * sysdeps/nptl/threads.h (thread_local): New define.
9223 (TSS_DTOR_ITERATIONS): Likewise.
9224 (tss_t): New typedef.
9225 (tss_dtor_t): Likewise.
9226 (tss_create): New prototype.
9227 (tss_get): Likewise.
9228 (tss_set): Likewise.
9229 (tss_delete): Likewise.
9230
918311a3
AZ
9231 [BZ #14092]
9232 * conform/data/threads.h-data (cnd_t): New type.
9233 (cnd_init): New function.
9234 (cnd_signal): Likewise.
9235 (cnd_broadcast): Likewise.
9236 (cnd_wait): Likewise.
9237 (cnd_timedwait): Likewise.
9238 (cnd_destroy): Likewise.
9239 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9240 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9241 object.
9242 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9243 * nptl/cnd_broadcast.c: New file.
9244 * nptl/cnd_destroy.c: Likewise.
9245 * nptl/cnd_init.c: Likewise.
9246 * nptl/cnd_signal.c: Likewise.
9247 * nptl/cnd_timedwait.c: Likewise.
9248 * nptl/cnd_wait.c: Likewise.
9249 * sysdeps/nptl/threads.h (cnd_t): New type.
9250 (cnd_init): New prototype.
9251 (cnd_signa): Likewise.
9252 (cnd_broadcast): Likewise.
9253 (cnd_wait): Likewise.
9254 (cnd_timedwait): Likewise.
9255 (cnd_destroy): Likewise.
9256
3c20a679
AZ
9257 [BZ #14092]
9258 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9259 (once_flag): New type.
9260 (call_once): New function.
9261 * nptl/Makefile (libpthread-routines): Add call_once object.
9262 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9263 * nptl/call_once.c: New file.
9264 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9265 (once_flag): New type.
9266 (call_once): New prototype.
9267
18d59c1b
AZ
9268 [BZ #14092]
9269 * conform/data/threads.h-data (mtx_plain): New constant.
9270 (mtx_recursive): Likewise.
9271 (mtx_timed): Likewise.
9272 (mtx_t): New type.
9273 (mtx_init): New function.
9274 (mtx_lock): Likewise.
9275 (mtx_timedlock): Likewise.
9276 (mtx_trylock): Likewise.
9277 (mtx_unlock): Likewise.
9278 (mtx_destroy): Likewise.
9279 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9280 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9281 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9282 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9283 * nptl/mtx_destroy.c: New file.
9284 * nptl/mtx_init.c: Likewise.
9285 * nptl/mtx_lock.c: Likewise.
9286 * nptl/mtx_timedlock.c: Likewise.
9287 * nptl/mtx_trylock.c: Likewise.
9288 * nptl/mtx_unlock.c: Likewise.
9289 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9290 (mtx_recursive): Likewise.
9291 (mtx_timed): Likewise.
9292 (mtx_t): New type.
9293 (mtx_init): New prototype.
9294 (mtx_lock): Likewise.
9295 (mtx_timedlock): Likewise.
9296 (mtx_trylock): Likewise.
9297 (mtx_unlock): Likewise.
9298 (mtx_destroy): Likewise.
9299
ce7528f6
AZ
9300 [BZ #14092]
9301 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9302 (linknamespace-libs-ISO11): Add libpthread.a.
9303 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9304 functions.
9305 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9306 * nptl/Makefile (headers): Add threads.h.
9307 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9308 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9309 thrd_yield.
9310 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9311 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9312 thrd_join, thrd_sleep, and thrd_yield symbols.
9313 * nptl/descr.h (struct pthread): Add c11 field.
9314 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9315 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9316 routine with expected function prototype.
9317 (__pthread_create_2_1): Add C11 threads check based on attribute
9318 value.
9319 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9320 * nptl/thrd_create.c: New file.
9321 * nptl/thrd_current.c: Likewise.
9322 * nptl/thrd_detach.c: Likewise.
9323 * nptl/thrd_equal.c: Likewise.
9324 * nptl/thrd_exit.c: Likewise.
9325 * nptl/thrd_join.c: Likewise.
9326 * nptl/thrd_priv.h: Likewise.
9327 * nptl/thrd_sleep.c: Likewise.
9328 * nptl/thrd_yield.c: Likewise.
9329 * include/threads.h: Likewise.
9330
e27f41ba
L
93312018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9332
9333 * bits/indirect-return.h: New file.
9334 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9335 * sysdeps/x86/bits/indirect-return.h: Likewise.
9336 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9337 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9338 (swapcontext): Add __INDIRECT_RETURN.
9339 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9340 (prepare_test_buffer): Use it.
9341
21526a50
AS
93422018-07-24 Andreas Schwab <schwab@suse.de>
9343
9344 [BZ #23448]
9345 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9346 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9347
3650e1d9
L
93482018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9349
9350 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9351 Redefine if shadow stack is enabled.
9352 (SYSCALL_ERROR_LABEL): Likewise.
9353 (__vfork): Pop shadow stack and jump back to to caller directly
9354 when shadow stack is in use.
9355 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9356 Redefine if shadow stack is enabled.
9357 (SYSCALL_ERROR_LABEL): Likewise.
9358 (__vfork): Pop shadow stack and jump back to to caller directly
9359 when shadow stack is in use.
9360
ca027e0f
L
93612018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9362
9363 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9364 enabled.
9365 (foo): Likewise.
9366 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9367 (foo): Likewise.
9368
b99f1c95
JM
93692018-07-20 Joseph Myers <joseph@codesourcery.com>
9370
9371 * scripts/build-many-glibcs.py (Context.checkout): Default
9372 binutils version to 2.31 branch.
9373
c8fabb84
ZL
93742018-07-20 Zong Li <zong@andestech.com>
9375
9376 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9377 URL of gcc's tarball.
9378
786658a0
FW
93792018-07-20 Florian Weimer <fweimer@redhat.com>
9380
9381 [BZ #23396]
9382 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9383 not compare an extra byte after the end of the weights.
9384
46f2474e
ST
93852018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9386
9387 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9388 to 1.
8ba1520e
ST
9389 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9390 hidden prototypes.
9391 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9392 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
9393 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9394 list of libraries whose stack executability is expected.
9395 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9396 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9397 variable.
9398 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9399 libc.so libpthread.so.
46f2474e 9400
60088242
TS
94012018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9402
9403 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9404 SOCK_NONBLOCK.
75d5e4a0
TS
9405 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9406 and SOCK_NONBLOCK.
de195be0
TS
9407 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9408 implement __pipe2.
9409 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 9410
1cf4ae7f
LS
94112018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9412
9413 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9414 library to improve command line parsing.
9415 (__main__): make schema file as optional parameter (--schema),
9416 defaulting to benchtests/scripts/benchout.schema.json.
9417 (main): move out of the parsing stuff to __main_  and leave it
9418 only as caller of main comparison functions.
9419
e84bd851
L
94202018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9421
9422 * NEWS: Add a note for Intel CET status.
9423 * manual/install.texi: Likewise.
9424 * INSTALL: Regenerated.
9425
df467d22
QP
94262018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9427
9428 [BZ #23140]
9429 * localedata/locales/oc_FR (mon): Rename to...
9430 (alt_mon): This, then update October (typo fix).
9431 (mon): New content (genitive case, month names preceded by
9432 "de" or "d’").
9433
9434 [BZ #23422]
9435 * localedata/locales/oc_FR (abday): Update all items.
9436 (day): Update Wednesday and Saturday (typo fixes).
9437 (abmon): Update all items, except May.
9438 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9439 (LC_IDENTIFICATION): Bump the revision number and date.
9440 Keep the "category" entries in alphabetic order.
9441 (LC_ADDRESS): Remove no longer needed comment.
9442 (LC_COLLATE): Use “copy "ca_ES"”.
9443 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9444 "name_mrs".
9445
5c112f1b
JM
94462018-07-18 Joseph Myers <joseph@codesourcery.com>
9447
9448 * grp/tst_fgetgrent.c: Include <unistd.h>.
9449 (main): Use mkstemp instead of tmpnam.
9450 * io/test-utime.c (main): Likewise.
9451 * posix/annexc.c (macrofile): Change to modifiable array.
9452 (main): Remove macrofile here.
9453 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9454 macrofile here.
9455 (check_header): Do not remove macrofile here.
9456 * posix/bug-getopt1.c: Include <stdlib.h>.
9457 (do_test): Use mkstemp instead of tmpnam.
9458 * posix/bug-getopt2.c: Include <stdlib.h>.
9459 (do_test): Use mkstemp instead of tmpnam.
9460 * posix/bug-getopt3.c: Include <stdlib.h>.
9461 (do_test): Use mkstemp instead of tmpnam.
9462 * posix/bug-getopt4.c: Include <stdlib.h>.
9463 (do_test): Use mkstemp instead of tmpnam.
9464 * posix/bug-getopt5.c: Include <stdlib.h>.
9465 (do_test): Use mkstemp instead of tmpnam.
9466 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9467 (main): Use mkstemp instead of tmpnam.
9468 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9469 (main): Use mkstemp instead of tmpnam.
9470 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9471 (main): use mkstemp instead of tmpnam.
9472 * stdlib/isomac.c (macrofile): Change to modifiable array.
9473 (main): Remove macrofile here.
9474 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9475 macrofile here.
9476 (check_header): Do not remove macrofile here.
9477
6d90776d
L
94782018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9479
9480 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9481 glibc.tune.x86_shstk.
9482
e6c69509
L
94832018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9484
9485 * NEWS: Mention --enable-cet.
9486 * manual/install.texi: Document --enable-cet.
9487 * INSTALL: Regenerated.
9488
e2d40a88
L
94892018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9490
9491 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9492 Add _CET_NOTRACK before indirect jump to jump table.
9493
77a8ae09
L
94942018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9495
9496 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9497 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9498 to jump table.
9499
90d15dc5
L
95002018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9501
9502 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9503 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9504 to jump table.
9505
f1574581
L
95062018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9507
9508 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9509 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9510 to jump table.
9511
7fb61336
L
95122018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9513
9514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9515 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9516 to jump table.
9517
0a899af0
L
95182018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9519
9520 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9521 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9522 to jump table.
9523 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9524
177824e2
L
95252018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9526
9527 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9528 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9529 to jump table.
9530
00e7b76a
L
95312018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9532
9533 * sysdeps/i386/i686/multiarch/memset-sse2.S
9534 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9535 to jump table.
9536
7e119cd5
L
95372018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9538
9539 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9540 indirect jump to jump table.
9541
03aaf49b
L
95422018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9543
9544 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9545 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9546 to jump table.
9547 (MEMCPY): Likewise.
9548
811e9e52
L
95492018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9550
9551 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9552 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9553 to jump table.
9554 (MEMCPY): Likewise.
9555
8817df42
L
95562018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9559 _CET_NOTRACK before indirect jump to jump table.
9560
921595d1
L
95612018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9562
9563 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9564 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9565 to jump table.
9566
4ef60d95
L
95672018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9568
9569 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9570 indirect jump to jump table.
9571
61c4aad7
VT
95722018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9573
9574 [BZ #22241]
9575 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9576 (LOCALES): Likewise.
9577 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9578 * localedata/locales/sah_RU: New file.
9579 * localedata/sah_RU.UTF-8.in: New file.
9580
be9ccd27
L
95812018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9582
9583 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9584 "sysdep.h".
9585 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9586 _CET_ENDBR to indirect jump targets and adjust jump destination
9587 for _CET_ENDBR.
9588 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9589 "sysdep.h".
9590 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9591 _CET_ENDBR to indirect jump targets and adjust jump destination
9592 for _CET_ENDBR.
9593 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9594 "sysdep.h".
9595 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9596 _CET_ENDBR to indirect jump targets and adjust jump destination
9597 for _CET_ENDBR.
9598
5efc6777
L
95992018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9600
9601 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9602 _CET_ENDBR.
9603
562837c0
L
96042018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9605
9606 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9607 _CET_ENDBR.
9608 (_dl_tlsdesc_undefweak): Likewise.
9609 (_dl_tlsdesc_dynamic): Likewise.
9610 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9611 (_dl_tlsdesc_resolve_rel): Likewise.
9612 (_dl_tlsdesc_resolve_rela): Likewise.
9613 (_dl_tlsdesc_resolve_hold): Likewise.
9614 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9615 (_dl_tlsdesc_undefweak): Likewise.
9616 (_dl_tlsdesc_dynamic): Likewise.
9617 (_dl_tlsdesc_resolve_rela): Likewise.
9618 (_dl_tlsdesc_resolve_hold): Likewise.
9619
124bcde6
L
96202018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9621
9622 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9623 (_fini): Likewise.
9624 * sysdeps/x86_64/crti.S (_init): Likewise.
9625 (_fini): Likewise.
9626
9145f033
RL
96272018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9628
9629 [BZ #23140]
9630 * localedata/locales/os_RU (mon): Rename to...
9631 (alt_mon): This.
9632 (mon): Import from CLDR (genitive case).
9633
ba2ea23d
L
96342018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9635
9636 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9637 cet-tunables.h> when CET is enabled.
9638
f753fa7d
L
96392018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9640
9641 [BZ #21598]
9642 * configure.ac: Add --enable-cet.
9643 * configure: Regenerated.
9644 * elf/Makefille (all-built-dso): Add a comment.
9645 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9646 Include <dl-prop.h>.
9647 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9648 segment.
9649 * elf/dl-open.c: Include <dl-prop.h>.
9650 (dl_open_worker): Call _dl_open_check.
9651 * elf/rtld.c: Include <dl-prop.h>.
9652 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9653 _rtld_main_check.
9654 * sysdeps/generic/dl-prop.h: New file.
9655 * sysdeps/i386/dl-cet.c: Likewise.
9656 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9657 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9658 * sysdeps/x86/cet-tunables.h: Likewise.
9659 * sysdeps/x86/check-cet.awk: Likewise.
9660 * sysdeps/x86/configure: Likewise.
9661 * sysdeps/x86/configure.ac: Likewise.
9662 * sysdeps/x86/dl-cet.c: Likewise.
9663 * sysdeps/x86/dl-procruntime.c: Likewise.
9664 * sysdeps/x86/dl-prop.h: Likewise.
9665 * sysdeps/x86/libc-start.h: Likewise.
9666 * sysdeps/x86/link_map.h: Likewise.
9667 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9668 _CET_ENDBR.
9669 (_dl_runtime_profile): Likewise.
9670 (_dl_runtime_resolve_shstk): New.
9671 (_dl_runtime_profile_shstk): Likewise.
9672 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9673 if CET is enabled.
9674 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9675 (CFLAGS-.os): Likewise.
9676 (CFLAGS-.op): Likewise.
9677 (CFLAGS-.oS): Likewise.
9678 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9679 is enabled.
9680 (tests-special): Add $(objpfx)check-cet.out.
9681 (cet-built-dso): New.
9682 (+$(cet-built-dso:=.note)): Likewise.
9683 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9684 ($(objpfx)check-cet.out): New.
9685 (generated): Add check-cet.out.
9686 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9687 <cet-tunables.h>.
9688 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9689 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9690 (init_cpu_features): Call get_cet_status to check CET status
9691 and update dl_x86_feature_1 with CET status. Call
9692 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9693 (set_x86_shstk). Disable and lock CET in libc.a.
9694 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9695 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9696 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9697 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9698 (_CET_ENDBR): Define if not defined.
9699 (ENTRY): Add _CET_ENDBR.
9700 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9701 x86_shstk.
9702 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9703 _CET_ENDBR.
9704 (_dl_runtime_profile): Likewise.
9705
52b2a80f
RA
97062018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9707
9708 [BZ #21895]
9709 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9710 restore r2 on longjmp.
9711 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9712 test list.
9713 Added rules to build test tst-setjmp-bug21895-static.
9714 Added module setjmp-bug21895 and rules to build a shared object from it.
9715 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9716 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9717
3ae725df
WD
97182018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9719
9720 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9721 * benchtests/bench-strstr.c: Likewise.
9722 * string/memmem.c (FASTSEARCH): Define.
9723 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9724 Add support for FASTSEARCH.
9725 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9726 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9727 (FASTSEARCH): Define.
9728 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9729 * string/test-strstr.c: Likewise.
9730
31e422ca
L
97312018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9732
9733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9734 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9735
faaee1f0
L
97362018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9737 H.J. Lu <hongjiu.lu@intel.com>
9738
9739 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9740 (__longjmp): Restore shadow stack pointer if shadow stack is
9741 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9742 isn't defined for __longjmp_cancel.
9743 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9744 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9745 and SHADOW_STACK_POINTER_OFFSET is defined.
9746 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9747 (setjmp): Save shadow stack pointer if shadow stack is enabled
9748 and SHADOW_STACK_POINTER_OFFSET is defined.
9749 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9750 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9751 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9752 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9753 <jmp_buf-ssp.h>.
9754 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9755 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9756 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9757 Remove jmp_buf-ssp.sym.
9758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9759 <jmp_buf-ssp.h>.
9760 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9761 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9762 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9763 jmp_buf-ssp.sym.
9764 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9765 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9766 (__longjmp): Restore shadow stack pointer if shadow stack is
9767 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9768 isn't defined for __longjmp_cancel.
9769 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9770 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9771 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9772
ebff9c5c
L
97732018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9774
9775 [BZ #22563]
9776 * nptl/pthread_create.c: Include <tls-setup.h>.
9777 (__pthread_create_2_1): Call tls_setup_tcbhead.
9778 * sysdeps/generic/tls-setup.h: New file.
9779 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9780 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9781 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9782 Likewise.
9783 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9784 to feature_1.
9785 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9786 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9787 (X86_FEATURE_1_SHSTK): Likewise.
9788 (CET_ENABLED): Likewise.
9789 (IBT_ENABLED): Likewise.
9790 (SHSTK_ENABLED): Likewise.
9791
0a83bad2
RL
97922018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9793
9794 [BZ #23208]
9795 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9796 (LOCALES): Likewise.
9797 * localedata/dsb_DE.UTF-8.in: New file.
9798 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9799
046bfed9
FW
98002018-07-12 Florian Weimer <fweimer@redhat.com>
9801
9802 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9803 __mprotect, not mprotect.
9804
93304f5f
FW
98052018-07-11 Florian Weimer <fweimer@redhat.com>
9806
9807 * io/Makefile (headers): Add bits/statx.h.
9808
4beefeeb
MF
98092018-07-10 Mike FABIAN <mfabian@redhat.com>
9810
9811 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9812 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9813 and headers.
9814 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9815 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9816 for utf8_gen.py
9817
fd70af45
FW
98182018-07-10 Florian Weimer <fweimer@redhat.com>
9819
9820 * io/Makefile (routines): Add statx.
9821 (tests-internal): Add tst-statx.
9822 * io/Versions (GLIBC_2.28): Export statx.
9823 * io/bits/statx.h: New file.
9824 * io/sys/stat.h [__USE_GNU]: Include it.
9825 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9826 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9827 Define.
9828 * io/statx.c: New file.
9829 * io/statx_generic.: Likewise.
9830 * io/tst-statx.: Likewise.
9831 * include/bits/statx.h: Likewise.
9832 * sysdeps/unix/sysv/linux/kernel-features.h
9833 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9834 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9835 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9836 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9837 Undefine.
9838 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9839 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9840 * sysdeps/unix/sysv/linux/statx.c: New file.
9841 * manual/filesys.texi: Note that statx is undocumented.
9842 * sysdeps/**/libc*.abilist: Update.
9843
b444e8f7
AZ
98442018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9845
9846 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9847 a kernel issue which lead to test failure in some cases.
9848
7b2f4ced
FW
98492018-07-10 Florian Weimer <fweimer@redhat.com>
9850
9851 [BZ #23036]
9852 * posix/regexec.c (check_node_accept_bytes): When comparing
9853 weights, do not compare an extra byte after the end of the
9854 weights.
9855
4fa34da6
FW
98562018-07-10 Florian Weimer <fweimer@redhat.com>
9857
9858 * libio/readline.c: Fix copyright year.
9859 * libio/tst-readline.c Likewise.
9860 * nss/tst-nss-files-hosts-getent.c: Likewise.
9861
916124ed
FW
98622018-07-06 Florian Weimer <fweimer@redhat.com>
9863
9864 [BZ #18991]
9865 * nss/nss_files/files-XXX.c (internal_getent): Use
9866 __libc_readline_unlocked. Seek back to the start of the line if
9867 parsing failes with ERANGE.
9868 (get_contents_ret, get_contents): Remove.
9869 * nss/tst-nss-files-hosts-getent.c: New file.
9870 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9871 (tst-nss-files-hosts-getent): Link with -ldl.
9872
3f5e3f5d
FW
98732018-07-06 Florian Weimer <fweimer@redhat.com>
9874
9875 * include/stdio.h (__libc_readline_unlocked): Declare.
9876 (__ftello64, __fseeko64): Declare aliases.
9877 * libio/readline.c: New file.
9878 * libio/tst-readline.c: Likewise.
9879 (routines): Add readline.
9880 (tests-internal): Add tst-readlime.
9881 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9882 __libc_readline_unlocked.
9883 * libio/fseeko.c (__fseeko): Rename from fseeko.
9884 (fseeko): Add alias.
9885 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9886 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9887 (fseeko64): Add alias.
9888 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9889 * libio/ftello64.c (__ftello64): Rename from ftello64.
9890 (ftello64): Add alias.
9891
397c54c1
SN
98922018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9893
9894 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9895 HWCAP_ATOMICS.
9896
d0cd7980
SN
98972018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9898
9899 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9900 Use dl_hwcap without masking.
9901 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9902 Remove HWCAP_CPUID.
9903
ddb3c626
FW
99042018-07-06 Florian Weimer <fweimer@redhat.com>
9905
9906 * conform/conformtest.pl (checknamespace): Escape literal braces
9907 in regular expressions.
9908
bce5911b
AP
99092018-07-06 Amit Pawar <amit.pawar@amd.com>
9910
9911 * sysdeps/x86/cpu-features.c (get_common_indeces):
9912 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9913 * sysdeps/x86/cpu-features.c (init_cpu_features):
9914 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9915
3a885c1f
FW
99162018-07-05 Florian Weimer <fweimer@redhat.com>
9917
9918 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9919 protector.
9920 (CFLAGS-elf-init.oS): Likewise.
9921
38cade0c
FW
99222018-07-05 Florian Weimer <fweimer@redhat.com>
9923 Carlos O'Donell <carlos@redhat.com>
9924
9925 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9926 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9927 with stack protector enabled because there is no risk of infinite
9928 recursion.
9929
9449a295
MR
99302018-07-05 Maciej W. Rozycki <macro@mips.com>
9931
9932 [BZ #19818]
9933 [BZ #23307]
9934 * libc-abis (ABSOLUTE): New ABI.
9935 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9936 * NEWS: Mention the new ABI.
9937
d6da5cb6
FW
99382018-07-05 Florian Weimer <fweimer@redhat.com>
9939
9940 [BZ # 17662]
9941 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9942 (RENAME_WHITEOUT): Define.
9943 [__USE_GNU] (renameat2): Declare.
9944 * stdio-common/Makefile (routines): Add renameat2.
9945 (tests): Add tst-renameat2.
9946 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9947 * stdio-common/renameat2.c: New file.
9948 * stdio-common/tst-renameat2.c: Likewise.
9949 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9950 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9951 undocumented.
9952 * sysdeps/unix/sysv/linux/kernel-features.h
9953 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9954 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9955 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9956 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9957 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9958 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9959 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9960 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9961 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9962 * include/stdio.h (__renameat): Add alias for renameat.
9963 * stdio-common/renameat.c (__renameat): Rename from renameat.
9964 Add hidden definition and alias.
9965 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9966 * sysdeps/mach/hurd/renameat.c: Likewise.
9967 * sysdeps/**/libc*.abilist: Add renameat2.
9968
1002d708
AZ
99692018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9970
9971 * posix/bug-regex33.c: Fix build after regex sync.
9972
34fdb893
CD
99732018-07-04 Carlos O'Donell <carlos@redhat.com>
9974
9975 [BZ #23164]
9976 * localedata/tst-langinfo-setlocale.c: New file.
9977 * localedata/tst-langinfo-setlocale-static.c: New file.
9978 * localedata/tst-langinfo-newlocale.c: New file.
9979 * localedata/tst-langinfo-newlocale-static.c: New file.
9980 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9981 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9982 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9983 (tests-static): Remove tst-langinfo-static. Add
9984 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9985 (tests-special): Remove $(objpfx)tst-langinfo.out,
9986 $(objpfx)tst-langinfo-static.out. Add
9987 $(objpfx)tst-langinfo-setlocale.out,
9988 $(objpfx)tst-langinfo-newlocale.out,
9989 $(objpfx)tst-langinfo-setlocale-static.out,
9990 $(objpfx)tst-langinfo-newlocale-static.out.
9991 ($(objpfx)tst-langinfo.out): Remove.
9992 ($(objpfx)tst-langinfo-static.out): Remove.
9993 ($(objpfx)tst-langinfo-newlocale.out): New target.
9994 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9995 (test-xfail-tst-langinfo-newlocale-static): Add.
9996 ($(objpfx)tst-langinfo-setlocale.out): New target.
9997 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9998 * localedata/tst-langinfo.c: Call test_locale.
9999 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10000 data.
10001
f2873d2d
FW
100022018-07-04 Florian Weimer <fweimer@redhat.com>
10003
10004 testrun.sh: Implement --tool=strace, --tool=valgrind
10005 * Makefile (testrun-script): Define variable.
10006 (testrun.sh): Use variable.
10007 * manual/install.texi (Tools for Compilation): make 4.0 or later
10008 is required.
10009 * configure.ac: Check for make 4.0 or later.
10010 * INSTALL: Regenerate.
10011 * configure: Likewise.
10012
eb04c213
AZ
100132018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10014
10015 [BZ #23233]
10016 [BZ #21163]
10017 [BZ #18986]
10018 [BZ #13762]
10019 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10020 * posix/PCRE.tests: Remove invalid test.
10021 * posix/bug-regex28.c: Fix expected values for used syntax.
10022 * posix/bug-regex37.c: New file.
10023 * posix/bug-regex38.c: Likewise.
10024 * posix/regcomp.c: Sync with gnulib.
10025 * posix/regex.c: Likewise.
10026 * posix/regex.h: Likewise.
10027 * posix/regex_internal.c: Likewise.
10028 * posix/regex_internal.h: Likewise.
10029 * posix/regexec.c: Likewise.
10030
b11643c2
MF
100312018-06-26 Mike FABIAN <mfabian@redhat.com>
10032
10033 [BZ #23308]
10034 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10035 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10036 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10037 * localedata/unicode-gen/PropList.txt: likewise.
10038 * localedata/unicode-gen/UnicodeData.txt: likewise.
10039 * localedata/charmaps/UTF-8: Regenerate.
10040 * localedata/locales/i18n_ctype: likewise.
10041 * localedata/locales/tr_TR: likewise.
10042 * localedata/locales/translit_circle: likewise.
10043 * localedata/locales/translit_cjk_compat: likewise.
10044 * localedata/locales/translit_combining: likewise.
10045 * localedata/locales/translit_compat: likewise.
10046 * localedata/locales/translit_font: likewise.
10047 * localedata/locales/translit_fraction: likewise.
10048
5a357506
FW
100492018-07-03 Florian Weimer <fweimer@redhat.com>
10050
10051 [BZ #23363]
10052 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10053 * stdio-common/tst-printf.sh: Adjust expected output.
10054 * LICENSES: Update.
10055
7279af00
AZ
100562018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10057
10058 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10059 symbol.
10060
b7b88cea
GG
100612018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10062
10063 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10064 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10065 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10066 * stdio-common/tst-printfsz-islongdouble.c: New file.
10067 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10068 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10069 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10070 [subdir == stdio-common] (tests-internal): Add
10071 test-printf-size-ieee128, and test-printf-size-ibm128.
10072 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10073 (CFLAGS-test-printf-size-ibm128.c): New variables.
10074 [subdir == stdio-common] (tests-special): Add
10075 $(objpfx)test-printf-size-ieee128.out and
10076 $(objpfx)test-printf-size-ibm128.out.
10077 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10078 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10079 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10080 __printf_sizeieee128.
10081 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10082 New file.
10083 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10084 Likewise.
10085 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10086 Likewise.
10087
2b445206
SN
100882018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10089
10090 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10091 (exp2f_inline): Likewise.
10092 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10093 (__math_uflowf): Likewise.
10094 (__math_may_uflowf): Likewise.
10095 (__math_divzerof): Likewise.
10096 (__math_invalidf): Likewise.
10097 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10098 (__math_oflowf): Likewise.
10099 (__math_uflowf): Likewise.
10100 (__math_may_uflowf): Likewise.
10101 (__math_divzerof): Likewise.
10102 (__math_invalidf): Likewise.
10103
2827ab99
CD
101042018-06-29 DJ Delorie <dj@redhat.com>
10105 Carlos O'Donell <carlos@redhat.com>
10106
10107 [BZ #23329]
10108 * include/libc-symbols.h: Comment the freeres framework.
10109 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10110 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10111 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10112 * dlfcn/dlerror.c: Include libc-symbols.h
10113 (__dlerror_main_freeres): New function.
10114 * dlfcn/dlfreeres.c: New file.
10115 * dlfcn/sdlfreeres.c: New file.
10116 * include/dlfcn.h: Declare __dlerror_main_freeres.
10117 * malloc/set-freeres.c: Declare __libdl_freeres, and
10118 __libpthread_freeres.
10119 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10120 the releavant libraries are loaded.
10121 * malloc/thread-freeres.c: Add comments.
10122 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10123 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10124 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10125 (__free_stacks): Rename to...
10126 (free_stacks): ...this. Mark static.
10127 (queue_stack): Call free_stacks.
10128 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10129 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10130 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10131 ptr_freeres element from struct.
10132 (pthread_functions): Remove .ptr_freeres from struct initializer.
10133 [SHARED] (nptl_freeres): Remove.
10134 * nptl/nptlfreeres.c: New file.
10135 * nptl/pthreadP.h
10136 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10137 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10138 attribute_hidden.
10139 (__free_stacks): Rename to...
10140 (__nptl_stacks_freeres): ...this.
10141 (__shm_directory_freeres): Declare.
10142 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10143 (__nptl_unwind_freeres): ...this.
10144 * resolv/res-close.c: Add comment.
10145 * resolv/resolv_conf.c: Include libc-symbols.h.
10146 * string/strerror_l.c: Include libc-symbols.h.
10147 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10148 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10149 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10150 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10151
37d3d244
RS
101522018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10153
10154 * stdlib/tst-strfmon_l.c: Add tests for long double.
10155
a1e0c5fa
MW
101562018-06-29 Michael Wolf <milupo@sorbzilla.de>
10157
10158 [BZ #23208]
10159 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10160 * localedata/locales/dsb_DE: New file.
10161
2e0c5de6
RL
101622018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10163
10164 [BZ #23140]
10165 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10166 genitive case).
10167 (alt_mon): New entry, import from CLDR (nominative case).
10168
cdb52c71
SL
101692018-06-29 Sylvain Lesage <severo@rednegra.net>
10170
10171 [BZ #22996]
10172 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10173
ce76a5cb
SP
101742018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10175
0aec4c1d
SP
10176 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10177 Use vector registers.
10178
ce76a5cb
SP
10179 * sysdeps/aarch64/multiarch/memmove_falkor.S
10180 (__memcpy_falkor): Use vector registers.
10181
7e8989d0
MS
101822018-06-29 Martin Sebor <msebor@redhat.com>
10183
10184 * manual/stdio.texi (Customizing Printf): Mention interaction
10185 with GCC built-ins.
10186
bac15a72
MR
101872018-06-29 Maciej W. Rozycki <macro@mips.com>
10188
10189 [BZ #23307]
10190 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10191 `st_value' is 0 if `st_shndx' is SHN_ABS.
10192 * elf/tst-absolute-zero.c: New file.
10193 * elf/tst-absolute-zero-lib.c: New file.
10194 * elf/tst-absolute-zero-lib.lds: New file.
10195 * elf/Makefile (tests): Add `tst-absolute-zero'.
10196 (modules-names): Add `tst-absolute-zero-lib'.
10197 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10198 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10199 ($(objpfx)tst-absolute-zero: New dependency.
10200
e69d994a
ZW
102012018-06-29 Zack Weinberg <zackw@panix.com>
10202
10203 * configure.ac: New command-line option --disable-crypt.
10204 Force --disable-nss-crypt when --disable-crypt is given, with a
10205 warning if it was explicitly enabled.
10206 * configure: Regenerate.
10207 * config.make.in: New boolean substitution variable $(build-crypt).
10208 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10209 when $(build-crypt).
10210 * manual/install.texi: Document --disable-crypt.
10211 * INSTALL: Regenerate.
10212
10213 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10214 which is never set.
10215 * conform/Makefile: Only include libcrypt.a in
10216 linknamespace-libs-xsi and linknamespace-libs-XPG4
10217 when $(build-crypt).
10218 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10219 USE_CRYPT to 1 when $(build-crypt).
10220 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10221 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10222 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10223
841785ba
ZW
102242018-06-29 Zack Weinberg <zackw@panix.com>
10225
10226 * crypt/crypt.h, posix/unistd.h: Update comments and
10227 prototypes for crypt and crypt_r.
10228
10229 * manual/crypt.texi (Cryptographic Functions): New initial
10230 exposition.
10231 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10232 (Unpredictable Bytes): Improve initial exposition. Clarify error
10233 behavior of getentropy and getrandom.
10234 * manual/examples/genpass.c: Generate a salt using getentropy
10235 instead of the current time. Use hash $5$ (SHA-2-256).
10236 * manual/examples/testpass.c: Demonstrate validation against
10237 hashes generated with three different one-way functions.
10238
10239 * manual/intro.texi: crypt.texi does not need an overview
10240 anymore.
10241
10242 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10243 * manual/terminal.texi: Consistently refer to "passphrases"
10244 * instead of "passwords", and to the "user database" instead
10245 * of the "password database".
10246 * manual/users.texi: Similarly. Add notes about how actual
10247 passphrase hashes are now stored in the shadow database.
10248 Remove 20-year-old junk todo note.
10249
6ab902e4
ZW
102502018-06-29 Zack Weinberg <zackw@panix.com>
10251
10252 * manual/crypt.texi: Use a normal top-level @node declaration.
10253 Move most of the introductory text to the 'crypt' section.
10254 Move the example programs below the @deftypefun for 'crypt_r'.
10255 Move the 'getpass' section...
10256 * manual/terminal.texi: ...here.
10257
b10a0acc
ZW
102582018-06-29 Zack Weinberg <zackw@panix.com>
10259 Florian Weimer <fweimer@redhat.com>
10260
10261 * posix/unistd.h: Do not declare encrypt.
10262 (_XOPEN_CRYPT): Remove macro definition.
10263 (crypt): Declare only for _USE_MISC.
10264 * stdlib/stdlib.h: Do not declare setkey.
10265 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10266 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10267
10268 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10269 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10270 into compat symbols. Don't define initial_perm if it's not
10271 going to be used.
10272 * crypt/cert.c: Link explicitly with the expected versions for
10273 setkey and encrypt. If they are not available at all, mark
10274 the test as unsupported.
10275
10276 * sunrpc/des_crypt.c: Unconditionally block linkage with
10277 cbc_crypt and ecb_crypt for new binaries.
10278 * sunrpc/des_soft.c: Unconditionally block linkage with
10279 des_setparity for new binaries.
10280
10281 * manual/crypt.texi: Remove the entire "DES Encryption"
10282 section. Also remove the paragraph talking about FIPS 140-2
10283 from the introduction.
10284 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10285 of libgcrypt for "real" encryption, not DES.
10286 * manual/conf.texi (Constants for Sysconf): Mention that
10287 _XOPEN_CRYPT is no longer impelemented.
10288
10289 * conform/data/unistd.h-data: Remove crypt function declaration.
10290
524d796d
FW
102912018-06-29 Florian Weimer <fweimer@redhat.com>
10292
10293 [BZ #23351]
10294 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10295 (disallow_malloc_check): Remove variable.
10296 (__malloc_check_init): Adjust.
10297 (malloc_set_state): Update comment.
10298 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10299 declarations.
10300
339124ab
RL
103012018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10302
10303 [BZ #23140]
10304 * localedata/locales/ast_ES (mon): Rename to...
10305 (alt_mon): This.
10306 (mon): Import from CLDR (genitive case).
10307
c1f86a33
DA
103082018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10309 Jakub Sitnicki <jkbs@redhat.com>
10310
10311 [BZ #21812]
10312 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10313 on NLM_F_DUMP_INTR.
10314
0b11b649
SN
103152018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10316
10317 * manual/llio.texi: Remove spurious space.
10318
c1c2848b
FW
103192018-06-28 Florian Weimer <fweimer@redhat.com>
10320
10321 [BZ #23349]
10322 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10323 _STRUCT_TIMESPEC.
10324
86a0f561
RS
103252018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10326
10327 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10328 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10329 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10330 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10331 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10332 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10333 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10334
780684eb
MR
103352018-06-27 Maciej W. Rozycki <macro@mips.com>
10336
10337 [BZ #23266]
10338 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10339 Copy and null-terminate entries that are not terminated, in
10340 addition to empty ones.
10341
c49e1822
FW
103422018-06-27 Florian Weimer <fweimer@redhat.com>
10343
10344 [BZ #18023]
10345 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10346 (extend_alloca_account): Remove.
10347 * manual/stdio.texi (Variable Arguments Output): Update comment.
10348
a833e627
JM
103492018-06-27 Joseph Myers <joseph@codesourcery.com>
10350
10351 * nptl/sockperf.c: Remove file.
10352
92d6aa85
FW
103532018-06-27 Florian Weimer <fweimer@redhat.com>
10354
10355 [BZ #18023]
10356 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10357 scratch_buffer instead of extend_alloca.
10358
890c2ced
FW
103592018-06-27 Florian Weimer <fweimer@redhat.com>
10360
10361 [BZ #18023]
10362 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10363 scratch_buffer instead of extend_alloca. Update comments.
10364
4272059d
FW
103652018-06-27 Florian Weimer <fweimer@redhat.com>
10366
10367 [BZ #18023]
10368 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10369 instead of extend_alloca.
10370
27f10a09
JM
103712018-06-26 Joseph Myers <joseph@codesourcery.com>
10372
10373 [BZ #13888]
10374 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10375 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10376 /tmp.
10377 * scripts/test-installation.pl: Put temporary files in build
10378 directory, not /tmp.
10379 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10380 (CFLAGS-bug4.c): Likewise.
10381 (CFLAGS-bug5.c): Likewise.
10382 (CFLAGS-test-fseek.c): Likewise.
10383 (CFLAGS-test-popen.c): Likewise.
10384 (CFLAGS-test_rdwr.c): Likewise.
10385 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10386 /tmp.
10387 * stdio-common/bug4.c (main): Likewise.
10388 * stdio-common/bug5.c (main): Likewise.
10389 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10390 * stdio-common/test-popen.c (do_test): Likewise.
10391 * stdio-common/test_rdwr.c (main): Likewise.
10392
05598a09
PF
103932018-06-26 Patsy Franklin <pfrankli@redhat.com>
10394
10395 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10396 (sem_open): Set sem.newsem.pad to zero for valgrind.
10397
06ab719d
AZ
103982018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10399
10400 [BZ #20251]
10401 * NEWS: Mention fcntl64 addition.
10402 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10403 * login/utmp_file.c: Likewise.
10404 * sysdeps/posix/fdopendir.c: Likewise.
10405 * sysdeps/posix/opendir.c: Likewise.
10406 * sysdeps/unix/pt-fcntl.c: Likewise.
10407 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10408 __fcntl64_nocancel_adjusted): New prototype.
10409 (__fcntl_nocancel_adjusted): Remove prototype.
10410 * io/Makefile (routines): Add fcntl64.
10411 (CFLAGS-fcntl64.c): New rule.
10412 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10413 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10414 * io/fcntl.h (fcntl64): Add prototype and redirect if
10415 __USE_FILE_OFFSET64 is defined.
10416 * io/fcntl64.c: New file.
10417 * manual/llio.text: Add a note for which commands fcntl acts a
10418 cancellation point.
10419 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10420 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10421 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10422 New symbols.
10423 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10424 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10425 non-LFS case.
10426 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10427 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10428 to __fcntl64_nocancel.
10429 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10430 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10431 to __fcntl64_nocancel.
10432 * sysdeps/generic/not-cancel.h: Likewise.
10433 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10434 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10435 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10436 (fcntl64): New symbol.
10437 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10438 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10439 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10442 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10443 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10444 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10445 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10446 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10447 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10448 fcntl64): Likewise.
10449 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10450 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10451 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10452 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10453 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10454 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10455 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10456 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10457 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10459 Likewise.
10460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10461 Likewise.
10462 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10463 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10464 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10465
124e0258
FW
104662018-06-26 Florian Weimer <fweimer@redhat.com>
10467
10468 Run thread shutdown functions in an explicit order.
10469 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10470 definition.
10471 (__libc_thread_freeres): Call thread shutdown functions
10472 explicitly.
10473 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10474 * include/string.h (__strerror_thread_freeres): Declare.
10475 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10476 arena_thread_freeres. No longer static. Remove thread shutdown
10477 hook registration.
10478 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10479 Declare.
10480 * resolv/res-close.c (__res_thread_freeres): Renamed from
10481 res_thread_freeres. No longer static. Remove thread shutdown
10482 hook registration.
10483 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10484 * resolv/resolv_conf.c (freeres): Remove incorrect section
10485 attribute and use libc_freeres_fn.
10486 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10487 strerror_thread_freeres. No longer static. Remove thread
10488 shutdown hook registration.
10489 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10490 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10491 shutdown hook registration.
10492 * Makerules (shlib.lds): Do not provide section boundary symbols
10493 for __libc_thread_subfreeres.
10494 * manual/memory.texi (Basic Allocation): Update comment.
10495
935d920e
FW
104962018-06-26 Florian Weimer <fweimer@redhat.com>
10497
10498 Remove always-defined _RPC_THREAD_SAFE_ macro.
10499 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10500 Do not define _RPC_THREAD_SAFE_.
10501 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10502 conditional.
10503 * sunrpc/clnt_perr.c: Likewise.
10504 * sunrpc/clnt_raw.c: Likewise.
10505 * sunrpc/clnt_simp.c: Likewise.
10506 * sunrpc/key_call.c: Likewise.
10507 * sunrpc/rpc_common.c: Likewise.
10508 * sunrpc/rpc_main.c: Likewise.
10509 * sunrpc/rpc_thread.c: Likewise.
10510 * sunrpc/svc.c: Likewise.
10511 * sunrpc/svc_raw.c: Likewise.
10512 * sunrpc/svc_simple.c: Likewise.
10513 * sumrpc/svcauth_des.c: Likewise.
10514
29055464
FW
105152018-06-26 Florian Weimer <fweimer@redhat.com>
10516
10517 * libio/Makefile (tests-internal): Add tst-vtables,
10518 tst-vtables-interposed.
10519 * libio/tst-vtables.c: New file.
10520 * libio/tst-vtables-common.c: Likewise.
10521 * libio/tst-vtables-interposed.c: Likewise.
10522
5c0202af
FW
105232018-06-26 Florian Weimer <fweimer@redhat.com>
10524
10525 * support/support_test_main.c (support_test_main): Only call
10526 setvbuf if not disables.
10527 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10528 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10529
c402355d
FW
105302018-06-26 Florian Weimer <fweimer@redhat.com>
10531
10532 [BZ #23313]
10533 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10534
43b1048a
FW
105352018-06-25 Florian Weimer <fweimer@redhat.com>
10536
10537 [BZ #18023]
10538 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10539 Use struct scratch_buffer instead of extend_alloca.
10540
1599ed4e
FW
105412018-06-25 Florian Weimer <fweimer@redhat.com>
10542
10543 [BZ #18023]
10544 * nss/getent.c (initgroups_keys): Use dynarray instead of
10545 extend_alloca.
10546
a26fe163
FW
105472018-06-25 Florian Weimer <fweimer@redhat.com>
10548
10549 [BZ #18023]
10550 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10551 Use struct scratch_buffer instead of extend_alloca.
10552
90d9d9ce
FW
105532018-06-25 Florian Weimer <fweimer@redhat.com>
10554
10555 [BZ #18023]
10556 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10557 back to malloc directly, without stack allocations.
10558
6b7b2aba
FW
105592018-06-25 Florian Weimer <fweimer@redhat.com>
10560
10561 [BZ #18023]
10562 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10563 of extend_alloca.
10564
2f9f0d18
FW
105652018-06-25 Florian Weimer <fweimer@redhat.com>
10566
10567 [BZ #18023]
10568 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10569 of extend_alloca.
10570 * nscd/hstcache.c (addhstbyX): Likewise.
10571 * nscd/pwdcache.c (addpwbyX): Likewise.
10572 * nscd/servicescache.c (addservbyX): Likewise.
10573
318bad78
FW
105742018-06-25 Florian Weimer <fweimer@redhat.com>
10575
10576 [BZ #18023]
10577 * nscd/connections.c (read_cmdline): New function.
10578 (restart): Use it. Update comment.
10579
189699ab
RL
105802018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10581
10582 [BZ #23140]
10583 * localedata/locales/csb_PL (mon): Rename to...
10584 (alt_mon): This.
10585 (abmon): Rename to...
10586 (ab_alt_mon): This.
10587 (mon): Add with proper genitive forms, copy from Wikipedia.
10588 (abmon): Likewise.
10589
0ea3f13c
RL
105902018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10591
10592 [BZ #19485]
10593 * localedata/locales/csb_PL (mon): Fix typos:
10594 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10595 (yesstr): Add, value is "jo".
10596 (nostr): Add, value is "nié".
10597
d93f4ff1
TMQMF
105982018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10599
10600 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10601 all log1p and significand functions on m680x0.
10602 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10603 of s_significand.c..
10604 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10605 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10606 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10607 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10608 s_log1p.c and include it..
10609
f6299d2a
VC
106102018-06-21 Vincent Chen <vincentc@andestech.com>
10611
10612 * elf/elf.h (R_NDS32_NONE): New define.
10613 (R_NDS32_32_RELA): Likewise.
10614 (R_NDS32_COPY): Likewise.
10615 (R_NDS32_GLOB_DAT): Likewise.
10616 (R_NDS32_JUMP_SLOT): Likewise.
10617 (R_NDS32_RELATIVE): Likewise.
10618 (R_NDS32_TLS_TPOFF): Likewise.
10619 (R_NDS32_TLS_DESC): Likewise.
10620
61ab61c2
MW
106212018-06-21 Mark Wielaard <mark@klomp.org>
10622
10623 * elf/elf.h (R_BPF_MAP_FD): Removed.
10624 (R_BPF_64_64, R_BPF_64_32): New.
10625
f496b28e
FW
106262018-06-21 Florian Weimer <fweimer@redhat.com>
10627
10628 [BZ #23253]
10629 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10630 Renamed from libc_feholdsetround_ctx.
10631 (default_libc_feresetround_ctx): Renamed from
10632 libc_feresetround_ctx.
10633 (default_libc_feholdsetround_noex_ctx): Renamed from
10634 libc_feholdsetround_noex_ctx.
10635 (default_libc_feresetround_noex_ctx): Renamed from
10636 libc_feresetround_noex_ctx.
10637 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10638 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10639 forwardning to the old implementations under the new names.
10640 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10641 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10642 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10643 (libc_feresetround_ctx): Forward to default implements for i386
10644 and MATH_SET_BOTH_ROUNDING_MODES.
10645 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10646 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10647
1760daad
JM
106482018-06-20 Joseph Myers <joseph@codesourcery.com>
10649
99c7adf9
JM
10650 * string/tst-cmp.c: Include <libc-diag.h>.
10651 (strncmp_max): Disable -Wstringop-overflow= around call to
10652 strncmp.
10653 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10654 strncasecmp.
10655
1760daad
JM
10656 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10657 (main): Disable -Wunused-value around call to strpbrk.
10658 * string/bug-strspn1.c: Include <libc-diag.h>.
10659 (main): Disable -Wunused-value around call to strspn.
10660
209ae17c
TMQMF
106612018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10662 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10663
10664 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10665 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10666
badba23c
TMQMF
106672018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10668
5e79e029
TMQMF
10669 * math/Makefile (libm-calls): Move s_significandF to...
10670 (gen-libm-calls): ... here.
10671 * math/s_significand_template.c: New file.
10672 * math/s_significand.c: Removed.
10673 * math/s_significandf.c: Removed.
10674 * math/s_significandl.c: Removed.
10675 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10676 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10677
badba23c
TMQMF
10678 * math/e_exp2_template.c (declare_mgen_finite_alias,
10679 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10680 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10681 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10682
2d1c89a5
FW
106832018-06-20 Florian Weimer <fweimer@redhat.com>
10684
10685 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10686
646c2833
JM
106872018-06-19 Joseph Myers <joseph@codesourcery.com>
10688
10689 [BZ #23280]
10690 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10691 floating-point number to strtod functions rather than possibly
10692 negating result of those functions.
10693 * stdio-common/tst-scanf-round.c: New file.
10694 * stdio-common/Makefile (tests): Add tst-scanf-round.
10695 ($(objpfx)tst-scanf-round): Depend on $(libm).
10696
c77e4dc0
ST
106972018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10698
10699 * sysdeps/mach/hurd/localplt.data: Move to...
10700 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10701 R_386_GLOB_DAT like on Linux i386.
10702
91b2f3e5
JM
107032018-06-18 Joseph Myers <joseph@codesourcery.com>
10704
f2857da7
JM
10705 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10706 (SHM_STAT_ANY): New macro.
10707 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10708 (SHM_STAT_ANY): Likewise.
10709 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10710 (SHM_STAT_ANY): Likewise.
10711 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10712 (SHM_STAT_ANY): Likewise.
10713 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10714 (SHM_STAT_ANY): Likewise.
10715 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10716 (SHM_STAT_ANY): Likewise.
10717 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10718 (SHM_STAT_ANY): Likewise.
10719 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10720 (SHM_STAT_ANY): Likewise.
10721 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10722 (SHM_STAT_ANY): Likewise.
10723 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10724 (SHM_STAT_ANY): Likewise.
10725 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10726 (SHM_STAT_ANY): Likewise.
10727 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10728 (SHM_STAT_ANY): Likewise.
10729
176c7fee
JM
10730 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10731 (SEM_STAT_ANY): New macro.
10732 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10733 (SEM_STAT_ANY): Likewise.
10734 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10735 (SEM_STAT_ANY): Likewise.
10736 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10737 (SEM_STAT_ANY): Likewise.
10738 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10739 (SEM_STAT_ANY): Likewise.
10740 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10741 (SEM_STAT_ANY): Likewise.
10742 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10743 (SEM_STAT_ANY): Likewise.
10744 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10745 (SEM_STAT_ANY): Likewise.
10746 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10747 (SEM_STAT_ANY): Likewise.
10748 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10749 (SEM_STAT_ANY): Likewise.
10750
86bf0019
JM
10751 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10752 (MSG_STAT_ANY): New macro.
10753 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10754 (MSG_STAT_ANY): Likewise.
10755 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10756 (MSG_STAT_ANY): Likewise.
10757 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10758 (MSG_STAT_ANY): Likewise.
10759 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10760 (MSG_STAT_ANY): Likewise.
10761 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10762 (MSG_STAT_ANY): Likewise.
10763 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10764 (MSG_STAT_ANY): Likewise.
10765 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10766 (MSG_STAT_ANY): Likewise.
10767 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10768 (MSG_STAT_ANY): Likewise.
10769 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10770 (MSG_STAT_ANY): Likewise.
10771
91b2f3e5
JM
10772 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10773 (MAP_TYPE): Change value to 0x2b.
10774
3fe8fc79
FW
107752018-06-18 Florian Weimer <fweimer@redhat.com>
10776
10777 [BZ #15722]
10778 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10779 socket with SOCK_CLOEXEC.
10780
809dc95d
JM
107812018-06-18 Joseph Myers <joseph@codesourcery.com>
10782
10783 [BZ #23303]
10784 * sysdeps/powerpc/powerpc64/le/Makefile
10785 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10786 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10787 (gnulib-tests): Also add $(f128-loader-link) for
10788 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10789
298a8b59
ST
107902018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10791
10792 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10793 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10794 of sendfile.
10795 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10796 (sendfile64): New strong alias.
faf7bbc2
ST
10797 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10798 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10799 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
10800 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10801 attribute.
10802 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10803 ___pthread_get_cleanup_stack.
932d05f0 10804 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
10805 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10806 * mach/shortcut.awk: Make syscall stubs include
10807 <mach-shortcuts-hidden.h> and add hidden definition.
10808 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
10809 (__mach_msg): Add hidden prototype.
10810 * mach/msg.c: Include <mach.h>.
10811 (__mach_msg): Add hidden definition.
b0344cf5
ST
10812 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10813 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10814 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10815 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
10816 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10817 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
10818 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10819 prototype and definition.
10820 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10821 hidden target for _hurd_self_sigstate.
298a8b59 10822
b12c1e79
JM
108232018-06-15 Joseph Myers <joseph@codesourcery.com>
10824
10825 [BZ #23007]
10826 * stdlib/tst-strtod-nan-sign-main.c: New file.
10827 * stdlib/tst-strtod-nan-sign.c: Likewise.
10828 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10829 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10830 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10831 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10832 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10833
b0debe14
HB
108342018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10835
10836 [BZ #23007]
10837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10838 appropriate sign.
10839
14beef75
FW
108402018-06-14 Florian Weimer <fweimer@redhat.com>
10841
10842 [BZ #23290]
10843 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10844 that the result stays within the ISO-8859-1 range.
10845 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10846 characters are defined in IBM273.
10847
c596630b
ST
108482018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10849
10850 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10851 __mach_task_self): Remove attribute_hidden.
10852
35ebb6b0
JM
108532018-06-14 Joseph Myers <joseph@codesourcery.com>
10854
10855 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10856 ignore -Wrestrict for one test.
10857
3c7b9f1f
SE
108582018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10859 Szabolcs Nagy <szabolcs.nagy@arm.com>
10860
10861 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10862
c59ee916
FW
108632018-06-14 Florian Weimer <fweimer@redhat.com>
10864
10865 * scripts/update-abilist.sh: Accept empty list of files to patch.
10866
43b5ff50
ST
108672018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10868
10869 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10870 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
10871 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10872 __libc_read and __libc_write to __read and __write.
c8c6e6d6 10873 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
10874 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10875 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10876 __thread_switch, __evc_wait): Move declarations to...
10877 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10878 attribute_hidden.
06d1a826
ST
10879 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10880 use PLT to call _hurd_self_sigstate.
43b5ff50 10881
fcd6b5ac
JM
108822018-06-13 Joseph Myers <joseph@codesourcery.com>
10883
10884 [BZ #23279]
10885 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10886 MAX_EXP as overflowing.
10887 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10888 overflow flag.
10889 (round_str): Output also whether result overflows in each rounding
10890 mode.
10891 * stdlib/tst-strtod-round-data: Add more tests.
10892 * stdlib/tst-strtod-round-data.h: Regenerated.
10893 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10894 (TEST): Handle extra arguments for overflow flags.
10895 (struct test_overflow): New type.
10896 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10897 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10898 (test_in_one_mode): Take argument with overflow information.
10899 (do_test): Update calls to test_in_one_mode.
10900
35df5a77
CD
109012018-06-12 Carlos O'Donell <carlos@redhat.com>
10902
a745c837
CD
10903 * elf/dl-load (_dl_dst_substitute): Correct comment.
10904 (_dl_dst_count): Likewise.
10905
35df5a77
CD
10906 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10907 lll_futex_timed_wait.
10908
48b12ed5
JM
109092018-06-12 Joseph Myers <joseph@codesourcery.com>
10910
10911 [BZ #23277]
10912 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10913 attribute.
10914 * math/test-nan-const.c: New file.
10915 * math/Makefile (tests): Add test-nan-const.
10916 (CFLAGS-test-nan-const.c): New variable.
10917
cb8f6aff
L
109182018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10919
10920 * benchtests/scripts/compare_strings.py (process_results): Add
10921 funcs argument. Compare only functions which are selected.
10922 (main): Check if base function is among selected functions.
10923 Pass selected functions to process_results.
10924 (__main__): Add -f/--functions argument.
10925
fc2ba803
HZ
109262018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10927 Hongbo Zhang <hongbo.zhang@linaro.org>
10928
10929 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10930 __memcpy_falkor for phecda core.
10931 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10932 __memmove_falkor for phecda core.
10933 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10934 __memset_falkor for phecda core.
10935 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10936 for phecda core.
10937 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10938 macro to identify phecda core.
10939
5aad5f61
CD
109402018-06-12 Carlos O'Donell <carlos@redhat.com>
10941 Andreas Schwab <schwab@suse.de>
10942 Dmitry V. Levin <ldv@altlinux.org>
10943 Florian Weimer <fweimer@redhat.com>
10944
10945 [BZ #23102]
10946 [BZ #21942]
10947 [BZ #18018]
10948 [BZ #23259]
10949 CVE-2011-0536
10950 * elf/dl-dst.h: Remove DL_DST_COUNT.
10951 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10952 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10953 (is_dst): Comment. Support ELF gABI.
10954 (_dl_dst_count): Comment. Simplify and count DSTs.
10955 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10956 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10957 locals.
10958
329ea513
ZW
109592018-06-12 Zack Weinberg <zackw@panix.com>
10960
10961 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10962 * sysdeps/unix/sysv/linux/dl-sysdep.c
10963 Include not-cancel.h. Use __close_nocancel instead of __close,
10964 __open64_nocancel instead of __open, __read_nocancel instead of
10965 __libc_read, and __write_nocancel instead of __libc_write.
10966
10967 * csu/check_fds.c (check_one_fd)
10968 * sysdeps/posix/fdopendir.c (__fdopendir)
10969 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10970 instead of __fcntl and/or __libc_fcntl.
10971
10972 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10973 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10974 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10975 Use __open64_nocancel instead of __open_nocancel.
10976
10977 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10978 hidden_proto declarations to the end and issue them if either
10979 IS_IN(libc) or IS_IN(rtld).
10980 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10981 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10982 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10983 read_nocancel, waitpid_nocancel, write_nocancel.
10984
10985 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10986 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10987 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10988
10989 * nptl/pt-fcntl.c: New file.
10990 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10991 (libpthread-routines): Add pt-fcntl.
10992 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10993 (__libc_fcntl): Remove attribute_hidden.
10994 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10995 __fcntl_nocancel_adjusted, not fcntl_common.
10996 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10997 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10998 to fcntl_nocancel.c.
10999 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11002 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11003
11004 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11005 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11006 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11007 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11008 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11009 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11010 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11011 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11012 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11013 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11014 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11015 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11016 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11017 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11018 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11019 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11020 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11021 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11022 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11023 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11024
11025 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11026 libpthread-routines.
11027 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11028 defines nothing.
11029
11030 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11031 __libc_read, and __write instead of __libc_write. Define
11032 __open64 in addition to __open.
11033
0221ce2a
L
110342018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11035
11036 [BZ #23250]
11037 [BZ #10686]
11038 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11039 to _private_tm[3] and add __glibc_reserved2.
11040 Add _Static_assert of offset of __private_ss == 0x30.
11041 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11042 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11043
e826574c
FW
110442018-06-12 Florian Weimer <fweimer@redhat.com>
11045
11046 x86: Make strncmp usable from rtld.
11047 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11048 __strncmp_ia32 if in libc (and not in rtld).
11049 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11050 strncmp if not in libc (and not to __strncmp_sse2).
11051
c4ad5782
RL
110522018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11053
11054 [BZ #23140]
11055 * localedata/locales/gd_GB (mon): Rename to...
11056 (alt_mon): This.
11057 (mon): Import from CLDR (genitive case).
11058 * localedata/locales/hsb_DE (mon): Rename to...
11059 (alt_mon): This.
11060 (mon): Import from CLDR (genitive case).
11061 * localedata/locales/wa_BE (mon): Rename to...
11062 (alt_mon): This.
11063 (mon): Add, fill with the proper genitive forms, but CLDR data
11064 is incomplete; completed according to the comments in this file.
11065 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11066
11067 * localedata/locales/wa_BE (country_name): Reword
11068 "Beljike" -> "Beldjike".
11069
ca121b11
JM
110702018-06-11 Joseph Myers <joseph@codesourcery.com>
11071
11072 [BZ #23272]
11073 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11074 cases of non-finite arguments.
11075 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11076
2b69fecb
JDA
110772018-06-10 John David Anglin <danglin@gcc.gnu.org>
11078
11079 [BZ #23174]
11080 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11081
283d9851
AZ
110822018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11083
11084 [BZ #23264]
11085 * include/unistd.h (__execvpex): New prototype.
11086 * posix/Makefile (tests): Add tst-spawn4.
11087 (tests-internal): Add tst-spawn4-compat.
11088 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11089 * posix/tst-spawn4-compat.c: New file.
11090 * posix/tst-spawn4.c: Likewise.
11091 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11092 binaries as shell scripts.
11093 * sysdeps/posix/spawni.c (__spawni): Likewise.
11094
67c05796
L
110952018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11096
11097 [BZ #23145]
11098 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11099 ($(all-built-dso:=.dynsym): New target.
11100 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11101 ($(objpfx)check-initfini.out): New target.
11102 (generated): Add check-initfini.out.
11103 * scripts/check-initfini.awk: New file.
11104 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11105 (_fini): Likewise.
11106 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11107 (_fini): Likewise.
11108 * sysdeps/arm/crti.S (_init): Mark as hidden.
11109 (_fini): Likewise.
11110 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11111 (_fini): Likewise.
11112 * sysdeps/i386/crti.S (_init): Mark as hidden.
11113 (_fini): Likewise.
11114 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11115 (_fini): Likewise.
11116 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11117 (_fini): Likewise.
11118 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11119 (_fini): Likewise.
11120 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11121 (_fini): Likewise.
11122 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11123 (_fini): Likewise.
11124 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11125 (_fini): Likewise.
11126 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11127 (_fini): Likewise.
11128 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11129 (_fini): Likewise.
11130 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11131 (_fini): Likewise.
11132 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11133 (_fini): Likewise.
11134 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11135 (_fini): Likewise.
11136 * sysdeps/sh/crti.S (_init): Mark as hidden.
11137 (_fini): Likewise.
11138 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11139 (_fini): Likewise.
11140 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11141 (_fini): Likewise.
11142
1c09524e
TMQMF
111432018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11144
11145 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11146 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11147 and TF redirection to KFtype and KF only when the default
11148 long double type is not the IEEE 128-bit floating point type.
11149
0e0577c9
JM
111502018-06-05 Joseph Myers <joseph@codesourcery.com>
11151
0c1c33b2
JM
11152 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11153 macro.
11154 (HWCAP_USCAT): Likewise.
11155 (HWCAP_ILRCPC): Likewise.
11156 (HWCAP_FLAGM): Likewise.
11157 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11158 Increase to 28.
11159 (_dl_aarch64_cap_flags): Add new flag names.
11160
bef1cbf4
JM
11161 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11162 (MAP_FIXED_NOREPLACE): New macro.
11163 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11164 (MAP_FIXED_NOREPLACE): Likewise.
11165 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11166 (MAP_FIXED_NOREPLACE): Likewise.
11167 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11168 (MAP_FIXED_NOREPLACE): Likewise.
11169 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11170 (MAP_FIXED_NOREPLACE): Likewise.
11171 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11172 (MAP_FIXED_NOREPLACE): Likewise.
11173 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11174 (MAP_FIXED_NOREPLACE): Likewise.
11175 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11176 (MAP_FIXED_NOREPLACE): Likewise.
11177 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11178 (MAP_FIXED_NOREPLACE): Likewise.
11179 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11180 (MAP_FIXED_NOREPLACE): Likewise.
11181 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11182 (MAP_FIXED_NOREPLACE): Likewise.
11183 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11184 (MAP_FIXED_NOREPLACE): Likewise.
11185 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11186 (MAP_FIXED_NOREPLACE): Likewise.
11187 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11188 (MAP_FIXED_NOREPLACE): Likewise.
11189 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11190 (MAP_FIXED_NOREPLACE): Likewise.
11191
0e0577c9
JM
11192 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11193 version to 4.17.
11194
ab3a0da0
JM
111952018-06-04 Joseph Myers <joseph@codesourcery.com>
11196
11197 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11198 version to 4.17
11199
d2d9dfb6
ST
112002018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11201
11202 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11203 int.
11204 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11205
a650b05e
LS
112062018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11207
11208 * benchtests/scripts/compare_string.py: (process_results) Catch
11209 exception in non-existent base_func and catch exception in
11210 non-existent attribute.
11211 (parse_file) Catch exception if input file does not exist.
11212
195abbf4
LS
112132018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11214
11215 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11216 options to avoid diff calculation and omit header, respectively.
11217 (main): process --no-diff and --no-header
11218
14570163
LS
112192018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11220 H.J. Lu <hongjiu.lu@intel.com>
11221
11222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11223 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11224 wcsncmp-sse2.
11225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11226 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11227 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11228 and __wcsncmp_sse2.
11229 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11230 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11231 AVX unaligned load is fast and vzeroupper is preferred.
11232 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11233 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11234 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11235 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11236 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11237 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11238 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11239 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11240 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11241 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11242 is undefined.
11243
e02c026f
FW
112442018-06-01 Florian Weimer <fweimer@redhat.com>
11245
11246 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11247 configuring with --disable-multi-arch, building with
11248 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11249 Haswell-era CPU.
11250
d8c19275
FW
112512018-06-01 Florian Weimer <fweimer@redhat.com>
11252
11253 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11254 results from building with “-march=x86-64 -mtune=generic
11255 -mfpmath=sse” and running on a Haswell-era CPU.
11256
0d2163eb
JM
112572018-06-01 Joseph Myers <joseph@codesourcery.com>
11258
11259 [BZ #18473]
11260 * soft-fp/sqrttf2.c: Remove file.
11261 * soft-fp/sqrtdf2.c: Move to ....
11262 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11263 <shlib-compat.h>.
11264 (__sqrtdf2): Make conditional on
11265 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11266 symbol.
11267 * soft-fp/sqrtsf2.c: Move to ....
11268 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11269 <shlib-compat.h>.
11270 (__sqrtsf2): Make conditional on
11271 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11272 symbol.
11273 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11274 (gcc-double-routines): Remove sqrtdf2.
11275 (gcc-quad-routines): Remove sqrttf2.
11276 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11277 Do not filter out sqrtsf2 and sqrtdf2.
11278 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11279 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11280
10450210
FW
112812018-06-01 Florian Weimer <fweimer@redhat.com>
11282
11283 * sysdeps/generic/libcidn.abilist: Remove file.
11284
4e8a6346
FW
112852018-06-01 Florian Weimer <fweimer@redhat.com>
11286
11287 [BZ #23236]
11288 * libio/strfile.h (struct _IO_str_fields): Rename members to
11289 discourage their use and add comment.
11290 (_IO_STR_DYNAMIC): Remove unused macro.
11291 * libio/strops.c (_IO_str_init_static_internal): Do not use
11292 callback pointers. Call malloc and free.
11293 (_IO_str_overflow): Do not use callback pointers. Call malloc
11294 and free.
11295 (enlarge_userbuf): Likewise.
11296 (_IO_str_finish): Call free.
11297 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11298 _allocate_buffer_unused.
11299 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11300 and free.
11301 (enlarge_userbuf): Likewise.
11302 (_IO_wstr_finish): Call free.
11303 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11304 _allocate_buffer_unused, _free_buffer_unused.
11305 * libio/memstream.c (__open_memstream): Likewise.
11306 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11307 * libio/wmemstream.c (open_wmemstream): Likewise.
11308
50d004c9
PP
113092018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11310
11311 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11312 AMD Ryzen 7 1800X.
11313
2c93fce7
RS
113142018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11315
11316 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11317 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11318 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11319 New file.
11320 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11321 Likewise.
11322 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11323
0ce2fa69
FW
113242018-05-29 Florian Weimer <fweimer@redhat.com>
11325
11326 * support/Makefile (libsupport-routines): Add
11327 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11328 xpthread_barrierattr_setpshared.
11329 * support/xpthread_barrierattr_destroy.c: New file.
11330 * support/xpthread_barrierattr_init.c: Likewise.
11331 * support/xpthread_barrierattr_setpshared.c: Likewise.
11332
7f7b5d8d
L
113332018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11334
11335 [BZ #23206]
11336 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11337 _r_debug and update DT_DEBUG for debugger.
11338
e4890300
FW
113392018-05-29 Florian Weimer <fweimer@redhat.com>
11340
11341 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11342 (tst-strtod5i.out): Likewise.
11343
2c753f3e
JM
113442018-05-25 Joseph Myers <joseph@codesourcery.com>
11345
b5453d9f
JM
11346 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11347 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11348 (sparc64-quad-routines): New variable. Moved from ....
11349 [$(subdir) = soft-fp] (sysdep_routines): Add
11350 $(sparc64-quad-routines). Moved from ....
11351 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11352 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11353 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11354 moved from ....
11355 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11356 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11357 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11358 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11359 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11360 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11361 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11362 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11363 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11364 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11365 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11366 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11367 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11368 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11369 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11370 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11371 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11372 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11373 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11374 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11375 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11376 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11377 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11378 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11379 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11380 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11381 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11382 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11383 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11384 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11385 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11386 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11387 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11388 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11389 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11390 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11391 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11392 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11393 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11394 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11395 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11396 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11397 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11398 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11399 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11400 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11401 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11402 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11403 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11404 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11405 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11406 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11407 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11408 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11409 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11410 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11411 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11412 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11413
2c753f3e
JM
11414 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11415 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11416 (sparc32-quad-routines): New variable. Moved from ....
11417 [$(subdir) = soft-fp] (sysdep_routines): Add
11418 $(sparc32-quad-routines). Moved from ....
11419 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11420 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11421 moved from ....
11422 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11423 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11424 * sysdeps/sparc/sparc32/q_add.c: ... here.
11425 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11426 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11427 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11428 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11429 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11430 * sysdeps/sparc/sparc32/q_div.c: ... here.
11431 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11432 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11433 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11434 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11435 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11436 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11437 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11438 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11439 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11440 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11441 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11442 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11443 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11444 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11445 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11446 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11447 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11448 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11449 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11450 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11451 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11452 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11453 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11454 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11455 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11456 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11457 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11458 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11459 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11460 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11461 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11462 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11463 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11464 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11465 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11466 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11467 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11468 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11469 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11470 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11471 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11472 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11473 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11474 * sysdeps/sparc/sparc32/q_util.c: ... here.
11475 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11476 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11477 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11478 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11479
c1dc1e1b
TMQMF
114802018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11481 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11482
11483 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11484 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11485 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11486 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11487
14186e8d
JM
114882018-05-24 Joseph Myers <joseph@codesourcery.com>
11489
11490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11491 powerpc/soft-fp.
11492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11493 Likewise.
11494 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11495 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11496
fb0e10b8
GG
114972018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11498
11499 [BZ #23171]
11500 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11501 double version.
11502
1dfeb17e
JM
115032018-05-23 Joseph Myers <joseph@codesourcery.com>
11504
11505 * sysdeps/sh/Implies: Remove sh/soft-fp.
11506 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11507 * sysdeps/sh/sfp-machine.h: ... here.
11508
727b38df
L
115092018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11510
11511 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11512 (__mempcpy_erms): Skip zero length.
11513 (__memmove_erms): Likewise.
11514 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11515 (__memset_erms): Likewise.
11516
2834fb46
JM
115172018-05-23 Joseph Myers <joseph@codesourcery.com>
11518
11519 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11520 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11521 Add functions moved from ....
11522 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11523 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11524 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11525 from ....
11526 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11527 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11528 * sysdeps/alpha/e_sqrtl.c: ... here.
11529 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11530 * sysdeps/alpha/local-soft-fp.h: ... here.
11531 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11532 * sysdeps/alpha/ots_add.c: ... here.
11533 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11534 * sysdeps/alpha/ots_cmp.c: ... here.
11535 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11536 * sysdeps/alpha/ots_cmpe.c: ... here.
11537 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11538 * sysdeps/alpha/ots_cvtqux.c: ... here.
11539 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11540 * sysdeps/alpha/ots_cvtqx.c: ... here.
11541 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11542 * sysdeps/alpha/ots_cvttx.c: ... here.
11543 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11544 * sysdeps/alpha/ots_cvtxq.c: ... here.
11545 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11546 * sysdeps/alpha/ots_cvtxt.c: ... here.
11547 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11548 * sysdeps/alpha/ots_div.c: ... here.
11549 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11550 * sysdeps/alpha/ots_mul.c: ... here.
11551 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11552 * sysdeps/alpha/ots_nintxq.c: ... here.
11553 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11554 * sysdeps/alpha/ots_sub.c: ... here.
11555 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11556 * sysdeps/alpha/sfp-machine.h: ... here.
11557
7f9f1ecb
FW
115582018-05-23 Florian Weimer <fweimer@redhat.com>
11559
11560 [BZ #19728]
11561 [BZ #19729]
11562 [BZ #22247]
11563 CVE-2016-6261
11564 CVE-2016-6263
11565 CVE-2017-14062
11566 Switch to extern IDNA implementation (libidn2).
11567 * libidn: Remove subdirectory.
11568 * LICENSES: Do not mention licensing conditions for the removed
11569 libidn code.
11570 * config.h.in (HAVE_LIBIDN): Remove.
11571 * include/dlfcn.h (__libc_dlopen): Update comment.
11572 * include/idna.h: Remove file.
11573 * inet/Makefile (routines): Add idna.
11574 (tests-static, tests-internal): Add tst-idna_name_classify.
11575 (LOCALES): Generate locales for tests.
11576 (tst-idna_name_classify.out): Depend on generated locales.
11577 * inet/idna_name_classify.c: New file.
11578 * inet/tst-idna_name_classify.c: Likewise.
11579 * inet/net-internal.h (__idna_to_dns_encoding)
11580 (__idna_from_dns_encoding): Declare.
11581 * inet/net-internal.h (enum idna_name_classification): Define.
11582 (__idna_name_classify): Declare.
11583 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11584 __idna_from_dns_encoding.
11585 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11586 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11587 name as a fallback in case of encoding errors.
11588 (getnameinfo): Use DEPRECATED_NI_IDN.
11589 * inet/idna.c: New file.
11590 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11591 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11592 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11593 (modules-names): Add tst-no-libidn2.
11594 (extra-test-objs): Add tst-no-libidn2.os.
11595 (LDFLAGS-tst-no-libidn2.so): Set soname.
11596 (LOCALES): Set, and generate locales.
11597 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11598 (tst-resolv-ai_idn-latin1): Likewise.
11599 (tst-resolv-ai_idn-nolibidn2): Likewise.
11600 (tst-resolv-ai_idn.out): Depend on locales.
11601 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11602 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11603 tst-no-libidn2.so.
11604 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11605 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11606 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11607 * resolv/tst-resolv-ai_idn.c: New file.
11608 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11609 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11610 * resolv/tst-no-libidn2.c: Likewise.
11611 * support/support_format_addrinfo.c (format_ai_flags): Do not
11612 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11613 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11614 (gaih_inet): Call __idna_to_dns_encoding and
11615 __idna_from_dns_encoding, and use the original (punycode) name if
11616 __idna_from_dns_encoding fails due to an encoding error.
11617 (getaddrinfo): Use DEPRECATED_AI_IDN.
11618 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11619 * sysdeps/unix/inet/configure: Remove file.
11620 * sysdeps/unix/inet/configure.ac: Likewise.
11621
5f7b841d
FW
116222018-05-23 Florian Weimer <fweimer@redhat.com>
11623
11624 Implement allocate_once.
11625 * include/allocate_once.h: New file.
11626 * misc/allocate_once.c: Likewise.
11627 * misc/tst-allocate_once.c: Likewise.
11628 * misc/Makefile (routines): Add allocate_once.
11629 (tests-internal): Add tst-allocate_once.
11630 (generated): Add tst-allocate_once.mtrace,
11631 tst-allocate_once-mem.out.
11632 (tests-special): Add tst-allocate_once-mem.out.
11633 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11634 (tst-allocate_once-mem.out): Call mtrace.
11635 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11636
ed983107
L
116372018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11638
11639 [BZ #23196]
11640 * string/test-memcpy.c (do_test1): New function.
11641 (test_main): Call it.
11642
9aaaab7c
AS
116432018-05-23 Andreas Schwab <schwab@suse.de>
11644
11645 [BZ #23196]
11646 CVE-2018-11237
11647 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11648 (L(preloop_large)): Save initial destination pointer in %r11 and
11649 use it instead of %rax after the loop.
11650 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11651
5c5c0dd7
JM
116522018-05-22 Joseph Myers <joseph@codesourcery.com>
11653
8f145c77
JM
11654 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11655 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11656 -I../soft-fp. Moved from ....
11657 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11658 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11659 * sysdeps/aarch64/e_sqrtl.c: ... here.
11660 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11661 * sysdeps/aarch64/sfp-machine.h: ... here.
11662
3d6302a5
JM
11663 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11664 -Wmaybe-uninitialized around access to fq[0].
11665 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11666 Likewise.
11667
5c5c0dd7
JM
11668 [BZ #18471]
11669 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11670 aliases for non-libc case of versioned symbols.
11671 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11672 (llseek): Define as compat symbol if
11673 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11674 with link warning.
11675 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11676 Make into a compat symbol, disabled for minimum symbol version
11677 GLIBC_2.28 and later.
11678 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11679
ed0d6988
FW
116802018-05-22 Florian Weimer <fweimer@redhat.com>
11681
11682 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11683 not add -mpreferred-stack-boundary=4.
11684 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11685 (stack-align-test-flags): Likewise.
11686 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11687 Likewise.
11688 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11689 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11690 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11691 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11692 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11693 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11694 (CFLAGS-tst-align2.c): Likewise.
11695
e28e9b1e
L
116962018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11697
11698 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11699 (index_arch_Prefer_FSRM): Likewise.
11700 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11701 Also check Prefer_FSRM.
11702 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11703 Also return OPTIMIZE (erms) for Prefer_FSRM.
11704
1af30adc
L
117052018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11706
11707 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11708 (index_cpu_FSRM): Likewise.
11709 (reg_FSRM): Likewise.
11710
78274dc8
JM
117112018-05-18 Joseph Myers <joseph@codesourcery.com>
11712
7c67e6e8
JM
11713 * math/gen-tgmath-tests.py: Import sys.
11714 (Tests.__init__): Initialize macros_seen.
11715 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11716 if requested to do so for this macro.
11717 (Tests.add_all_tests): Take argument for macro for which to
11718 generate tests.
11719 (Tests.check_macro_list): New function.
11720 (main): Handle check-list argument and argument specifying macro
11721 for which to generate tests.
11722 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11723 [PYTHON] (tgmath3-macro-tests): Likewise.
11724 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11725 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11726 not test-tgmath3.c.
11727 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11728 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11729 to CFLAGS.
11730 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11731 [PYTHON] ($(foreach
11732 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11733 rule.
11734 [PYTHON] (tests-special): Add
11735 $(objpfx)test-tgmath3-macro-list.out.
11736 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11737
ebc129fd
JM
11738 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11739 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11740 later.
11741
78274dc8
JM
11742 [BZ #22639]
11743 * time/tzset.c (SECSPERDAY): Cast to time_t.
11744 * time/tst-y2039.c: New file.
11745 * time/Makefile (tests): Add tst-y2039.
11746
6f7fdeeb
LS
117472018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11748
11749 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11750 (PREFETCH_ONE_SET): Remove duplicate line.
11751
e363a91c
FW
117522018-05-17 Florian Weimer <fweimer@redhat.com>
11753
11754 * sysdeps/generic/math-type-macros-double.h: Include
11755 <math-nan-payload-double.h> after <libm-alias-double.h>.
11756 * sysdeps/generic/math-type-macros-float.h: Include
11757 <math-nan-payload-float.h> after <libm-alias-float.h>.
11758 * sysdeps/generic/math-type-macros-float128.h: Include
11759 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11760 * sysdeps/generic/math-type-macros-ldouble.h: Include
11761 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11762
dae6c43c
AS
117632018-05-17 Andreas Schwab <schwab@suse.de>
11764
11765 * resolv/res_send.c (__res_context_send): Don't set errno when
11766 returing error after malloc failure.
11767
0068c085
L
117682018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11769
11770 * nptl/allocatestack.c (allocate_stack): Remove the
11771 !__ASSUME_PRIVATE_FUTEX paths.
11772 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11773 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11774 Likewise.
11775 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11776 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11777 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11778 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11779 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11780 !__ASSUME_PRIVATE_FUTEX path.
11781 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11782 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11783 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11784 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11785 !__ASSUME_PRIVATE_FUTEX macros.
11786 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11787 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11788 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11789 * sysdeps/unix/sysv/linux/kernel-features.h
11790 (__ASSUME_PRIVATE_FUTEX): Removed.
11791
632a6cbe
JM
117922018-05-17 Joseph Myers <joseph@codesourcery.com>
11793
11794 * math/Makefile (libm-narrow-fns): Add div.
11795 (libm-test-funcs-narrow): Likewise.
11796 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11797 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11798 * math/gen-auto-libm-tests.c (test_functions): Add div.
11799 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11800 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11801 (NARROW_DIV_TRIVIAL): Likewise.
11802 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11803 macro.
11804 (__ddivl): Likewise.
11805 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11806 ddiv.
11807 (CFLAGS-nldbl-ddiv.c): New variable.
11808 (CFLAGS-nldbl-fdiv.c): Likewise.
11809 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11810 __nldbl_ddivl.
11811 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11812 prototype.
11813 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11814 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11815 * math/auto-libm-test-in: Add tests of div.
11816 * math/auto-libm-test-out-narrow-div: New generated file.
11817 * math/libm-test-narrow-div.inc: New file.
11818 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11819 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11820 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11821 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11822 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11823 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11824 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11825 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11826 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11827 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11828 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11829 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11830 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11831 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11832 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11833 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11834 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11835 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11837 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11838 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11839 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11840 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11841 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11842 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11843 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11844 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11845 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11846 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11847 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11848 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11849 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11854 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11855 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11856 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11857 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11858 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11859 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11860 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11861 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11862
8c78faa9
AZ
118632018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11864
11865 [BZ #23178]
11866 * nscd/nscd-client.h (sendfileall): Remove prototype.
11867 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11868 (handle_request): Use writeall instead of sendfileall.
11869 * nscd/aicache.c (addhstaiX): Likewise.
11870 * nscd/grpcache.c (cache_addgr): Likewise.
11871 * nscd/hstcache.c (cache_addhst): Likewise.
11872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11873 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11874 * nscd/pwdcache.c (cache_addpw): Likewise.
11875 * nscd/servicescache.c (cache_addserv): Likewise.
11876 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11877 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11878 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11879 Remove define.
11880
04958880
L
118812018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11882
11883 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11884 Include <string/strncat.c>.
11885 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11886 alias.
11887 (__GI___strncat): New hidden alias.
11888
c9992d13
JM
118892018-05-16 Joseph Myers <joseph@codesourcery.com>
11890
11891 * sysdeps/mips/mips32/libm-test-ulps: Update.
11892 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11893
2afece36
FW
118942018-05-16 Florian Weimer <fweimer@redhat.com>
11895
11896 * support/Makefile (libsupport-routines): Add support_quote_blob,
11897 support_test_compare_blob.
11898 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11899 * support/check.h (TEST_COMPARE_BLOB): Define.
11900 (support_test_compare_blob): Declare.
11901 * support/support.h (support_quote_blob): Declare.
11902 * support/support_quote_blob.c: New file.
11903 * support/support_test_compare_blob.c: Likewise.
11904 * support/tst-support_quote_blob.c: Likewise.
11905 * support/tst-test_compare_blob.c: Likewise.
11906
9761bf4d
FW
119072018-05-16 Florian Weimer <fweimer@redhat.com>
11908
11909 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11910 of <strtod_nan_double.h>.
11911 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11912 instead of SET_MANTISSA.
11913 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11914 of include <strtod_nan_float.h>.
11915 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11916 instead of <strtod_nan_ldouble.h>.
11917 * stdlib/strtod_nan_double.h: Move to ...
11918 * sysdeps/generic/math-nan-payload-double.h: ... here.
11919 (FLOAT): Remove definition.
11920 (SET_MANTISSA): Rename to ...
11921 (SET_NAN_PAYLOAD): ... this.
11922 * stdlib/strtod_nan_float.h: Move to ...
11923 * sysdeps/generic/math-nan-payload-float.h: ... here.
11924 (FLOAT): Remove definition.
11925 (SET_MANTISSA): Rename to ...
11926 (SET_NAN_PAYLOAD): ... this.
11927 * sysdeps/generic/math-type-macros-double.h: Include
11928 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11929 instead of <math-svid-compat.h>.
11930 * sysdeps/generic/math-type-macros-float.h: Include
11931 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11932 instead of <math-svid-compat.h>.
11933 * sysdeps/generic/math-type-macros-float128.h: Include
11934 <math-nan-payload-float128.h>.
11935 * sysdeps/generic/math-type-macros-ldouble.h: Include
11936 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11937 instead of <math-svid-compat.h>.
11938 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11939 check for definition.
11940 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11941 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11942 Include <ieee754_float128.h>.
11943 (FLOAT): Remove definition.
11944 (SET_MANTISSA): Rename to ...
11945 (SET_NAN_PAYLOAD): ... this.
11946 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11947 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11948 Do not include <float128_private.h>.
11949 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11950 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11951 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11952 (FLOAT): Remove definition.
11953 (SET_MANTISSA): Rename to ...
11954 (SET_NAN_PAYLOAD): ... this.
11955 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11956 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11957 (FLOAT): Remove definition.
11958 (SET_MANTISSA): Rename to ...
11959 (SET_NAN_PAYLOAD): ... this.
11960 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11961 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11962 (FLOAT): Remove definition.
11963 (SET_MANTISSA): Rename to ...
11964 (SET_NAN_PAYLOAD): ... this.
11965 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11966 of "../stdlib/strtod_nan_double.h".
11967 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11968 of "../stdlib/strtod_nan_float.h".
11969 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11970 instead of "../stdlib/strtod_nan_ldouble.h".
11971 * manual/arith.texi (Parsing of Floats): Adjust comment.
11972
69a01461
JM
119732018-05-16 Joseph Myers <joseph@codesourcery.com>
11974
11975 * math/Makefile (libm-narrow-fns): Add mul.
11976 (libm-test-funcs-narrow): Likewise.
11977 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11978 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11979 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11980 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11981 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11982 (NARROW_MUL_TRIVIAL): Likewise.
11983 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11984 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11985 macro.
11986 (__dmull): Likewise.
11987 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11988 dmul.
11989 (CFLAGS-nldbl-dmul.c): New variable.
11990 (CFLAGS-nldbl-fmul.c): Likewise.
11991 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11992 __nldbl_dmull.
11993 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11994 prototype.
11995 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11996 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11997 * math/auto-libm-test-in: Add tests of mul.
11998 * math/auto-libm-test-out-narrow-mul: New generated file.
11999 * math/libm-test-narrow-mul.inc: New file.
12000 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12001 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12002 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12003 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12004 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12005 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12006 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12007 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12008 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12009 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12010 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12011 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12012 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12013 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12014 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12015 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12016 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12017 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12019 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12020 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12021 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12022 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12023 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12024 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12025 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12026 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12027 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12028 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12029 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12030 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12031 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12036 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12037 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12038 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12039 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12040 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12041 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12042 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12043 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12044
a15529fd
L
120452018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12046
12047 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12048 with *%eax in call.
12049
98ee36c7
L
120502018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12051
12052 * sysdeps/i386/ldsodefs.h: Removed.
12053 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12054 * sysdeps/x86/ldsodefs.h: This.
12055 (La_i86_regs): New.
12056 (La_i86_retval): Likewise.
12057 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12058 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12059
e322ec32
L
120602018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12061
12062 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12063 unnecessary testl.
12064
0937e209
AM
120652018-05-13 Alan Modra <amodra@gmail.com>
12066
12067 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12068 R_PARISC_TLS_DTPOFF32 reloc addend.
12069
5db7d705
TMQMF
120702018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12071
12072 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12073 * math/math.h: Restrict the prototype definition for the functions
12074 issignaling(_Float128) and iszero(_Float128); and template
12075 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12076 __HAVE_FLOAT128_UNLIKE_LDBL.
12077 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12078 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12079 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12080 __f128() constants; define the type _Float128 as long double;
12081 and reuse long double in __CFLOAT128.
12082
b4d5b8b0
JM
120832018-05-11 Joseph Myers <joseph@codesourcery.com>
12084
12085 * sysdeps/generic/math_private.h: Do not include
12086 <math-barriers.h>.
12087 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12088 <math_private.h>.
12089 * math/fromfp.h: Include <math-barriers.h>.
12090 * math/math-narrow.h: Likewise.
12091 * math/s_nextafter.c: Likewise.
12092 * math/s_nexttowardf.c: Likewise.
12093 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12094 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12095 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12096 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12097 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12098 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12099 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12101 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12102 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12103 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12104 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12105 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12106 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12107 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12108 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12109 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12110 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12111 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12113 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12114 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12115 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12116 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12117 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12118 * sysdeps/ieee754/k_standardl.c: Likewise.
12119 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12120 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12121 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12122 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12124 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12125 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12126 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12127 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12128 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12129 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12130 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12132 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12133 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12135 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12136 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12137 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12138 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12139 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12140 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12141
fc79706a
FW
121422018-05-11 Florian Weimer <fweimer@redhat.com>
12143
12144 Use 64-bit epoch values in the time zone file parser.
12145 * include/time.h (internal_time_t): Define.
12146 (__tzfile_compute): Use it.
12147 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12148 member.
12149 (transitions): Switch to internal_time_t.
12150 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12151 types.
12152 (__tzfile_compute): Use internal_time_t for timer argument. Check
12153 for truncation before calling __offtime.
12154
89aacb51
FW
121552018-05-11 Florian Weimer <fweimer@redhat.com>
12156
12157 [BZ #23166]
12158 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12159 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12160 Likewise.
12161 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12162 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12163 export without --enable-obsolete-rpc.
12164 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12165 symbol. This should not have been exported, ever.
12166
bb066cb8
RL
121672018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12168
12169 [BZ #23152]
12170 * localedata/locales/gd_GB (abmon): Fix typo in May:
12171 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12172
70c97f84
SP
121732018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12174
db725a45
SP
12175 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12176 Use multiple registers to copy data in loop tail.
12177
70c97f84
SP
12178 * sysdeps/aarch64/multiarch/memmove_falkor.S
12179 (__memmove_falkor): Use multiple registers to move data in
12180 loop tail.
12181
8f5b00d3
JM
121822018-05-10 Joseph Myers <joseph@codesourcery.com>
12183
12184 * math/math-underflow.h: New file.
12185 * sysdeps/generic/math_private.h: Do not include <float.h>.
12186 (fabs_tg): Remove macro. Moved to math-underflow.h.
12187 (min_of_type_f): Likewise.
12188 (min_of_type_): Likewise.
12189 (min_of_type_l): Likewise.
12190 (min_of_type_f128): Likewise.
12191 (min_of_type): Likewise.
12192 (math_check_force_underflow): Likewise.
12193 (math_check_force_underflow_nonneg): Likewise.
12194 (math_check_force_underflow_complex): Likewise.
12195 * math/e_exp2_template.c: Include <math-underflow.h>.
12196 * math/k_casinh_template.c: Likewise.
12197 * math/s_catan_template.c: Likewise.
12198 * math/s_catanh_template.c: Likewise.
12199 * math/s_ccosh_template.c: Likewise.
12200 * math/s_cexp_template.c: Likewise.
12201 * math/s_clog10_template.c: Likewise.
12202 * math/s_clog_template.c: Likewise.
12203 * math/s_csin_template.c: Likewise.
12204 * math/s_csinh_template.c: Likewise.
12205 * math/s_csqrt_template.c: Likewise.
12206 * math/s_ctan_template.c: Likewise.
12207 * math/s_ctanh_template.c: Likewise.
12208 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12209 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12210 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12211 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12212 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12213 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12214 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12215 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12216 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12217 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12219 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12220 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12221 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12222 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12223 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12224 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12225 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12226 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12227 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12228 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12229 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12230 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12231 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12232 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12233 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12234 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12235 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12236 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12237 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12238 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12239 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12248 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12276 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12278 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12285 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12286 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12288 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12292
9ed2e15f
JM
122932018-05-09 Joseph Myers <joseph@codesourcery.com>
12294
12295 * sysdeps/generic/math-barriers.h: New file.
12296 * sysdeps/generic/math_private.h [!math_opt_barrier]
12297 (math_opt_barrier): Move to math-barriers.h.
12298 [!math_opt_barrier] (math_force_eval): Likewise.
12299 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12300 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12301 math-barriers.h.
12302 (math_force_eval): Likewise.
12303 * sysdeps/alpha/fpu/math-barriers.h: New file.
12304 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12305 math-barriers.h.
12306 (math_force_eval): Likewise.
12307 * sysdeps/x86/fpu/math-barriers.h: New file.
12308 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12309 math-barriers.h.
12310 (math_force_eval): Likewise.
12311 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12312 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12313 multiple-include guard for rename.
12314 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12315 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12316 math-barriers.h.
12317 (math_force_eval): Likewise.
12318
5460617d
PP
123192018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12320
12321 [BZ #22786]
43d4f3d5 12322 CVE-2018-11236
5460617d
PP
12323 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12324 computation.
12325 * stdlib/Makefile (test-bz22786): New test.
12326 * stdlib/test-bz22786.c: New test.
12327
aaee3cd8
JM
123282018-05-09 Joseph Myers <joseph@codesourcery.com>
12329
12330 * include/math-narrow-eval.h: New file. Contents moved from ....
12331 * sysdeps/generic/math_private.h: ... here.
12332 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12333 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12334 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12335 * stdlib/strtod_l.c: Likewise.
12336 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12337 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12338 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12339 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12340 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12341 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12342 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12343 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12348 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12349 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12350 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12351 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12352 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12353 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12354 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12355 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12356 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12357 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12358 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12359 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12360 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12361 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12362 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12363 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12364 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12365
0555c477
AS
123662018-05-08 Andreas Schwab <schwab@suse.de>
12367
12368 * sysdeps/nptl/internaltypes.h: Fix comment.
12369
50d7d351
L
123702018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12371
12372 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12373 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12374 hidden.
12375
543477f7
SP
123762018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12377
12378 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12379 of I into loop header.
12380 * benchtests/bench-memmove-walk.c
12381 (test_main): Likewise.
12382
123832018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
12384
12385 Revert:
12386 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12387 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12388
0065aaaa
PP
123892018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12390
12391 [BZ #20419]
12392 * elf/dl-load.c (open_verify): Fix stack overflow.
12393 * elf/Makefile (tst-big-note): New test.
12394 * elf/tst-big-note-lib.S: New.
12395 * elf/tst-big-note.c: New.
12396
b289cd9d
JM
123972018-05-04 Joseph Myers <joseph@codesourcery.com>
12398
12399 * scripts/abilist.awk: Ignore absolute symbols.
12400 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12401 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12402 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12403 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12404 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12405 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12406 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12407 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12408 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12409 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12410 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12411 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12413 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12425 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12426 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12434 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12435 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12436 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12437 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12438 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12439 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12440 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12441 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12442 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12448 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12449 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12450 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12451 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12452 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12453 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12454 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12455 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12456 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12459 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12460 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12461 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12462 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12468 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12469 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12470 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12472 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12473 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12474 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12475 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12478 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12481 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12482 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12483 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12484 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12489 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12492 Likewise.
12493 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12503 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12506 Likewise.
12507 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12511 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12512 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12513 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12519 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12528 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12529 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12530 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12531 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12533 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12534 Likewise.
12535 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12536 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12537 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12538 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12539 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12540 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12542 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12543 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12544 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12547 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12548 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12552 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12555 Likewise.
12556 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12567 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12578 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12579 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12580 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12581 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12588 Likewise.
12589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12594 Likewise.
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12596 Likewise.
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12599 Likewise.
12600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12602 Likewise.
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12604 Likewise.
12605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12608 Likewise.
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12610 Likewise.
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12612 Likewise.
12613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12617 Likewise.
12618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12624 Likewise.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12627 Likewise.
12628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12629 Likewise.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12631 Likewise.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12633 Likewise.
12634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12637 Likewise.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12639 Likewise.
12640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12641 Likewise.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12645 Likewise.
12646 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12660 Likewise.
12661 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12673 Likewise.
12674 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12699 Likewise.
12700 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12709 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12710 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12711 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12712 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12713 Likewise.
12714 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12720 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12721 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12722 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12726 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12727 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12729 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12730 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12745 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12746 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12752
16609018
SL
127532018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12754
12755 [BZ #23137]
12756 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12757 Use atomic_load_acquire to load __tid.
12758
556f5c46
L
127592018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12760
12761 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12762 Restore the pointer into %rdx, after syscall and use %rdx,
12763 instead of %rsi, to restore context.
12764
8b8f32b2
L
127652018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12766
12767 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12768 Pop the pointer into %rdx after syscall and use %rdx, instead
12769 of %rsi, to restore context.
12770
d6cc1829
L
127712018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12772
12773 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12774 handlers after setjmp.
12775 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12776 defined.
12777 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12778 <libc-pointer-arith.h>.
12779 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12780 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12781 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12782 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12783 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12784 * sysdeps/x86/__longjmp_cancel.S: New file.
12785 * sysdeps/x86/longjmp.c: Likewise.
12786 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12787
cf2478d5
AZ
127882018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12789
12790 * NEWS: Add ustat.h deprecation entry.
12791 * bits/ustat.h: Remove file.
12792 * misc/sys/ustat.h: Likewise.
12793 * misc/ustat.h: Likewise.
12794 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12795 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12796 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12797 compatibility mode.
12798 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12799 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12800 generic Linux implementation.
12801
dc115e1c
TMQMF
128022018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12803
12804 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12805 * math/w_expl_compat.c: Likewise.
12806 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12807
340d9652
RN
128082018-04-30 Raymond Nicholson <rain1@airmail.cc>
12809
12810 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12811
c57bf7c1
AZ
128122018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12813
12814 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12815 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12816 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12817 Remove.
12818 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12820 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12821 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12822 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12823 and SYSCALL_LL64.
12824
06135c33
TMQMF
128252018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12826
33927914
TMQMF
12827 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12828
06135c33
TMQMF
12829 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12830 * math/w_asin_template.c: Likewise.
12831 * math/w_atanh_template.c: Likewise.
12832
3a33b069
GG
128332018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12834
12835 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12836 to powerpc/powerpc64/be for big-endian.
12837 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12838 little-endian.
12839
12840 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12841 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12842 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12843 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12844 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12845 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12846 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12847 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12848 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12849 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12850 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12851 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12852 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12853 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12854 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12855 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12856 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12857 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12858 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12859 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12860 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12861 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12862 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12863 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12864 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12865 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12866 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12867 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12868 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12869 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12870 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12871 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12872
12873 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12874 adjusted to imply powerpc64 and older processors on powerpc64/be.
12875 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12876 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12877 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12878 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12879 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12880 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12881 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12882 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12883 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12884 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12885 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12886 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12887 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12888 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12889 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12890 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12891 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12892 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12893 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12894 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12895 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12896 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12897 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12898 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12899 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12900 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12901 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12902 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12903 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12904 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12905 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12906
12907 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12908 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12909 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12910 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12911
12912 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12913 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12914 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12915 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12916
12917 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12918 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12919 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12920 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12921 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12922 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12923 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12924 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12925 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12926 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12927 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12928
12929 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12930 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12931 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12932 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12933 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12934 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12935 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12936 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12937 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12938 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12939 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12940
12941 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12942 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12943 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12944 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12945 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12946 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12947 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12948 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12949 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12950 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12951 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12952 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12953
12954 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12955 and adjusted to imply olders processors.
12956 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12957 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12958 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12959 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12960 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12961 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12962 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12963 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12964 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12965 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12966 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12967
12968 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12969 powerpc64/le.
12970 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12972
12973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12974 powerpc64le.
12975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12977
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12979 powerpc64/be.
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12983
12984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12985 powerpc64 and adjusted.
12986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12989 Likewise.
12990
a3fb6b6b
JM
129912018-04-27 Joseph Myers <joseph@codesourcery.com>
12992
12993 * sysdeps/tile: Remove.
12994 * sysdeps/unix/sysv/linux/tile: Likewise.
12995 * README (tilegx-*-linux-gnu): Remove from list of supported
12996 configurations.
12997 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12998 contribution of support for generic Linux kernel syscall
12999 interface.
13000 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13001 tilegx configurations.
13002 (Config.install_linux_headers): Do not handle tile.
13003 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13004 in comment.
13005 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13006 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13007 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13008 conditional undefine and redefine.
13009 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13010 in comment.
13011 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13012 conditional undefine and redefine.
13013
7a6f7478
AJ
130142018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13015
13016 * signal/tst-sigaction.c: New file to test BZ #23069.
13017 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13018
81b49e96
TMQMF
130192018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13020
13021 [BZ #22766]
13022 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13023 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13024 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13025 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13026
7d80f48e
AZ
130272018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13028
13029 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13030 _DIRENT_MATCHES_DIRENT64 is not defined.
13031 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13032 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13033 is defined.
13034 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13035 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13036
42a2bf58
JM
130372018-04-25 Joseph Myers <joseph@codesourcery.com>
13038
13039 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13040 version to GCC 8 branch.
13041
9320ca88
JM
130422018-04-24 Joseph Myers <joseph@codesourcery.com>
13043
5e14bb97
JM
13044 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13045 (check_no_hidden): Use type of original function when declaring
13046 alias.
13047
9320ca88
JM
13048 * sysdeps/unix/sysv/linux/sys/ptrace.h
13049 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13050 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13051 (struct __ptrace_seccomp_metadata): New type.
13052 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13053 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13054 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13055 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13056 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13057 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13058 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13059 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13060 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13061 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13062 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13063 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13064 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13065 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13066 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13067 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13068
af7e376b
AZ
130692018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13070
13071 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13072 defined.
13073 * dirent/versionsort.c (versionsort): Likewise.
13074 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13075 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13076 * dirent/versionsort64.c (versionsort64): Likewise.
13077 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13078 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13079 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13080 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13081 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13082 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13083 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13084 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13085 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13086 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13089 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13090 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13091
da5e0361
JM
130922018-04-23 Joseph Myers <joseph@codesourcery.com>
13093
13094 * elf/elf.h (NT_PPC_PKEY): New macro.
13095
ea76691a
DSN
130962018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13097
13098 [BZ #23094]
13099 * localedata/locales/hr_HR: fix thousands_sep and
13100 mon_thousands_sep
13101
573963e3
JM
131022018-04-20 Joseph Myers <joseph@codesourcery.com>
13103
13104 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13105 (XTABS): Define to TAB3.
13106
c0123b3b
AZ
131072018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13108
0900a849
AZ
13109 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13110
c0123b3b
AZ
13111 * dirent/scandir-tail-common.c: New file.
13112 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13113 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13114 * dirent/scandir.c: Use scandir-tail-common.c.
13115 * dirent/scandirat.c: Likewise.
13116 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13117 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13118 if _DIRENT_MATCHES_DIRENT64 is defined.
13119 * dirent/scandirat64.c (scandirat64): Likewise.
13120 * include/dirent.h (__scandir_tail): Only define iff
13121 _DIRENT_MATCHES_DIRENT64 is not defined.
13122 (__scandir64_tail): Define regardless.
13123 (__scandirat, scandirat64): Remove libc_hidden_proto.
13124 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13125 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13127 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13128 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13129 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13130 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13131
458b94f6
JM
131322018-04-20 Joseph Myers <joseph@codesourcery.com>
13133
13134 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13135 New macro.
13136 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13137 Increase to 24.
13138 (_dl_aarch64_cap_flags): Add asimdfhm.
13139
9f0437e8
CLT
131402018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13141
13142 * sysdeps/nios2/libm-test-ulps: Update.
13143
298d0e31
AZ
131442018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13145
50511ca4
AZ
13146 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13147 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13148
298d0e31
AZ
13149 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13150 requirements.
13151 (_DIRENT_MATCHES_DIRENT64): Undef
13152 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13153 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13154 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13155 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13156 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13157 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13158 use getdents64 syscalls as base.
13159 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13160 symbol if required.
13161 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13162 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13163 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13164 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13165 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13166 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13167 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13168 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13170 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13171 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13172
0085be14
SL
131732018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13174
13175 * scripts/test_printers_common.py (init_test): Disable lock elision.
13176
da796524
SL
131772018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13178
13179 * math/test-tgmath.c (count_double, count_float,
13180 count_ldouble, count_cdouble, count_cfloat,
13181 count_cldouble): Use volatile int.
13182
0dd25301
ST
131832018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13184
13185 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13186 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 13187 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
13188 i386-gnu.
13189 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13190 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13191 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13192 msqid_ds.msg_lrpid): Likewise.
13193 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13194 Likewise.
13195 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13196 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
13197 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13198 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13199 unsigned int.
13200 (struct statvfs64): Likewise.
f55a4fde
ST
13201 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13202 Likewise.
77b93390
ST
13203 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13204 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13205 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13206 instead of wait_queue.
13207 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13208 instead of vm_area_struct.
5cd2931a
ST
13209 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13210 struct sched_param definition to it.
e60c3f2b
ST
13211 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13212 * bits/types/struct_sched_param.h: New file.
13213 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13214 <bits/types/struct_sched_param.h> instead of <sched.h>.
13215 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
13216 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13217 generic version but include <bits/pthreadtypes.h> to make struct
13218 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
13219 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13220 non-compliant.
a564872d
ST
13221 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13222 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13223 [__USE_XOPEN] (OFDEL): New macro.
13224 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 13225 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
13226 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13227 prototypes.
13228 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13229 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
13230 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13231 non-compliant.
13232 * sysdeps/i386/sys/ucontext.h: Likewise.
13233 * sysdeps/m68k/sys/ucontext.h: Likewise.
13234 * sysdeps/mips/sys/ucontext.h: Likewise.
13235 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
13236 * sysdeps/mach/hurd/i386/Makefile
13237 (test-xfail-POSIX/fcntl.h/conform): Add.
13238 (test-xfail-POSIX/signal.h/conform): Add.
13239 (test-xfail-POSIX/semaphore.h/conform): Add.
13240 (test-xfail-POSIX/regex.h/conform): Add.
13241 (test-xfail-POSIX/aio.h/conform): Add.
13242 (test-xfail-POSIX/mqueue.h/conform): Add.
13243 (test-xfail-POSIX/sys/types.h/conform): Add.
13244 (test-xfail-UNIX98/fcntl.h/conform): Add.
13245 (test-xfail-UNIX98/netdb.h/conform): Add.
13246 (test-xfail-UNIX98/signal.h/conform): Add.
13247 (test-xfail-UNIX98/semaphore.h/conform): Add.
13248 (test-xfail-UNIX98/regex.h/conform): Add.
13249 (test-xfail-UNIX98/aio.h/conform): Add.
13250 (test-xfail-UNIX98/ftw.h/conform): Add.
13251 (test-xfail-UNIX98/mqueue.h/conform): Add.
13252 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13253 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13254 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13255 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13256 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13257 (test-xfail-UNIX98/sys/types.h/conform): Add.
13258 (test-xfail-UNIX98/stdlib.h/conform): Add.
13259 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13260 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13261 (test-xfail-POSIX2008/netdb.h/conform): Add.
13262 (test-xfail-POSIX2008/signal.h/conform): Add.
13263 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13264 (test-xfail-POSIX2008/regex.h/conform): Add.
13265 (test-xfail-POSIX2008/aio.h/conform): Add.
13266 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13267 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13268 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13269 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13270 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13271 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13272 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13273 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13274 (test-xfail-XOPEN2K/signal.h/conform): Add.
13275 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13276 (test-xfail-XOPEN2K/regex.h/conform): Add.
13277 (test-xfail-XOPEN2K/aio.h/conform): Add.
13278 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13279 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13280 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13281 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13282 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13283 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13284 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13285 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13286 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13287 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13288 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13289 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13290 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13291 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13292 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13293 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13294 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13295 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13296 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13297 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13298 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13299 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13300 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13301 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13302 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13303 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
13304 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13305 i386-gnu.
13306 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13307 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 13308
d6397de3
JM
133092018-04-18 Joseph Myers <joseph@codesourcery.com>
13310
13311 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13312 --enable-obsolete for powerpc-linux-gnuspe.
13313
8323a902
ST
133142018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13315
3dc0814c 13316 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 13317 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 13318 prototypes.
c5896a45
ST
13319 * sysdeps/mach/include/mach.h: Likewise.
13320 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13321 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 13322
743b9c2a
AZ
133232018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13324
13325 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13326 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13327 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13328 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13329
326e74e7
AS
133302018-04-16 Andreas Schwab <schwab@suse.de>
13331
13332 [BZ #19527]
13333 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13334
a14d8acd
PM
133352018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13336
13337 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13338 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13339
a700e7cb
DD
133402018-04-12 DJ Delorie <dj@redhat.com>
13341
13342 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13343 version to 4.16.
13344
d8abfab7
SL
133452018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13346
13347 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13348 (struct kernel_sigaction): Use the same definition on 31bit as is used
13349 on 64bit.
13350
583a27d5
FW
133512018-04-09 Florian Weimer <fweimer@redhat.com>
13352
13353 [BZ #23037]
13354 * resolv/res_send.c (send_dg): Use designated initializers instead
13355 of assignment to zero-initialize other fields of struct mmsghdr.
13356
243f59e5
AZ
133572018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13358
942de61a
AZ
13359 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13360 __READDIR_ALIAS): Undefine after usage.
13361 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13362 __READDIR_R_ALIAS): Likewise.
13363 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13364 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13365 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13366 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13367 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13368 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13369 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13370 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13371 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13372 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13373 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13374 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13375 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13376 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13377 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13378 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13379 * sysdeps/unix/sysv/linux/readdir.c: New file.
13380 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13381 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13382 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13383
243f59e5
AZ
13384 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13385
690c3475
AS
133862018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13387
13388 * manual/charset.texi (Converting a Character): Fix typo.
13389
b4a5d26d
AZ
133902018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13391
bbc2062a
AZ
13392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13393
fa7c6199
AZ
13394 * sysdeps/arm/libm-test-ulps: Update.
13395
b4a5d26d
AZ
13396 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13397 as base implementation.
13398 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13399 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13400 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13401 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13402 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13403 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13404 remove unrequired definitions and update comments.
13405 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13406 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13407 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13408 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13409 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13410 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13411 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13412 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13413 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13414 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13415 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13416 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13417 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13418 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13419 and RESET_SA_RESTORER hooks.
13420
db9e55ff
SL
134212018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13422
13423 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13424
cf138b0c
FW
134252018-04-05 Florian Weimer <fweimer@redhat.com>
13426
13427 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13428 integer overflow, memory leak on error, and indeterminate errno
13429 value. Add a null wide character to terminate the result string.
13430 * manual/charset.texi (Converting a Character): Mention embedded
13431 null bytes in the mbrtowc input string. Explain what happens in
13432 the -2 result case. Do not claim that mbrtowc is simple or
13433 obvious to use. Adjust the description of the code example. Use
13434 @code, not @var, for concrete variables.
13435
0f339252
FW
134362018-04-05 Florian Weimer <fweimer@redhat.com>
13437
13438 * manual/examples/mbstouwcs.c: New file.
13439 * manual/charset.texi (Converting a Character): Include it.
13440
e5f9508a
ST
134412018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13442
c120981d
ST
13443 * include/dirent.h (dirfd): Add hidden proto.
13444 * dirent/dirfd.c (dirfd): Add hidden def.
13445 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13446 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 13447
b2fd61ca
TMQMF
134482018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13449
13450 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13451 sin, cos and sincos to 1 ULP.
13452
10a446dd
MR
134532018-04-04 Maciej W. Rozycki <macro@mips.com>
13454
e7feec37
MR
13455 [BZ #19818]
13456 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13457 symbols.
13458 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13459 * elf/tst-absolute-sym.c: New file.
13460 * elf/tst-absolute-sym-lib.c: New file.
13461 * elf/tst-absolute-sym-lib.lds: New file.
13462 * elf/Makefile (tests): Add `tst-absolute-sym'.
13463 (modules-names): Add `tst-absolute-sym-lib'.
13464 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13465 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13466 ($(objpfx)tst-absolute-sym): New dependency.
13467
10a446dd
MR
13468 [BZ #19818]
13469 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13470 parameter.
13471 (SYMBOL_ADDRESS): New macro.
13472 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13473 SYMBOL_ADDRESS for symbol address calculation.
13474 * elf/dl-runtime.c (_dl_fixup): Likewise.
13475 (_dl_profile_fixup): Likewise.
13476 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13477 * elf/rtld.c (dl_main): Likewise.
13478 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13479 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13480 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13481 (elf_machine_rela): Likewise.
13482 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13483 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13484 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13485 (elf_machine_rela): Likewise.
13486 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13487 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13488 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13489 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13490 Likewise.
13491 (elf_machine_reloc): Likewise.
13492 (elf_machine_got_rel): Likewise.
13493 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13494 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13495 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13496 Likewise.
13497 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13498 Likewise.
13499 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13500 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13501 Likewise.
13502 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13503 Likewise.
13504 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13506 Likewise.
13507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13508 Likewise.
13509 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13511
9185f86d
ZW
135122018-04-04 Zack Weinberg <zackw@panix.com>
13513
13514 * sysdeps/generic/internal-signals.h: Include signal.h,
13515 sigsetops.h, and stdbool.h.
13516 (__libc_signal_block_all): Actually block all signals.
13517 (__libc_signal_block_app): Likewise.
13518 (__libc_signal_restore_set): Actually restore the signal mask.
13519
b07367bc
FW
135202018-04-04 Florian Weimer <fweimer@redhat.com>
13521
13522 inet: Actually build and run tst-deadline.
13523 * inet/Makefile (tests-internal): Add tst-deadline and do not
13524 overwrite the variable.
13525 (tests-static-internal): Remove variable.
13526
f2652643
L
135272018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13528
13529 [BZ #22947]
13530 * bits/uio-ext.h (RWF_APPEND): New.
13531 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13532 * manual/llio.texi: Document RWF_APPEND.
13533 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13534 (RWF_SUPPORTED): Add RWF_APPEND.
13535
d2dc5467
AZ
135362018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13537
13538 [BZ #22391]
13539 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13540 check for internal nptl signals.
13541 * nptl/sigaction.c (__sigaction): Likewise.
13542 * signal/sigaddset.c (sigaddset): Likewise.
13543 * signal/sigdelset.c (sigdelset): Likewise.
13544 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13545 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13546 value.
13547 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13548 to filter out internal nptl signals.
13549 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13550 also check realtime signals using standard macros.
13551 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13552 __is_internal_signal, __libc_signal_block_all,
13553 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13554 * sysdeps/nptl/sigfillset.c: Remove file.
13555 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13556 Change return to bool.
13557 (__clear_internal_signals): Remove SIGTIMER clean since it is
13558 equal to SIGCANEL on Linux.
13559 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13560 signal set was constructed using standard functions.
13561
511ed56f
ST
135622018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13563
92846492
ST
13564 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13565 ifname is too long.
e8ef51b1
ST
13566 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13567 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
13568 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13569 hidden def.
13570 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
13571 * signal/sigaddset.c: Include <sigsetopts.h>.
13572 * signal/sigdelset.c: Likewise.
511ed56f 13573
e88ecbbf
WD
135742018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13575
13576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13577 (__cos): Likewise.
13578 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13579 logic as sin and cos.
13580
aef3e255
WD
135812018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13582
13583 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13584 inputs. Return correct sign.
13585 (do_sincos): Remove small input check before do_sin, let do_sin set
13586 the sign.
13587 (__sin): Likewise.
13588 (__cos): Likewise.
13589
72f6e9a3
WD
135902018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13591
13592 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13593 (do_cos_slow): Likewise.
13594 (do_sin_slow): Likewise.
13595 (reduce_and_compute): Likewise.
13596 (slow): Likewise.
13597 (slow1): Likewise.
13598 (slow2): Likewise.
13599 (sloww): Likewise.
13600 (sloww1): Likewise.
13601 (sloww2): Likewise.
13602 (bslow): Likewise.
13603 (bslow1): Likewise.
13604 (bslow2): Likewise.
13605 (cslow2): Likewise.
13606
64909583
WD
136072018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13608
13609 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13610 (do_cos): Remove corp parameter and calculations.
13611 (do_sin): Likewise.
13612 (do_sincos): Remove cor variable.
13613 (__sin): Use do_sincos for huge inputs.
13614 (__cos): Likewise.
13615 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13616 (reduce_and_compute_sincos): Remove unused function.
13617
d9469deb
WD
136182018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13619
13620 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13621 reduce_sincos, improve accuracy to 136 bits.
13622 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13623 (__sin): Use improved reduction and simplified do_sincos calculation.
13624 (__cos): Likewise.
13625 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13626
7a5640f2
WD
136272018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13628
13629 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13630 (do_sincos_2): Likewise.
13631 (__sin): Remove middle range reduction case.
13632 (__cos): Likewise.
13633 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13634 reduction case.
13635
19a8b9a3
WD
136362018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13637
13638 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13639 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13640 inputs.
13641 (__cos): Likewise.
13642 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13643
f72aa11d
JM
136442018-04-03 Joseph Myers <joseph@codesourcery.com>
13645
13646 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 13647 version to 4.16
f72aa11d 13648
8e4754ed
AZ
136492018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13650
13651 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13652 Remove definitions.
13653 (opendir_oflags): Use O_DIRECTORY regardless.
13654 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13655 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13656
8e2666ea
ST
136572018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13658
13659 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13660 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13661 macros.
13662 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13663 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13664 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13665 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
13666 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13667 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 13668
ad2b41bf
ST
13669 * htl/Makefile: Bump licence to LGPL 2.1+.
13670 * htl/alloca_cutoff.c: Likewise.
13671 * htl/cthreads-compat.c: Likewise.
13672 * htl/lockfile.c: Likewise.
13673 * htl/pt-alloc.c: Likewise.
13674 * htl/pt-cancel.c: Likewise.
13675 * htl/pt-cleanup.c: Likewise.
13676 * htl/pt-create.c: Likewise.
13677 * htl/pt-dealloc.c: Likewise.
13678 * htl/pt-detach.c: Likewise.
13679 * htl/pt-exit.c: Likewise.
13680 * htl/pt-getattr.c: Likewise.
13681 * htl/pt-initialize.c: Likewise.
13682 * htl/pt-internal.h: Likewise.
13683 * htl/pt-join.c: Likewise.
13684 * htl/pt-self.c: Likewise.
13685 * htl/pt-setcancelstate.c: Likewise.
13686 * htl/pt-setcanceltype.c: Likewise.
13687 * htl/pt-sigmask.c: Likewise.
13688 * htl/pt-spin-inlines.c: Likewise.
13689 * htl/pt-testcancel.c: Likewise.
13690 * htl/pt-yield.c: Likewise.
13691 * htl/tests/test-1.c: Likewise.
13692 * htl/tests/test-10.c: Likewise.
13693 * htl/tests/test-11.c: Likewise.
13694 * htl/tests/test-12.c: Likewise.
13695 * htl/tests/test-13.c: Likewise.
13696 * htl/tests/test-14.c: Likewise.
13697 * htl/tests/test-15.c: Likewise.
13698 * htl/tests/test-16.c: Likewise.
13699 * htl/tests/test-17.c: Likewise.
13700 * htl/tests/test-2.c: Likewise.
13701 * htl/tests/test-3.c: Likewise.
13702 * htl/tests/test-4.c: Likewise.
13703 * htl/tests/test-5.c: Likewise.
13704 * htl/tests/test-6.c: Likewise.
13705 * htl/tests/test-7.c: Likewise.
13706 * htl/tests/test-8.c: Likewise.
13707 * htl/tests/test-9.c: Likewise.
13708 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13709 * sysdeps/htl/bits/cancelation.h: Likewise.
13710 * sysdeps/htl/bits/pthread-np.h: Likewise.
13711 * sysdeps/htl/bits/pthread.h: Likewise.
13712 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13713 * sysdeps/htl/bits/semaphore.h: Likewise.
13714 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13715 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13716 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13717 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13718 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13719 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13720 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13721 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13722 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13723 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13724 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13725 * sysdeps/htl/old_pt-atfork.c: Likewise.
13726 * sysdeps/htl/pt-atfork.c: Likewise.
13727 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13728 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13729 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13730 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13731 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13732 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13733 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13734 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13735 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13736 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13737 * sysdeps/htl/pt-attr-init.c: Likewise.
13738 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13739 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13740 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13741 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13742 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13743 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13744 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13745 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13746 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13747 * sysdeps/htl/pt-attr.c: Likewise.
13748 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13749 * sysdeps/htl/pt-barrier-init.c: Likewise.
13750 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13751 * sysdeps/htl/pt-barrier.c: Likewise.
13752 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13753 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13754 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13755 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13756 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13757 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13758 * sysdeps/htl/pt-cond-init.c: Likewise.
13759 * sysdeps/htl/pt-cond-signal.c: Likewise.
13760 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13761 * sysdeps/htl/pt-cond-wait.c: Likewise.
13762 * sysdeps/htl/pt-cond.c: Likewise.
13763 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13764 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13765 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13766 * sysdeps/htl/pt-condattr-init.c: Likewise.
13767 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13768 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13769 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13770 * sysdeps/htl/pt-equal.c: Likewise.
13771 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13772 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13773 * sysdeps/htl/pt-getschedparam.c: Likewise.
13774 * sysdeps/htl/pt-getspecific.c: Likewise.
13775 * sysdeps/htl/pt-init-specific.c: Likewise.
13776 * sysdeps/htl/pt-key-create.c: Likewise.
13777 * sysdeps/htl/pt-key-delete.c: Likewise.
13778 * sysdeps/htl/pt-key.h: Likewise.
13779 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13780 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13781 * sysdeps/htl/pt-mutex-init.c: Likewise.
13782 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13783 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13784 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13785 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13786 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13787 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13788 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13789 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13790 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13791 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13792 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13793 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13794 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13795 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13796 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13797 * sysdeps/htl/pt-mutexattr.c: Likewise.
13798 * sysdeps/htl/pt-once.c: Likewise.
13799 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13800 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13801 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13802 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13803 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13804 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13805 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13806 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13807 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13808 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13809 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13810 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13811 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13812 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13813 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13814 * sysdeps/htl/pt-setschedparam.c: Likewise.
13815 * sysdeps/htl/pt-setschedprio.c: Likewise.
13816 * sysdeps/htl/pt-setspecific.c: Likewise.
13817 * sysdeps/htl/pt-spin.c: Likewise.
13818 * sysdeps/htl/pt-startup.c: Likewise.
13819 * sysdeps/htl/pthread.h: Likewise.
13820 * sysdeps/htl/sem-close.c: Likewise.
13821 * sysdeps/htl/sem-destroy.c: Likewise.
13822 * sysdeps/htl/sem-getvalue.c: Likewise.
13823 * sysdeps/htl/sem-init.c: Likewise.
13824 * sysdeps/htl/sem-open.c: Likewise.
13825 * sysdeps/htl/sem-post.c: Likewise.
13826 * sysdeps/htl/sem-timedwait.c: Likewise.
13827 * sysdeps/htl/sem-trywait.c: Likewise.
13828 * sysdeps/htl/sem-unlink.c: Likewise.
13829 * sysdeps/htl/sem-wait.c: Likewise.
13830 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13831 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13832 * sysdeps/mach/htl/pt-block.c: Likewise.
13833 * sysdeps/mach/htl/pt-spin.c: Likewise.
13834 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13835 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13836 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13837 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13838 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13839 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13840 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13841 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13842 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13843 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13844 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13845 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13846 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13847 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13848 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13849 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13850 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13851 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13852 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13853 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13854 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13855 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13856 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13857 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13858 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13859 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13860 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13861 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13862 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13863 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13864 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13865 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13866 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13867 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13868 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13869 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13870 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13871 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13872 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13873 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13874 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13875 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13876 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13877
fb03b04b
ST
13878 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13879 * README: Remove the mention of out-of-tree patches needed for
13880 GNU/Hurd.
13881
fa9e1555
ST
13882 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13883 (UTIME_NOW, UTIME_OMIT): Define macros.
13884
f6fb29d2
ST
13885 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13886 instead of pthread_detach.
13887 (__cthread_fork): Call __pthread_create instead of pthread_create.
13888 (__cthread_keycreate): Call __pthread_key_create instead of
13889 pthread_key_create.
13890 (__cthread_getspecific): Call __pthread_getspecific instead of
13891 pthread_getspecific.
13892 (__cthread_setspecific): Call __pthread_setspecific instead of
13893 pthread_setspecific.
13894 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13895 __pthread_mutex_unlock instead of pthread_mutex_lock and
13896 pthread_mutex_unlock.
13897 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13898 ___pthread_get_cleanup_stack.
13899 (__pthread_get_cleanup_stack): New strong alias.
13900 * htl/pt-create.c: Include <pthreadP.h>.
13901 (entry_point): Call __pthread_exit instead of pthread_exit.
13902 (pthread_create): Rename to __pthread_create.
13903 (pthread_create): New strong alias.
13904 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13905 (pthread_detach): New strong alias.
13906 (__pthread_detach): Call __pthread_cond_broadcast instead of
13907 pthread_cond_broadcast.
fe9748cc
ST
13908 * htl/pt-exit.c: Include <pthreadP.h>.
13909 (__pthread_exit): Call __pthread_setcancelstate and
13910 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13911 __pthread_get_cleanup_stack.
f6fb29d2
ST
13912 * htl/pt-testcancel.c: Include <pthreadP.h>.
13913 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13914 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13915 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13916 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13917 pthread_attr_getstacksize.
13918 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13919 Rename to __pthread_attr_getstackaddr.
13920 (pthread_attr_getstackaddr): New strong alias.
13921 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13922 Rename to __pthread_attr_getstacksize.
13923 (pthread_attr_getstacksize): New strong alias.
13924 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13925 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13926 (pthread_attr_setstack): New strong alias.
13927 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13928 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13929 pthread_attr_getstacksize, pthread_attr_setstacksize and
13930 pthread_attr_setstackaddr.
13931 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13932 Rename to __pthread_attr_setstackaddr.
13933 (pthread_attr_setstackaddr): New strong alias.
13934 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13935 Rename to __pthread_attr_setstacksize.
13936 (pthread_attr_setstacksize): New strong alias.
13937 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13938 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13939 pthread_exit.
13940 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13941 (__pthread_key_create): New hidden def.
13942 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13943 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13944 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13945 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13946 __pthread_setspecific, __pthread_setcancelstate,
13947 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13948 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13949 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13950 declarations.
13951 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13952 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13953 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13954 (pthread_attr_setstackaddr): New strong alias.
13955 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13956 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13957 (pthread_attr_setstacksize): New strong alias.
13958 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13959 (call_exit): Call __pthread_exit instead of pthread_exit.
13960 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13961 (_pthread_mutex_init): New hidden definition.
13962 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13963 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13964 instead of pthread_attr_init and pthread_attr_setstack.
13965
dba2bdbe
ST
13966 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13967 __vm_deallocate instead of vm_allocate and vm_deallocate.
13968 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13969 setenv.
13970 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13971 of geteuid.
13972 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13973 strdup.
13974 * hurd/siginfo.c: Include <libioP.h>.
13975 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13976 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13977 munmap.
dba2bdbe
ST
13978 * mach/devstream.c: Include <libioP.h>.
13979 (dealloc_ref): Call __mach_port_deallocate instead of
13980 mach_port_deallocate.
13981 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13982 Call __mach_port_deallocate instead of mach_port_deallocate.
13983 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13984 pathconf.
13985 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13986 munmap.
13987 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13988 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13989 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13990 of munmap.
13991 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13992 of close.
13993 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13994 instead of sysconf.
13995 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13996 __clock_gettime instead of clock_gettime.
13997 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13998 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13999 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14000 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14001 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14002 tcgetattr.
14003 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14004 __clock_gettime and __nanosleep instead of clock_gettime and
14005 nanosleep.
7a8f45e3
ST
14006 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14007 __hurd_catch_signal.
14008 (hurd_catch_signal): New strong alias.
14009 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14010 __hurd_catch_signal instead of hurd_catch_signal.
14011 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14012 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14013 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14014 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14015 (_hurd_thread_sigstate): Add hidden def.
14016 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14017 mutex_unlock.
14018 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14019 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14020 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14021 __hurd_file_name_path_lookup.
14022 (hurd_file_name_path_lookup): New strong alias.
14023 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14024 hurd_file_name_path_lookup.
14025 * mach/errstring.c (mach_error_type): Add hidden def.
14026 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14027 * mach/mutex-init.c (__mutex_init): Add hidden def.
14028 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14029 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14030 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14031 * sysdeps/mach/hurd/getcwd.c
14032 (_hurd_canonicalize_directory_name_internal): Rename to
14033 __hurd_canonicalize_directory_name_internal.
14034 (_hurd_canonicalize_directory_name_internal): New strong alias.
14035 (__canonicalize_directory_name_internal, __getcwd): Call
14036 __hurd_canonicalize_directory_name_internal instead of
14037 _hurd_canonicalize_directory_name_internal.
14038 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14039 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14040 hidden defs.
14041 * sysdeps/hurd/include/hurd.h: New file.
14042 * sysdeps/hurd/include/hurd/fd.h: New file.
14043 * sysdeps/hurd/include/hurd/signal.h: New file.
14044 * sysdeps/mach/include/lock-intern.h: New file.
14045 * sysdeps/mach/include/mach.h: New file.
14046 * sysdeps/mach/include/mach/mig_support.h: New file.
14047 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
14048 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14049 prototype.
14050 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14051 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14052 _HEADER_H_HIDDEN_DEF macro.
14053 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14054 _hurd_fd_error_signal): Add hidden prototype.
14055 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14056 hidden def.
82dbf555
ST
14057 * libio/iolibio.h (_IO_puts): New hidden prototype.
14058 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
14059 * sysdeps/mach/hurd/localplt.data: New file.
14060
33574c17
ST
140612018-04-02 Agustina Arzille <avarzille@riseup.net>
14062 Amos Jeffries <squid3@treenet.co.nz>
14063 David Michael <fedora.dm0@gmail.com>
14064 Marco Gerards <marco@gnu.org>
14065 Marcus Brinkmann <marcus@gnu.org>
14066 Neal H. Walfield <neal@gnu.org>
14067 Pino Toscano <toscano.pino@tiscali.it>
14068 Richard Braun <rbraun@sceen.net>
14069 Roland McGrath <roland@gnu.org>
14070 Samuel Thibault <samuel.thibault@ens-lyon.org>
14071 Thomas DiModica <ricinwich@yahoo.com>
14072 Thomas Schwinge <tschwinge@gnu.org>
14073
14074 * htl: New directory.
14075 * sysdeps/htl: New directory.
14076 * sysdeps/hurd/htl: New directory.
14077 * sysdeps/i386/htl: New directory.
14078 * sysdeps/mach/htl: New directory.
14079 * sysdeps/mach/hurd/htl: New directory.
14080 * sysdeps/mach/hurd/i386/htl: New directory.
14081 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14082 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14083 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14084
03e2aa50
ST
140852018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14086
14087 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14088 signals in thread created for runing timers.
14089
1aa52ced
FW
140902018-04-01 Florian Weimer <fweimer@redhat.com>
14091
14092 * support/support_format_addrinfo.c (support_format_addrinfo):
14093 Include unknown error number in formatted result.
14094
4d76d3e5
FW
140952018-03-29 Florian Weimer <fweimer@redhat.com>
14096
14097 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14098 capture SIGBUS.
14099
d39c0a45
AZ
141002018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14101
14102 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14103 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14104 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14105 (__ASSUME_CLONE_BACKWARDS): Define.
14106
cc8a1620
JH
141072018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14108
57408435 14109 [BZ #23024]
cc8a1620
JH
14110 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14111 early when linux sentinel value is set.
14112
8bfd94d0
ST
141132018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14114
14115 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14116
f178e59f
AS
141172018-03-27 Andreas Schwab <schwab@suse.de>
14118
14119 [BZ #23005]
14120 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14121 allocation of private copy of nsaddr_list fails.
14122
5f45f96a
JM
141232018-03-26 Joseph Myers <joseph@codesourcery.com>
14124
14125 [BZ #16552]
14126 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14127 * sysdeps/unix/sysv/linux/umount.c: ... here.
14128 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14129 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14130 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14131 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14133 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14134 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14135
3dfd23eb
AS
141362018-03-26 Andreas Schwab <schwab@suse.de>
14137
14138 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14139 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14140 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14141 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14142 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14143 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14144 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14145 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14146 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14147 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14148 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14149 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14150 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14151 (R_RISCV_NUM): Define.
14152
fa97d2ab
ST
141532018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14154
14155 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14156 TLS declaration of errno.
37be82a0
ST
14157 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14158 __libc_setup_tls.
14159 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14160 (ARCH_SETUP_TLS): Likewise.
14161 * sysdeps/mach/hurd/libc-start.h: New file copied from
14162 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
14163 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14164 instead of __libc_setup_tls.
37be82a0 14165 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
14166 __libc_setup_tls before initializing libpthread and running _hurd_init
14167 which starts the signal thread.
14168 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14169 Declare function.
2d813d7b 14170 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 14171
b8114edd
L
141722018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14173
14174 [BZ #22998]
14175 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14176 after it is defined.
14177
cd66c0e5
AS
141782018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14179 Max Horn <max@quendi.de>
14180
14181 [BZ #22644]
43d4f3d5 14182 CVE-2017-18269
cd66c0e5
AS
14183 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14184 branch conditions.
14185 * string/test-memmove.c (do_test2): New testcase.
14186
a4406139
JM
141872018-03-22 Joseph Myers <joseph@codesourcery.com>
14188
14189 * sysdeps/generic/frame.h: Remove file.
14190 * sysdeps/arm/frame.h: Likewise.
14191 * sysdeps/hppa/frame.h: Likewise.
14192 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14193 macro.
14194 (GET_FRAME): Likewise.
14195 (GET_STACK): Likewise.
14196 (CALL_SIGHANDLER): Likewise.
14197 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14198 Likewise.
14199 (GET_FRAME): Likewise.
14200 (GET_STACK): Likewise.
14201 (CALL_SIGHANDLER): Likewise.
14202 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14203 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14204 (GET_FRAME): Likewise.
14205 (GET_STACK): Likewise.
14206 (CALL_SIGHANDLER): Likewise.
14207 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14208 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14209 (GET_FRAME): Likewise.
14210 (GET_STACK): Likewise.
14211 (ADVANCE_STACK_FRAME): Likewise.
14212 (CALL_SIGHANDLER): Likewise.
14213 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14214 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14215 (GET_FRAME): Likewise.
14216 (GET_STACK): Likewise.
14217 (CALL_SIGHANDLER): Likewise.
14218 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14219 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14220 (GET_FRAME): Likewise.
14221 (GET_STACK): Likewise.
14222 (CALL_SIGHANDLER): Likewise.
14223 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14224 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14225 (GET_FRAME): Likewise.
14226 (GET_STACK): Likewise.
14227 (CALL_SIGHANDLER): Likewise.
14228 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14229 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14230 (GET_FRAME): Likewise.
14231 (GET_STACK): Likewise.
14232 (CALL_SIGHANDLER): Likewise.
14233 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14234 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14235 (GET_FRAME): Likewise.
14236 (GET_STACK): Likewise.
14237 (CALL_SIGHANDLER): Likewise.
14238 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14239 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14240 (GET_FRAME): Likewise.
14241 (GET_STACK): Likewise.
14242 (CALL_SIGHANDLER): Likewise.
14243 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14244 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14245 (GET_FRAME): Likewise.
14246 (GET_STACK): Likewise.
14247 (CALL_SIGHANDLER): Likewise.
14248 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14249 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14250 (GET_FRAME): Likewise.
14251 (GET_STACK): Likewise.
14252 (CALL_SIGHANDLER): Likewise.
14253 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14254 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14255 (GET_FRAME): Likewise.
14256 (GET_STACK): Likewise.
14257 (CALL_SIGHANDLER): Likewise.
14258 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14259 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14260 (FIRST_FRAME_POINTER): Likewise.
14261 (ADVANCE_STACK_FRAME): Likewise.
14262 (GET_STACK): Likewise.
14263 (GET_FRAME): Likewise.
14264 (CALL_SIGHANDLER): Likewise.
14265 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14266 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14267 (ADVANCE_STACK_FRAME): Likewise.
14268 (GET_STACK): Likewise.
14269 (GET_FRAME): Likewise.
14270 (CALL_SIGHANDLER): Likewise.
14271 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14272 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14273 (GET_FRAME): Likewise.
14274 (GET_STACK): Likewise.
14275 (CALL_SIGHANDLER): Likewise.
14276 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14277 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14278 (GET_FRAME): Likewise.
14279 (GET_STACK): Likewise.
14280 (CALL_SIGHANDLER): Likewise.
14281
ffec7b27
JM
142822018-03-21 Joseph Myers <joseph@codesourcery.com>
14283
14284 * sysdeps/x86_64/backtrace.c: Move to ....
14285 * debug/backtrace.c: ... here.
14286 * sysdeps/aarch64/backtrace.c: Remove file.
14287 * sysdeps/alpha/backtrace.c: Likewise.
14288 * sysdeps/hppa/backtrace.c: Likewise.
14289 * sysdeps/ia64/backtrace.c: Likewise.
14290 * sysdeps/mips/backtrace.c: Likewise.
14291 * sysdeps/nios2/backtrace.c: Likewise.
14292 * sysdeps/riscv/backtrace.c: Likewise.
14293 * sysdeps/sh/backtrace.c: Likewise.
14294 * sysdeps/tile/backtrace.c: Likewise.
14295
8a07b0c4
JM
142962018-03-20 Joseph Myers <joseph@codesourcery.com>
14297
d0c5d731
JM
14298 [BZ #22987]
14299 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14300 function.
14301 (fdimf): Likewise.
14302 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14303
8a07b0c4
JM
14304 [BZ #17343]
14305 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14306 possibly overflowing computations.
14307
ceb54b9b
ST
143082018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14309
14310 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14311 values from Linux-specific section now that it is in the GNU section.
14312 * sysdeps/gnu/errlist.c: Regenerate.
14313
8d3f9e85
JM
143142018-03-20 Joseph Myers <joseph@codesourcery.com>
14315
14316 * math/Makefile (libm-narrow-fns): Add sub.
14317 (libm-test-funcs-narrow): Likewise.
14318 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14319 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14320 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14321 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14322 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14323 (NARROW_SUB_TRIVIAL): Likewise.
14324 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14325 macro.
14326 (__dsubl): Likewise.
14327 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14328 dsub.
14329 (CFLAGS-nldbl-dsub.c): New variable.
14330 (CFLAGS-nldbl-fsub.c): Likewise.
14331 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14332 __nldbl_dsubl.
14333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14334 prototype.
14335 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14336 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14337 * math/auto-libm-test-in: Add tests of sub.
14338 * math/auto-libm-test-out-narrow-sub: New generated file.
14339 * math/libm-test-narrow-sub.inc: New file.
14340 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14343 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14344 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14345 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14351 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14352 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14353 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14354 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14355 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14356 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14357 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14359 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14381 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14383 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14384 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14385 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14386
d473f015
JM
143872018-03-19 Joseph Myers <joseph@codesourcery.com>
14388
14389 [BZ #20079]
14390 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14391
fbce6f72
WD
143922018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14393
14394 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14395
72e7ffc3
RB
143962018-03-18 Richard Braun <rbraun@sceen.net>
14397
14398 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14399 thread reference.
14400
542c20a1
AA
144012018-03-18 Agustina Arzille <avarzille@riseup.net>
14402
14403 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14404 (__libc_cleanup_fct): Define function.
14405 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14406 __libc_cleanup_end): Rewrite implementation using
14407 __attribute__ ((__cleanup__)).
14408 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
14409 * hurd/Makefile (routines): Add hurdlock.
14410 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14411 interface.
14412 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14413 * hurd/hurdpid.c: Include <lowlevellock.h>
14414 (_S_msg_proc_newids): Use lll_wait to synchronize.
14415 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14416 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14417 * mach/Makefile (lock-headers): Remove machine-lock.h.
14418 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14419 <machine-lock.h>.
14420 (__spin_lock_t): New type.
14421 (__SPIN_LOCK_INITIALIZER): New macro.
14422 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14423 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14424 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14425 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14426 (__mutex_init): Initialize with lll.
14427 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14428 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14429 needing lll.
14430 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14431 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14432 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14433 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14434 (__setpgid): Use lll for synchronization.
14435 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14436 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14437 instead of <cthreads.h>.
14438 (_IO_lock_inexpensive): New macro
14439 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14440 (__libc_lock_self0): New declaration.
14441 (__libc_lock_owner_self): New macro.
14442 (__libc_key_t): Remove type.
14443 (_LIBC_LOCK_INITIALIZER): New macro.
14444 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14445 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14446 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14447 __libc_lock_define_initialized_recursive,
14448 __rtld_lock_define_initialized_recursive,
14449 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14450 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14451 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14452 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14453 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14454 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14455 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14456 New macros.
14457 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14458 * hurd/hurdlock.c: New file.
14459 * hurd/hurdlock.h: New file.
14460 * mach/lowlevellock.h: New file
542c20a1 14461
9a37922e
ST
144622018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14463
14464 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
14465 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14466 when opening a symlink with O_NOFOLLOW.
72103e73
ST
14467 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14468 path when flags contains O_NOFOLLOW.
14469 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14470 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
14471 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14472 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
14473 * sysdeps/mach/hurd/mlockall.c: New file.
14474 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 14475
34e6a869
ST
144762018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14477
14478 * hurd/hurdsig.c: Include <pthread.h>.
14479 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14480 get the signal thread stack layout.
dc33bef3
ST
14481 * hurd/Makefile (headers): Remove threadvar.h.
14482 (inline-headers): Remove threadvar.h.
14483 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14484 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14485 __hurd_threadvar_max, __hurd_errno_location.
14486 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14487 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14488 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14489 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14490 unless TLS is not initialized yet, in which case we do not need a
14491 critical section yet anyway.
14492 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14493 <machine-sp.h>.
14494 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14495 declarations.
14496 (__hurd_threadvar_index): Remove enum.
14497 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14498 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14499 inlines.
14500 (__hurd_reply_port0): New variable declaration.
14501 (__hurd_local_reply_port): New macro.
14502 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14503 (interrupted_reply_port_location): Add thread_t parameter. Use it
14504 with THREAD_TCB to access thread-local variables.
14505 (_hurdsig_abort_rpcs): Pass ss->thread to
14506 interrupted_reply_port_location.
14507 (_hurd_internal_post_signal): Likewise.
14508 (_hurdsig_init): Use presence of cthread_fork instead of
14509 __hurd_threadvar_stack_mask to start signal thread by hand.
14510 Remove signal thread threadvar initialization.
14511 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14512 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14513 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14514 of threadvar.
14515 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14516 __libc_lock_self0.
14517 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14518 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14519 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14520 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14521 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14522 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14523 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14524 define variables.
14525 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14526 <hurd/threadvar.h>.
14527 [IS_IN(rtld)] (rtld_errno): New variable.
14528 [IS_IN(rtld)] (__errno_location): New weak function.
14529 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14530 * sysdeps/mach/hurd/errno.c: Remove file.
14531 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14532 (__fork): Remove THREADVAR_SPACE macro and its use.
14533 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14534 variable.
14535 (init): Do not initialize threadvar.
14536 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14537 symbol.
14538 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14539 __hurd_local_reply_port instead of threadvar.
14540 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14541 _hurd_sigstate fields.
14542 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14543 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14544 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14545 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14546 instead of threadvar.
14547 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14548 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14549 (use_threadvar, global_reply_port): Remove variables.
14550 (__hurd_reply_port0): New variable.
14551 (__mig_get_reply_port): Use __hurd_local_reply_port and
14552 __hurd_reply_port0 instead of threadvar.
14553 (__mig_dealloc_reply_port): Likewise.
14554 (__mig_init): Do not initialize threadvar.
14555 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
14556 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14557 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14558 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14559 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14560 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14561 __cthread_setspecific.
14562 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14563 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14564 __cthread_t instead of cthread_fork, cthread_detach,
14565 pthread_getattr_np, pthread_attr_getstack.
14566 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14567 __cthread_keycreate.
14568 (cthread_getspecific): Rename to __cthread_getspecific.
14569 (cthread_setspecific): Rename to __cthread_setspecific.
14570 (__libc_getspecific): Use __cthread_getspecific instead of
14571 cthread_getspecific.
14572 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14573 __cthread_keycreate instead of cthread_keycreate.
14574 (__libc_setspecific): Use __cthread_setspecific instead of
14575 cthread_setspecific.
14576 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14577 Likewise.
dd28d4ba
ST
14578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14579 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14580 testing whether it is defined.
34e6a869 14581
f8baf2a2
ST
145822018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14583
14584 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14585 Define macro.
14586 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14587 * sysdeps/mach/i386/thread_state.h
14588 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14589 i386_THREAD_STATE.
14590 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14591 i386_THREAD_STATE.
14592 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14593
14594 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14595 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14596
14597 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14598 macros.
14599 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14600 descriptor instead of creating a new one.
14601 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14602
14603 * mach/setup-thread.c: Include <ldsodefs.h>.
14604 (__mach_setup_thread): Call _dl_allocate_tls, pass
14605 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14606 MACHINE_THREAD_STATE_FLAVOR, before getting
14607 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14608 MACHINE_THREAD_STATE_FLAVOR with the result.
14609 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14610 MACHINE_THREAD_STATE_FIX_NEW.
14611 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14612 too. Add original thread parameter.
14613
34ba96b8
JM
146142018-03-16 Joseph Myers <joseph@codesourcery.com>
14615
5d75b75f
JM
14616 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14617 Remove inline function.
14618
34ba96b8
JM
14619 * sysdeps/i386/fpu/libm-test-ulps: Update.
14620 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14621
22679b2c
WD
146222018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14623
14624 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14625 commit.
14626
c429a8d8
JM
146272018-03-15 Joseph Myers <joseph@codesourcery.com>
14628
14629 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14630 (__sincos_code): Remove define and undefine.
14631 [__FAST_MATH__] (__sincos): Remove inline function.
14632 [__FAST_MATH__] (__sincosf): Remove inline function.
14633 [__FAST_MATH__] (__sincosl): Remove inline function.
14634 (__atan2l): Remove inline functions.
14635 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14636 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14637 function.
14638 (floor): Remove inline function.
14639 (ceil): Likewise.
14640 [__FAST_MATH__] (__ldexp_code): Remove macro.
14641 [__FAST_MATH__] (ldexp): Remove inline function.
14642 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14643 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14644 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14645 [__USE_ISOC99] (__lrint_code): Remove macro.
14646 [__USE_ISOC99] (__llrint_code): Likewise.
14647 [__USE_ISOC99] (lrintf): Remove inline function.
14648 [__USE_ISOC99] (lrint): Likewise.
14649 [__USE_ISOC99] (lrintl): Likewise.
14650 [__USE_ISOC99] (llrint): Likewise.
14651 [__USE_ISOC99] (llrintf): Likewise.
14652 [__USE_ISOC99] (llrintl): Likewise.
14653
700593fd
WD
146542018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14655
14656 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14657 (__ieee754_sqrtf): Remove.
14658 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14659 (__ieee754_sqrtf): Remove.
14660 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14661 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14662 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14663 (__ieee754_sqrtf): Remove.
14664 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14665 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14666 (sqrtf): Remove.
14667 (sqrtl): Remove.
14668 (__ieee754_sqrt): Remove.
14669 (__ieee754_sqrtf): Remove.
14670 (__ieee754_sqrtl): Remove.
14671 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14672 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14673 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14674 (__ieee754_sqrtf): Remove.
14675 (__ieee754_sqrtl): Remove.
14676
f67a8147
WD
146772018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14678
14679 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14680 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14681 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14682 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14683 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14684 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14685 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14686 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14687 Likewise.
14688 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14689 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14690 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14691 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14692 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14693 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14694 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14695 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14696 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14697 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14698 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14699 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14700 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14701 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14702 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14703 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14704 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14705 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14706 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14710 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14711 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14712 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14713 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14717 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14718 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14719 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14720 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14721 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14722 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14723 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14724 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14725 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14726 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14727 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14728
1294b189
WD
147292018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14730
14731 * include/math.h (sqrt): Declare with asm redirect.
14732 (sqrtf): Likewise.
14733 (sqrtl): Likewise.
14734 (sqrtf128): Likewise.
14735 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14736 nonlib and libnldbl with -fmath-errno.
14737 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14738 * math/w_sqrt_template.c: Likewise.
14739 * math/w_sqrtf_compat.c: Likewise.
14740 * math/w_sqrtl_compat.c: Likewise.
14741 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14742 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14743 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14744 complex.h.
14745
f1c8185d
WD
147462018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14747
14748 * benchtests/Makefile: Define _ISOMAC.
14749 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14750 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14751 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14752 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14753 * benchtests/bench-timing.h: Define attribute_hidden.
14754
b47c3e76
SP
147552018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14756
14757 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14758 mov + lsr.
14759
807fee29
RL
147602018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14761
14762 [BZ #22963]
14763 * localedata/locales/cs_CZ (mon): Rename to...
14764 (alt_mon): This.
14765 (mon): Import from CLDR (genitive case).
14766
e7155a28
RL
147672018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14768
14769 [BZ #22937]
14770 * localedata/locales/el_CY (abmon): Rename to...
14771 (ab_alt_mon): This.
14772 (abmon): Import from CLDR (abbreviated genitive case).
14773 * localedata/locales/el_GR (abmon): Rename to...
14774 (ab_alt_mon): This.
14775 (abmon): Import from CLDR (abbreviated genitive case).
14776
71d7b121
RL
147772018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14778
14779 [BZ #22932]
14780 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14781
a00bffe8
RB
147822018-03-15 Robert Buj <robert.buj@gmail.com>
14783
14784 [BZ #22848]
14785 * localedata/locales/ca_ES (abmon): Rename to...
14786 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14787 (mon): Rename to...
14788 (alt_mon): This.
14789 (abmon): Import from CLDR (genitive case, month names preceded by
14790 "de" or "d’").
14791 (mon): Likewise.
14792 (abday): Synchronize with CLDR.
14793 (d_t_fmt): Likewise.
14794 (d_fmt): Likewise.
14795 (am_pm): Likewise.
14796
14797 (LC_TIME): Improve indentation.
14798 (LC_TELEPHONE): Likewise.
14799 (LC_NAME): Likewise.
14800 (LC_ADDRESS): Likewise.
14801
f9555d73
JM
148022018-03-14 Joseph Myers <joseph@codesourcery.com>
14803
14804 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14805 (lrintf): Remove definitions used only with old GCC.
14806 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14807 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14808 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14809 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14810 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14811 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14812 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14813 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14814 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14815 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14816 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14817 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14818 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14819 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14820 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14821 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14822 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14823 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14824 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14825 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14826 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14827 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14828 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14829 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14830 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14831 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14832 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14833 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14834
d46f84de
SP
148352018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14836
14837 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14838 instruction to unbreak builds with binutils 2.26 and older.
14839
7108f1f9
SP
148402018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14841
14842 * sysdeps/aarch64/strncmp.S (count): New macro.
14843 (strncmp): Store misaligned length in SRC1 in COUNT.
14844 (mutual_align): Adjust.
14845 (misaligned8): Load dword at a time when it is safe.
14846
2cc7bad0
ZW
148472018-03-12 Zack Weinberg <zackw@panix.com>
14848
14849 [BZ #1190]
14850 [BZ #19476]
14851 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14852 if the _IO_EOF_SEEN bit is already set; update commentary.
14853 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14854 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14855
14856 * support/support_openpty.c, support/tty.h: New files.
14857 * support/Makefile (libsupport-routines): Add support_openpty.
14858
14859 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14860 New test cases.
14861 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14862 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14863
778f1974
DL
148642018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14865
14866 * po/pt_BR.po: Update translations.
14867
da6d4404
DM
148682018-03-12 David Michael <fedora.dm0@gmail.com>
14869
14870 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14871 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14872 get a port to the startup server.
14873
d3da750d
ZW
148742018-03-11 Zack Weinberg <zackw@panix.com>
14875
14876 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14877 before nldbl-compat.h.
14878
054b72cc
ZW
148792018-03-10 Zack Weinberg <zackw@panix.com>
14880
0d13dfa1
ZW
14881 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14882 math.h or math_private.h.
14883
14884 * sysdeps/alpha/fpu/s_isnan.c
14885 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14886 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14887 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14888 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14889 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14890 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14891 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14892 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14893 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14896 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14897 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14898 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14899 Include math_private.h.
14900
14901 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14902 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14903 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14904 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14905 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14906 * sysdeps/powerpc/power7/fpu/s_logb.c:
14907 Include math.h and math_private.h.
14908
054b72cc
ZW
14909 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14910 uses of $at in .set noat / .set at.
14911
6253bacd
L
149122018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14913
14914 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14915 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14916 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14917 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14918 Likewise.
14919
229855e5
FW
149202018-03-09 Florian Weimer <fweimer@redhat.com>
14921
14922 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14923 in comment.
14924
9aa5c222
AJ
149252018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14926
14927 [BZ #22919]
14928 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14929 Add nop before __startcontext, add explaining comments.
14930
3dc21497
AZ
149312018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14932
e921c89e
AZ
14933 [BZ #22926]
14934 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14935 empty for __SPE__.
14936 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14937 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14938 Do not build hardware transactional code for __SPE__.
14939 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14940 (__lll_trylock_elision): Likewise.
14941 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14942 (__lll_unlock_elision): Likewise.
14943
d9f26dab 14944 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
14945 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14946 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14947 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14948 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14949 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14950 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14951 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14952 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14953 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14954 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14955 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14956 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14957 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14958 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14959 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14960 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14961 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14962 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14963 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14964 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14965 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14966 (__ASSUME_CLONE_BACKWARDS): Define.
14967 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14968 __clone2 if __NR_clone2 is defined.
14969 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14970 (__ASSUME_CLONE_BACKWARDS): Likewise.
14971 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14972 (__ASSUME_CLONE_BACKWARDS): Likewise.
14973 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14974 (__ASSUME_CLONE2): Likewise.
14975 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14976 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14977 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14978 variants and the define architecture can use.
14979 (__ASSUME_CLONE_DEFAULT): Define as default.
14980 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14981 (__ASSUME_CLONE_BACKWARDS): Likewise.
14982 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14983 (__ASSUME_CLONE_BACKWARDS): Likewise.
14984 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14985 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14986
adc95fb0
SP
149872018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14988
4e54d918
SP
14989 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14990
30a81dae
SP
14991 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14992 time.
14993
adc95fb0
SP
14994 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14995 (do_test_limit): Likewise.
14996
14997 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14998 for every implementation.
14999 (do_test): Likewise.
15000
15001 * benchtests/bench-strncmp.c: Convert output to json.
15002
4e9066bc
ST
150032018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15004
15005 * io/futimens.c: Add missing start-of-file descriptive comment.
15006 * io/utime.c: Likewise.
15007 * misc/futimesat.c: Likewise.
15008 * misc/utimes.c: Likewise.
15009 * sysdeps/mach/hurd/futimesat.c: Likewise.
15010 * sysdeps/mach/hurd/utimes.c: Likewise.
15011 * sysdeps/posix/utime.c: Likewise.
15012 * sysdeps/posix/utimes.c: Likewise.
15013 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15014 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15015 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15016 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15017
ec1300cf
ST
150182018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15019
15020 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15021 hurd_futimes.
15022 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15023 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15024 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15025 (__futimens): Move implementation to...
15026 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15027 utime_tvalue_from_tspec): ... new helper functions.
15028 (hurd_futimens): New function.
15029 * sysdeps/mach/hurd/futimesat.c: New file.
15030 * sysdeps/mach/hurd/utimensat.c: New file.
15031
bbe762d1
FC
150322018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15033
15034 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15035 UTIME_OMIT): New macros.
15036 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15037 before reverting to converting time spec to time value and calling
15038 __file_utimes.
15039 * sysdeps/mach/hurd/utime-helper.c: New file.
15040 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15041 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15042 reverting to utime_tvalue_from_tval and __file_utimes.
15043 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15044 (__lutimes): Just call hurd_futimens after lookup.
15045 * sysdeps/mach/hurd/utimes.c: Likewise.
15046
a1ede3a4
ST
150472018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15048
15049 * bits/sigaction.h: Add include guard.
15050 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15051 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15052 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15053 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15054 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15055 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15056 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15057 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15058 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15059
6900d2ca
JM
150602018-03-05 Joseph Myers <joseph@codesourcery.com>
15061
15062 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15063 -Wmaybe-uninitialized for -Os.
15064 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15065 this disabling.
15066
68448be2
AZ
150672018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15068
5226a81f
AZ
15069 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15070 __INO_T_MATCHES_INO64_T is defined.
15071 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15072 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15073 of definition.
15074 * dirent/alphasort64.c: Likewise.
15075 * dirent/scandir.c: Likewise.
15076 * dirent/scandir64-tail.c: Likewise.
15077 * dirent/scandir64.c: Likewise.
15078 * dirent/scandirat.c: Likewise.
15079 * dirent/scandirat64.c: Likewise.
15080 * dirent/versionsort.c: Likewise.
15081 * dirent/versionsort64.c: Likewise.
15082 * include/dirent.h: Likewise.
15083
fbd01e6c
AZ
15084 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15085 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15086 for socketpair endpoint.
15087 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15088 WRITE_BUFFER_SIZE as buffer size for sending socket.
15089 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15090 issue on system where send is implemented with sendto syscall.
15091 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15092 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15093 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15094 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15095
68448be2
AZ
15096 [BZ #21269]
15097 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15098 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15099 sa_restorer for vDSO case.
15100 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15101
eb1ca47e
ST
151022018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15103
15104 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
15105 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15106 * hurd/hurd/ioctl.h: Include <mach/port.h>
15107 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
15108 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15109 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
15110 (headers): Move mach/param.h to bits/mach/param.h.
15111 * sysdeps/mach/i386/mach/param.h: Move file to ...
15112 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15113 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15114 of <mach/param.h>.
3403cb7d
ST
15115 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15116 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15117 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
15118 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15119 trivial, for C++ conformity.
44c6376c 15120 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
15121 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15122 Process mig output through $(migheadersed).
15123 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
15124 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15125 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15126 headers.
ba89615d
ST
15127 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15128 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15129 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15130 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15131 <bits/types/sigset_t.h>.
15132 [!defined __USE_GNU]: Do not #error out.
15133 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15134 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15135 Include <stddef.h> and <bits/types/sigset_t.h>
15136 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15137 instead of sighandler_t.
974393ea
ST
15138 * stdlib/errno.h (error_t): Move definition to...
15139 * bits/types/error_t.h: ... new header.
15140 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15141 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15142 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15143 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15144 * hurd/hurd.h: Include <bits/types/error_t.h>
15145 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15146 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15147 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15148 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15149 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15150 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 15151 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 15152
eaf6753f
AS
151532018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15154
15155 [BZ #22918]
15156 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15157 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15158 * nscd/gai.c (__nss_hosts_database): Readd definition.
15159 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15160 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15161 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15162
4dc23804
JM
151632018-03-02 Joseph Myers <joseph@codesourcery.com>
15164
15165 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15166 (ifunc_one): Likewise.
15167
1c81d55f
DD
151682018-03-01 DJ Delorie <dj@delorie.com>
15169
15170 [BZ #22342]
15171 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15172 key value.
15173
b717c14f
MR
151742018-03-01 Maciej W. Rozycki <macro@mips.com>
15175
15176 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15177 `match_pid' parameter.
15178 (td_ta_thr_iter): Update accordingly.
15179
1efe1358
FW
151802018-03-01 Florian Weimer <fweimer@redhat.com>
15181
15182 * nptl/Makefile (install-lib-ldscripts): Remove.
15183 (install): Remove rule.
15184 ($(inst_libdir)/libpthread.so): Likewise.
15185
a527f09c
MF
151862018-03-01 Mike FABIAN <mfabian@redhat.com>
15187
15188 [BZ #22896]
15189 * localedata/locales/an_ES: update month and day names,
15190 improve d_fmt, improve postal_fmt, add country_post,
15191 add country_isbn
15192
35d660b0
MF
151932018-03-01 Mike FABIAN <mfabian@redhat.com>
15194
15195 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15196 Ukrainian instead of Bulgarian.
15197
1a2f44a8
FW
151982018-03-01 Florian Weimer <fweimer@redhat.com>
15199
15200 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15201 reference.
15202
bd60ce86
FW
152032018-03-01 Florian Weimer <fweimer@redhat.com>
15204
15205 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15206 * nptl/Makefile (routines): Add pthread_atfork.
15207 (static-only-routines): Set to pthread_atfork.
15208 (libpthread-routines): Remove pthread_atfork.
15209 (libpthread-static-only-routines): Remove.
15210 (install): Update comment.
15211 (libpthread.so): Do not install libpthread_nonshared.a.
15212 (tests): Do not link with libpthread_nonshared.a.
15213 (generated): Remove libpthread_nonshared.a.
15214 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15215 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15216 with libpthread_nonshared.a.
15217
000f290f
JM
152182018-02-28 Joseph Myers <joseph@codesourcery.com>
15219
e2bcf6a8
JM
15220 [BZ #22902]
15221 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15222 (libc_feholdexcept_setroundf128): New macro.
15223 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15224
000f290f
JM
15225 [BZ #15105]
15226 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15227 libc_hidden_def.
15228 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15229 * include/inttypes.h: New file.
15230
02f2fead
JM
152312018-02-27 Joseph Myers <joseph@codesourcery.com>
15232
15233 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15234 -Os in two more places.
15235
874c56d7
MF
152362018-02-27 Mike FABIAN <mfabian@redhat.com>
15237
15238 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15239 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15240 be sorted correctly at the moment because of a bug.
15241
15973854
MF
152422018-02-27 Mike FABIAN <mfabian@redhat.com>
15243
15244 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15245 treat ñ as a primary different character, sync the collation
15246 for Spanish with CLDR.
15247 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15248 * localedata/Makefile: Add new test files.
15249 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15250 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15251 collation order.
15252 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15253 * localedata/am_ET.UTF-8.in: New test file.
15254 * localedata/az_AZ.UTF-8.in: Likewise.
15255 * localedata/be_BY.UTF-8.in: Likewise.
15256 * localedata/ber_DZ.UTF-8.in: Likewise.
15257 * localedata/ber_MA.UTF-8.in: Likewise.
15258 * localedata/bg_BG.UTF-8.in: Likewise.
15259 * localedata/br_FR.UTF-8.in: Likewise.
15260 * localedata/cmn_TW.UTF-8.in: Likewise.
15261 * localedata/crh_UA.UTF-8.in: Likewise.
15262 * localedata/csb_PL.UTF-8.in: Likewise.
15263 * localedata/cv_RU.UTF-8.in: Likewise.
15264 * localedata/cy_GB.UTF-8.in: Likewise.
15265 * localedata/dz_BT.UTF-8.in: Likewise.
15266 * localedata/eo.UTF-8.in: Likewise.
15267 * localedata/es_ES.UTF-8.in: Likewise.
15268 * localedata/fa_IR.UTF-8.in: Likewise.
15269 * localedata/fi_FI.UTF-8.in: Likewise.
15270 * localedata/fil_PH.UTF-8.in: Likewise.
15271 * localedata/fur_IT.UTF-8.in: Likewise.
15272 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15273 * localedata/ha_NG.UTF-8.in: Likewise.
15274 * localedata/ig_NG.UTF-8.in: Likewise.
15275 * localedata/ik_CA.UTF-8.in: Likewise.
15276 * localedata/kk_KZ.UTF-8.in: Likewise.
15277 * localedata/ku_TR.UTF-8.in: Likewise.
15278 * localedata/ky_KG.UTF-8.in: Likewise.
15279 * localedata/ln_CD.UTF-8.in: Likewise.
15280 * localedata/mi_NZ.UTF-8.in: Likewise.
15281 * localedata/ml_IN.UTF-8.in: Likewise.
15282 * localedata/mn_MN.UTF-8.in: Likewise.
15283 * localedata/mr_IN.UTF-8.in: Likewise.
15284 * localedata/mt_MT.UTF-8.in: Likewise.
15285 * localedata/nb_NO.UTF-8.in: Likewise.
15286 * localedata/om_KE.UTF-8.in: Likewise.
15287 * localedata/os_RU.UTF-8.in: Likewise.
15288 * localedata/ps_AF.UTF-8.in: Likewise.
15289 * localedata/ro_RO.UTF-8.in: Likewise.
15290 * localedata/ru_RU.UTF-8.in: Likewise.
15291 * localedata/sc_IT.UTF-8.in: Likewise.
15292 * localedata/se_NO.UTF-8.in: Likewise.
15293 * localedata/sq_AL.UTF-8.in: Likewise.
15294 * localedata/sv_SE.UTF-8.in: Likewise.
15295 * localedata/szl_PL.UTF-8.in: Likewise.
15296 * localedata/tg_TJ.UTF-8.in: Likewise.
15297 * localedata/tk_TM.UTF-8.in: Likewise.
15298 * localedata/tt_RU.UTF-8.in: Likewise.
15299 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15300 * localedata/ug_CN.UTF-8.in: Likewise.
15301 * localedata/uz_UZ.UTF-8.in: Likewise.
15302 * localedata/vi_VN.UTF-8.in: Likewise.
15303 * localedata/yi_US.UTF-8.in: Likewise.
15304 * localedata/yo_NG.UTF-8.in: Likewise.
15305 * localedata/zh_CN.UTF-8.in: Likewise.
15306 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15307 file and fix bugs in the collation.
15308 * localedata/locales/az_AZ: Likewise.
15309 * localedata/locales/be_BY: Likewise.
15310 * localedata/locales/ber_DZ: Likewise.
15311 * localedata/locales/ber_MA: Likewise.
15312 * localedata/locales/bg_BG: Likewise.
15313 * localedata/locales/br_FR: Likewise.
15314 * localedata/locales/br_FR@euro: Likewise.
15315 * localedata/locales/ca_ES: Likewise.
15316 * localedata/locales/cns11643_stroke: Likewise.
15317 * localedata/locales/crh_UA: Likewise.
15318 * localedata/locales/cs_CZ: Likewise.
15319 * localedata/locales/csb_PL: Likewise.
15320 * localedata/locales/cv_RU: Likewise.
15321 * localedata/locales/cy_GB: Likewise.
15322 * localedata/locales/da_DK: Likewise.
15323 * localedata/locales/dz_BT: Likewise.
15324 * localedata/locales/en_CA: Likewise.
15325 * localedata/locales/eo: Likewise.
15326 * localedata/locales/es_CU: Likewise.
15327 * localedata/locales/es_EC: Likewise.
15328 * localedata/locales/es_ES: Likewise.
15329 * localedata/locales/es_US: Likewise.
15330 * localedata/locales/et_EE: Likewise.
15331 * localedata/locales/fa_IR: Likewise.
15332 * localedata/locales/fi_FI: Likewise.
15333 * localedata/locales/fil_PH: Likewise.
15334 * localedata/locales/fur_IT: Likewise.
15335 * localedata/locales/gez_ER@abegede: Likewise.
15336 * localedata/locales/ha_NG: Likewise.
15337 * localedata/locales/hr_HR: Likewise.
15338 * localedata/locales/hsb_DE: Likewise.
15339 * localedata/locales/hu_HU: Likewise.
15340 * localedata/locales/ig_NG: Likewise.
15341 * localedata/locales/ik_CA: Likewise.
15342 * localedata/locales/is_IS: Likewise.
15343 * localedata/locales/iso14651_t1_pinyin: Likewise.
15344 * localedata/locales/kk_KZ: Likewise.
15345 * localedata/locales/ku_TR: Likewise.
15346 * localedata/locales/ky_KG: Likewise.
15347 * localedata/locales/ln_CD: Likewise.
15348 * localedata/locales/lt_LT: Likewise.
15349 * localedata/locales/lv_LV: Likewise.
15350 * localedata/locales/mi_NZ: Likewise.
15351 * localedata/locales/ml_IN: Likewise.
15352 * localedata/locales/mn_MN: Likewise.
15353 * localedata/locales/mr_IN: Likewise.
15354 * localedata/locales/mt_MT: Likewise.
15355 * localedata/locales/nb_NO: Likewise.
15356 * localedata/locales/om_KE: Likewise.
15357 * localedata/locales/os_RU: Likewise.
15358 * localedata/locales/pl_PL: Likewise.
15359 * localedata/locales/ps_AF: Likewise.
15360 * localedata/locales/ro_RO: Likewise.
15361 * localedata/locales/ru_RU: Likewise.
15362 * localedata/locales/ru_UA: Likewise.
15363 * localedata/locales/sc_IT: Likewise.
15364 * localedata/locales/se_NO: Likewise.
15365 * localedata/locales/si_LK: Likewise.
15366 * localedata/locales/sq_AL: Likewise.
15367 * localedata/locales/sv_FI: Likewise.
15368 * localedata/locales/sv_FI@euro: Likewise.
15369 * localedata/locales/sv_SE: Likewise.
15370 * localedata/locales/szl_PL: Likewise.
15371 * localedata/locales/tg_TJ: Likewise.
15372 * localedata/locales/ti_ER: Likewise.
15373 * localedata/locales/tk_TM: Likewise.
15374 * localedata/locales/tl_PH: Likewise.
15375 * localedata/locales/tr_TR: Likewise.
15376 * localedata/locales/tt_RU: Likewise.
15377 * localedata/locales/tt_RU@iqtelif: Likewise.
15378 * localedata/locales/ug_CN: Likewise.
15379 * localedata/locales/uk_UA: Likewise.
15380 * localedata/locales/uz_UZ: Likewise.
15381 * localedata/locales/uz_UZ@cyrillic: Likewise.
15382 * localedata/locales/vi_VN: Likewise.
15383 * localedata/locales/yi_US: Likewise.
15384 * localedata/locales/yo_NG: Likewise.
15385
ce6636b0
MF
153862018-02-27 Mike FABIAN <mfabian@redhat.com>
15387
15388 * gen-locales.mk: Make test files which contain @ modifiers in their
15389 name work.
15390 * localedata/gen-locale.sh: Likewise.
15391
ac3a3b4b
MF
153922018-02-27 Mike FABIAN <mfabian@redhat.com>
15393
15394 * posix/tst-fnmatch.input: Fix results for range expressions
15395 for non C locales.
15396 * posix/tst-regexloc.c: Do not use a range expression for
15397 de_DE.ISO-8859-1 locale.
15398
770cbe14
MF
153992018-02-27 Mike FABIAN <mfabian@redhat.com>
15400
15401 * posix/bug-regex5.c: Fix test case because with the new
15402 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15403 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15404 file.
15405
0fc355d9
MF
154062018-02-27 Mike FABIAN <mfabian@redhat.com>
15407
15408 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15409 downloaded from ISO, the collation order of @-. and space has changed.
15410 Therefore, this test file needed to be adapted.
15411 * localedata/fr_CA.UTF-8.in: Likewise.
15412 * localedata/fr_FR.UTF-8.in: Likewise.
15413 * localedata/uk_UA.UTF-8.in: Likewise.
15414
43f3893f
MF
154152018-02-27 Mike FABIAN <mfabian@redhat.com>
15416
15417 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15418 order of ȥ in the new iso14651_t1_common file.
15419 * localedata/pl_PL.UTF-8.in: Likewise.
15420
df74ef78
MF
154212018-02-27 Mike FABIAN <mfabian@redhat.com>
15422
15423 * localedata/locales/iso14651_t1_common: Add sections for various
15424 scripts to the iso14651_t1_common file.
15425
d5adfbad
MF
154262018-02-27 Mike FABIAN <mfabian@redhat.com>
15427
15428 * localedata/locales/iso14651_t1_common: Use the code point of a
15429 character in the fourth collation level instead of IGNORE for all
15430 entries which have IGNORE on all 4 levels.
15431
5f5a9610
MF
154322018-02-27 Mike FABIAN <mfabian@redhat.com>
15433
15434 * localedata/locales/iso14651_t1_common: Add some convenient collation
15435 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15436 rules similar to those in CLDR.
15437
8a97e900
MF
154382018-02-27 Mike FABIAN <mfabian@redhat.com>
15439
15440 * localedata/locales/iso14651_t1_common: The new version of this
15441 file downloaded from ISO contained several syntax errors which
15442 are fixed by this patch.
15443
bbdd2fba
MF
154442018-02-27 Mike FABIAN <mfabian@redhat.com>
15445
15446 * localedata/locales/iso14651_t1_common: replace all <U.....>
15447 with <U000.....> because glibc understands only 4 digit or 8 digit
15448
1569e551
MF
154492018-02-27 Mike FABIAN <mfabian@redhat.com>
15450
15451 * localedata/locales/iso14651_t1_common: Necessary changes
15452 to make the file downloaded from ISO usable by glibc.
15453
9479b6d5
MF
154542018-02-27 Mike FABIAN <mfabian@redhat.com>
15455
15456 [BZ #14095]
15457 * localedata/locales/iso14651_t1_common: Update file to
15458 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15459
03b540b3
ST
154602018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15461
15462 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15463 of <nptl/pthreadP.h>
15464 (thread_attr_compare): Move function to...
eb937a52 15465 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 15466 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 15467 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 15468
20602c72
JM
154692018-02-26 Joseph Myers <joseph@codesourcery.com>
15470
f54d8f73
JM
15471 * string/strcoll_l.c: Include <libc-diag.h>.
15472 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15473 declarations of seq1 and seq2.
15474
20602c72
JM
15475 [BZ #15105]
15476 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15477 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15478
f5f473a9
DL
154792018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15480
15481 [BZ #22433]
15482 [BZ #22807]
15483 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15484 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15485 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15486 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15487 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15488 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15489
398c6fdd
TMQMF
154902018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15491
15492 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15493 macros used in __ptrace_request.
15494
f5d1f629
L
154952018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15496
15497 [BZ #22792]
15498 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15499 to $(CC).
15500 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15501 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15502 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15503 <tcb-offsets.h>.
15504
54412d20
JM
155052018-02-23 Joseph Myers <joseph@codesourcery.com>
15506
15507 [BZ #15105]
15508 * ctype/ctype.c (tolower): Use libc_hidden_def.
15509 (toupper): Likewise.
15510 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15511 [!_ISOMAC] (toupper): Likewise.
15512
81be4b5e
MF
155132018-02-23 Mike FABIAN <mfabian@redhat.com>
15514
15515 * localedata/Makefile: Remove --quiet argument when
15516 installing locales
15517
9d5cfd8e
MF
155182018-02-23 Mike FABIAN <mfabian@redhat.com>
15519
15520 [BZ #17438]
15521 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15522 in d_fmt.
15523 * localedata/locales/pt_PT (LC_TIME): likewise
15524
6c7269f3
MF
155252018-02-23 Mike FABIAN <mfabian@redhat.com>
15526
15527 [BZ #22646]
15528 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15529 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15530 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15531
92aabad9
AZ
155322018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15533
4cdc25a4
AZ
15534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15535
27761a10
AZ
15536 * nptl/Makefile (routines): Remove unregister-atfork.
15537 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15538 (fork_handler_alloc): Remove function.
15539 (fork_handlers, fork_handler_init): New variables.
15540 (__fork_lock): Rename to atfork_lock.
15541 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15542 to use a dynamic array to add/remove atfork handlers.
15543 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15544 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15545 Remove declaration.
15546 (fork_handler): Remove next, refcntr, and need_signal member.
15547 (__run_fork_handler_type): New enum.
15548 (__run_fork_handlers): New prototype.
15549 * nptl/register-atfork.c: Remove file.
15550 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15551
92aabad9
AZ
15552 * sysdeps/nptl/nptl-signals.h: Move to ...
15553 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15554 comments.
15555 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15556 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15557 unnecessary check for SIGTIMER.
15558 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15559 remove unnecessary removal of SIGTIMER.
15560 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15561 include-signals.h rename.
15562 * nptl/pthreadP.h: Likewise.
15563 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15564 __is_internal_signal instead of __nptl_is_internal_signal.
15565
fdcc6253
AW
155662018-02-22 Andrew Waterman <andrew@sifive.com>
15567
7e04eb29 15568 [BZ # 22884]
fdcc6253
AW
15569 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15570 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15571 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15572 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15573
8090720a
DD
155742018-02-22 DJ Delorie <dj@delorie.com>
15575
15576 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15577
6ca24c43
SP
155782018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15579
15580 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15581 do_misaligned, not misaligned8.
15582
e9537ddd
SE
155832018-02-22 Steve Ellcey <sellcey@cavium.com>
15584
15585 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15586 Add memcpy_thunderx2.
15587 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15588 Increment to 4.
15589 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15590 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15591 and IS_THUNDERX2PA checks.
15592 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15593 Use macro to set name appropriately.
15594 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15595 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15596 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15597 New macro.
15598 (IS_THUNDERX2): New macro.
15599
6e336476
SL
156002018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15601
15602 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15603
34957904
ZW
156042018-02-21 Zack Weinberg <zackw@panix.com>
15605
30bfee26
ZW
15606 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15607 Define here, unconditionally.
15608 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15609 * libio/libioP.h: Remove #if 0 blocks.
15610 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15611 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15612 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15613
15614 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15615 Assume weak_alias is always defined.
15616
15617 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15618 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15619 Remove #if 0 and #ifdef TODO blocks.
15620 Assume text_set_element is always defined.
15621
15622 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15623 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15624 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15625
df6c012b
ZW
15626 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15627 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15628 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15629 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15630 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15631 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15632 Reformat bit flags for _flags field to make occupancy clearer.
15633 Update commentary.
15634 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15635 Keep definitions consistent with those in libio/libio.h.
15636
15637 * libio/libio.h (_IO_file_flags): Remove macro.
15638 All uses changed to _flags.
15639
177aad3f
ZW
15640 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15641 (__HAVE_COLUMN, _IO_BE): Don't define.
15642 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15643 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15644 * libio/libioP.h (EOF): Don't define.
15645 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15646 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15647 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15648 testing _IO_UNIFIED_JUMPTABLES.
15649
9964a145
ZW
15650 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15651 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15652 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15653 (_IO_size_t): Delete; all uses changed to size_t.
15654 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15655 (_IO_off_t): Delete; all uses changed to off_t.
15656 (_IO_off64_t): Delete; all uses changed to off64_t.
15657 (_IO_pid_t): Delete; all uses changed to pid_t.
15658 (_IO_uid_t): Delete; all uses changed to uid_t.
15659 (_IO_wint_t): Delete; all uses changed to wint_t.
15660 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15661 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15662 (_IO_cookie_io_functions_t): Delete; all uses changed to
15663 cookie_io_functions_t.
15664 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15665 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15666 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15667 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15668
15669 * libio/iofopncook.c: Remove unnecessary forward declarations.
15670 * libio/iolibio.h: Correct outdated commentary.
15671 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15672 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15673 Remove unnecessary casts.
15674 * stdio-common/getline.c: Use _IO_getdelim directly.
15675 Don't redefine ssize_t.
15676 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15677 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15678 Remove outdated comments.
15679 * stdio-common/vfscanf.c: Don't redefine va_list.
15680
34957904
ZW
15681 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15682 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15683 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15684 which are always true, and __cplusplus, which is always false.
15685
30ac923d
JM
156862018-02-21 Joseph Myers <joseph@codesourcery.com>
15687
039c721a
JM
15688 [BZ #15105]
15689 [BZ #19463]
15690 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15691 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15692 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15693 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15694 libc_hidden_proto.
15695 [!_ISOMAC] (putc_unlocked): Likewise.
15696 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15697 define inline if [__USE_EXTERN_INLINES].
15698 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15699 putc_unlocked.
15700
30ac923d
JM
15701 [BZ #15105]
15702 [BZ #19463]
15703 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15704 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15705 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15706 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15707 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15708 getc_unlocked.
15709 * time/tzfile.c (__tzfile_read): Likewise.
15710
7ec5f946
MF
157112018-02-21 Mike FABIAN <mfabian@redhat.com>
15712
15713 [BZ #22517]
15714 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15715
0d217f40
RJ
157162018-02-21 Rical Jasan <ricaljasan@pacific.net>
15717
15718 * io/fcntl.h: Fix a typo in a comment.
15719
862b4502
RJ
157202018-02-21 Rical Jasan <ricaljasan@pacific.net>
15721
15722 [BZ #22862]
15723 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15724 define _DEFAULT_SOURCE.
15725 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15726
999a6dab
FW
157272018-02-21 Florian Weimer <fweimer@redhat.com>
15728
15729 [BZ #20890]
15730 * elf/cache.c (save_cache): Call fsync on temporary file before
15731 renaming it.
15732 (save_aux_cache): Call fdatasync on temporary file before renaming
15733 it.
15734
52a01100
FW
157352018-02-21 Florian Weimer <fweimer@redhat.com>
15736
15737 [BZ #22787]
15738 * include/caller.h: Remove file.
15739 * elf/dl-caller.c: Likewise.
15740 * elf/Makefile (dl-routines): Remove dl-caller.
15741 (shared-only-routines): Do not add dl-caller.
15742 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15743 __check_caller.
15744 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15745 member.
15746 (dl_open_worker): Do not call __check_caller.
15747 (_dl_open): Do not set caller_dl_open member.
15748 * elf/rtld.c (_rtld_global_ro): Do not initialize
15749 _dl_check_caller member.
15750 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15751 _dl_check_caller member.
15752 (_dl_check_caller): Remove declaration.
15753 * sysdeps/unix/sysv/linux/dl-execstack.c
15754 (_dl_make_stack_executable): Do not call __check_caller.
15755
b5bf62e4
ST
157562018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15757
15758 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 15759 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 15760
e8d190b9
RJ
157612018-02-20 Rical Jasan <ricaljasan@pacific.net>
15762
15763 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15764 description.
15765
6a3962c4
RJ
157662018-02-20 Rical Jasan <ricaljasan@pacific.net>
15767
da81ae64 15768 [BZ #16335]
6a3962c4
RJ
15769 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15770 of 199606L, 200112L, and 200809L.
15771 (_XOPEN_SOURCE): Document special values of 600 and 700.
15772 (_ISOC11_SOURCE): Document macro.
15773 (_ATFILE_SOURCE): Likewise.
15774 (_FORTIFY_SOURCE): Likewise.
15775
ec481ad8
JM
157762018-02-19 Joseph Myers <joseph@codesourcery.com>
15777
15778 [BZ #15105]
15779 [BZ #19463]
15780 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15781 and define as weak alias of __ferror_unlocked. Use
15782 libc_hidden_weak.
15783 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15784 libc_hidden_proto.
15785 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15786 function if [__USE_EXTERN_INLINES].
15787 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15788 ferror_unlocked.
15789
7d15ef84
RJ
157902018-02-19 Rical Jasan <ricaljasan@pacific.net>
15791
15792 [BZ #6889]
15793 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15794
f8d79582
AJ
157952018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15796
15797 [BZ #22818]
15798 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15799 the GLIBC_2.1 version.
15800
56456a2a
AJ
158012018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15802
15803 [BZ #21508]
15804 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15805 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15806 intl/tst-gettext-de.po from po/de.po by removing the
15807 POT-Creation-Date line.
15808 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15809 ../po/de.po.
15810 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15811 ../po/de.po.
15812
13768813
ST
158132018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15814
15815 * mach/Makefile (headers): Add mach/param.h.
15816 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15817 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
15818 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15819 (__ptsname_r): Move implementation to...
15820 (__ptsname_internal): ... new function. Add filling the STP
15821 structure.
13768813 15822
6aca1b61
JDA
158232018-02-17 John David Anglin <danglin@gcc.gnu.org>
15824
15825 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15826 idouble to 1 ULP.
15827
16efad51
RJ
158282018-02-16 Rical Jasan <ricaljasan@pacific.net>
15829
15830 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15831 syntax.
15832
87245073
SL
158332018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15834
15835 * nptl/Makefile (tst-mutex8-ENV): Delete.
15836 * nptl/tst-mutex8.c (check_type):
15837 Add runtime check if mutex will be elided.
15838
7fc03cf3
JM
158392018-02-15 Joseph Myers <joseph@codesourcery.com>
15840
db9881ec
JM
15841 [BZ #20980]
15842 [BZ #21234]
15843 * manual/install.texi (Configuring and compiling): Describe
15844 passing CC and CFLAGS on configure command line, not as
15845 environment variables. Use @code markup on those variables.
15846 Specify what options go in CC and what go in CFLAGS. Note the
15847 requirement to compile with optimization.
15848 * INSTALL: Regenerated.
15849
3785b31c
JM
15850 [BZ #18124]
15851 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15852 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15853 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15854 __sigprocmask instead of sigprocmask.
15855 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15856 Likewise.
15857 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15858 __sigsetjmp and sigprocmask.
15859
055ac2a7
JM
15860 [BZ #15105]
15861 * include/argz.h (argz_next): Use libc_hidden_proto.
15862 (__argz_next): Likewise.
15863 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15864 (argz_next): Use libc_hidden_weak.
15865
e4452a2d
JM
15866 [BZ #15105]
15867 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15868 libc_hidden_proto.
15869 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15870 libc_hidden_def.
15871
499b3153
JM
15872 [BZ #15105]
15873 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15874 libc_hidden_proto.
15875 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15876
7fc03cf3
JM
15877 [BZ #15105]
15878 [BZ #19463]
15879 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15880 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15881 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15882 (__feof_unlocked): New declaration, and inline function if
15883 [__USE_EXTERN_INLINES].
15884 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15885 instead of feof_unlocked.
15886 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15887 * nss/nsswitch.c (nss_parse_file): Likewise.
15888 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15889 Likewise.
15890 * time/getdate.c (__getdate_r): Likewise.
15891 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15892 Define as macro to call __feof_unlocked.
15893
0c8a67a5
WD
158942018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15895
15896 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15897
610ee1fc
WD
158982018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15899
15900 * math/Makefile: Remove mpexp.c and mplog.c
15901 * sysdeps/i386/fpu/mpexp.c: Delete file.
15902 * sysdeps/i386/fpu/mplog.c: Likewise.
15903 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15904 * sysdeps/ia64/fpu/mplog.c: Likewise.
15905 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15906 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15907 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15908 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15909 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15910 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15911 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15912 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15913 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15914 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15915 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15916 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15917 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15918 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15919 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15920 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15921
8e7196c8
SL
159222018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15923
15924 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15925
4f55ad0b
AZ
159262018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15927
15928 * sysdeps/sh/libm-test-ulps: Update.
15929
261a851c
TMQMF
159302018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15931
15932 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15933 idouble to 1 ULP.
15934
e16deca6
ZW
159352018-02-12 Zack Weinberg <zackw@panix.com>
15936
15937 [BZ #19239]
15938 * posix/sys/types.h: Don't include sys/sysmacros.h.
15939 * misc/sys/sysmacros.h: Remove the conditional deprecation
15940 warnings for the macros defined by this header.
15941
de800d83
SN
159422018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15943
15944 * manual/probes.texi: Remove slowexp probes.
15945 * math/Makefile: Remove slowexp.
15946 * sysdeps/generic/math_private.h (__slowexp): Remove.
15947 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15948 document error bounds.
15949 * sysdeps/i386/fpu/slowexp.c: Remove.
15950 * sysdeps/ia64/fpu/slowexp.c: Remove.
15951 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15952 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15953 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15954 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15955 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15956 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15957 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15959 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15960 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15961 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15962
c3d466cb
WD
159632018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15964
15965 [BZ #13932]
15966 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15967 * benchtests/pow-inputs: Update comment for slow path cases.
15968 * manual/probes.texi (slowpow_p10): Delete removed probe.
15969 (slowpow_p10): Likewise.
15970 * math/Makefile: Remove halfulp.c and slowpow.c.
15971 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15972 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15973 (__halfulp): Remove.
15974 (__slowpow): Remove.
15975 * sysdeps/i386/fpu/halfulp.c: Delete file.
15976 * sysdeps/i386/fpu/slowpow.c: Likewise.
15977 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15978 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15980 improve comments and add error analysis.
15981 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15982 (power1): Remove function:
15983 (log1): Remove error argument, add error analysis.
15984 (my_log2): Remove function.
15985 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15986 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15987 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15988 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15989 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15990 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15991 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15992 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15993 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15994 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15995 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15996 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15997 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15998 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15999
7bb087bd
ST
160002018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16001
16002 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16003 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16004
2fd4bbaa
DL
160052018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16006
16007 [BZ #22433]
16008 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16009 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16010 and PTRACE_SETHBPREGS.
16011
402ecba4
ZW
160122018-02-10 Zack Weinberg <zackw@panix.com>
16013
16014 [BZ #22830]
16015 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16016 correctly.
16017 * malloc/tst-malloc-stats-cancellation.c: New test case.
16018 * malloc/Makefile: Add new test case.
16019
4f5b921e
WD
160202018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16021
16022 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16023
a85b70db
JM
160242018-02-10 Joseph Myers <joseph@codesourcery.com>
16025
d8742dd8
JM
16026 * math/Makefile (libm-narrow-fns): Add add.
16027 (libm-test-funcs-narrow): Likewise.
16028 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16029 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16030 * math/gen-auto-libm-tests.c (test_functions): Add add.
16031 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16032 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16033 (NARROW_ADD_TRIVIAL): Likewise.
16034 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16035 macro.
16036 (__daddl): Likewise.
16037 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16038 dadd.
16039 (CFLAGS-nldbl-dadd.c): New variable.
16040 (CFLAGS-nldbl-fadd.c): Likewise.
16041 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16042 __nldbl_daddl.
16043 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16044 prototype.
16045 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16046 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16047 * math/auto-libm-test-in: Add tests of add.
16048 * math/auto-libm-test-out-narrow-add: New generated file.
16049 * math/libm-test-narrow-add.inc: New file.
16050 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16051 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16052 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16053 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16054 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16055 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16056 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16057 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16058 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16060 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16064 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16065 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16066 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16067 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16069 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16089 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16090 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16091 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16094 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16095 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16096
a85b70db
JM
16097 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16098 (f128-pairs): New variable.
16099 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16100 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16101 to CFLAGS.
16102 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16103 Also make tests add $(f128-loader-link) to gnulib-tests.
16104
6a1ff640
DD
161052018-02-09 DJ Delorie <dj@redhat.com>
16106
16107 [BZ #22827]
16108 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16109 64-bit ELF type for 64-bit ELF objects.
16110
bfd47587
JM
161112018-02-09 Joseph Myers <joseph@codesourcery.com>
16112
31958338
JM
16113 * math/libm-test-driver.c (snan_tests_arg): New variable.
16114 * math/libm-test-support.h (snan_tests_arg): New declaration.
16115 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16116
8e554659
JM
16117 * math/Makefile (test-type-pairs): New variable.
16118 (test-type-pairs-f64xf128-yes): Likewise.
16119 (tests): Add test-narrow-macros.
16120 (libm-test-funcs-narrow): New variable.
16121 (libm-test-c-narrow): Likewise.
16122 (generated): Add $(libm-test-c-narrow).
16123 (libm-tests-base-narrow): New variable.
16124 (libm-tests-narrow): Likewise.
16125 (libm-tests): Add $(libm-tests-narrow).
16126 (libm-tests-for-type): Handle $(libm-tests-narrow).
16127 (libm-test-c-narrow-obj): New variable.
16128 ($(libm-test-c-narrow-obj)): New rule.
16129 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16130 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16131 $(o-iterator) to set dependencies and CFLAGS.
16132 * math/gen-auto-libm-tests.c: Document use for narrowing
16133 functions.
16134 (output_for_one_input_case): Take argument NARROW.
16135 (generate_output): Likewise. Update call to
16136 output_for_one_input_case.
16137 (main): Take --narrow option. Update call to generate_output.
16138 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16139 (apply_lit): Update call to _apply_lit.
16140 (apply_arglit): New function.
16141 (parse_args): Handle "a" arguments.
16142 (parse_auto_input): Handle format names using ":".
16143 * math/README.libm-test: Document "a" parameter type.
16144 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16145 (ARG_TYPE_TRUE_MIN): Likewise.
16146 (ARG_TYPE_MAX): Likwise.
16147 (ARG_MIN_EXP): Likewise.
16148 (ARG_MAX_EXP): Likewise.
16149 (ARG_MANT_DIG): Likewise.
16150 (TEST_COND_arg_ibm128): Likewise.
16151 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16152 (TEST_COND_arg_fmt): New macro.
16153 (init_max_error): Update prototype.
16154 * math/libm-test-support.c (test_ibm128): New variable.
16155 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16156 instead of using [TEST_COND_ibm128] conditional.
16157 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16158 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16159 [TEST_NARROW] (TEST_MSG): New definition.
16160 (arg_plus_zero): New macro.
16161 (arg_minus_zero): Likewise.
16162 (arg_plus_infty): Likewise.
16163 (arg_minus_infty): Likewise.
16164 (arg_qnan_value_pl): Likewise.
16165 (arg_qnan_value): Likewise.
16166 (arg_snan_value_pl): Likewise.
16167 (arg_snan_value): Likewise.
16168 (arg_max_value): Likewise.
16169 (arg_min_value): Likewise.
16170 (arg_min_subnorm_value): Likewise.
16171 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16172 (RUN_TEST_LOOP_aa_f): New macro.
16173 (TEST_SUFF): New macro.
16174 (TEST_SUFF_STR): Likewise.
16175 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16176 (TEST_COND_any_ibm128): New macro.
16177 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16178 this_func. Update call to init_max_error.
16179 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16180 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16181 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16182 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16183 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16184 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16185 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16186 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16187 * math/test-math-vector.h (TEST_NARROW): Likewise.
16188 * math/test-arg-double.h: New file.
16189 * math/test-arg-float128.h: Likewise.
16190 * math/test-arg-float32x.h: Likewise.
16191 * math/test-arg-float64.h: Likewise.
16192 * math/test-arg-float64x.h: Likewise.
16193 * math/test-arg-ldouble.h: Likewise.
16194 * math/test-math-narrow.h: Likewise.
16195 * math/test-narrow-macros.c: Likewise.
16196 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16197 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16198 test-narrow-macros-ldbl-64.
16199 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16200
63716ab2
JM
16201 * math/bits/mathcalls-narrow.h: New file.
16202 * include/bits/mathcalls-narrow.h: Likewise.
16203 * math/math-narrow.h: Likewise.
16204 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16205 (__MATHCALL_NARROW_ARGS_2): Likewise.
16206 (__MATHCALL_NARROW_ARGS_3): Likewise.
16207 (__MATHCALL_NARROW_NORMAL): Likewise.
16208 (__MATHCALL_NARROW_REDIR): Likewise.
16209 (__MATHCALL_NARROW): Likewise.
16210 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16211 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16212 defined.
16213 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16214 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16215 (libm-narrow-fns): New variable.
16216 (libm-narrow-types-basic): Likewise.
16217 (libm-narrow-types-ldouble-yes): Likewise.
16218 (libm-narrow-types-float128-yes): Likewise.
16219 (libm-narrow-types-float128-alias-yes): Likewise.
16220 (libm-narrow-types): Likewise.
16221 (libm-routines): Add narrowing functions.
16222 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16223 (libc_feholdexcept_setroundf128): New macro.
16224 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16225 * sysdeps/ieee754/float128/float128_private.h: Include
16226 <math/math-narrow.h>.
16227 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16228 Undefine and redefine.
16229 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16230 (libm_alias_float_ldouble): Undefine and redefine.
16231 (libm_alias_double_ldouble): Likewise.
16232
bfd47587
JM
16233 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16234
3f8d9d58
WD
162352018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16236
16237 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16238 FPCR/FPSR.
16239
1f6676d7
RJ
162402018-02-09 Rical Jasan <ricaljasan@pacific.net>
16241
16242 * manual/creature.texi: Convert references to gcc.info to gcc.
16243 * manual/stdio.texi: Likewise.
16244 * manual/string.texi: Likewise.
16245
d80441dd
JM
162462018-02-07 Joseph Myers <joseph@codesourcery.com>
16247
15081be9
JM
16248 [BZ #17979]
16249 * posix/bits/types.h (__int_least8_t): New typedef.
16250 (__uint_least8_t): Likewise.
16251 (__int_least16_t): Likewise.
16252 (__uint_least16_t): Likewise.
16253 (__int_least32_t): Likewise.
16254 (__uint_least32_t): Likewise.
16255 (__int_least64_t): Likewise.
16256 (__uint_least64_t): Likewise.
16257 * sysdeps/generic/stdint.h (int_least8_t): Define using
16258 __int_least8_t.
16259 (int_least16_t): Define using __int_least16_t.
16260 (int_least32_t): Define using __int_least32_t.
16261 (int_least64_t): Define using __int_least64_t.
16262 (uint_least8_t): Define using __uint_least8_t.
16263 (uint_least16_t): Define using __uint_least16_t.
16264 (uint_least32_t): Define using __uint_least32_t.
16265 (uint_least64_t): Define using __uint_least64_t.
16266 * wcsmbs/uchar.h: Include <bits/types.h>.
16267 (char16_t): Define using __uint_least16_t conditional only on
16268 [!__USE_ISOCXX11].
16269 (char32_t): Define using __uint_least32_t conditional only on
16270 [!__USE_ISOCXX11].
16271 * wcsmbs/test-char-types.c: New file.
16272 * wcsmbs/Makefile (tests): Add test-char-types.
16273
d80441dd
JM
16274 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16275 version to 4.0.1.
16276
6c6c962a
ZW
162772018-02-07 Zack Weinberg <zackw@panix.com>
16278
63fb8f9a
ZW
16279 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16280 Delete all contents except for definitions of _G_HAVE_MMAP and
16281 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16282 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16283 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16284 change as above.
16285
16286 * libio/libio.h: Don't include bits/_G_config.h here.
16287 Include stddef.h with __need_wchar_t defined. Include
16288 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16289 Define _IO_iconv_t here, directly.
16290 Don't define _IO_HAVE_ST_BLKSIZE.
16291 * libio/libioP.h: Include _G_config.h here. Move include of
16292 shlib-compat.h up with rest of includes. Simplify conditionals
16293 controlling definition of _IO_JUMPS_OFFSET.
16294
16295 * csu/init.c: Remove always-true #if around entire file.
16296 Don't include stdio.h. Set _IO_stdin_used to hardwired
16297 constant 0x20001, and update commentary.
16298 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16299 Replace all uses of _G_va_list with __gnuc_va_list.
16300 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16301 instead of #if _IO_HAVE_ST_BLKSIZE.
16302 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16303 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16304 not #ifdef.
16305
6c6c962a
ZW
16306 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16307 multiple-include guard to match.
16308 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16309 into this file.
16310 Remove preprocessor conditionals that are always true and/or
16311 redundant to other preprocessor conditionals in the same nest.
16312 Include shlib-compat.h unconditionally.
16313 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16314 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16315 defined after including stdio.h.
16316 Use __BEGIN_DECLS/__END_DECLS.
16317
16318 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16319 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16320 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16321
a4fea3f2
ZW
163222018-02-07 Zack Weinberg <zackw@panix.com>
16323
16324 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16325 New single-type headers split from _G_config.h.
16326 * libio/bits/types/cookie_io_functions_t.h
16327 * libio/bits/types/struct_FILE.h
16328 New single-type headers split from libio.h.
16329
16330 * libio/Makefile: Install the above new headers. Don't install
16331 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16332 bits/libio-ldbl.h.
16333 * libio/_G_config.h, libio/libio.h: Delete file.
16334
16335 * libio/bits/libio.h: Remove improper-inclusion guard.
16336 Include stdio.h and don't repeat anything that it does.
16337 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16338 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16339 __io_read_fn as cookie_read_function_t,
16340 __io_write_fn as cookie_write_function_t,
16341 __io_seek_fn as cookie_seek_function_t,
16342 __io_close_fn as cookie_close_function_t,
16343 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16344 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16345 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 16346 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
16347 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16348 and _IO_ferror_unlocked.
16349 Move prototypes of __uflow and __overflow...
16350
16351 * libio/stdio.h: ...here. Don't include bits/libio.h.
16352 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 16353 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
16354 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16355 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16356 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16357 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16358 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16359 __ssize_t, not _IO_ssize_t. Unconditionally define
16360 BUFSIZ as 8192 and EOF as (-1).
16361
16362 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16363 macros from bits/types/struct_FILE.h instead of _IO_* macros
16364 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16365 instead of _IO_ssize_t.
16366 * libio/bits/stdio2.h: Similarly.
16367
16368 * libio/iolibio.h: Add multiple-include guard.
16369 Include bits/libio.h after stdio.h.
16370 * libio/libioP.h: Add multiple-include guard.
16371 Include stdio.h and bits/libio.h before iolibio.h.
16372
6c6c962a 16373 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
16374 * include/bits/types/cookie_io_functions_t.h
16375 * include/bits/types/struct_FILE.h: New wrappers.
16376
16377 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
16378 Get definitions of _G_fpos_t and _G_fpos64_t from
16379 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16380 respectively. Remove improper-inclusion guards.
a4fea3f2 16381
6c6c962a 16382 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 16383 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 16384 libio.h and _G_config.h.
a4fea3f2 16385
ce999220
JM
163862018-02-07 Joseph Myers <joseph@codesourcery.com>
16387
8b4a1182
JM
16388 [BZ #15105]
16389 [BZ #19463]
16390 * include/sys/sysmacros.h [!_ISOMAC]
16391 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16392 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16393 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16394 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16395 libc_hidden_proto.
16396 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16397 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16398 Likewise.
16399 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16400 Undefine and redefine to add use __gnu_dev_ prefix.
16401 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16402 Likewise.
16403 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16404 and define as hidden inline function.
16405 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16406 Likewise.
16407 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16408 Likewise.
16409 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16410 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16411 (gnu_dev_minor): Likewise.
16412 (gnu_dev_makedev): Likewise.
16413 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16414 makedev.
16415 * posix/wordexp.c (exec_comm_child): Likewise.
16416 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16417 instead of minor and __gnu_dev_major instead of major.
16418 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16419 __gnu_dev_major instead of major.
16420 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16421 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16422 instead of gnu_dev_minor.
16423 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16424 (SLAVE_P): Likewise.
16425 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16426 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16427 instead of major.
16428
ce999220
JM
16429 [BZ #21313]
16430 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16431 in another place.
16432 * locale/weightwc.h (findidx): Likewise.
16433
b7c83ca3
WD
164342018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16435
16436 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16437 (slowlog_inexact): Likewise
16438 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16439 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16440
388ff7bd
IG
164412018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16442
16443 [BZ #22797]
16444 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16445 missing second underscore to parameter name.
16446
663e7d78
JM
164472018-02-06 Joseph Myers <joseph@codesourcery.com>
16448
0d40d0ec
JM
16449 [BZ #14508]
16450 [BZ #15512]
16451 [BZ #17082]
16452 [BZ #20530]
16453 * bits/byteswap.h: Update file comment. Do not include
16454 <bits/byteswap-16.h>.
16455 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16456 constant.
16457 (__bswap_16): Define as inline function.
16458 (__bswap_constant_32): Reformat definition.
16459 (__bswap_32): Always define as inline function, not macro, using
16460 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16461 otherwise __bswap_constant_32.
16462 (__bswap_constant_64): Reformat definition. Do not use
16463 __extension__ here.
16464 (__bswap_64): Always define as inline function, not macro. Use
16465 __extension__ on function definition. Use __builtin_bswap64 if
16466 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16467 * string/test-endian-file-scope.c: New file.
16468 * string/test-endian-sign-conversion.c: Likewise.
16469 * string/Makefile (headers): Remove bits/byteswap-16.h.
16470 (tests): Add test-endian-file-scope and
16471 test-endian-sign-conversion.
16472 (CFLAGS-test-endian-sign-conversion.c): New variable.
16473 * bits/byteswap-16.h: Remove file.
16474 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16475 * sysdeps/ia64/bits/byteswap.h: Likewise.
16476 * sysdeps/m68k/bits/byteswap.h: Likewise.
16477 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16478 * sysdeps/s390/bits/byteswap.h: Likewise.
16479 * sysdeps/tile/bits/byteswap.h: Likewise.
16480 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16481 * sysdeps/x86/bits/byteswap.h: Likewise.
16482
383e87c9
JM
16483 [BZ #17721]
16484 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16485 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16486 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16487 199901L] (__restrict): Define to restrict.
16488
d92c2759
JM
16489 [BZ #19667]
16490 * string/testcopy.c: Include <support/support.h>. Do not include
16491 <malloc.h>. Use <support/test-driver.c>.
16492 (main): Rename to do_test. Make static. Use xmalloc instead of
16493 malloc.
16494
625fb764
JM
16495 [BZ #13575]
16496 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16497 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16498 (SSIZE_MAX): Define to INT_MAX.
16499 * posix/test-ssize-max.c: New file.
16500 * posix/Makefile (tests): Add test-ssize-max.
16501
02325d6c
JM
16502 [BZ #19668]
16503 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16504 <support/support.h>. Do not include <malloc.h>.
16505 (query_auxv): Use xmalloc instead of malloc.
16506
663e7d78
JM
16507 [BZ #14553]
16508 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16509 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16510 instead of loff_t.
16511
6d7aa2b5
FW
165122018-02-06 Florian Weimer <fweimer@redhat.com>
16513
16514 [BZ #18023]
16515 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16516 Use scratch_buffer instead of extend_alloca.
16517
de6da571
ZW
165182018-02-06 Zack Weinberg <zackw@panix.com>
16519
26c07172
ZW
16520 * libio/stdio.h: Don't define getc or putc as macros.
16521 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16522 not _IO_getc and _IO_putc.
16523
de6da571
ZW
16524 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16525 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16526
92669d6e
JM
165272018-02-06 Joseph Myers <joseph@codesourcery.com>
16528
c2b84df9
JM
16529 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16530 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16531
41376f8c
JM
16532 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16533
d28bf648
JM
16534 [BZ #14890]
16535 * elf/elf.h (NT_PRFPREG): New macro.
16536 (NT_S390_VXRS_LOW): Likewise.
16537 (NT_S390_VXRS_HIGH): Likewise.
16538 (NT_S390_GS_CB): Likewise.
16539 (NT_S390_GS_BC): Likewise.
16540 (NT_S390_RI_CB): Likewise.
16541
e76def72
JM
16542 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16543 (MAP_SYNC): New macro.
16544 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16545 Likewise.
16546 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16547 (MAP_SYNC): Likewise.
16548 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16549 (MAP_SYNC): Likewise.
16550 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16551 (MAP_SYNC): Likewise.
16552 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16553 (MAP_SYNC): Likewise.
16554 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16555 (MAP_SYNC): Likewise.
16556 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16557 (MAP_SYNC): Likewise.
16558 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16559 Likewise.
16560 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16561 Likewise.
16562
92669d6e
JM
16563 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16564 (MAP_SHARED_VALIDATE): New macro.
16565 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16566 (MAP_SHARED_VALIDATE): Likewise.
16567
6a5cac49
L
165682018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16569
16570 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16571 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16572 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16573
b44e0dfb
L
165742018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16575
16576 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16577 (DT_NUM): Updated to 35.
16578
f886c16c
L
165792018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16580
16581 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16582 __builtin_expect with __glibc_likely and __glibc_unlikely.
16583 (elf_machine_rela): Likewise.
16584 (elf_machine_lazy_rel): Likewise.
16585
06fbebff
L
165862018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16587
16588 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 16589 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
16590 (elf_machine_lazy_rel): Likewise.
16591
371b220f
L
165922018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16593
16594 [BZ #22638]
16595 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16596 SHARED.
65805016 16597 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 16598
f649a1b8
AS
165992018-02-05 Andreas Schwab <schwab@suse.de>
16600
16601 [BZ #22761]
16602 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16603 string.
16604
9fdb340e
ST
166052018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16606
16607 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16608 not check against PTHREAD_STACK_MIN.
16609
09e56b9e
SM
166102018-02-02 Sean McKean <smckean83@gmail.com>
16611
16612 [BZ #22735]
16613 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16614
d4b4a00a
FW
166152018-02-02 Florian Weimer <fweimer@redhat.com>
16616
16617 [BZ #22753]
16618 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16619 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16620 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16621 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16622 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16623 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16624 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16625 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16626 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16627 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16628 * misc/tst-preadvwritev2.c (do_test): Call it.
16629 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16630
3dfcbfa1
SP
166312018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16632
84c94d2f
SP
16633 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16634
96e6a716
SP
16635 * benchtests/bench-memcmp.c: Print json instead of plain text.
16636
3dfcbfa1
SP
16637 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16638 every test run.
16639
049375e2
JM
166402018-02-01 Joseph Myers <joseph@codesourcery.com>
16641
39f898c6
JM
16642 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16643 version to 4.15.
16644 (s390_sthyi): New syscall.
16645
6f9a3dd8
JM
16646 * sysdeps/generic/ldbl-classify-compat.h: New file.
16647 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16648 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16649 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16650 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16651 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16652 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16653 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16654 <ldbl-classify-compat.h>.
16655 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16656 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16657 <ldbl-classify-compat.h>.
16658 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16659 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16660 <ldbl-classify-compat.h>.
16661 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16662 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16663 <ldbl-classify-compat.h>.
16664 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16665 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16666 <ldbl-classify-compat.h>.
16667 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16669 <ldbl-classify-compat.h>.
16670 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16671 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16672 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16673 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16674 * sysdeps/microblaze/math_private.h: Likewise.
16675 * sysdeps/nios2/math_private.h: Likewise.
16676 * sysdeps/sh/math_private.h: Likewise.
16677
eb65a3d5
JM
16678 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16679 * sysdeps/m68k/coldfire/math_private.h: ... here.
16680 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16681 * sysdeps/tile/math_private.h: Likewise.
16682 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16683 Remove macro.
16684 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16685 Likewise.
16686
8a6bb1d0
JM
16687 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16688 Remove macro.
16689 (libc_fetestexcept): Likewise.
16690 (libc_feupdateenv_test): Likewise.
16691 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16692 (libc_fetestexcept): Likewise.
16693 (libc_feupdateenv_test): Likewise.
16694 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16695 (libc_fetestexcept): Likewise.
16696 (libc_feupdateenv_test): Likewise.
16697 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16698 (libc_fetestexcept): Likewise.
16699 (libc_feupdateenv_test): Likewise.
16700
ae1fcb7b
JM
16701 * sysdeps/generic/math_private.h
16702 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16703 New inline function.
16704 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16705 Likewise.
16706
b1c347e2
JM
16707 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16708 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16709 * sysdeps/generic/math_private.h
16710 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16711 inline function.
16712 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16713 Likewise.
16714 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16715 Likewise.
16716 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16717 Likewise.
16718 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16719 Likewise.
16720 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16721 Likewise.
16722 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16723 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16724 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16725 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16726 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16727 (__fegetenv): Likewise.
16728 (fesetenv): Likewise.
16729 (__fesetenv): Likewise.
16730 (feupdateenv): Likewise.
16731 (__feupdateenv): Likewise.
16732 (fegetround): Likewise.
16733 (__fegetround): Likewise.
16734 (fesetround): Likewise.
16735 (__fesetround): Likewise.
16736
d23a4962
JM
16737 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16738 (feraiseexcept): New macro.
16739 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16740 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16741 Remove macro.
16742 (__feraiseexcept): Likewise.
16743 (feclearexcept): Likewise.
16744 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16745 (__feraiseexcept): Likewise.
16746 (feclearexcept): Likewise.
16747 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16748 (__feraiseexcept): Likewise.
16749 (feclearexcept): Likewise.
16750 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16751 (__feraiseexcept): Likewise.
16752 (feclearexcept): Likewise.
16753 (fetestexcept): Likewise.
16754
5f167950
JM
16755 * sysdeps/m68k/coldfire/math-tests.h: New file.
16756
ccc9035a
JM
16757 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16758 * sysdeps/m68k/bits/fenv.h: ... here.
16759 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16760 not define.
16761 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16762 Likewise.
16763 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16764 Likewise.
16765 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16766 Likewise.
16767 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16768 Likewise.
16769 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16770 Define to 0.
16771 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16772 (__FE_UNDEFINED): New enum constant.
16773 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16774 Do not define.
16775 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16776 Likewise.
16777 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16778 Likewise.
16779 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16780 to match generic bits/fenv.h.
16781 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16782 Do not define.
16783
049375e2
JM
16784 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16785 packed on bits.
16786 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16787 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16788 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16789 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16790
f1d73681
CD
167912018-02-01 Carlos O'Donell <carlos@redhat.com>
16792 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16793 Joseph Myers <joseph@codesourcery.com>
16794
16795 [BZ #21314]
16796 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16797 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16798 computation using c.
16799 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16800 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16801 computation using c.
16802
242cbc90
DL
168032018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16804
086ee48e
DL
16805 * version.h (RELEASE): Set to "development".
16806 (VERSION): Set to "2.27.9000".
16807 * NEWS (2.28): New section.
16808
23158b08
DL
16809 * version.h (RELEASE): Set to "stable".
16810 (VERSION): Set to "2.27".
16811 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16812
242cbc90
DL
16813 * NEWS: Add the list of bugs fixed in 2.27.
16814
673e2305
AZ
168152018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16816
16817 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16818 against PTHREAD_STACK_MIN.
16819
ced64e01
DL
168202018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16821
16822 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16823 New entries.
16824 (Rafal Luzynski, Andreas Schwab): Update.
16825
c10c9a5e
RL
168262018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16827
16828 [BZ #10871]
16829 * NEWS: List the languages which actually use the alternative
16830 months feature in this release. Also explain that "alt_mon" and
16831 "ab_alt_mon" are optional.
16832
650ba77a
IM
168332018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16834
16835 [BZ #22765]
16836 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16837
93493119
DL
168382018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16839
16840 * manual/install.texi (Tools for Compilation): Update the newest
16841 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16842 * INSTALL: Regenerated.
16843
363e4519 168442018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
16845
16846 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16847 instead of __builtin_expect.
16848
d7536874
FW
168492018-01-30 Florian Weimer <fweimer@redhat.com>
16850
16851 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16852 data.
16853 * nss/tst-nss-getpwent.c (do_test): Likewise.
16854
9a1b267d
RL
168552018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16856
16857 [BZ #10871]
16858 * localedata/locales/hr_HR (mon): Rename to...
16859 (alt_mon): This.
16860 (mon): Import from CLDR (genitive case).
16861 (d_t_fmt): Update the comment.
16862
9a179328
AS
168632018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16864
16865 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16866 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16867 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16868
e01e0ddc
ST
168692018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16870
16871 * mach/Versions: Fix version when __mach_host_self_ was added.
16872 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16873 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16874 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16875 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16876 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16877 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16878 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16879 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16880 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16881 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16882 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16883 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
16884 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16885 || to respect codestyle.
2aadb705
ST
16886 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16887 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
16888 * malloc/malloc.c: Include <assert.h>.
16889 (assert): Do not define.
16890 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
16891 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16892 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 16893 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 16894 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 16895
521877e1
PD
168962018-01-29 Darius Rad <darius@bluespec.com>
16897
16898 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16899
532cf290
PD
169002018-01-29 Palmer Dabbelt <palmer@sifive.com>
16901
16902 * sysdeps/init_array/crti.S (.section .init_array): Add
16903 PREINIT_FUNCTION when defined.
40ca951b 16904 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 16905 * config.h.in: Regenerate.
ba9e25a6
PD
16906 * manual/platform.texi: Add RISC-V documenation for
16907 __riscv_flush_icache.
c776fa11
PD
16908 * sysdeps/riscv/__longjmp.S: New file.
16909 * sysdeps/riscv/backtrace.c: Likewise.
16910 * sysdeps/riscv/bits/endian.h: Likewise.
16911 * sysdeps/riscv/bits/setjmp.h: Likewise.
16912 * sysdeps/riscv/bits/wordsize.h: Likewise.
16913 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16914 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16915 * sysdeps/riscv/dl-trampoline.S: Likewise.
16916 * sysdeps/riscv/gccframe.h: Likewise.
16917 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16918 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16919 * sysdeps/riscv/machine-gmon.h: Likewise.
16920 * sysdeps/riscv/memusage.h: Likewise.
16921 * sysdeps/riscv/setjmp.S: Likewise.
16922 * sysdeps/riscv/sys/asm.h: Likewise.
16923 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
16924 * sysdeps/riscv/dl-tls.h: New file.
16925 * sysdeps/riscv/libc-tls.c: Likewise.
16926 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16927 * sysdeps/riscv/nptl/tls.h: Likewise.
16928 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
16929 * sysdeps/riscv/bits/fenv.h: New file.
16930 * sysdeps/riscv/e_sqrtl.c: Likewise.
16931 * sysdeps/riscv/fpu_control.h: Likewise.
16932 * sysdeps/riscv/math-tests.h: Likewise.
16933 * sysdeps/riscv/nofpu/Implies: Likewise.
16934 * sysdeps/riscv/sfp-machine.h: Likewise.
16935 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
16936 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16937 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16938 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16939 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16940 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16941 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16942 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16943 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16944 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16945 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16946 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16947 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16948 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16949 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16950 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16951 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16952 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16953 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16954 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16955 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16956 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16957 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16958 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16959 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16960 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16961 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16962 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16963 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16964 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16965 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16966 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16967 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16968 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16969 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16970 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16971 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16972 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16973 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16974 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16975 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16976 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16977 * sysdeps/riscv/rvf/math_private.h: Likewise.
16978 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16979 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16980 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16981 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16982 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16983 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16984 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16985 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16986 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16987 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16988 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16989 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16990 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16991 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16992 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16993 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
16994 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16995 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16996 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16997 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
16998 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16999 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17000 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17001 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17002 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17003 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17004 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17005 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17006 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
17007 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17008 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17009 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17010 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17011 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17012 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17013 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17014 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17015 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17016 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17017 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17018 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17019 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17020 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17021 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17022 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17023 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17024 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17025 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17026 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17027 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17028 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
17029 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17030 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17031 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
17032 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17033 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17034 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17035 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17036 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17037 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17038 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17039 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17040 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17041 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17042 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17043 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17044 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17045 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
17046 * sysdeps/riscv/Implies: New file.
17047 * sysdeps/riscv/Makefile: Likewise.
17048 * sysdeps/riscv/configure: Likewise.
17049 * sysdeps/riscv/configure.ac: Likewise.
17050 * sysdeps/riscv/nptl/Makefile: Likewise.
17051 * sysdeps/riscv/preconfigure: Likewise.
17052 * sysdeps/riscv/rv64/Implies-after: Likewise.
17053 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17054 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17055 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17056 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17057 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17058 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17059 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17060 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17061 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17062 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17063 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
17064 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17065 (Config): Likewise.
532cf290 17066
cdd14619
FW
170672018-01-29 Florian Weimer <fweimer@redhat.com>
17068
17069 [BZ #22701]
17070 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17071 libnsl_hidden_proto.
17072 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17073 libnsl_hidden_proto.
17074 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17075 * nis/Makefile (libnsl-routines): Add nss-default only for
17076 build-obsolete-nsl.
17077 * nis/nis_defaults.c (__nis_default_ttl): Add
17078 libnsl_hidden_nolink_def.
17079 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17080 declaration.
17081 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17082 * nis/ypclnt.c (yp_maplist): Likewise.
17083
b7ccb5de
RN
170842018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17085
17086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17087 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17088
522623e4
JM
170892018-01-29 Joseph Myers <joseph@codesourcery.com>
17090
e3aa6999
JM
17091 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17092 clean -dxfq for git updates when replacing sources.
17093
088de7d0
JM
17094 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17095 --disable-libcilkrts unconditionally, not just for the final GCC
17096 build for Hurd.
17097
522623e4
JM
17098 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17099 version to 4.15.
17100
8b406f87
RL
171012018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17102
17103 [BZ #10871]
17104 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17105 case).
17106
105e90bd
RL
171072018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17108
17109 [BZ #10871]
17110 * localedata/locales/be_BY (mon): Rename to...
17111 (alt_mon): This, then synchronize with CLDR (nominative case).
17112 (abmon): Rename to...
17113 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17114 (mon): Import from CLDR (genitive case).
17115 (abmon): Likewise.
17116 * localedata/locales/be_BY@latin (mon): Rename to...
17117 (alt_mon): This.
17118 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17119
17120 * localedata/locales/be_BY@latin (lang_name): Reworded to
17121 "biełaruskaja mova".
17122
561cb414
RL
171232018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17124
17125 [BZ #10871]
17126 * localedata/locales/el_CY (mon): Renamed to...
17127 (alt_mon): This.
17128 (mon): Import from CLDR (genitive case).
17129 * localedata/locales/el_GR: Likewise.
17130
f7bdf30d
RL
171312018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17132
17133 [BZ #10871]
17134 * localedata/locales/ru_RU (mon): Rename to...
17135 (alt_mon): This.
17136 (abmon): Rename to...
17137 (ab_alt_mon): This.
17138 (mon): Import from CLDR (genitive case).
17139 (abmon): Copy from the old content except the 5th month which is
17140 now in the genitive case, even when abbreviated.
17141 * localedata/locales/ru_UA: Likewise.
17142 * time/tst-strptime.c (day_tests): Add an actual example of
17143 a difference between %b and %Ob in Russian.
17144
85285a0c
ST
171452018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17146
17147 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
17148 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17149 a `c' variable.
3538a4b6 17150 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
17151 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17152 <sys/wait.h>, <time.h>, <sys/uio.h>.
17153 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 17154 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
17155 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17156 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17157 return 0.
05ebfe87
ST
17158 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17159 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
17160 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17161 instead of void *.
17162 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17163 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
17164 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17165 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
17166 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17167 and make them the default for now.
903d3633
ST
17168 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17169 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
17170 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17171 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17172 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17173 MACH_IPC_COMPAT.
06fac9f5
ST
17174 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17175 __task_terminate would ever return successfully.
f8177753
ST
17176 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17177 to global scope.
41cdb1eb
ST
17178 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17179 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
17180 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17181 critical section to make code simpler and avoid warning.
17182 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17183 critical section to make code simpler and avoid warning.
844bf921
ST
17184 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17185 const char * instead of char *.
f8bee46c
ST
17186 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17187 __hurd_file_name_split, hurd_file_name_split,
17188 __hurd_directory_name_split, hurd_directory_name_split,
17189 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17190 hurd_file_name_path_lookup): Make lookup function parameter take a
17191 const char *name instead of char *name.
17192 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17193 __hurd_directory_name_split): Likewise.
17194 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17195 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
17196 * sysdeps/mach/hurd/check_native.c: New file.
17197 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
17198 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17199 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
17200 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17201 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
17202 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17203 (do_test_bz20181): Rename accordingly.
17204 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
17205 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17206 <sys/mount.h>.
28f6186f
ST
17207 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17208 version only if __USE_EXTERN_INLINES is defined.
17209 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17210 __hurd_sockfail): Likewise.
17211 (_hurd_fd_get): Always declare functions, and provide inline versions
17212 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17213 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17214 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17215 _hurd_port_set): Always declare functions, and provide inline versions
17216 only if __USE_EXTERN_INLINES and _LIBC are defined and
17217 IS_IN(libc).
17218 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17219 _hurd_critical_section_unlock): Likewise.
17220 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17221 * __hurd_threadvar_location): Likewise.
17222 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17223 _hurd_userlink_clear): Likewise.
17224 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17225 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17226 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17227 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17228 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17229 __spin_lock_locked): Likewise.
17230 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17231 __spin_lock_locked): Likewise.
17232 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17233 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17234 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17235 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17236 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
17237 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17238 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
17239 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17240 check size against PTHREAD_STACK_MIN.
625ba81e
ST
17241 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17242 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
17243 * mach/Makefile (user-interfaces): Add mach/gnumach.
17244 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17245 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
17246 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17247 instead of invalid -1.
1f89ac71
ST
17248 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17249 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17250 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17251 <net/ppp_defs.h>.
85285a0c 17252
1fd1e27c 172532018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
17254
17255 * hurd/fcntl-internal.h: New file.
17256
3854c5a8
JC
172572018-01-27 James Clarke <jrtc27@jrtc27.com>
17258
7e23a7dd
JC
17259 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17260
3854c5a8
JC
17261 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17262
5503f413
AS
172632018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17264
17265 [BZ #22701]
17266 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17267 Build only shared objects.
17268
caaf7804
CD
172692018-01-26 Carlos O'Donell <carlos@redhat.com>
17270
17271 * README: Update for hppa.
17272
1cbf818d
PM
172732018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17274
caaf7804
CD
17275 * sysdeps/sparc/fpu/libm-test-ulps: Update
17276 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 17277
caaf7804 172782018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
17279
17280 Revert:
17281
17282 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17283
17284 [BZ #22563]
17285 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17286 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17287 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17288 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17289 to feature_1.
17290
17291 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17292
17293 [BZ #22563]
17294 * bits/types/__cancel_jmp_buf_tag.h: New file.
17295 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17296 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17297 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17298 * nptl/Makefile (headers): Add
17299 bits/types/__cancel_jmp_buf_tag.h.
17300 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17301 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17302 * sysdeps/nptl/pthread.h: Include
17303 <bits/types/__cancel_jmp_buf_tag.h>.
17304 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17305 __cancel_jmp_buf.
17306 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17307
65f6c94e
RL
173082018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17309
17310 [BZ #10871]
17311 * localedata/locales/uk_UA (mon): Renamed to...
17312 (alt_mon): This.
17313 (alt_digits): "0" removed and then renamed to...
17314 (mon): This.
17315 (date_fmt): Definition changed not to use the alternative
17316 digits hack.
17317
fb58aac5
PD
173182018-01-25 Palmer Dabbelt <palmer@sifive.com>
17319
17320 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17321 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17322 * elf/elf.h (EF_RISCV_RVC): New define.
17323 (EF_RISCV_FLOAT_ABI): Likewise.
17324 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17325 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17326 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17327 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17328 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17329 define.
17330 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17331
128c43a2
AS
173322018-01-25 Andreas Schwab <schwab@suse.de>
17333
17334 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17335 single quotes.
17336 * sysdeps/gnu/configure: Regenerate.
17337 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17338 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17340 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17341 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17342 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17343 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17344 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17345
f9015003
ST
173462018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17347
48130690 17348 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 17349 URL, and run autoconf, make it the default for now.
f9015003 17350
91b2cffa
JM
173512018-01-24 Joseph Myers <joseph@codesourcery.com>
17352
3005b705
JM
17353 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17354 soft-float ColdFire configuration.
17355
69231fab
JM
17356 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17357 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17358 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17359
d4c7e1d0
JM
17360 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17361 MicroBlaze file.
17362
0cfe5be5
JM
17363 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17364 ....
17365 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17366 ... here.
17367 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17368 New file.
17369
91b2cffa
JM
17370 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17371 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17372 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17373 file.
17374
c739e191
SN
173752018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17376
17377 [BZ #22742]
17378 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17379 Rename to __reserved and add comment.
17380 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17381 Rename to __reserved.
17382
394b5bac
JM
173832018-01-24 Joseph Myers <joseph@codesourcery.com>
17384
17385 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17386 i686-gnu configurations.
17387 (Context.run_builds): Include mig, gnumach and hurd in components
17388 considered.
17389 (Context.checkout): Add mig, gnumach and hurd to components.
17390 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17391 hurd.
17392 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17393 (Config.build): Install gnumach headers, build mig and install
17394 hurd headers for 'gnu' OS.
17395 (Config.install_gnumach_headers): New function.
17396 (Config.install_hurd_headers): Likewise.
17397 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17398 when building for 'gnu' OS.
17399
28c3f14f
TK
174002018-01-23 Tobias Klauser <tklauser@distanz.ch>
17401
17402 * manual/tunables.texi (Hardware Capability Tunables): Fix
17403 spelling.
17404
0f5e2da1
RJ
174052018-01-22 Rical Jasan <ricaljasan@pacific.net>
17406
17407 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17408 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17409 (ALTMON_11, ALTMON_12): Improve documentation.
17410 * manual/time.texi (strftime): Likewise.
17411
7817b14a
RL
174122018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17413
17414 [BZ #10871]
17415 * localedata/locales/pl_PL: Alternative month names added,
17416 primary month names are genitive now.
17417 * time/tst-strptime.c (day_tests): Actually use a genitive case
17418 of a month name in Polish language.
17419
22390764
RL
174202018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17421
17422 [BZ #10871]
17423 * manual/locale.texi: Document ALTMON_1..12 constants for
17424 nl_langinfo. Specify when to use ALTMON instead of MON.
17425 * manual/time.texi (strftime, strptime): Document GNU extension
17426 permitting O modifier with %B and %b. Specify when to use
17427 %OB instead of %B.
17428
761a585c
RL
174292018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17430
17431 [BZ #10871]
17432 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17433 names, define them as the same as abbreviated month names explicitly.
17434 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17435 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17436 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17437 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17438 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17439 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17440 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17441 _NL_WABALTMON_12): New enum constants.
17442 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17443 wab_alt_mon, and ab_alt_mon_defined members.
17444 (time_output): Output ab_alt_mon and wab_alt_mon members.
17445 (time_read): Read them, initialize them as copies of abmon and wabmon
17446 respectively if they are missing, initialize ab_alt_mon_defined.
17447 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17448 * locale/programs/locfile-kw.h: Regenerate.
17449 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17450 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17451 and ru_RU.UTF-8.
17452 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17453 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17454 (__strftime_internal): Handle %Ob and %Oh formats.
17455 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17456 (__strptime_internal): Handle %Ob and %Oh formats.
17457 * time/tst-strptime.c (day_tests): Add more tests to parse different
17458 forms of month names including the new %Ob format specifier.
17459
95cb863a
RL
174602018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17461
17462 [BZ #10871]
17463 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17464 define them as the same as primary full month names explicitly.
17465 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17466 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17467 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17468 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17469 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17470 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17471 _NL_WALTMON_12): New enum constants.
17472 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17473 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17474 macros.
17475 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17476 walt_mon, and alt_mon_defined members.
17477 (time_output): Output alt_mon and walt_mon members.
17478 (time_read): Read them, initialize them as copies of mon and wmon
17479 respectively if they are missing, initialize alt_mon_defined.
17480 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17481 * locale/programs/locfile-kw.h: Regenerate.
17482 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17483 * localedata/tst-langinfo.c (map): Add tests for the new constants
17484 ALTMON_1 .. ALTMON_12.
17485 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17486 and pl_PL.UTF-8.
17487 * time/strftime_l.c (f_altmonth): New macro.
17488 (__strftime_internal): Handle %OB format.
17489 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17490 (__strptime_internal): Handle %OB format.
17491 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17492 of month names including the new %OB format specifier.
17493
4612268a
TMQMF
174942018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17495
17496 [BZ #22685]
17497 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17498 from ABORT_TRANSACTION.
17499 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17500 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17501 ABORT_TRANSACTION_IMPL): Likewise.
17502 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17503 Linux code, but remove the code that aborts transactions.
17504
64f63cb4
ST
175052018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17506
17507 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17508
32ac6e92
RL
175092018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17510
17511 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17512 in date: "2004-14-09" should be "2004-09-14".
17513 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17514 "2003-15-09" should be "2003-09-15".
17515
8e448310
AS
175162018-01-18 Arjun Shankar <arjun@redhat.com>
17517
17518 [BZ #22343]
71aa429b 17519 [BZ #22774]
4590634f 17520 CVE-2018-6485
71aa429b 17521 CVE-2018-6551
8e448310
AS
17522 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17523 after padding.
17524 (_int_memalign): check for integer overflow before calling
17525 _int_malloc.
17526 * malloc/tst-malloc-too-large.c: New test.
17527 * malloc/Makefile: Add tst-malloc-too-large.
17528
e234d7cb
RL
175292018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17530
17531 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17532 in date: "2017-24-07" should be "2017-07-24".
17533 * localedata/locales/mai_IN: Likewise.
17534 * localedata/locales/mai_NP: Likewise.
17535
48b66019
DL
175362018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17537
17538 * po/ru.po: Update translations.
17539
1eeddc58
JM
175402018-01-17 Joseph Myers <joseph@codesourcery.com>
17541
17542 [BZ #22719]
17543 * sysdeps/hppa/backtrace.c: New file.
17544
207a72e2
L
175452018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17546
17547 [BZ #22715]
17548 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17549 align La_x86_64_retval to VEC_SIZE.
17550
4942c4ea
JM
175512018-01-16 Joseph Myers <joseph@codesourcery.com>
17552
17553 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17554 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17555
10d200db
FW
175562018-01-16 Florian Weimer <fweimer@redhat.com>
17557
17558 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17559 Move tst-thread-exit-clobber ...
17560 [$(CXX)] (tests-unsupported): ... to here.
17561
953c49cc
SN
175622018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17563
17564 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17565 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17566 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17567 (_dl_aarch64_cap_flags): Update.
17568 (_DL_HWCAP_COUNT): Update.
17569
afce1991
SN
175702018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17571
17572 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17573 (_DL_HWCAP_LAST): Remove.
17574 (_DL_HWCAP_COUNT): Move to ...
17575 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17576 (_DL_HWCAP_COUNT): ... here.
17577
b725132d
FW
175782018-01-16 Florian Weimer <fweimer@redhat.com>
17579
17580 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17581 mode with GNU extensions.
17582
c9e613a7
AH
175832018-01-15 Alan Hayward <alan.hayward@arm.com>
17584
17585 * elf/elf.h (NT_ARM_SVE): Define.
17586
860b0240
FW
175872018-01-15 Florian Weimer <fweimer@redhat.com>
17588
17589 [BZ #22636]
17590 * nptl/tst-minstack-throw.cc: New file.
17591 * nptl/Makefile (tests): Add tst-minstack-throw.
17592 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17593 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17594
16d0f6ac
JM
175952018-01-15 Joseph Myers <joseph@codesourcery.com>
17596
17597 * scripts/build-many-glibcs.py (Context.checkout): Default
17598 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17599 version to 1.1.0.
17600
505d3910
CD
176012018-01-13 Carlos O'Donell <carlos@redhat.com>
17602
17603 [BZ #22707]
17604 * elf/elf.h (DF_1_STUB): Define.
17605 (DF_1_PIE): Define.
17606
af1e6be4
TMQMF
176072018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17608
17609 [BZ #22697]
17610 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17611 Do not add 0.5 to integer or out-of-range arguments.
17612
98d13ce0
DL
176132018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17614
17615 * po/bg.po: Update translations.
17616 * po/cs.po: Likewise.
17617 * po/de.po: Likewise.
17618 * po/ko.po: Likewise.
17619 * po/pl.po: Likewise.
17620 * po/sv.po: Likewise.
17621 * po/uk.po: Likewise.
17622 * po/vi.po: Likewise.
17623
3d1d7928
SN
176242018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17625
17626 * aarch64/start.S (_start): Use __wrap_main.
17627 (__wrap_main): New local symbol.
17628
52a713fd
DL
176292018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17630
17631 [BZ #22679]
17632 CVE-2018-1000001
17633 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17634 generic_getcwd if the path returned by getcwd syscall is not absolute.
17635 * io/tst-getcwd-abspath.c: New test.
17636 * io/Makefile (tests): Add tst-getcwd-abspath.
17637
249a5895
IK
176382018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17639
17640 * malloc/malloc.c (malloc_consolidate): Add size check.
17641
1a51e46e
FW
176422018-01-12 Florian Weimer <fweimer@redhat.com>
17643
17644 * support/write_message.c (write_message): Preserve errno.
17645 * support/check.c (print_failure): Likewise.
17646 * support/support_test_verify_impl.c (support_test_verify_impl):
17647 Likewise.
17648 * support/support_test_compare_failure.c
17649 (support_test_compare_failure): Likewise.
17650
9a08a366
FW
176512018-01-12 Florian Weimer <fweimer@redhat.com>
17652
17653 [BZ #22701]
17654 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17655 Prevent installation of libnsl.so.
17656 (libnsl-inhibit-o): Do not build (or install) static libraries.
17657
80647883 176582018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
17659
17660 [BZ #22657]
17661 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17662 before the day number which may produce a double space.
17663 (date_fmt): Likewise.
17664
c8924f1f
JM
176652018-01-12 Joseph Myers <joseph@codesourcery.com>
17666
17667 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17668 instead of fegetenv.
17669
da09e6fa
JM
176702018-01-11 Joseph Myers <joseph@codesourcery.com>
17671
17672 [BZ #22702]
17673 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17674 comment to say exceptions are discarded.
17675 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17676 __fegetenv.
17677 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17678 be enabled.
17679
08c6e952
FW
176802018-01-11 Florian Weimer <fweimer@redhat.com>
17681
17682 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17683 and error message.
17684
d8b77890
FW
176852018-01-11 Florian Weimer <fweimer@redhat.com>
17686
17687 [BZ #22636]
17688 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17689 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17690
b303185d
JM
176912018-01-10 Joseph Myers <joseph@codesourcery.com>
17692
17693 [BZ #22693]
17694 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17695 negative arguments in test for NaN or infinity argument.
17696
ee61d028
DL
176972018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17698
17699 * po/libc.pot: Regenerate.
17700
f993b875
FW
177012018-01-10 Florian Weimer <fweimer@redhat.com>
17702
17703 [BZ #22636]
17704 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17705 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17706
09085ede
ST
177072018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17708
17709 * hurd/hurd/fd.h: Include <fcntl.h>
17710 (__hurd_at_flags): New function.
17711 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17712 with call to __hurd_at_flags.
17713 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17714 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17715 __faccessat
17716 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17717 (__access_noerrno): Use __faccessat_common instead of access_common.
17718 (__access): Likewise.
17719 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17720 with a call to __faccessat.
17721 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17722 (__faccessat_common): ... this. Move implementation of __access into it when
17723 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17724 reauthenticate_cwdir_at helper to implement AT mechanism.
17725 (__faccessat_noerrno): New function, just calls __faccessat_common.
17726 (__faccessat): New function, just calls __faccessat_common.
17727 (faccessat): Define weak alias.
17728
12727488
JM
177292018-01-10 Joseph Myers <joseph@codesourcery.com>
17730
87faac55
JM
17731 [BZ #22691]
17732 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17733 (CFLAGS-s_fmaxmagl.c): New variable.
17734 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17735
12727488
JM
17736 [BZ #22690]
17737 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17738 long int for arguments of possibly overflowing addition or
17739 subtraction.
17740 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17741
e134ca17
JM
177422018-01-09 Joseph Myers <joseph@codesourcery.com>
17743
b2584ac2
JM
17744 [BZ #22688]
17745 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17746 (CFLAGS-e_remainderl.c): New variable.
17747
e134ca17
JM
17748 [BZ #22687]
17749 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17750 variable.
17751 (CFLAGS-s_cacoshl.c): Likewise.
17752 (CFLAGS-s_casinhl.c): Likewise.
17753 (CFLAGS-s_catanl.c): Likewise.
17754 (CFLAGS-s_catanhl.c): Likewise.
17755 (CFLAGS-s_cexpl.c): Likewise.
17756 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17757 (CFLAGS-s_csinhl.c): Likewise.
17758 (CFLAGS-s_clogl.c): Likewise.
17759 (CFLAGS-s_clog10l.c): Likewise.
17760 (CFLAGS-s_csinl.c): Likewise.
17761 (CFLAGS-s_csqrtl.c): Likewise.
17762
d31a4a48
ST
177632017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
177642017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
17765
17766 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17767 (_hurd_exec_paths): New function.
17768 * hurd/hurd.h (_hurd_exec): Deprecate function.
17769 (_hurd_exec_paths): Declare function.
17770 * hurd/Versions: Export _hurd_exec_paths.
17771 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17772 (__execve): Use __getcwd to build absolute path, and use
17773 _hurd_exec_paths instead of _hurd_exec.
17774 * sysdeps/mach/hurd/spawni.c: Likewise.
17775 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17776 _hurd_exec.
17777
d7ff3f11
DL
177782018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17779
17780 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17781 test instead of failing in case of ENOENT returned by posix_openpt.
17782
401311cf
FW
177832018-01-08 Florian Weimer <fweimer@redhat.com>
17784
17785 resolv: Support binary labels in test framework.
17786 * support/resolv_test.c (struct to_be_freed): Remove.
17787 (struct compressed_name): New.
17788 (allocate_compressed_name, ascii_tolower)
17789 (compare_compressed_name): New functions.
17790 (struct resolv_response_builder): Update type of
17791 compression_offsets for use with tsearch. Rempve to_be_freed.
17792 (response_push_pointer_to_free): Remove function.
17793 (resolv_response_add_name): Rewrite using struct compressed_name
17794 and tsearch instead of hsearch_r.
17795 (response_builder_allocate): Remove initialization of
17796 compression_offsets.
17797 (response_builder_free): Update for removal of to_be_freed. Use
17798 tdestroy instead of hdestroy_r.
17799 * resolv/Makefile (tests): Add tst-resolv-binary.
17800 (tst-resolv-binary): Link with -lresolv -lpthread.
17801
2b3aa446
FW
178022018-01-08 Florian Weimer <fweimer@redhat.com>
17803
17804 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17805 time. Pass positive flag instead of negative flag to
17806 support_test_compare_failure.
17807 (support_test_compare_failure): Change negative parameter to
17808 positive.
17809 * support/support_test_compare_failure.c (report)
17810 (support_test_compare_failure): Likewise.
17811 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17812 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17813
630f4cc3
SN
178142018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17815
17816 [BZ #22637]
17817 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17818 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17819 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17820 stacksize.
17821 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17822
c70e4e9c
L
178232018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17824
17825 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17826 Add s_sincosf-sse2 and s_sincosf-fma.
17827 (CFLAGS-s_sincosf-fma.c): New.
17828 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17829 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17830 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17831 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17832 __sincosf is defined.
17833
579396ee
FW
178342018-01-08 Florian Weimer <fweimer@redhat.com>
17835
17836 * nptl/tst-thread-exit-clobber.cc: New file.
17837 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17838 C++11 mode.
17839 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17840 (tests): Add tst-thread-exit-clobber.
17841 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17842
dabd75b6
FW
178432018-01-08 Florian Weimer <fweimer@redhat.com>
17844
17845 * support/check.h (support_static_assert): Define.
17846 (TEST_COMPARE): Use it.
17847
c2e014cc
AJ
178482018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17849
17850 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17851 [!__RLIM_T_MATCHES_RLIM64_T]
17852 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17853 __getrlimit64. Add libc_hidden_weak.
17854
31a98837
PD
178552018-01-06 Palmer Dabbelt <palmer@sifive.com>
17856
17857 * elf/elf.h (R_RISCV_NONE): New define.
17858 (R_RISCV_32): Likewise.
17859 (R_RISCV_64): Likewise.
17860 (R_RISCV_RELATIVE): Likewise.
17861 (R_RISCV_COPY): Likewise.
17862 (R_RISCV_JUMP_SLOT): Likewise.
17863 (R_RISCV_TLS_DTPMOD32): Likewise.
17864 (R_RISCV_TLS_DTPMOD64): Likewise.
17865 (R_RISCV_TLS_DTPREL32): Likewise.
17866 (R_RISCV_TLS_DTPREL64): Likewise.
17867 (R_RISCV_TLS_TPREL32): Likewise.
17868 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
17869 * Makerules (make-link-multidir): Make directories before linking into
17870 them.
150bbac1
PD
17871 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17872 define.
17873 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
17874 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17875 in subdirectories of lib.
8e13c51b
PD
17876 * nptl/Makefile (/librt.so): Always depend on
17877 "$(shared-thread-library)".
31a98837 17878
fad7d57e
ST
178792018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17880
17881 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
17882 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17883 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17884 (___tls_get_addr).
17885 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
17886 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17887 "-O2 -march=i686".
01c7e549 17888 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
17889 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17890 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17891 * sysdeps/gnu/glob-lstat-compat.c: New file.
17892 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 17893 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 17894
3a32b716
TMQMF
178952018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17896
17897 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17898 Reserve 16 chars to reloc_addr before calling _itoa_word.
17899
24731685
AJ
179002018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17901
17902 [BZ #22678]
17903 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17904 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17905
19be56d8
AJ
17906 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17907 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17908
a6d0afb5
AJ
17909 * resource/tst-getrlimit.c: Add copyright header.
17910
8e900969
AJ
179112018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17912 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17913
17914 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17915 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17916 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17917 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17918 instead.
17919 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17920 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17921 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17922 RLIM64_INFINITY): Fix values to match the kernel ones.
17923 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17924 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17925 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17926 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17927 getrlimit64@@GLIBC_2_27.
17928 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17929 and setrlimit64.
17930 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17931 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17932 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17933 setrlimit, getrlimit64 and setrlimit64.
17934
0d0bc784
AJ
179352018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17936
17937 [BZ #22648]
17938 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17939 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17940
ba374b6d
JM
179412018-01-04 Joseph Myers <joseph@codesourcery.com>
17942
17943 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17944 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17945 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17946
4854ddd8
AZ
179472018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17948
b0a4eca2
AZ
17949 [BZ #15479]
17950 [BZ #22666]
17951 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17952 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17953
4854ddd8
AZ
17954 [BZ #15479]
17955 [BZ #22665]
17956 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17957 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17958 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17959 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17960
8a5df95f
FW
179612018-01-04 Florian Weimer <fweimer@redhat.com>
17962
17963 [BZ #22667]
17964 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17965 Align the stack before calling exit.
17966 * stdlib/tst-makecontext-align.c: New file.
17967 * stdlib/Makefile (tests): Add tst-makecontext-align.
17968
82eef55f
FW
179692018-01-04 Florian Weimer <fweimer@redhat.com>
17970
17971 Add support for calling dlvsym from libc.so.
17972 * include/dlfcn.h (__libc_dlvsym): Declare.
17973 * elf/Makefile (tests-static-internal): Add
17974 tst-libc_dlvsym-static.
17975 (tests-internal): Add tst-libc_dlvsym.
17976 (modules-names): Add tst-libc_dlvsym-dso.
17977 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17978 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17979 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17980 object tst-libc_dlvsym-dso.so needs to be built before running
17981 these tests.
17982 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17983 * elf/Versions: Export __libc_dlvsym.
17984 * elf/dl-libc.c (struct do_dlvsym_args): New.
17985 (do_dlvsym, __libc_dlvsym): New functions.
17986 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17987 (_dl_open_hook2): New variable.
17988 (__libc_register_dl_open_hook): Set it.
17989 * elf/tst-libc_dlvsym-dso.c: New file.
17990 * elf/tst-libc_dlvsym-static.c: Likewise.
17991 * elf/tst-libc_dlvsym.c: Likewise.
17992 * elf/tst-libc_dlvsym.h: Likewise.
17993
1714fc06
ST
179942018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17995
17996 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17997 include <sys/mount.h>.
17998
3c7d0312
WD
179992018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18000
18001 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18002 Add __NO_MATH_ERRNO__ check.
18003
7eff0954
JM
180042018-01-02 Joseph Myers <joseph@codesourcery.com>
18005
18006 * sysdeps/mips/mips32/libm-test-ulps: Update.
18007 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18008
77f49956
FW
180092018-01-02 Florian Weimer <fweimer@redhat.com>
18010
18011 * misc/tst-pselect.c: Add copyright header.
18012
363e4519 180132018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
18014
18015 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18016 comment.
18017 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18018 comment.
18019 (settrlimit): Rename into setrlimit.
18020 (__sttrlimit): Rename into __setrlimit.
18021
3e4226ff
AJ
18022 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18023 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18024 never defined in that case.
18025
b9256ab6
JM
180262018-01-02 Joseph Myers <joseph@codesourcery.com>
18027
28fd6a44
JM
18028 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18029
a4933a15
JM
18030 * sysdeps/arm/libm-test-ulps: Update.
18031
b9256ab6
JM
18032 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18033 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18034
4cf82d23
RS
180352018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18036
18037 * NEWS: Add cosf and sincosf to list of optimized functions.
18038
6a9dd7a7
AJ
180392018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18040
18041 [BZ #22660]
18042 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18043 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18044 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18045 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18046
dbba87d5
DL
180472018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18048
b05cb613
DL
18049 [BZ #22433]
18050 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18051
dbba87d5
DL
18052 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18053 making a copy of it.
18054
688903eb
JM
180552018-01-01 Joseph Myers <joseph@codesourcery.com>
18056
66ac23de
JM
18057 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18058 trailing whitespace removed.
18059 * scripts/config.guess: Update to version 2018-01-01.
18060 * scripts/config.sub: Update to version 2018-01-01.
18061 * scripts/move-if-change: Update from gnulib.
18062
09533208
JM
18063 * NEWS: Update copyright dates.
18064 * catgets/gencat.c (print_version): Likewise.
18065 * csu/version.c (banner): Likewise.
18066 * debug/catchsegv.sh: Likewise.
18067 * debug/pcprofiledump.c (print_version): Likewise.
18068 * debug/xtrace.sh (do_version): Likewise.
18069 * elf/ldconfig.c (print_version): Likewise.
18070 * elf/ldd.bash.in: Likewise.
18071 * elf/pldd.c (print_version): Likewise.
18072 * elf/sotruss.sh: Likewise.
18073 * elf/sprof.c (print_version): Likewise.
18074 * iconv/iconv_prog.c (print_version): Likewise.
18075 * iconv/iconvconfig.c (print_version): Likewise.
18076 * locale/programs/locale.c (print_version): Likewise.
18077 * locale/programs/localedef.c (print_version): Likewise.
18078 * login/programs/pt_chown.c (print_version): Likewise.
18079 * malloc/memusage.sh (do_version): Likewise.
18080 * malloc/memusagestat.c (print_version): Likewise.
18081 * malloc/mtrace.pl: Likewise.
18082 * manual/libc.texinfo: Likewise.
18083 * nptl/version.c (banner): Likewise.
18084 * nscd/nscd.c (print_version): Likewise.
18085 * nss/getent.c (print_version): Likewise.
18086 * nss/makedb.c (print_version): Likewise.
18087 * posix/getconf.c (main): Likewise.
18088 * scripts/test-installation.pl: Likewise.
18089 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18090
688903eb
JM
18091 * All files with FSF copyright notices: Update copyright dates
18092 using scripts/update-copyrights.
18093 * locale/programs/charmap-kw.h: Regenerated.
18094 * locale/programs/locfile-kw.h: Likewise.
18095
4f820792
ZW
180962017-12-31 Zack Weinberg <zackw@panix.com>
18097
18098 * libio/bits/libio-ldbl.h: Correct check for improper
18099 inclusion. Add own multiple include guard.
18100
3e3c904d
AJ
181012017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18102 Dmitry V. Levin <ldv@altlinux.org>
18103
18104 [BZ #22625]
31f96325 18105 CVE-2017-16997
3e3c904d
AJ
18106 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18107 string token expansion. Check for NULL pointer or empty string possibly
18108 returned by expand_dynamic_string_token.
18109 (decompose_rpath): Check for empty path after dynamic string
18110 token expansion.
18111
7e21972b
DL
181122017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18113
c48831d0
DL
18114 [BZ #22433]
18115 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18116
ac583f50
DL
18117 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18118 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18119 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18120 and PTRACE_SYSCALL.
18121 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18122 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18123 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18124 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18125 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18126 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18127
7e21972b
DL
18128 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18129 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18130 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18131 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18133 bits/ptrace-shared.h.
18134 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18135 <bits/ptrace-shared.h>.
18136 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18137 __ptrace_peeksiginfo_flags, ptrace): Remove.
18138 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18139 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18140 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18142 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18143
72f29e3a
AJ
181442017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18145
18146 [BZ #17804]
18147 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18148 end of the loop. Improve comments.
18149
54e4efc2
AJ
181502017-12-29 Zack Weinberg <zackw@panix.com>
18151
18152 [BZ #22615]
18153 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18154 might be set on success.
18155
f8aa69be
AJ
181562017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18157
18158 [BZ #22611]
18159 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18160 is unchanged on success.
18161
97f13188
DL
181622017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18163
2bd86632
DL
18164 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18165 updated.
18166 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18167 expand_dynamic_string_token): Likewise.
18168 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18169 is_path argument.
18170
1c36e1e6
DL
18171 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18172 contains ':'.
18173
97f13188
DL
18174 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18175 is set and name contains ':', and all code depending on these checks.
18176
48a8f832
ZW
181772017-12-24 Zack Weinberg <zackw@panix.com>
18178
18179 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18180 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18181 respectively.
18182 * libio/libio.h: Rename the original version of this file to
18183 libio/bits/libio.h. Error out if not included by stdio.h or the
18184 stub libio.h.
18185 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18186 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18187 if not included by bits/libio.h or the stub _G_config.h.
18188 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18189 sysdeps/unix/sysv/linux/bits. Error out if not included by
18190 bits/libio.h or the stub _G_config.h.
18191 * libio/stdio.h: Include bits/libio.h, not libio.h.
18192 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18193 well as libio.h and _G_config.h.
18194
18195 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18196 * libio/strfile.h, stdio-common/vfscanf.c
18197 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18198 Include stdio.h, not _G_config.h nor libio.h.
18199 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18200 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18201
18202 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18203
a47ad79a
DL
182042017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18205
18206 [BZ #22347]
18207 * stdlib/getrandom.c (getrandom): Fix comment.
18208 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18209
363e4519 182102017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 18211
f5c558f3
AJ
18212 [BZ #21161]
18213 * manual/arith.texi (strtoul): Fix a typo.
18214
e65a5644
AJ
18215 [BZ #22596]
18216 * manual/arith.texi (finite): Fix the description of the return
18217 value.
18218
ed8ae46b
EB
182192017-12-22 Eric Blake <ebb9@byu.net>
18220
18221 Avoid gcc warnings on cygwin
18222 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18223 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18224 Avoid unused variable.
18225
bad7a0c8
FW
182262017-12-22 Florian Weimer <fweimer@redhat.com>
18227
18228 * io/Makefile (routines): Add copy_file_range.
18229 (tests): Add tst-copy_file_range.
18230 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18231 * io/Versions (GLIBC_2.27): Export copy_file_range.
18232 * io/copy_file_range-compat.c: New file.
18233 * io/copy_file_range.c: Likewise.
18234 * io/tst-copy_file_range-compat.c: Likewise.
18235 * io/tst-copy_file_range.c: Likewise.
18236 * manual/llio.texi (Copying File Data): New section.
18237 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18238 * support/Makefile (libsupport-routines): Add support-xfstat,
18239 xftruncate, xlseek.
18240 * support/support-xfstat.c: New file.
18241 * support/xftruncate.c: Likewise.
18242 * support/xlseek.c: Likewise.
18243 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18244 * sysdeps/unix/sysv/linux/**.abilist: Update.
18245 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18246
6cb86fd2
SN
182472017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18248
18249 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18250 disable-multi-arch variant to aarch64-linux-gnu.
18251
41d11b15
JM
182522017-12-20 Joseph Myers <joseph@codesourcery.com>
18253
18254 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18255 trailing whitespace removed.
18256 * scripts/config.guess: Update to version 2017-12-17.
18257 * scripts/config.sub: Update to version 2017-11-23.
18258 * scripts/install-sh: Update to version 2017-09-23.17.
18259 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18260
4735850f
AZ
182612017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18262
8d2d239c
AZ
18263 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18264 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18265 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18266 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18267 * sysdeps/tile/crtn.S: Likewise.
18268 * sysdeps/tile/dl-start.S (_start): Likewise.
18269 * sysdeps/tile/dl-trampoline.S: Likewise.
18270 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18271 * sysdeps/tile/start.S (_start): Likewise.
18272 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18273 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18274 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18275 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18276 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18277 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18278 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18279
24d1d8ec
AZ
18280 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18281 comment.
18282 * sysdeps/tile/preconfigure: Remove tilegx folder.
18283 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18284 * sysdeps/tile/Implies: ... here.
18285 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18286 * sysdeps/tile/Makefile: ... here.
18287 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18288 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18289 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18290 * sysdeps/tile/bits/wordsize.h: ... here.
18291 * sysdeps/tile/tilegx/*: Move to ...
18292 * sysdeps/tile/*: ... here.
18293 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18294 * sysdeps/tile/tilegx32/Implies: ... here.
18295 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18296 * sysdeps/tile/tilegx64/Implies: ... here.
18297 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18298 to ...
18299 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18300 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18301 * sysdeps/unix/sysv/linux/tile/*: ... here.
18302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18303 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18305 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18306
ed95f611
AZ
18307 * README: Remove tilepro-*-linux-gnu from supported architecture.
18308 * scripts/build-many-glibcs.py: Likewise.
18309 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18310 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18311 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18312 elf_machine_matches_host, elf_machine_dynamic,
18313 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18314 howto, elf_machine_rela): Likewise.
18315 * sysdeps/tile/dl-start.S (_start): Likewise.
18316 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18317 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18318 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18319 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18320 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18321 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18322 Likewise.
18323 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18324 * sysdeps/tile/preconfigure: Likewise.
18325 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18326 POINTER_CHK_GUARD): Likewise.
18327 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18328 * sysdeps/tile/start.S (_start): Likewise.
18329 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18330 Likewise.
18331 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18332 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18333 CMOVNEZ): Remove.
18334 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18335 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18336 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18337 Likewise.
18338 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18339 * sysdeps/tile/tilepro/Implies: Remove file.
18340 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18341 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18342 * sysdeps/tile/tilepro/memchr.c: Likewise.
18343 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18344 * sysdeps/tile/tilepro/memset.c: Likewise.
18345 * sysdeps/tile/tilepro/memusage.h: Likewise.
18346 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18347 * sysdeps/tile/tilepro/strchr.c: Likewise.
18348 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18349 * sysdeps/tile/tilepro/strlen.c: Likewise.
18350 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18351 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18352 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18353 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18354 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18355 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18356 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18357 Likewise.
18358 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18359 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18360 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18361 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18362 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18363 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18364 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18370 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18371 tilepro mention in comment.
18372
4735850f
AZ
18373 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18374 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18375 * nptl/pthread_join_common.c: New file: common function used on
18376 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18377 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18378 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18379 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18380 (cleanup): Move definition to pthread_join_common.c.
18381 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18382 Remove superflous checks.
18383 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18384 Likewise.
18385
8bfb461e
SN
183862017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18387
18388 * sysdeps/aarch64/libm-test-ulps: Update.
18389
4e001969
AZ
183902017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18391
18392 * sysdeps/aarch64/memset.S (MEMSET): Define.
18393
8a26ad2a
FW
183942017-12-20 Florian Weimer <fweimer@redhat.com>
18395
18396 [BZ #22635]
18397 nptl: Provide full implementation of pthread_self in libc.so.
18398 * nptl/Makefile (routines): Add pthread_self.
18399 (libpthread-routines): Replace pthread_self with
18400 compat-pthread_self.
18401 * nptl/forward.c (pthread_self): Remove.
18402 * nptl/nptl-init.c (pthread_functions): Do not initialize
18403 ptr_pthread_self.
18404 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18405 * nptl/compat-pthread_self.c: New file.
18406 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18407 Remove ptr_pthread_self.
18408
5069ff32
AR
184092017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18410
18411 * posix/regcomp.c: Fix spelling in comments.
18412 * posix/regex.h: Likewise.
18413 * posix/regex_internal.c: Likewise.
18414 * posix/regexec.c: Likewise.
18415
c85e54ac
GG
184162017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18417
18418 [BZ #22377]
18419 * math/Makefile [C++] (tests): Add test for iseqsig.
18420 * math/math.h [C++] (iseqsig): New implementation, which does
18421 not rely on __MATH_TG/__builtin_types_compatible_p.
18422 * math/test-math-iseqsig.cc: New file.
18423 * sysdeps/powerpc/powerpc64le/Makefile
18424 (CFLAGS-test-math-iseqsig.cc): New variable.
18425
10e93d96
DL
184262017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18427
18428 * elf/dl-load.c (is_trusted_path): Remove.
18429 (fillin_rpath): Remove check_trusted argument and its use,
18430 all callers changed.
18431
ce16eb52
L
184322017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18433
18434 [BZ #22630]
18435 * Makeconfig (link-pie-before-libc): Replace -pie with
18436 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18437 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18438 (tst-dlopen-aout-no-pie): New.
18439 (LDFLAGS-tst-prelink): Removed.
18440 (tst-prelink-no-pie): New.
18441 (LDFLAGS-tst-main1): Removed.
18442 (tst-main1-no-pie): New.
18443 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18444 (tst-gmon-no-pie): New.
18445
126adc89
L
184462017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18447
18448 * manual/install.texi: Document that --enable-static-pie
18449 implies PIE.
18450 * INSTALL: Regenerated.
18451
648615e1
BE
184522017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18453
18454 [BZ #21309]
18455 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18456 unsigned.
18457
f1e00502
JM
184582017-12-19 Joseph Myers <joseph@codesourcery.com>
18459
18460 Revert:
18461
18462 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18463
18464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18465
18466 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18467
18468 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18469 <errno.h>. Include "eexp.tbl".
18470 (half): New constant.
18471 (one): Likewise.
18472 (__ieee754_exp): Rewrite.
18473 (__slowexp): Remove prototype.
18474 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18475 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18476 * sysdeps/i386/fpu/slowexp.c: Likewise.
18477 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18478 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18479 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18480 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18481 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18482 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18483 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18484 comment.
18485 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18486 (CPPFLAGS-slowexp.c): Remove variable.
18487 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18488 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18489 (CFLAGS-slowexp-fma.c): Remove variable.
18490 (CFLAGS-slowexp-fma4.c): Likewise.
18491 (CFLAGS-slowexp-avx.c): Likewise.
18492 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18493 define as macro.
18494 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18495 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18496 * math/Makefile (type-double-routines): Remove slowexp.
18497 * manual/probes.texi (slowexp_p6): Remove.
18498 (slowexp_p32): Likewise.
18499
d711a00f
AZ
185002017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18501
e184ac3a
AZ
18502 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18503 arithmetic.
18504
d711a00f
AZ
18505 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18506
6f58c10d
JM
185072017-12-19 Joseph Myers <joseph@codesourcery.com>
18508
18509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18510
6fd0a3c6
PM
185112017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18512
18513 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18514 <errno.h>. Include "eexp.tbl".
18515 (half): New constant.
18516 (one): Likewise.
18517 (__ieee754_exp): Rewrite.
18518 (__slowexp): Remove prototype.
18519 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18520 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18521 * sysdeps/i386/fpu/slowexp.c: Likewise.
18522 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18523 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18524 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18525 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18526 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18527 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18528 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18529 comment.
18530 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18531 (CPPFLAGS-slowexp.c): Remove variable.
18532 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18533 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18534 (CFLAGS-slowexp-fma.c): Remove variable.
18535 (CFLAGS-slowexp-fma4.c): Likewise.
18536 (CFLAGS-slowexp-avx.c): Likewise.
18537 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18538 define as macro.
18539 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18540 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18541 * math/Makefile (type-double-routines): Remove slowexp.
18542 * manual/probes.texi (slowexp_p6): Remove.
18543 (slowexp_p32): Likewise.
18544
3bb1ef58
AZ
185452017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18546 James Clarke <jrtc27@jrtc27.com>
18547
18548 [BZ #22603]
18549 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18550 addition.
18551
554e3d51
AZ
185522017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18553
18554 [BZ #22605]
18555 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18556 code.
18557
cba595c3
L
185582017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18559
18560 [BZ #22563]
18561 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18562 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18563 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18564 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18565 to feature_1.
18566
f81ddabf
L
185672017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18568
18569 [BZ #22563]
18570 * bits/types/__cancel_jmp_buf_tag.h: New file.
18571 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18572 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18573 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18574 * nptl/Makefile (headers): Add
18575 bits/types/__cancel_jmp_buf_tag.h.
18576 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18577 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18578 * sysdeps/nptl/pthread.h: Include
18579 <bits/types/__cancel_jmp_buf_tag.h>.
18580 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18581 __cancel_jmp_buf.
18582 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18583
1a49fc59
L
185842017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18585
18586 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18587 --enable-static-pie variants to x86_64, x32 and i686.
18588
8e52f573
JM
185892017-12-19 Joseph Myers <joseph@codesourcery.com>
18590
66425185
JM
18591 [BZ #22631]
18592 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18593 argument for attrubutes. All callers changed.
18594 (__inline_mathop1): Likewise. All callers changed.
18595 (__inline_mathop): Likewise. All callers changed.
18596 [__USE_MISC] (scalbn): Use __inline_forward instead of
18597 __inline_forward_c.
18598 [__USE_ISOC99] (scalbln): Likewise.
18599 [__USE_ISOC99] (nearbyint): Likewise.
18600 [__USE_ISOC99] (lrint): Likewise.
18601 [__USE_MISC] (scalbnf): Likewise.
18602 [__USE_ISOC99] (scalblnf): Likewise.
18603 [__USE_ISOC99] (nearbyintf): Likewise.
18604 [__USE_ISOC99] (lrintf): Likewise.
18605 [__USE_MISC] (scalbnl): Likewise.
18606 [__USE_ISOC99] (scalblnl): Likewise.
18607 [__USE_ISOC99] (nearbyintl): Likewise.
18608 [__USE_ISOC99] (lrintl): Likewise.
18609 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18610 __inline_mathop and __m81_defun changed.
18611
8e52f573
JM
18612 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18613 CPU or FPU for ARM hard-float configurations.
18614
1421f39b
JM
186152017-12-18 Joseph Myers <joseph@codesourcery.com>
18616
40c4162d
JM
18617 * nptl/tst-attr3.c: Include <libc-diag.h>.
18618 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18619
5983df32
JM
18620 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18621
1421f39b
JM
18622 * string/tester.c (test_strncat): Also disable -Warray-bounds
18623 warnings for two tests.
18624
00c714df
L
186252017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18626
18627 [BZ #22614]
18628 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18629 $(cc-pie-default) == yes.
18630 * config.make.in (cc-pie-default): New.
18631 * configure.ac (libc_cv_pie_default): Renamed to ...
18632 (libc_cv_cc_pie_default): This.
18633 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18634 * configure: Regenerated.
18635
8e1472d2
FW
186362017-12-18 Florian Weimer <fweimer@redhat.com>
18637
18638 [BZ #20204]
18639 ld.so: Harden dl-libc/libdl hooks.
18640 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18641 (rtld_active): New function.
18642 * dlfcn/dladdr.c (__dladdr): Call it.
18643 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18644 * dlfcn/dlclose.c (__dlcose): Likewise.
18645 * dlfcn/dlerror.c (__dlerror): Likewise.
18646 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18647 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18648 * dlfcn/dlopen.c (__dlopen): Likewise.
18649 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18650 * dlfcn/dlsym.c (__dlsym): Likewise.
18651 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18652 * libio/vtables.c (_IO_vtable_check): Likewise.
18653 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18654 (__libc_dlclose): Likewise.
18655 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18656 assignment.
18657
49b036bc
JM
186582017-12-18 Joseph Myers <joseph@codesourcery.com>
18659
18660 [BZ #22446]
18661 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18662 buffers for readlink input and output.
18663
368b6c8d
ST
186642017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18665
c85c564d
ST
18666 [BZ #22624]
18667 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18668 inhibit_stack_protector.
18669
368b6c8d
ST
18670 [BZ #22624]
18671 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18672 inhibit_stack_protector.
18673
bb195224
DL
186742017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18675
18676 [BZ #22627]
18677 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18678 code and invocation.
18679
14d886ed
SN
186802017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18681
18682 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18683
7d38eb38
AJ
186842017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18685
18686 [BZ #22505]
18687 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18688
2e77deef
RS
186892017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18690
18691 * sysdeps/s390/fpu/libm-test-ulps: Update.
18692
0b9bef6d
RS
186932017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18694
18695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18696
984ae996
RS
186972017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18698
18699 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18700 constants to s_sincosf.h file.
18701 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18702 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18703 implementation.
18704 * sysdeps/ieee754/flt-32/s_sincosf.h:
18705 New file.
18706
363e4519 187072017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
18708
18709 [BZ #14681]
18710 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18711 before mtrace.
18712
9d7a3741
L
187132017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18714
18715 [BZ #19574]
18716 * INSTALL: Regenerated.
18717 * Makeconfig (real-static-start-installed-name): New.
18718 (pic-default): Updated for --enable-static-pie.
18719 (pie-default): New for --enable-static-pie.
18720 (default-pie-ldflag): Likewise.
18721 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18722 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18723 Replace $(static-start-installed-name) with
18724 $(real-static-start-installed-name).
18725 (+prectorT): Updated for --enable-static-pie.
18726 (+postctorT): Likewise.
18727 (CFLAGS-.o): Add $(pie-default).
18728 (CFLAGS-.op): Likewise.
18729 * NEWS: Mention --enable-static-pie.
18730 * config.h.in (ENABLE_STATIC_PIE): New.
18731 * configure.ac (--enable-static-pie): New configure option.
18732 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18733 (have-static-pie): Likewise.
18734 Enable static PIE if linker supports --no-dynamic-linker.
18735 (ENABLE_STATIC_PIE): New AC_DEFINE.
18736 (enable-static-pie): New LIBC_CONFIG_VAR.
18737 * configure: Regenerated.
18738 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18739 gr$(start-installed-name) for --enable-static-pie.
18740 (extra-objs): Likewise.
18741 (install-lib): Likewise.
18742 (extra-objs): Add static-reloc.o and static-reloc.os
18743 ($(objpfx)$(start-installed-name)): Also depend on
18744 $(objpfx)static-reloc.o.
18745 ($(objpfx)r$(start-installed-name)): New.
18746 ($(objpfx)g$(start-installed-name)): Also depend on
18747 $(objpfx)static-reloc.os.
18748 ($(objpfx)gr$(start-installed-name)): New.
18749 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18750 in libc.a.
18751 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18752 initimage.
18753 * csu/static-reloc.c: New file.
18754 * elf/Makefile (routines): Add dl-reloc-static-pie.
18755 (elide-routines.os): Likewise.
18756 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18757 (tst-tls1-static-non-pie-no-pie): New.
18758 * elf/dl-reloc-static-pie.c: New file.
18759 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18760 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18761 STATIC_PIE_BOOTSTRAP.
18762 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18763 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18764 (tests-static): Likewise.
18765 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18766 (tst-gmon-static-no-pie): New.
18767 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18768 (CRT-tst-gmon-static-pie): Likewise.
18769 (tst-gmon-static-pie-ENV): Likewise.
18770 (tests-special): Likewise.
18771 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18772 (clean-tst-gmon-static-pie-data): Likewise.
18773 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18774 * gmon/tst-gmon-static-pie.c: New file.
18775 * manual/install.texi: Document --enable-static-pie.
18776 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18777 (_dl_get_dl_main_map): Likewise.
18778 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18779 * sysdeps/x86_64/configure.ac: Likewise.
18780 * sysdeps/i386/configure: Regenerated.
18781 * sysdeps/x86_64/configure: Likewise.
18782 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18783 (ASFLAGS-.op): Likewise.
18784
95511aab
JM
187852017-12-15 Joseph Myers <joseph@codesourcery.com>
18786
18787 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18788 * posix/tst-mmap-offset.c (fname): Use /tmp.
18789 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18790
a7e3edf4
SE
187912017-12-15 Steve Ellcey <sellcey@cavium.com>
18792
18793 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18794
d232f2e1
TS
187952017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18796
18797 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18798 errno.
18799
174edbde
JM
188002017-12-15 Joseph Myers <joseph@codesourcery.com>
18801
5170fa49
JM
18802 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18803 --with-float=hard for arm-linux-gnueabihf configurations.
18804
f2da2fd8
JM
18805 [BZ #14121]
18806 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18807 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18808 ($(mo-installed)): Use $(objpfx)%.mo.
18809 (realclean): Remove rule.
18810
0c4fe28d
JM
18811 * po/Makefile (linguas): Remove rule and dependencies.
18812 (linguas.mo): Likewise.
18813 (.PHONY): Do not depend on linguas and linguas.mo.
18814 (podir): Remove variable.
18815 (pofiles): Likewise.
18816 [$(pofiles)] (%.po): Remove rule.
18817
174edbde
JM
18818 * sysdeps/sparc/sparc32/Makefile
18819 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18820 start-of-line whitespace in argument of echo.
18821 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18822 with whitespace. Generate __wrap_.udiv alias.
18823 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18824 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18825 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18826 * sysdeps/sparc/sparc32/urem.S: Likewise.
18827
1e36806f
RS
188282017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18829
18830 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18831 for aligned inputs.
18832
aa6932aa
SP
188332017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18834
5f1603c3
SP
18835 * benchtests/bench-strcmp.c: Print output in JSON format.
18836
aa6932aa
SP
18837 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18838
3ff3dfa5
FW
188392017-12-14 Florian Weimer <fweimer@redhat.com>
18840
18841 [BZ #22607]
18842 CVE-2017-1000409
18843 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18844 the expanded path string.
18845
8a0b17e4
FW
188462017-12-14 Florian Weimer <fweimer@redhat.com>
18847
18848 [BZ #22606]
18849 CVE-2017-1000408
18850 * elf/dl-load.c (system_dirs): Update comment.
18851 (nsystem_dirs_len): Use array_length.
18852 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18853
f58bd7f0
FW
188542017-12-14 Florian Weimer <fweimer@redhat.com>
18855
18856 Simplify compiling most of support/ outside of glibc.
18857 * support/check_addrinfo.c: Include <string.h>.
18858 * support/check_dns_packet.c: Likewise.
18859 * support/check_hostent.c: Likewise.
18860 * support/support_can_chroot.c: Include <support/xunistd.h>.
18861 * support/support_format_addrinfo.c: Include <stdlib.h>
18862 * support/support_format_dns_packet.c: Include <stdbool.h>.
18863 * support/support_format_hostent.c: Include <stdlib.h>.
18864 * support/support_format_netent.c: Likewise.
18865 * support/support_write_string.c: Include <support/xunistd.h>.
18866 * support/xdlfcn.c: Include <stddef.h>.
18867
4ca945e9
L
188682017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18869
18870 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18871
1b6e07f8
PM
188722017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18873 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18874
e6a1c5dc
PM
18875 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18876 (sysdeps_routines): Add memset-niagara7.
18877 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18878 Likewise.
18879 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18880 file.
18881 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18882 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18883 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18884 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18885 Add niagara7 option.
18886 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18887 memset.
18888
1b6e07f8
PM
18889 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18890 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18891 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18892 Likewise.
18893 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18894 New file.
18895 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18896 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18897 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18898 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18899 and __memmove_niagara7.
18900 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18901 Add niagara7 option.
18902 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18903 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18904 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18905 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18906 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18907
bfb7bf22
JM
189082017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18909
767a26d6
JM
18910 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18911 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18912 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18913 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18914
bfb7bf22
JM
18915 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18916 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18917 _dl_sparc_cap_flags array.
18918 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18919
2bce01eb
SP
189202017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18921
18922 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18923 time whenever possible.
18924
363e4519 189252017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
18926
18927 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18928 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18929
6f7c0092
JM
189302017-12-12 Joseph Myers <joseph@codesourcery.com>
18931
18932 * soft-fp/fmadf4.c: Move to ....
18933 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18934 * soft-fp/fmasf4.c: Move to ....
18935 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18936 * soft-fp/fmatf4.c: Move to ....
18937 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18938 * sysdeps/ieee754/soft-fp/Makefile: New file.
18939 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18940 * sysdeps/arm/preconfigure: Regenerated.
18941 * sysdeps/arm/nofpu/Implies: New file.
18942 * sysdeps/arm/s_fma.c: Remove file.
18943 * sysdeps/arm/s_fmaf.c: Likewise.
18944 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18945 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18946 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18947 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18948 * sysdeps/microblaze/s_fma.c: Remove file.
18949 * sysdeps/microblaze/s_fmaf.c: Likewise.
18950 * sysdeps/mips/mips32/nofpu/Implies: New file.
18951 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18952 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18953 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18954 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18955 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18956 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18957 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18958 implementation.
18959 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18960 * sysdeps/nios2/s_fma.c: Remove file.
18961 * sysdeps/nios2/s_fmaf.c: Likewise.
18962 * sysdeps/sh/nofpu/Implies: New file.
18963 * sysdeps/sh/s_fma.c: Remove file.
18964 * sysdeps/sh/s_fmaf.c: Likewise.
18965 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18966 * sysdeps/tile/s_fma.c: Remove file.
18967 * sysdeps/tile/s_fmaf.c: Likewise.
18968
ac817e08
L
189692017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18970
18971 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18972 Add s_cosf-sse2 and s_cosf-fma.
18973 (CFLAGS-s_cosf-fma.c): New.
18974 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18975 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18976 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18977
eb428576
SE
189782017-12-12 Steve Ellcey <sellcey@cavium.com>
18979
18980 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18981
c80acdc3
AZ
189822017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18983
cc683f7e
AZ
18984 * libio/Makefile (tests): Add tst-bz22415.
18985 (tst-bz22415-ENV): New rule.
18986 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18987 (tests-special): Add tst-bz22415-mem.out.
18988 ($(objpfx)tst-bz22415-mem.out): New rule.
18989 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18990 in case of a successful seek operation.
18991 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18992 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18993 buffer is required.
18994 * libio/tst-bz22415.c: New test.
18995
c80acdc3
AZ
18996 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18997
363e4519 189982017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
18999
19000 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19001 __IPC_64 to 0 to avoid IPC_64 being set.
19002
4e0dca54
SN
190032017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19004
19005 [BZ #22593]
19006 * math/bits/mathcalls.h (nextafter): Remove const.
19007 (nexttoward): Likewise.
19008
8df5d347
JM
190092017-12-12 Joseph Myers <joseph@codesourcery.com>
19010
19011 * configure.ac (--with-fp): Remove configure option.
19012 (with_fp_cond): New variable.
19013 (libc_cv_with_fp): New configure test. Use this variable instead
19014 of with_fp.
19015 * configure: Regenerated.
19016 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19017 * manual/install.texi (Configuring and compiling): Remove
19018 --without-fp.
19019 * INSTALL: Regenerated.
19020 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19021 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19022 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19023 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19024 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19025 use --without-fp to configure glibc.
19026
0cee1257
RJ
190272017-12-12 Rical Jasan <ricaljasan@pacific.net>
19028
19029 * manual/locale.texi (nl_langinfo): Fix a typo.
19030
363e4519 190312017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
19032
19033 [BZ #22588]
19034 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19035
36975e8e
L
190362017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19037
19038 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19039 (CFLAGS-argp-parse.c): Likewise.
19040 (CFLAGS-argp-fmtstream.c): Likewise.
19041 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19042 (CPPFLAGS-sha512-crypt.c): Likewise.
19043 (CPPFLAGS-md5-crypt.c): Likewise.
19044 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19045 (CFLAGS-stack_chk_fail_local.c): Likewise.
19046 (CFLAGS-backtrace.c): Likewise.
19047 (CFLAGS-sprintf_chk.c): Likewise.
19048 (CFLAGS-snprintf_chk.c): Likewise.
19049 (CFLAGS-vsprintf_chk.c): Likewise.
19050 (CFLAGS-vsnprintf_chk.c): Likewise.
19051 (CFLAGS-asprintf_chk.c): Likewise.
19052 (CFLAGS-vasprintf_chk.c): Likewise.
19053 (CFLAGS-obprintf_chk.c): Likewise.
19054 (CFLAGS-dprintf_chk.c): Likewise.
19055 (CFLAGS-vdprintf_chk.c): Likewise.
19056 (CFLAGS-printf_chk.c): Likewise.
19057 (CFLAGS-fprintf_chk.c): Likewise.
19058 (CFLAGS-vprintf_chk.c): Likewise.
19059 (CFLAGS-vfprintf_chk.c): Likewise.
19060 (CFLAGS-gets_chk.c): Likewise.
19061 (CFLAGS-fgets_chk.c): Likewise.
19062 (CFLAGS-fgets_u_chk.c): Likewise.
19063 (CFLAGS-fread_chk.c): Likewise.
19064 (CFLAGS-fread_u_chk.c): Likewise.
19065 (CFLAGS-swprintf_chk.c): Likewise.
19066 (CFLAGS-vswprintf_chk.c): Likewise.
19067 (CFLAGS-wprintf_chk.c): Likewise.
19068 (CFLAGS-fwprintf_chk.c): Likewise.
19069 (CFLAGS-vwprintf_chk.c): Likewise.
19070 (CFLAGS-vfwprintf_chk.c): Likewise.
19071 (CFLAGS-fgetws_chk.c): Likewise.
19072 (CFLAGS-fgetws_u_chk.c): Likewise.
19073 (CFLAGS-read_chk.c): Likewise.
19074 (CFLAGS-pread_chk.c): Likewise.
19075 (CFLAGS-pread64_chk.c): Likewise.
19076 (CFLAGS-recv_chk.c): Likewise.
19077 (CFLAGS-recvfrom_chk.c): Likewise.
19078 (CFLAGS-tst-longjmp_chk.c): Likewise.
19079 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19080 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19081 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19082 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19083 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19084 (CFLAGS-tst-chk1.c): Likewise.
19085 (CFLAGS-tst-chk2.c): Likewise.
19086 (CFLAGS-tst-chk3.c): Likewise.
19087 (CFLAGS-tst-chk4.cc): Likewise.
19088 (CFLAGS-tst-chk5.cc): Likewise.
19089 (CFLAGS-tst-chk6.cc): Likewise.
19090 (CFLAGS-tst-lfschk1.c): Likewise.
19091 (CFLAGS-tst-lfschk2.c): Likewise.
19092 (CFLAGS-tst-lfschk3.c): Likewise.
19093 (CFLAGS-tst-lfschk4.cc): Likewise.
19094 (CFLAGS-tst-lfschk5.cc): Likewise.
19095 (CFLAGS-tst-lfschk6.cc): Likewise.
19096 (CFLAGS-tst-ssp-1.c): Likewise.
19097 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19098 (CFLAGS-scandir64.c): Likewise.
19099 (CFLAGS-scandir-tail.c): Likewise.
19100 (CFLAGS-scandir64-tail.c): Likewise.
19101 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19102 (CFLAGS-dl-tunables.c): Likewise.
19103 (CFLAGS-dl-runtime.c): Likewise.
19104 (CFLAGS-dl-lookup.c): Likewise.
19105 (CFLAGS-dl-iterate-phdr.c): Likewise.
19106 (CFLAGS-vismain.c): Likewise.
19107 (CFLAGS-tst-linkall-static.c): Likewise.
19108 (CFLAGS-tst-linkall-static.c): Likewise.
19109 (CPPFLAGS-dl-load.c): Likewise.
19110 (CFLAGS-ldconfig.c): Likewise.
19111 (CFLAGS-dl-cache.c): Likewise.
19112 (CFLAGS-cache.c): Likewise.
19113 (CFLAGS-rtld.c): Likewise.
19114 (CFLAGS-multiload.c): Likewise.
19115 (CFLAGS-filtmod1.c): Likewise.
19116 (CFLAGS-tst-align.c): Likewise.
19117 (CFLAGS-tst-align2.c): Likewise.
19118 (CFLAGS-tst-alignmod.c): Likewise.
19119 (CFLAGS-tst-alignmod2.c): Likewise.
19120 (CPPFLAGS-tst-execstack.c): Likewise.
19121 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19122 (CFLAGS-tst-latepthreadmod.c): Likewise.
19123 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19124 (CFLAGS-getgrnam_r.c): Likewise.
19125 (CFLAGS-getgrent_r.c): Likewise.
19126 (CFLAGS-getgrent.c): Likewise.
19127 (CFLAGS-fgetgrent.c): Likewise.
19128 (CFLAGS-fgetgrent_r.c): Likewise.
19129 (CFLAGS-putgrent.c): Likewise.
19130 (CFLAGS-initgroups.c): Likewise.
19131 (CFLAGS-getgrgid.c): Likewise.
19132 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19133 (CFLAGS-getsgent.c): Likewise.
19134 (CFLAGS-fgetsgent.c): Likewise.
19135 (CFLAGS-fgetsgent_r.c): Likewise.
19136 (CFLAGS-putsgent.c): Likewise.
19137 (CFLAGS-getsgnam.c): Likewise.
19138 (CFLAGS-getsgnam_r.c): Likewise.
19139 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19140 (CFLAGS-iconv_charmap.c): Likewise.
19141 (CFLAGS-dummy-repertoire.c): Likewise.
19142 (CFLAGS-charmap.c): Likewise.
19143 (CFLAGS-linereader.c): Likewise.
19144 (CFLAGS-simple-hash.c): Likewise.
19145 (CFLAGS-gconv_conf.c): Likewise.
19146 (CFLAGS-iconvconfig.c): Likewise.
19147 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19148 (CFLAGS-gethstbyad.c): Likewise.
19149 (CFLAGS-gethstbynm_r.c): Likewise.
19150 (CFLAGS-gethstbynm.c): Likewise.
19151 (CFLAGS-gethstbynm2_r.c): Likewise.
19152 (CFLAGS-gethstbynm2.c): Likewise.
19153 (CFLAGS-gethstent_r.c): Likewise.
19154 (CFLAGS-gethstent.c): Likewise.
19155 (CFLAGS-rcmd.c): Likewise.
19156 (CFLAGS-getnetbynm_r.c): Likewise.
19157 (CFLAGS-getnetbynm.c): Likewise.
19158 (CFLAGS-getnetbyad_r.c): Likewise.
19159 (CFLAGS-getnetbyad.c): Likewise.
19160 (CFLAGS-getnetent_r.c): Likewise.
19161 (CFLAGS-getnetent.c): Likewise.
19162 (CFLAGS-getaliasent_r.c): Likewise.
19163 (CFLAGS-getaliasent.c): Likewise.
19164 (CFLAGS-getrpcent_r.c): Likewise.
19165 (CFLAGS-getrpcent.c): Likewise.
19166 (CFLAGS-getservent_r.c): Likewise.
19167 (CFLAGS-getservent.c): Likewise.
19168 (CFLAGS-getprtent_r.c): Likewise.
19169 (CFLAGS-getprtent.c): Likewise.
19170 (CFLAGS-either_ntoh.c): Likewise.
19171 (CFLAGS-either_hton.c): Likewise.
19172 (CFLAGS-getnetgrent.c): Likewise.
19173 (CFLAGS-getnetgrent_r.c): Likewise.
19174 (CFLAGS-tst-checks-posix.c): Likewise.
19175 (CFLAGS-tst-sockaddr.c): Likewise.
19176 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19177 (CFLAGS-tst-translit.c): Likewise.
19178 (CFLAGS-tst-gettext2.c): Likewise.
19179 (CFLAGS-tst-codeset.c): Likewise.
19180 (CFLAGS-tst-gettext3.c): Likewise.
19181 (CFLAGS-tst-gettext4.c): Likewise.
19182 (CFLAGS-tst-gettext5.c): Likewise.
19183 (CFLAGS-tst-gettext6.c): Likewise.
19184 * io/Makefile (CFLAGS-open.c): Likewise.
19185 (CFLAGS-open64.c): Likewise.
19186 (CFLAGS-creat.c): Likewise.
19187 (CFLAGS-creat64.c): Likewise.
19188 (CFLAGS-fcntl.c): Likewise.
19189 (CFLAGS-poll.c): Likewise.
19190 (CFLAGS-ppoll.c): Likewise.
19191 (CFLAGS-lockf.c): Likewise.
19192 (CFLAGS-statfs.c): Likewise.
19193 (CFLAGS-fstatfs.c): Likewise.
19194 (CFLAGS-statvfs.c): Likewise.
19195 (CFLAGS-fstatvfs.c): Likewise.
19196 (CFLAGS-fts.c): Likewise.
19197 (CFLAGS-fts64.c): Likewise.
19198 (CFLAGS-ftw.c): Likewise.
19199 (CFLAGS-ftw64.c): Likewise.
19200 (CFLAGS-lockf.c): Likewise.
19201 (CFLAGS-posix_fallocate.c): Likewise.
19202 (CFLAGS-posix_fallocate64.c): Likewise.
19203 (CFLAGS-fallocate.c): Likewise.
19204 (CFLAGS-fallocate64.c): Likewise.
19205 (CFLAGS-read.c): Likewise.
19206 (CFLAGS-write.c): Likewise.
19207 (CFLAGS-test-stat.c): Likewise.
19208 (CFLAGS-test-lfs.c): Likewise.
19209 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19210 (CFLAGS-fputc.c): Likewise.
19211 (CFLAGS-fputwc.c): Likewise.
19212 (CFLAGS-freopen64.c): Likewise.
19213 (CFLAGS-freopen.c): Likewise.
19214 (CFLAGS-fseek.c): Likewise.
19215 (CFLAGS-fseeko64.c): Likewise.
19216 (CFLAGS-fseeko.c): Likewise.
19217 (CFLAGS-ftello64.c): Likewise.
19218 (CFLAGS-ftello.c): Likewise.
19219 (CFLAGS-fwide.c): Likewise.
19220 (CFLAGS-genops.c): Likewise.
19221 (CFLAGS-getc.c): Likewise.
19222 (CFLAGS-getchar.c): Likewise.
19223 (CFLAGS-getwc.c): Likewise.
19224 (CFLAGS-getwchar.c): Likewise.
19225 (CFLAGS-iofclose.c): Likewise.
19226 (CFLAGS-iofflush.c): Likewise.
19227 (CFLAGS-iofgetpos64.c): Likewise.
19228 (CFLAGS-iofgetpos.c): Likewise.
19229 (CFLAGS-iofgets.c): Likewise.
19230 (CFLAGS-iofgetws.c): Likewise.
19231 (CFLAGS-iofputs.c): Likewise.
19232 (CFLAGS-iofputws.c): Likewise.
19233 (CFLAGS-iofread.c): Likewise.
19234 (CFLAGS-iofsetpos64.c): Likewise.
19235 (CFLAGS-iofsetpos.c): Likewise.
19236 (CFLAGS-ioftell.c): Likewise.
19237 (CFLAGS-iofwrite.c): Likewise.
19238 (CFLAGS-iogetdelim.c): Likewise.
19239 (CFLAGS-iogetline.c): Likewise.
19240 (CFLAGS-iogets.c): Likewise.
19241 (CFLAGS-iogetwline.c): Likewise.
19242 (CFLAGS-ioputs.c): Likewise.
19243 (CFLAGS-ioseekoff.c): Likewise.
19244 (CFLAGS-ioseekpos.c): Likewise.
19245 (CFLAGS-iosetbuffer.c): Likewise.
19246 (CFLAGS-iosetvbuf.c): Likewise.
19247 (CFLAGS-ioungetc.c): Likewise.
19248 (CFLAGS-ioungetwc.c): Likewise.
19249 (CFLAGS-oldfileops.c): Likewise.
19250 (CFLAGS-oldiofclose.c): Likewise.
19251 (CFLAGS-oldiofgetpos64.c): Likewise.
19252 (CFLAGS-oldiofgetpos.c): Likewise.
19253 (CFLAGS-oldiofsetpos64.c): Likewise.
19254 (CFLAGS-oldiofsetpos.c): Likewise.
19255 (CFLAGS-peekc.c): Likewise.
19256 (CFLAGS-putc.c): Likewise.
19257 (CFLAGS-putchar.c): Likewise.
19258 (CFLAGS-putwc.c): Likewise.
19259 (CFLAGS-putwchar.c): Likewise.
19260 (CFLAGS-rewind.c): Likewise.
19261 (CFLAGS-wfileops.c): Likewise.
19262 (CFLAGS-wgenops.c): Likewise.
19263 (CFLAGS-oldiofopen.c): Likewise.
19264 (CFLAGS-iofopen.c): Likewise.
19265 (CFLAGS-iofopen64.c): Likewise.
19266 (CFLAGS-oldtmpfile.c): Likewise.
19267 (CFLAGS-tst_putwc.c): Likewise.
19268 * locale/Makefile (CFLAGS-md5.c): Likewise.
19269 (CFLAGS-charmap.c): Likewise.
19270 (CFLAGS-locfile.c): Likewise.
19271 (CFLAGS-charmap-dir.c): Likewise.
19272 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19273 (CFLAGS-getpt.c): Likewise.
19274 (CFLAGS-pt_chown.c): Likewise.
19275 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19276 (CFLAGS-obstack.c): Likewise.
19277 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19278 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19279 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19280 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19281 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19282 (CFLAGS-test-tgmath.c): Likewise.
19283 (CFLAGS-test-tgmath2.c): Likewise.
19284 (CFLAGS-test-tgmath-ret.c): Likewise.
19285 (CFLAGS-test-powl.c): Likewise.
19286 (CFLAGS-test-snan.c): Likewise.
19287 (CFLAGS-test-signgam-finite.c): Likewise.
19288 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19289 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19290 (CFLAGS-test-signgam-uchar.c): Likewise.
19291 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19292 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19293 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19294 (CFLAGS-test-signgam-uint.c): Likewise.
19295 (CFLAGS-test-signgam-uint-init.c): Likewise.
19296 (CFLAGS-test-signgam-uint-static.c): Likewise.
19297 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19298 (CFLAGS-test-signgam-ullong.c): Likewise.
19299 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19300 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19301 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19302 (CFLAGS-test-math-cxx11.cc): Likewise.
19303 (CFLAGS-test-math-isinff.cc): Likewise.
19304 (CFLAGS-test-math-iszero.cc): Likewise.
19305 (CFLAGS-test-math-issignaling.cc): Likewise.
19306 (CFLAGS-test-math-iscanonical.cc): Likewise.
19307 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19308 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19309 (CFLAGS-test-flt-eval-method.c): Likewise.
19310 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19311 (CFLAGS-test-finite-macros.c): Likewise.
19312 * misc/Makefile (CFLAGS-select.c): Likewise.
19313 (CFLAGS-tsearch.c): Likewise.
19314 (CFLAGS-lsearch.c): Likewise.
19315 (CFLAGS-pselect.c): Likewise.
19316 (CFLAGS-readv.c): Likewise.
19317 (CFLAGS-writev.c): Likewise.
19318 (CFLAGS-preadv.c): Likewise.
19319 (CFLAGS-preadv64.c): Likewise.
19320 (CFLAGS-pwritev.c): Likewise.
19321 (CFLAGS-pwritev64.c): Likewise.
19322 (CFLAGS-preadv2.c): Likewise.
19323 (CFLAGS-preadv64v2.c): Likewise.
19324 (CFLAGS-pwritev2.c): Likewise.
19325 (CFLAGS-pwritev64v2.c): Likewise.
19326 (CFLAGS-usleep.c): Likewise.
19327 (CFLAGS-syslog.c): Likewise.
19328 (CFLAGS-error.c): Likewise.
19329 (CFLAGS-getpass.c): Likewise.
19330 (CFLAGS-mkstemp.c): Likewise.
19331 (CFLAGS-mkstemp64.c): Likewise.
19332 (CFLAGS-getsysstats.c): Likewise.
19333 (CFLAGS-getusershell.c): Likewise.
19334 (CFLAGS-err.c): Likewise.
19335 (CFLAGS-tst-tsearch.c): Likewise.
19336 (CFLAGS-msync.c): Likewise.
19337 (CFLAGS-fdatasync.c): Likewise.
19338 (CFLAGS-fsync.c): Likewise.
19339 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19340 (CFLAGS-unwind.c): Likewise.
19341 (CFLAGS-unwind-forcedunwind.c): Likewise.
19342 (CFLAGS-pthread_cancel.c): Likewise.
19343 (CFLAGS-pthread_setcancelstate.c): Likewise.
19344 (CFLAGS-pthread_setcanceltype.c): Likewise.
19345 (CFLAGS-cancellation.c): Likewise.
19346 (CFLAGS-libc-cancellation.c): Likewise.
19347 (CFLAGS-pthread_exit.c): Likewise.
19348 (CFLAGS-forward.c): Likewise.
19349 (CFLAGS-pthread_testcancel.c): Likewise.
19350 (CFLAGS-pthread_join.c): Likewise.
19351 (CFLAGS-pthread_timedjoin.c): Likewise.
19352 (CFLAGS-pthread_once.c): Likewise.
19353 (CFLAGS-pthread_cond_wait.c): Likewise.
19354 (CFLAGS-sem_wait.c): Likewise.
19355 (CFLAGS-sem_timedwait.c): Likewise.
19356 (CFLAGS-fcntl.c): Likewise.
19357 (CFLAGS-lockf.c): Likewise.
19358 (CFLAGS-pread.c): Likewise.
19359 (CFLAGS-pread64.c): Likewise.
19360 (CFLAGS-pwrite.c): Likewise.
19361 (CFLAGS-pwrite64.c): Likewise.
19362 (CFLAGS-wait.c): Likewise.
19363 (CFLAGS-waitpid.c): Likewise.
19364 (CFLAGS-sigwait.c): Likewise.
19365 (CFLAGS-msgrcv.c): Likewise.
19366 (CFLAGS-msgsnd.c): Likewise.
19367 (CFLAGS-tcdrain.c): Likewise.
19368 (CFLAGS-open.c): Likewise.
19369 (CFLAGS-open64.c): Likewise.
19370 (CFLAGS-pause.c): Likewise.
19371 (CFLAGS-recv.c): Likewise.
19372 (CFLAGS-send.c): Likewise.
19373 (CFLAGS-accept.c): Likewise.
19374 (CFLAGS-sendto.c): Likewise.
19375 (CFLAGS-connect.c): Likewise.
19376 (CFLAGS-recvfrom.c): Likewise.
19377 (CFLAGS-recvmsg.c): Likewise.
19378 (CFLAGS-sendmsg.c): Likewise.
19379 (CFLAGS-close.c): Likewise.
19380 (CFLAGS-read.c): Likewise.
19381 (CFLAGS-write.c): Likewise.
19382 (CFLAGS-nanosleep.c): Likewise.
19383 (CFLAGS-sigsuspend.c): Likewise.
19384 (CFLAGS-msync.c): Likewise.
19385 (CFLAGS-fdatasync.c): Likewise.
19386 (CFLAGS-fsync.c): Likewise.
19387 (CFLAGS-pt-system.c): Likewise.
19388 (CFLAGS-tst-cleanup2.c): Likewise.
19389 (CFLAGS-tst-cleanupx2.c): Likewise.
19390 (CFLAGS-flockfile.c): Likewise.
19391 (CFLAGS-ftrylockfile.c): Likewise.
19392 (CFLAGS-funlockfile.c): Likewise.
19393 (CFLAGS-tst-initializers1.c): Likewise.
19394 (CFLAGS-tst-initializers1-c89.c): Likewise.
19395 (CFLAGS-tst-initializers1-c99.c): Likewise.
19396 (CFLAGS-tst-initializers1-c11.c): Likewise.
19397 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19398 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19399 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19400 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19401 (CFLAGS-nscd_getgr_r.c): Likewise.
19402 (CFLAGS-nscd_gethst_r.c): Likewise.
19403 (CFLAGS-nscd_getai.c): Likewise.
19404 (CFLAGS-nscd_initgroups.c): Likewise.
19405 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19406 (CFLAGS-pause.c): Likewise.
19407 (CFLAGS-pread.c): Likewise.
19408 (CFLAGS-pread64.c): Likewise.
19409 (CFLAGS-pwrite.c): Likewise.
19410 (CFLAGS-pwrite64.c): Likewise.
19411 (CFLAGS-sleep.c): Likewise.
19412 (CFLAGS-wait.c): Likewise.
19413 (CFLAGS-waitid.c): Likewise.
19414 (CFLAGS-waitpid.c): Likewise.
19415 (CFLAGS-getopt.c): Likewise.
19416 (CFLAGS-wordexp.c): Likewise.
19417 (CFLAGS-sysconf.c): Likewise.
19418 (CFLAGS-pathconf.c): Likewise.
19419 (CFLAGS-fpathconf.c): Likewise.
19420 (CFLAGS-spawn.c): Likewise.
19421 (CFLAGS-spawnp.c): Likewise.
19422 (CFLAGS-spawni.c): Likewise.
19423 (CFLAGS-glob.c): Likewise.
19424 (CFLAGS-glob64.c): Likewise.
19425 (CFLAGS-getconf.c): Likewise.
19426 (CFLAGS-nanosleep.c): Likewise.
19427 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19428 (CFLAGS-getpwent.c): Likewise.
19429 (CFLAGS-getpw.c): Likewise.
19430 (CFLAGS-fgetpwent_r.c): Likewise.
19431 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19432 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19433 (CFLAGS-mq_timedreceive.c): Likewise.
19434 (CFLAGS-mq_timedsend.c): Likewise.
19435 (CFLAGS-clock_nanosleep.c): Likewise.
19436 (CFLAGS-librt-cancellation.c): Likewise.
19437 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19438 (CFLAGS-getspent.c): Likewise.
19439 (CFLAGS-fgetspent.c): Likewise.
19440 (CFLAGS-fgetspent_r.c): Likewise.
19441 (CFLAGS-putspent.c): Likewise.
19442 (CFLAGS-getspnam.c): Likewise.
19443 (CFLAGS-getspnam_r.c): Likewise.
19444 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19445 (CFLAGS-sigsuspend.c): Likewise.
19446 (CFLAGS-sigtimedwait.c): Likewise.
19447 (CFLAGS-sigwait.c): Likewise.
19448 (CFLAGS-sigwaitinfo.c): Likewise.
19449 (CFLAGS-sigreturn.c): Likewise.
19450 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19451 (CFLAGS-vfwprintf.c): Likewise.
19452 (CFLAGS-tmpfile.c): Likewise.
19453 (CFLAGS-tmpfile64.c): Likewise.
19454 (CFLAGS-tempname.c): Likewise.
19455 (CFLAGS-psignal.c): Likewise.
19456 (CFLAGS-vprintf.c): Likewise.
19457 (CFLAGS-cuserid.c): Likewise.
19458 (CFLAGS-errlist.c): Likewise.
19459 (CFLAGS-siglist.c): Likewise.
19460 (CFLAGS-scanf15.c): Likewise.
19461 (CFLAGS-scanf17.c): Likewise.
19462 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19463 (CFLAGS-msort.c): Likewise.
19464 (CFLAGS-qsort.c): Likewise.
19465 (CFLAGS-system.c): Likewise.
19466 (CFLAGS-fmtmsg.c): Likewise.
19467 (CFLAGS-strfmon.c): Likewise.
19468 (CFLAGS-strfmon_l.c): Likewise.
19469 (CFLAGS-strfromd.c): Likewise.
19470 (CFLAGS-strfromf.c): Likewise.
19471 (CFLAGS-strfroml.c): Likewise.
19472 (CFLAGS-tst-bsearch.c): Likewise.
19473 (CFLAGS-tst-qsort.c): Likewise.
19474 (CFLAGS-tst-makecontext2.c): Likewise.
19475 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19476 (CFLAGS-xnlm_prot.c): Likewise.
19477 (CFLAGS-xrstat.c): Likewise.
19478 (CFLAGS-xyppasswd.c): Likewise.
19479 (CFLAGS-xklm_prot.c): Likewise.
19480 (CFLAGS-xrex.c): Likewise.
19481 (CFLAGS-xsm_inter.c): Likewise.
19482 (CFLAGS-xmount.c): Likewise.
19483 (CFLAGS-xrusers.c): Likewise.
19484 (CFLAGS-xspray.c): Likewise.
19485 (CFLAGS-xnfs_prot.c): Likewise.
19486 (CFLAGS-xrquota.c): Likewise.
19487 (CFLAGS-xkey_prot.c): Likewise.
19488 (CFLAGS-auth_unix.c): Likewise.
19489 (CFLAGS-key_call.c): Likewise.
19490 (CFLAGS-pmap_rmt.c): Likewise.
19491 (CFLAGS-clnt_perr.c): Likewise.
19492 (CFLAGS-openchild.c): Likewise.
19493 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19494 (CFLAGS-msgsnd.c): Likewise.
19495 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19496 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19497 (CFLAGS-tzset.c): Likewise.
19498 (CFLAGS-getdate.c): Likewise.
19499 (CFLAGS-test_time.c): Likewise.
19500 (CPPFLAGS-tst-tzname.c): Likewise.
19501 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19502 (CFLAGS-zic.c): Likewise.
19503 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19504 (CFLAGS-wcswidth.c): Likewise.
19505 (CFLAGS-wcstol.c): Likewise.
19506 (CFLAGS-wcstoul.c): Likewise.
19507 (CFLAGS-wcstoll.c): Likewise.
19508 (CFLAGS-wcstoull.c): Likewise.
19509 (CFLAGS-wcstod.c): Likewise.
19510 (CFLAGS-wcstold.c): Likewise.
19511 (CFLAGS-wcstof128.c): Likewise.
19512 (CFLAGS-wcstof.c): Likewise.
19513 (CFLAGS-wcstol_l.c): Likewise.
19514 (CFLAGS-wcstoul_l.c): Likewise.
19515 (CFLAGS-wcstoll_l.c): Likewise.
19516 (CFLAGS-wcstoull_l.c): Likewise.
19517 (CFLAGS-wcstod_l.c): Likewise.
19518 (CFLAGS-wcstold_l.c): Likewise.
19519 (CFLAGS-wcstof128_l.c): Likewise.
19520 (CFLAGS-wcstof_l.c): Likewise.
19521 (CPPFLAGS-tst-wchar-h.c): Likewise.
19522 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 19523
f4b2aea6
PC
195242017-12-11 Paul A. Clarke <pc@us.ibm.com>
19525
19526 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19527
c9cd7b0c
AZ
195282017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19529 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19530
19531 * manual/tunables.texi (Hardware Capability Tunables): Document
19532 glibc.tune.cached_memopt.
19533 * sysdeps/powerpc/cpu-features.c: New file.
19534 * sysdeps/powerpc/cpu-features.h: New file.
19535 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19536 _dl_powerpc_cpu_features.
19537 * sysdeps/powerpc/dl-tunables.list: New file.
19538 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19539 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19540 (INIT_ARCH): Initialize use_aligned_memopt.
19541 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19542 IS_IN(rtld))]: Restrict dl_platform_init availability and
19543 initialize CPU features used by tunables.
19544 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19545 Add memcpy-power8-cached.
19546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19547 __memcpy_power8_cached.
19548 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19549 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19550 New file.
19551
e70c6fee
L
195522017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19553
19554 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19555 (CFLAGS-noinl-tester.c): Likewise.
19556 (CFLAGS-tst-strlen.c): Likewise.
19557 (CFLAGS-stratcliff.c): Likewise.
19558 (CFLAGS-test-ffs.c): Likewise.
19559 (CFLAGS-tst-inlcall.c): Likewise.
19560 (CFLAGS-tst-xbzero-opt.c): Likewise.
19561 (CFLAGS-memcpy.c): Likewise.
19562 (CFLAGS-wordcopy.c): Likewise.
19563
dee94366
SL
195642017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19565
19566 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19567 Store r15 on stack and add cfi rule.
19568 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19569 Likewise.
19570
363e4519 195712017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
19572
19573 [BZ #22577]
19574 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19575 call.
19576
9d0ffa60
L
195772017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19578
19579 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19580 Add s_sinf-sse2 and s_sinf-fma.
19581 (CFLAGS-s_sinf-fma.c): New.
19582 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19583 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19584 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19585
9574c7b6
L
195862017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19587
19588 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19589
d15e83c5
JM
195902017-12-07 Joseph Myers <joseph@codesourcery.com>
19591
19592 [BZ #22568]
19593 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19594 part of result to imaginary part of argument if it is zero and the
19595 real part of the argument is not finite.
19596 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19597 of result to real part of argument if it is zero and the imaginary
19598 part of the argument is not finite.
19599
d89756eb
MF
196002017-12-07 Mike FABIAN <mfabian@redhat.com>
19601
19602 [BZ #22524]
19603 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19604 and to the list of locales to be built for testing.
19605 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19606 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19607 and build the collation rules upon that.
19608
1f9055ce
JM
196092017-12-07 Joseph Myers <joseph@codesourcery.com>
19610
19611 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19612 * manual/math.texi (Mathematics): Document support for _Float32.
19613 * math/Makefile (test-types): Add float32.
19614 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19615 * stdlib/Versions (GLIBC_2.27): Likewise.
19616 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19617 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19618 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19619 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19620 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19621 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19622 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19623 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19624 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19625 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19626 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19627 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19628 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19629 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19630 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19631 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19632 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19633 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19634 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19635 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19636 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19637 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19638 Likewise.
19639 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19640 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19641 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19642 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19643 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19645 Likewise.
19646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19647 Likewise.
19648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19649 Likewise.
19650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19651 Likewise.
19652
19653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19654 Likewise.
19655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19656 Likewise.
19657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19658 Likewise.
19659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19660 Likewise.
19661 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19662 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19663 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19664 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19665 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19666 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19667 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19668 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19669 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19670 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19672 Likewise.
19673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19674 Likewise.
19675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19676 Likewise.
19677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19678 Likewise.
19679 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19680 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19681 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19682 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19683 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19684 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19685 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19686 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19687
5244527d
JM
196882017-12-06 Joseph Myers <joseph@codesourcery.com>
19689
fb1ca2aa
JM
19690 * stdlib/strtof.c: Include <bits/floatn.h>
19691 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19692 and later undefine as macro. Define as weak alias if
19693 [!USE_WIDE_CHAR].
19694 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19695 and later undefine as macro. Define as weak alias if
19696 [USE_WIDE_CHAR].
19697 * stdlib/strtof_l.c: Include <bits/floatn.h>
19698 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19699 and later undefine as macro. Define as weak alias if
19700 [!USE_WIDE_CHAR].
19701 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19702 and later undefine as macro. Define as weak alias if
19703 [USE_WIDE_CHAR].
19704
fc10cc3f
JM
19705 * stdlib/strfromf.c: Include <bits/floatn.h>.
19706 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19707 and later undefine as macro and define as weak alias.
19708
e420d228
JM
19709 * math/test-float32.h: New file.
19710
26007a2f
JM
19711 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19712 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19713 (libm_alias_float_other_r): Create f32 alias.
19714 (libm_alias_float_r): Use semicolon before call to
19715 libm_alias_float_other_r.
19716
c191f64c
JM
19717 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19718 second argument to libm_alias_float_other.
19719 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19720 second argument to libm_alias_float_other.
19721 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19722 argument to libm_alias_float_other.
19723
5244527d
JM
19724 [BZ #22561]
19725 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19726 real part of result for argument 0 + i * NaN.
19727 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19728 results for tests of 0 + i * NaN.
19729
d73fac82
AZ
197302017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19731
19732 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19733
7ec094e8
DM
197342017-12-06 David S. Miller <davem@davemloft.net>
19735
19736 * sysdeps/sparc/fpu/libm-test-ulps: Update
19737 exp_{downward,towardzero,upward} ulps.
19738
53994f12
JM
197392017-12-06 Joseph Myers <joseph@codesourcery.com>
19740
1dbe6f64
JM
19741 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19742 variables static.
19743
53994f12
JM
19744 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19745 (Y0_2D): Likewise.
19746 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19747 (Y0_2D): Likewise.
19748 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19749 (Y0_2D): Likewise.
19750 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19751 (Y0_2D): Likewise.
19752
62ea2193
MF
197532017-12-06 Mike FABIAN <mfabian@redhat.com>
19754
19755 [BZ #22515]
19756 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19757 and to the list of locales to be built for testing.
19758 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19759 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19760 and build the collation rules upon that.
19761
87235d70
RS
197622017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19763
19764 * NEWS: Add sinf to list of optimized functions.
19765
0d93b7fd
JM
197662017-12-06 Joseph Myers <joseph@codesourcery.com>
19767
19768 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19769 (__HAVE_FLOAT32X): Likewise.
19770 * manual/math.texi (Mathematics): Document support for _Float64
19771 and _Float32x.
19772 * math/Makefile (test-types): Add float64 and float32x.
19773 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19774 functions.
19775 * stdlib/Versions (GLIBC_2.27): Likewise.
19776 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19777 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19778 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19779 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19780 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19781 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19782 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19783 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19784 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19785 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19786 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19787 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19788 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19789 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19790 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19791 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19792 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19793 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19794 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19795 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19796 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19797 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19798 Likewise.
19799 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19800 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19801 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19802 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19803 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19805 Likewise.
19806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19807 Likewise.
19808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19809 Likewise.
19810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19811 Likewise.
19812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19813 Likewise.
19814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19815 Likewise.
19816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19817 Likewise.
19818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19819 Likewise.
19820 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19821 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19822 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19823 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19824 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19825 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19828 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19829 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19831 Likewise.
19832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19833 Likewise.
19834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19835 Likewise.
19836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19837 Likewise.
19838 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19839 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19841 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19842 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19843 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19844 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19845 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19846
f7787234
JM
198472017-12-05 Joseph Myers <joseph@codesourcery.com>
19848
19849 * bits/floatn-common.h: Include <bits/long-double.h>.
19850 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19851 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19852 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19853 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19854 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19855 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19856 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19857 (__builtin_huge_valf64): Use __builtin_huge_vall.
19858 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19859 (__builtin_inff64): Use __builtin_infl.
19860 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19861 (__builtin_nanf64): Use __builtin_nanl.
19862 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19863 (__builtin_nansf64): Use __builtin_nansl.
19864
363e4519
DL
198652017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19866 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
07ed18d2
RA
19867 Carlos O'Donnell <carlos@redhat.com>
19868
19869 * elf/dl-tunables.list: Add elision parameters.
19870 * manual/tunables.texi: Add entries about elision tunable.
19871 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19872 Add callback functions to dynamically enable/disable elision.
19873 Add multiple callbacks functions to set elision parameters.
19874 Deleted __libc_enable_secure check.
19875 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19876 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19877 * configure: Regenerated.
19878 * configure.ac: Option enable_lock_elision was deleted.
19879 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19880 * config.make.in: Remove references to enable_lock_elision.
19881 * manual/install.texi: Elision configure option was removed.
19882 * INSTALL: Regenerated to remove enable_lock_elision.
19883 * nptl/Makefile:
19884 Disable elision so it can verify error case for destroying a mutex.
19885 * sysdeps/powerpc/nptl/elide.h:
19886 Cleanup ENABLE_LOCK_ELISION check.
19887 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19888 * sysdeps/s390/configure: Regenerated.
19889 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19890 * nptl/tst-mutex8.c:
19891 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19892 * sysdeps/powerpc/powerpc32/sysdep.h:
19893 Deleted all ENABLE_LOCK_ELISION checks.
19894 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19895 * sysdeps/powerpc/sysdep.h: Likewise.
19896 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19897 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19898 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19899 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19900 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19901 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19902 enable-lock-elision.
19903
a5a2a76b
JM
199042017-12-05 Joseph Myers <joseph@codesourcery.com>
19905
19906 * stdlib/strtod.c: Include <bits/floatn.h>.
19907 (BUILD_DOUBLE): New macro.
19908 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19909 (strtof64): Define and later undefine as macro. Define as weak
19910 alias if [!USE_WIDE_CHAR].
19911 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19912 (wcstof64): Define and later undefine as macro. Define as weak
19913 alias if [USE_WIDE_CHAR].
19914 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19915 (strtof32x): Define and later undefine as macro. Define as weak
19916 alias if [!USE_WIDE_CHAR].
19917 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19918 (wcstof32x): Define and later undefine as macro. Define as weak
19919 alias if [USE_WIDE_CHAR].
19920 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19921 (BUILD_DOUBLE): New macro.
19922 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19923 (strtof64_l): Define and later undefine as macro. Define as weak
19924 alias if [!USE_WIDE_CHAR].
19925 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19926 (wcstof64_l): Define and later undefine as macro. Define as weak
19927 alias if [USE_WIDE_CHAR].
19928 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19929 (strtof32x_l): Define and later undefine as macro. Define as weak
19930 alias if [!USE_WIDE_CHAR].
19931 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19932 (wcstof32x_l): Define and later undefine as macro. Define as weak
19933 alias if [USE_WIDE_CHAR].
19934
94d80dfc
AZ
199352017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19936
19937 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19938 (reduced): Use ones as double instead of integer.
19939
00d54af7
SN
199402017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19941
19942 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19943
f2d64d62
JM
199442017-12-05 Joseph Myers <joseph@codesourcery.com>
19945
1f70eae4
JM
19946 * stdlib/strfromd.c: Include <bits/floatn.h>.
19947 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19948 and later undefine as macro and define as weak alias.
19949 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19950 Likewise.
19951
e2c4dce5
JM
19952 * math/test-float32x.h: New file.
19953 * math/test-float64.h: Likewise.
19954
f2d64d62
JM
19955 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19956 (libm_alias_double_other_r_f64): New macro.
19957 (libm_alias_double_other_r_f32x): Likewise.
19958 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19959 libm_alias_double_other_r_f32x.
19960 (libm_alias_double_r): Use semicolon before call to
19961 libm_alias_double_other_r.
19962 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19963 <bits/floatn.h>.
19964 (libm_alias_double_other_r_f64): New macro.
19965 (libm_alias_double_other_r_f32x): Likewise.
19966 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19967 libm_alias_double_other_r_f32x.
19968
91c318e7
L
199692017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19970
19971 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19972 int.
19973 (SINF_FUNC): Likewise. Replace floor with simple casts.
19974
de9661d6
MF
199752017-12-05 Mike FABIAN <mfabian@redhat.com>
19976
19977 [BZ #22517]
19978 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19979 and to the list of locales to be built for testing.
19980 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19981 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19982 and build the collation rules upon that.
19983
f18b8dc7
CM
199842017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19985
19986 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19987 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19988 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19989 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19990 instead of __insn__xxx.
19991 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19992 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19993 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19994 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19995 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19996 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19997
446d22e9
FW
199982017-12-05 Florian Weimer <fweimer@redhat.com>
19999
20000 Linux: Implement interfaces for memory protection keys
20001 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20002 xsignal, xsysconf.
20003 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20004 * support/xunistd.h (xsysconf): Declare.
20005 * support/xraise.c: New file.
20006 * support/xsigaction.c: Likewise.
20007 * support/xsignal.c: Likewise.
20008 * support/xsysconf.c: Likewise.
20009 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20010 pkey_set, pkey_get, pkey_mprotect.
20011 [misc] (tests): Add tst-pkey.
20012 (tst-pkey): Link with -lpthread.
20013 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20014 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20015 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20016 (PKEY_DISABLE_WRITE): Define.
20017 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20018 Declare.
20019 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20020 (SEGV_PKUERR): Add.
20021 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20022 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20023 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20024 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20025 Add.
20026 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20027 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20028 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20029 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20030 * sysdeps/unix/sysv/linux/**.abilist: Update.
20031
da616c14
FW
200322017-12-05 Florian Weimer <fweimer@redhat.com>
20033
20034 * support/tst-test_compare.c (subprocess): Use long long instead
20035 of long argument for consistent type width across 32-bit and
20036 64-bit architectures.
20037 (do_test): Adjust expected output.
20038
216933b2
JM
200392017-12-05 Joseph Myers <joseph@codesourcery.com>
20040
20041 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20042 (cosf): Define using libm_alias_float.
20043 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20044 (fabsf): Define using libm_alias_float.
20045 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20046 (fmaf): Define using libm_alias_float.
20047 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20048 (rintf): Define using libm_alias_float.
20049 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20050 (sinf): Define using libm_alias_float.
20051 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20052 <libm-alias-float.h>.
20053 (modff): Define using libm_alias_float.
20054 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20055 <libm-alias-float.h>.
20056 (logbf): Define using libm_alias_float.
20057 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20058 <libm-alias-float.h>.
20059 (ceilf): Define using libm_alias_float.
20060 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20061 <libm-alias-float.h>.
20062 (copysignf): Define using libm_alias_float.
20063 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20064 <libm-alias-float.h>.
20065 (floorf): Define using libm_alias_float.
20066 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20067 <libm-alias-float.h>.
20068 (llrintf): Define using libm_alias_float.
20069 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20070 <libm-alias-float.h>.
20071 (llroundf): Define using libm_alias_float.
20072 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20073 <libm-alias-float.h>.
20074 (lrintf): Define using libm_alias_float.
20075 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20076 <libm-alias-float.h>.
20077 (lroundf): Define using libm_alias_float.
20078 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20079 <libm-alias-float.h>.
20080 (nearbyintf): Define using libm_alias_float.
20081 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20082 <libm-alias-float.h>.
20083 (rintf): Define using libm_alias_float.
20084 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20085 <libm-alias-float.h>.
20086 (roundf): Define using libm_alias_float.
20087 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20088 <libm-alias-float.h>.
20089 (truncf): Define using libm_alias_float.
20090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20091 Include <libm-alias-float.h>.
20092 (ceilf): Define using libm_alias_float.
20093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20094 Include <libm-alias-float.h>.
20095 (copysignf): Define using libm_alias_float.
20096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20097 Include <libm-alias-float.h>.
20098 (floorf): Define using libm_alias_float.
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20100 Include <libm-alias-float.h>.
20101 (llrintf): Define using libm_alias_float.
20102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20103 Include <libm-alias-float.h>.
20104 (llroundf): Define using libm_alias_float.
20105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20106 Include <libm-alias-float.h>.
20107 (logbf): Define using libm_alias_float.
20108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20109 Include <libm-alias-float.h>.
20110 (lrintf): Define using libm_alias_float.
20111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20112 Include <libm-alias-float.h>.
20113 (lroundf): Define using libm_alias_float.
20114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20115 Include <libm-alias-float.h>.
20116 (modff): Define using libm_alias_float.
20117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20118 Include <libm-alias-float.h>.
20119 (roundf): Define using libm_alias_float.
20120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20121 Include <libm-alias-float.h>.
20122 (truncf): Define using libm_alias_float.
20123 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20124 <libm-alias-float.h>.
20125 (llrintf): Define using libm_alias_float.
20126 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20127 <libm-alias-float.h>.
20128 (llroundf): Define using libm_alias_float.
20129 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20130 <libm-alias-float.h>.
20131 (ceilf): Define using libm_alias_float.
20132 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20133 <libm-alias-float.h>.
20134 (floorf): Define using libm_alias_float.
20135 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20136 <libm-alias-float.h>.
20137 (llroundf): Define using libm_alias_float.
20138 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20139 <libm-alias-float.h>.
20140 (lroundf): Define using libm_alias_float.
20141 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20142 <libm-alias-float.h>.
20143 (roundf): Define using libm_alias_float.
20144 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20145 <libm-alias-float.h>.
20146 (truncf): Define using libm_alias_float.
20147 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20148 <libm-alias-float.h>.
20149 (copysignf): Define using libm_alias_float.
20150 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20151 <libm-alias-float.h>.
20152 (llrintf): Define using libm_alias_float.
20153 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20154 <libm-alias-float.h>.
20155 (llroundf): Define using libm_alias_float.
20156 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20157 <libm-alias-float.h>.
20158 (lrintf): Define using libm_alias_float.
20159 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20160 <libm-alias-float.h>.
20161 (lroundf): Define using libm_alias_float.
20162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20163 <libm-alias-float.h>.
20164 (ceilf): Define using libm_alias_float.
20165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20166 <libm-alias-float.h>.
20167 (copysignf): Define using libm_alias_float.
20168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20169 <libm-alias-float.h>.
20170 (cosf): Define using libm_alias_float.
20171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20172 <libm-alias-float.h>.
20173 (floorf): Define using libm_alias_float.
20174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20175 <libm-alias-float.h>.
20176 (llrintf): Define using libm_alias_float.
20177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20178 <libm-alias-float.h>.
20179 (llroundf): Define using libm_alias_float.
20180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20181 <libm-alias-float.h>.
20182 (logbf): Define using libm_alias_float.
20183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20184 <libm-alias-float.h>.
20185 (modff): Define using libm_alias_float.
20186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20187 <libm-alias-float.h>.
20188 (roundf): Define using libm_alias_float.
20189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20190 <libm-alias-float.h>.
20191 (sinf): Define using libm_alias_float.
20192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20193 <libm-alias-float.h>.
20194 (truncf): Define using libm_alias_float.
20195 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20196 <libm-alias-float.h>.
20197 (ceilf): Define using libm_alias_float.
20198 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20199 <libm-alias-float.h>.
20200 (copysignf): Define using libm_alias_float.
20201 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20202 <libm-alias-float.h>.
20203 (floorf): Define using libm_alias_float.
20204 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20205 <libm-alias-float.h>.
20206 (llrintf): Define using libm_alias_float.
20207 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20208 <libm-alias-float.h>.
20209 (llroundf): Define using libm_alias_float.
20210 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20211 <libm-alias-float.h>.
20212 (nearbyintf): Define using libm_alias_float.
20213 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20214 <libm-alias-float.h>.
20215 (rintf): Define using libm_alias_float.
20216 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20217 <libm-alias-float.h>.
20218 (roundf): Define using libm_alias_float.
20219 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20220 <libm-alias-float.h>.
20221 (truncf): Define using libm_alias_float.
20222 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20223 <libm-alias-float.h>.
20224 (ceilf): Define using libm_alias_float.
20225 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20226 <libm-alias-float.h>.
20227 (floorf): Define using libm_alias_float.
20228 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20229 <libm-alias-float.h>.
20230 (llroundf): Define using libm_alias_float.
20231 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20232 <libm-alias-float.h>.
20233 (roundf): Define using libm_alias_float.
20234 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20235 <libm-alias-float.h>.
20236 (truncf): Define using libm_alias_float.
20237 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20238 <libm-alias-float.h>.
20239 (copysignf): Define using libm_alias_float.
20240 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20241 <libm-alias-float.h>.
20242 (llrintf): Define using libm_alias_float.
20243 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20244 <libm-alias-float.h>.
20245 (llroundf): Define using libm_alias_float.
20246 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20247 <libm-alias-float.h>.
20248 (cosf): Define using libm_alias_float.
20249 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20250 <libm-alias-float.h>.
20251 (llrintf): Define using libm_alias_float.
20252 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20253 <libm-alias-float.h>.
20254 (llroundf): Define using libm_alias_float.
20255 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20256 <libm-alias-float.h>.
20257 (sinf): Define using libm_alias_float.
20258
93485524
FW
202592017-12-04 Florian Weimer <fweimer@redhat.com>
20260
20261 * support/check.h (TEST_COMPARE): Define.
20262 (support_test_compare_failure): Declare.
20263 * support/Makefile (libsupport-routines): Add
20264 support_test_compare_failure.
20265 (tests): Add tst-test_compare.
20266 * support /support_test_compare_failure.c: New file.
20267 * support/tst-test_compare.c: Likewise.
20268
96b06a19
MF
202692017-12-04 Mike FABIAN <mfabian@redhat.com>
20270
20271 [BZ #22527]
20272 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20273 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20274 available, this rewrite of the collation rules does reproduce
20275 the test file in the same order.
20276
1f6d91f3
MF
202772017-12-04 Mike FABIAN <mfabian@redhat.com>
20278
20279 [BZ #10580]
20280 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20281 digraphs in the month and day names. Using single code points for
20282 digraphs is deprecated. While there are dedicated Unicode
20283 codepoints, for the digraphs, these are included for backwards
20284 compatibility and modern texts use a sequence of Basic Latin
20285 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20286 This makes the month and day names agree exactly with CLDR now,
20287 CLDR does not use the single code points for the digraphs either.
20288
2e49fed8
CM
202892017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20290
20291 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20292
73895b49
JM
202932017-12-04 Joseph Myers <joseph@codesourcery.com>
20294
20295 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20296 of floor.
20297
4c1d801a
SP
202982017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20299
20300 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20301 Define only for libc.so.
20302
478593e6
SL
203032017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20304
20305 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20306 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20307 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20308 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20310
7863a711
RS
203112017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20312
20313 [BZ #5997]
20314 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20315
800a496a
JDA
203162017-12-02 John David Anglin <danglin@gcc.gnu.org>
20317
b3f7fb12
JDA
20318 [BZ libc/19170]
20319 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20320 PREINIT_FUNCTION_WEAK is nonzero.
20321 (gmon_initializer): New function. Put procedure label for it in
20322 .init_array section.
20323 (_init): Don't call PREINIT_FUNCTION.
20324 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20325 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20326 value when map argument is null.
20327
800a496a
JDA
20328 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20329 depi instruction from PIC pc-relative sequence.
20330 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20331 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20332 (elf_machine_load_address): Likewise.
20333 (elf_machine_runtime_setup): Likewise.
20334
d17542d2
JM
203352017-12-02 Joseph Myers <joseph@codesourcery.com>
20336
20337 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20338 <libm-alias-double.h>.
20339 (logb): Define using libm_alias_double.
20340 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20341 <libm-alias-double.h>.
20342 (copysign): Define using libm_alias_double.
20343 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20344 <libm-alias-double.h>.
20345 (llrint): Define using libm_alias_double.
20346 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20347 <libm-alias-double.h>.
20348 (llround): Define using libm_alias_double.
20349 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20350 <libm-alias-double.h>.
20351 (lrint): Define using libm_alias_double.
20352 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20353 <libm-alias-double.h>.
20354 (lround): Define using libm_alias_double.
20355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20356 Include <libm-alias-double.h>.
20357 (copysign): Define using libm_alias_double.
20358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20359 Include <libm-alias-double.h>.
20360 (llrint): Define using libm_alias_double.
20361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20362 Include <libm-alias-double.h>.
20363 (llround): Define using libm_alias_double.
20364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20365 <libm-alias-double.h>.
20366 (logb): Define using libm_alias_double.
20367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20368 Include <libm-alias-double.h>.
20369 (lrint): Define using libm_alias_double.
20370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20371 Include <libm-alias-double.h>.
20372 (lround): Define using libm_alias_double.
20373 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20374 <libm-alias-double.h>.
20375 (llrint): Define using libm_alias_double.
20376 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20377 <libm-alias-double.h>.
20378 (llround): Define using libm_alias_double.
20379 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20380 <libm-alias-double.h>.
20381 (llround): Define using libm_alias_double.
20382 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20383 <libm-alias-double.h>.
20384 (lround): Define using libm_alias_double.
20385 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20386 <libm-alias-double.h>.
20387 (copysign): Define using libm_alias_double.
20388 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20389 <libm-alias-double.h>.
20390 (llrint): Define using libm_alias_double.
20391 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20392 <libm-alias-double.h>.
20393 (llround): Define using libm_alias_double.
20394 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20395 <libm-alias-double.h>.
20396 (lrint): Define using libm_alias_double.
20397 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20398 <libm-alias-double.h>.
20399 (lround): Define using libm_alias_double.
20400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20401 <libm-alias-double.h>.
20402 (copysign): Define using libm_alias_double.
20403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20404 <libm-alias-double.h>.
20405 (llrint): Define using libm_alias_double.
20406 (lrint): Likewise.
20407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20408 <libm-alias-double.h>.
20409 (llround): Define using libm_alias_double.
20410 (lround): Likewise.
20411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20412 <libm-alias-double.h>.
20413 (logb): Define using libm_alias_double.
20414 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20415 <libm-alias-double.h>.
20416 (copysign): Define using libm_alias_double.
20417 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20418 <libm-alias-double.h>.
20419 (llrint): Define using libm_alias_double.
20420 (lrint): Likewise.
20421 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20422 <libm-alias-double.h>.
20423 (llround): Define using libm_alias_double.
20424 (lround): Likewise.
20425 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20426 <libm-alias-double.h>.
20427 (llround): Define using libm_alias_double.
20428 (lround): Likewise.
20429 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20430 <libm-alias-double.h>.
20431 (copysign): Define using libm_alias_double.
20432 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20433 <libm-alias-double.h>.
20434 (llrint): Define using libm_alias_double.
20435 (lrint): Likewise.
20436 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20437 <libm-alias-double.h>.
20438 (llround): Define using libm_alias_double.
20439 (lround): Likewise.
20440 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20441 <libm-alias-double.h>.
20442 (llrint): Define using libm_alias_double.
20443 (lrint): Likewise.
20444 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20445 <libm-alias-double.h>.
20446 (llround): Define using libm_alias_double.
20447 (lround): Likewise.
20448
ec2cf3f4
JM
204492017-12-01 Joseph Myers <joseph@codesourcery.com>
20450
0ddde474
JM
20451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20452 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20453 compat symbol based on llround.
20454
0d5ba561
JM
20455 * sysdeps/powerpc/power7/fpu/s_logb.c
20456 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20457 symbol based on __logb, not on logb.
20458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20459 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20461 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20462
51ea3b20
JM
20463 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20464 (rint): Define using libm_alias_double.
20465 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20466 <libm-alias-double.h>.
20467 (modf): Define using libm_alias_double.
20468 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20469 <libm-alias-double.h>.
20470 (ceil): Define using libm_alias_double.
20471 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20472 <libm-alias-double.h>.
20473 (floor): Define using libm_alias_double.
20474 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20475 <libm-alias-double.h>.
20476 (nearbyint): Define using libm_alias_double.
20477 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20478 <libm-alias-double.h>.
20479 (rint): Define using libm_alias_double.
20480 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20481 <libm-alias-double.h>.
20482 (round): Define using libm_alias_double.
20483 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20484 <libm-alias-double.h>.
20485 (trunc): Define using libm_alias_double.
20486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20487 <libm-alias-double.h>.
20488 (ceil): Define using libm_alias_double.
20489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20490 Include <libm-alias-double.h>.
20491 (floor): Define using libm_alias_double.
20492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20493 <libm-alias-double.h>.
20494 (modf): Define using libm_alias_double.
20495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20496 Include <libm-alias-double.h>.
20497 (round): Define using libm_alias_double.
20498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20499 Include <libm-alias-double.h>.
20500 (trunc): Define using libm_alias_double.
20501 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20502 <libm-alias-double.h>.
20503 (ceil): Define using libm_alias_double.
20504 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20505 <libm-alias-double.h>.
20506 (floor): Define using libm_alias_double.
20507 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20508 <libm-alias-double.h>.
20509 (round): Define using libm_alias_double.
20510 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20511 <libm-alias-double.h>.
20512 (trunc): Define using libm_alias_double.
20513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20514 <libm-alias-double.h>.
20515 (ceil): Define using libm_alias_double.
20516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20517 <libm-alias-double.h>.
20518 (floor): Define using libm_alias_double.
20519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20520 <libm-alias-double.h>.
20521 (modf): Define using libm_alias_double.
20522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20523 <libm-alias-double.h>.
20524 (round): Define using libm_alias_double.
20525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20526 <libm-alias-double.h>.
20527 (trunc): Define using libm_alias_double.
20528 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20529 <libm-alias-double.h>.
20530 (ceil): Define using libm_alias_double.
20531 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20532 <libm-alias-double.h>.
20533 (floor): Define using libm_alias_double.
20534 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20535 <libm-alias-double.h>.
20536 (nearbyint): Define using libm_alias_double.
20537 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20538 <libm-alias-double.h>.
20539 (rint): Define using libm_alias_double.
20540 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20541 <libm-alias-double.h>.
20542 (round): Define using libm_alias_double.
20543 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20544 <libm-alias-double.h>.
20545 (trunc): Define using libm_alias_double.
20546 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20547 <libm-alias-double.h>.
20548 (ceil): Define using libm_alias_double.
20549 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20550 <libm-alias-double.h>.
20551 (floor): Define using libm_alias_double.
20552 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20553 <libm-alias-double.h>.
20554 (round): Define using libm_alias_double.
20555 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20556 <libm-alias-double.h>.
20557 (trunc): Define using libm_alias_double.
20558
ec2cf3f4
JM
20559 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20560 (fabs): Define using libm_alias_double.
20561 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20562 (fma): Define using libm_alias_double.
20563 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20564 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20565 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20566 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20567
5b7bd975
AZ
205682017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20569
0594b13f
AZ
20570 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20571
dbdfcf3b
AZ
20572 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20573 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20574 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20575
5b7bd975
AZ
20576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20577 due redirect macro.
20578
ef9ecfa6
AS
205792017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20580
20581 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20582
5b4e5e78
AZ
205832017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20584
2a14526b
AZ
20585 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20586 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20587 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20588 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20589
dbeb74ef 20590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
20591 (libm-sysdep_routines): Add s_nearbyintf-generic and
20592 s_nearbyint-generic.
20593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20594 New file.
20595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20597 Likewise.
20598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20599 Likewise.
20600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20601 file.
20602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20603 Likewise.
20604
20605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
20606 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20608 file.
20609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20611 Likewise.
20612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20615
fa7ded96
AZ
20616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20617 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20619 file.
20620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20622 Likewise.
20623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20626
e240cf0e
AZ
20627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20628 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20630 file.
20631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20633 Likewise.
20634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20637
5b4e5e78
AZ
20638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20639 (sysdep_calls): New rule.
20640 (sysdep_routines): Use sysdep_calls as base.
20641 (libm-sysdep_routines): Add generic rule for symbols shared with
20642 libc. Add s_copysign-generic and s_copysign-generic objects.
20643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20644 New file.
20645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20647 Likewise.
20648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20651
d985adae
MF
206522017-12-01 Mike FABIAN <mfabian@redhat.com>
20653
20654 [BZ #22519]
20655 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20656 the list of locales to be built for testing.
20657 * localedata/is_IS.UTF-8.in: New file.
20658 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20659 on iso14651_t1.
20660
ff84a0e0
JM
206612017-12-01 Joseph Myers <joseph@codesourcery.com>
20662
20663 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20664 <libm-alias-float.h>.
20665 (fabsf): Define using libm_alias_float.
20666
ef5d8b43
L
206672017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20668
20669 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20670
c0535adf
JM
206712017-11-30 Joseph Myers <joseph@codesourcery.com>
20672
f938b397
JM
20673 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20674 <libm-alias-float.h>.
20675 (fabsf): Define using libm_alias_float.
20676 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20677 <libm-alias-float.h>.
20678 (lrintf): Define using libm_alias_float.
20679 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20680 <libm-alias-float.h>.
20681 (rintf): Define using libm_alias_float.
20682
2251fad0
JM
20683 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20684 <libm-alias-double.h>.
20685 (fabs): Define using libm_alias_double.
20686 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20687 <libm-alias-double.h>.
20688 (lrint): Define using libm_alias_double.
20689 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20690 <libm-alias-double.h>.
20691 (rint): Define using libm_alias_double.
20692
e53df1de
JM
20693 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20694 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20695 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20696 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20697 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20698 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20699 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20700 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20701 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20702 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20703 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20704 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20705 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20706 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20707 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20708 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20709 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20710 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20711 s_atan_template.c.
20712 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20713 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20714 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20715 s_ceil_template.c.
20716 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20717 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20718 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20719 s_cos_template.c.
20720 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20721 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20722 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20723 s_expm1_template.c.
20724 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20725 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20726 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20727 s_fabs_template.c.
20728 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20729 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20730 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20731 s_floor_template.c.
20732 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20733 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20734 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20735 s_frexp_template.c.
20736 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20737 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20738 s_lrint_template.c.
20739 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20740 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20741 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20742 s_modf_template.c.
20743 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20744 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20745 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20746 s_nearbyint_template.c.
20747 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20748 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20749 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20750 s_remquo_template.c.
20751 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20752 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20753 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20754 s_rint_template.c.
20755 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20756 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20757 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20758 s_sin_template.c.
20759 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20760 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20761 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20762 s_sincos_template.c.
20763 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20764 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20765 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20766 s_tan_template.c.
20767 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20768 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20769 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20770 s_tanh_template.c.
20771 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20772 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20773 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20774 s_trunc_template.c.
20775 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20776 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20777 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20778 s_atan.c instead of including s_atan.c.
20779 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20780 s_atanf.c instead of including s_atanf.c.
20781 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20782 s_atanl.c instead of including s_atanl.c.
20783 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20784 instead of s_atan.c.
20785 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20786 instead of s_atanf.c.
20787 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20788 instead of s_atanl.c.
20789
c0535adf
JM
20790 * scripts/update-copyrights: Do not handle intl/plural.c
20791 specially.
20792
1faaf703
JB
207932017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20794
20795 [BZ #22432]
20796 * configure.ac (BISON): Require to be present.
20797 * configure: Regenerated.
20798 * intl/Makefile (generated): Add plural.c.
20799 [$(BISON) != no]: Make code unconditional.
20800 (plural.c): Change rule to $(objpfx)plural.c.
20801 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20802 * intl/plural.c: Remove.
20803 * manual/install.texi (Tools for Compilation): Document bison as
20804 required.
20805 * INSTALL: Regenerated.
20806
faec6323
JM
208072017-11-30 Joseph Myers <joseph@codesourcery.com>
20808
bd6ea9ed
JM
20809 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20810 <libm-alias-double.h>.
20811 (llrint): Define using libm_alias_double.
20812 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20813 <libm-alias-float.h>.
20814 (llrintf): Define using libm_alias_float.
20815 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20816 <libm-alias-ldouble.h>.
20817 (llrintl): Define using libm_alias_ldouble.
20818
faec6323
JM
20819 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20820 declare_mgen_alias instead of weak_alias.
20821 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20822 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20823 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20824
023cade3
AZ
208252017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20826
9e2279a0
AZ
20827 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20828 Add add_n-generic.
20829 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20830 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20831 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20832
75f37c71
AZ
20833 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20834 Add submul_1-generic.
20835 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20836 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20837 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20838
b70cbbfc 20839 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
20840 Add addmul_1-generic.
20841 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20842 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20843 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20844
20845 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
20846 Add sub_n-generic.
20847 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20848 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20849 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20850
023cade3
AZ
20851 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20852 Add mul_1-generic.
20853 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20854 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20855 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20856
fbb5fd03
MF
208572017-11-30 Mike FABIAN <mfabian@redhat.com>
20858
20859 According to CLDR, collation rules for Serbian and Bosnian
20860 should be the same as for Croatian.
20861
20862 [BZ #22534]
20863 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20864 and to the list of locales to be built for testing.
20865 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20866 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20867 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20868 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20869
5e56e937
MF
208702017-11-30 Mike FABIAN <mfabian@redhat.com>
20871
20872 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20873 to make test case pass.
20874 * localedata/hr_HR.UTF-8.in: Add more test strings.
20875
cf4341ca
MF
208762017-11-30 Mike FABIAN <mfabian@redhat.com>
20877
20878 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20879
363e4519 208802017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
20881
20882 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20883 the list of locales to built for testing.
20884 * localedata/hr_HR.UTF-8.in: New file.
20885
363e4519 208862017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
20887
20888 [BZ #10580]
20889 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20890 iso14651_t1.
20891 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20892 CLDR (except use ligatures for the digraphs, CLDR does not use
20893 the ligatures), add first_workday, some fixes in the date and time
20894 formats.
20895 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20896 for Đ and đ.
20897 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20898 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20899 Add int_p_cs_precedes and int_n_cs_precedes.
20900 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20901 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20902 LC_MONETARY now).
20903 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20904 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20905 name_miss.
20906 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20907 and lang_lib. Change postal_fmt.
20908
f33632cc
L
209092017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20910
20911 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20912 <setjmp.h>.
20913 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20914 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20915 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20916 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20917 * sysdeps/generic/setjmpP.h: New file.
20918 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20919 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20920 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20921 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20922 Add jmp_buf-ssp.sym.
20923 (tests): Add tst-saved_mask-1.
20924
34697694
AS
209252017-11-30 Arjun Shankar <arjun@redhat.com>
20926
20927 [BZ #22375]
37ac8e63 20928 CVE-2017-17426
34697694
AS
20929 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20930 instead of request2size.
20931
3e5efdbd
JM
209322017-11-30 Joseph Myers <joseph@codesourcery.com>
20933
18305fba
JM
20934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20935 (__lllrint): Remove alias.
20936 (lllrint): Likewise.
20937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20938 (__lllrintf): Likewise.
20939 (lllrintf): Likewise.
20940
3e5efdbd
JM
20941 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20942 <libm-alias-float.h>.
20943 (copysignf): Define using libm_alias_float.
20944 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20945 <libm-alias-float.h>.
20946 (fabsf): Define using libm_alias_float.
20947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20948 Include <libm-alias-float.h>.
20949 (copysignf): Define using libm_alias_float.
20950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20951 <libm-alias-float.h>.
20952 (fabsf): Define using libm_alias_float.
20953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20954 <libm-alias-float.h>.
20955 (fdimf): Define using libm_alias_float.
20956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20957 <libm-alias-float.h>.
20958 (fmaf): Define using libm_alias_float.
20959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20960 <libm-alias-float.h>.
20961 (llrintf): Define using libm_alias_float.
20962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20963 Include <libm-alias-float.h>.
20964 (nearbyintf): Define using libm_alias_float.
20965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20966 <libm-alias-float.h>.
20967 (rintf): Define using libm_alias_float.
20968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20969 <libm-alias-float.h>.
20970 (llrintf): Define using libm_alias_float.
20971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20972 <libm-alias-float.h>.
20973 (lrintf): Define using libm_alias_float.
20974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20975 <libm-alias-float.h>.
20976 (nearbyintf): Define using libm_alias_float.
20977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20978 <libm-alias-float.h>.
20979 (rintf): Define using libm_alias_float.
20980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20981 <libm-alias-float.h>.
20982 (ceilf): Define using libm_alias_float.
20983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20984 <libm-alias-float.h>.
20985 (floorf): Define using libm_alias_float.
20986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20987 <libm-alias-float.h>.
20988 (fmaf): Define using libm_alias_float.
20989 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20990 <libm-alias-float.h>.
20991 (lrintf): Define using libm_alias_float.
20992 (llrintf): Likewise.
20993 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20994 <libm-alias-float.h>.
20995 (nearbyintf): Define using libm_alias_float.
20996 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20997 <libm-alias-float.h>.
20998 (rintf): Define using libm_alias_float.
20999 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21000 <libm-alias-float.h>.
21001 (truncf): Define using libm_alias_float.
21002 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21003 <libm-alias-float.h>.
21004 (copysignf): Define using libm_alias_float.
21005 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21006 <libm-alias-float.h>.
21007 (fabsf): Define using libm_alias_float.
21008 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21009 <libm-alias-float.h>.
21010 (lrintf): Define using libm_alias_float.
21011 (llrintf): Likewise.
21012 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21013 <libm-alias-float.h>.
21014 (nearbyintf): Define using libm_alias_float.
21015 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21016 <libm-alias-float.h>.
21017 (rintf): Define using libm_alias_float.
21018
011fba7e
JM
210192017-11-29 Joseph Myers <joseph@codesourcery.com>
21020
875cd548
JM
21021 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21022 <libm-alias-double.h>.
21023 (copysign): Define using libm_alias_double.
21024 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21025 <libm-alias-double.h>.
21026 (fabs): Define using libm_alias_double.
21027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21028 Include <libm-alias-double.h>.
21029 (copysign): Define using libm_alias_double.
21030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21031 <libm-alias-double.h>.
21032 (fabs): Define using libm_alias_double.
21033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21034 <libm-alias-double.h>.
21035 (fdim): Define using libm_alias_double.
21036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21037 <libm-alias-double.h>.
21038 (fma): Define using libm_alias_double.
21039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21040 <libm-alias-double.h>.
21041 (llrint): Define using libm_alias_double.
21042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21043 Include <libm-alias-double.h>.
21044 (nearbyint): Define using libm_alias_double.
21045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21046 <libm-alias-double.h>.
21047 (rint): Define using libm_alias_double.
21048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21049 <libm-alias-double.h>.
21050 (fabs): Define using libm_alias_double.
21051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21052 <libm-alias-double.h>.
21053 (llrint): Define using libm_alias_double.
21054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21055 <libm-alias-double.h>.
21056 (nearbyint): Define using libm_alias_double.
21057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21058 <libm-alias-double.h>.
21059 (rint): Define using libm_alias_double.
21060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21061 <libm-alias-double.h>.
21062 (ceil): Define using libm_alias_double.
21063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21064 <libm-alias-double.h>.
21065 (floor): Define using libm_alias_double.
21066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21067 <libm-alias-double.h>.
21068 (fma): Define using libm_alias_double.
21069 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21070 <libm-alias-double.h>.
21071 (lrint): Define using libm_alias_double.
21072 (llrint): Likewise.
21073 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21074 <libm-alias-double.h>.
21075 (nearbyint): Define using libm_alias_double.
21076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21077 <libm-alias-double.h>.
21078 (rint): Define using libm_alias_double.
21079 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21080 <libm-alias-double.h>.
21081 (trunc): Define using libm_alias_double.
21082 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21083 <libm-alias-double.h>.
21084 (copysign): Define using libm_alias_double.
21085 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21086 <libm-alias-double.h>.
21087 (fabs): Define using libm_alias_double.
21088 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21089 <libm-alias-double.h>.
21090 (lrint): Define using libm_alias_double.
21091 (llrint): Likewise.
21092 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21093 <libm-alias-double.h>.
21094 (nearbyint): Define using libm_alias_double.
21095 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21096 <libm-alias-double.h>.
21097 (rint): Define using libm_alias_double.
21098
cf4ebc27
JM
21099 [BZ #22229]
21100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21101 <math_ldbl_opt.h>.
21102 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21103
0c097378
JM
21104 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21105 SPARC --disable-multi-arch glibc variants.
21106
34bb10aa
JM
21107 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21108 <libm-alias-float.h>.
21109 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21110 if [SHARED].
21111 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21112 <libm-alias-float.h>.
21113 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21114 if [SHARED].
21115 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21116 <libm-alias-float.h>.
21117 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21118 if [SHARED].
21119 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21120 <libm-alias-float.h>.
21121 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21122 if [SHARED].
21123 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21124 <libm-alias-float.h>.
21125 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21126 if [SHARED].
21127 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21128 <libm-alias-float.h>.
21129 (ceilf): Define using libm_alias_float.
21130 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21131 <libm-alias-float.h>.
21132 (floorf): Define using libm_alias_float.
21133 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21134 <libm-alias-float.h>.
21135 (fmaf): Define using libm_alias_float.
21136 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21137 <libm-alias-float.h>.
21138 (nearbyintf): Define using libm_alias_float.
21139 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21140 <libm-alias-float.h>.
21141 (rintf): Define using libm_alias_float.
21142 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21143 <libm-alias-float.h>.
21144 (truncf): Define using libm_alias_float.
21145 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21146 (copysignf): Define using libm_alias_float.
21147 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21148 (cosf): Define using libm_alias_float.
21149 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21150 (fabsf): Define using libm_alias_float.
21151 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21152 (fmaxf): Define using libm_alias_float.
21153 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21154 (fminf): Define using libm_alias_float.
21155 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21156 (llrintf): Define using libm_alias_float.
21157 [!__ILP32__] (lrintf): Likewise.
21158 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21159 (sincosf): Define using libm_alias_float.
21160 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21161 (sinf): Define using libm_alias_float.
21162 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21163 (lrintf): Define using libm_alias_float.
21164
011fba7e
JM
21165 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21166 <libm-alias-double.h>.
21167 (atan): Define using libm_alias_double.
21168 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21169 <libm-alias-double.h>.
21170 (ceil): Define using libm_alias_double.
21171 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21172 <libm-alias-double.h>.
21173 (floor): Define using libm_alias_double.
21174 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21175 <libm-alias-double.h>.
21176 (fma): Define using libm_alias_double.
21177 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21178 <libm-alias-double.h>.
21179 (nearbyint): Define using libm_alias_double.
21180 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21181 <libm-alias-double.h>.
21182 (rint): Define using libm_alias_double.
21183 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21184 <libm-alias-double.h>.
21185 (sin): Define using libm_alias_double.
21186 (cos): Likewise.
21187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21188 <libm-alias-double.h>.
21189 (tan): Define using libm_alias_double.
21190 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21191 <libm-alias-double.h>.
21192 (trunc): Define using libm_alias_double.
21193 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21194 (copysign): Define using libm_alias_double.
21195 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21196 (fabs): Define using libm_alias_double.
21197 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21198 (fmax): Define using libm_alias_double.
21199 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21200 (fmin): Define using libm_alias_double.
21201 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21202 (llrint): Define using libm_alias_double.
21203 [!__ILP32__] (lrint): Likewise.
21204 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21205 (lrint): Define using libm_alias_double.
21206
1cbd7bfe
AZ
212072017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21208
21bfcc3d
AZ
21209 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21210 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21211 objects.
21212 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21218
522228dd
AZ
21219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21220 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21221 objects.
21222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21228
2a6f4fab
AZ
21229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21230 (libm-sysdep_routines): Add s_nearbyint-generic and
21231 s_nearbyintf-generic objects.
21232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21233 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21236 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21238
712b5b83
AZ
21239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21240 Add s_finitef-generic and s_finite-generic objects.
21241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21245 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21247
c96d3335
AZ
21248 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21249 Add s_isinff-generic and s_isinf-generic objects.
21250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21256
c6862a23
AZ
21257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21258 Add s_isnanf-generic and s_isnan-generic objects.
21259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21265
1cbd7bfe
AZ
21266 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21267 macro.
21268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21269 rule.
21270 (sysdep_routines): Use sysdep_calls as base.
21271 (libm-sysdep_routines): Add generic rule for symbols shared with
21272 libc. Add s_signbit-generic and s_signbitf-generic objects.
21273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21277 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21278 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21279
aa1142c5
JM
212802017-11-29 Joseph Myers <joseph@codesourcery.com>
21281
21282 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21283 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21284 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21285 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21286 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21287 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21288 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21289 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21290 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21291 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21292 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21293 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21294 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21295 libm_alias_float_r.
21296 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21297 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21298 (logf): Likewise.
21299 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21300 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21301 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21302 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21303 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21304 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21305 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21306 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21307 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21308 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21309 libm_alias_float.
21310 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21311 (cosf): Likewise.
21312 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21313 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21314 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21315 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21316 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21317 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21318 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21319 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21320 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21321 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21322 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21323 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21324 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21325 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21326 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21327 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21328 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21329 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21330 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21331 libm_alias_float.
21332 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21333 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21334 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21335 * sysdeps/ia64/fpu/w_lgammaf_main.c
21336 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21337 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21338
363e4519
DL
213392017-11-28 Mike FABIAN <mfabian@redhat.com>
21340 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
21341
21342 [BZ #17750]
21343 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21344 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21345 accents sorting.
21346 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21347 sorting.
21348 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21349 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21350 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21351 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21352 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21353 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21354 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21355 instead of “ifdef DIACRIT_BACKWARD”.
21356
a55430cb
AZ
213572017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21358
21359 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21360 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21361 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21362 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21363 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21364 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21371 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21372 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21373 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21374 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21375 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21376 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21378 ($(have-as-vis3) == yes): Remove conditional.
21379 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21380 Likewise.
21381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21382 file.
21383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21384 file.
21385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21386 file.
21387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21388 file.
21389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21395 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21396 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21397
0609ec0a
JM
213982017-11-29 Joseph Myers <joseph@codesourcery.com>
21399
21400 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21401 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21402 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21403 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21404 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21405 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21406 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21407 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21408 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21409 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21410 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21411 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21412 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21413 libm_alias_double_r.
21414 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21415 (log): Likewise.
21416 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21417 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21418 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21419 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21420 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21421 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21422 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21423 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21424 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21425 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21426 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21427 libm_alias_double.
21428 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21429 (cos): Likewise.
21430 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21431 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21432 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21433 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21434 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21435 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21436 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21437 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21438 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21439 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21440 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21441 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21442 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21443 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21444 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21445 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21446 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21447 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21448 libm_alias_double.
21449 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21450 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21451 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21452 * sysdeps/ia64/fpu/w_lgamma_main.c
21453 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21454 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21455
d5bfa34a
JDA
214562017-11-28 John David Anglin <danglin@gcc.gnu.org>
21457
21458 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21459 address of $global$ into %dp register earlier. Use pc-relative
21460 instruction sequence for PIC case.
21461
bc4e8f9b
JM
214622017-11-28 Joseph Myers <joseph@codesourcery.com>
21463
e4602cba
JM
21464 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21465 (asinhf): Define using libm_alias_float.
21466 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21467 (atanf): Define using libm_alias_float.
21468 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21469 (cbrtf): Define using libm_alias_float.
21470 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21471 (ceilf): Define using libm_alias_float.
21472 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21473 (copysignf): Define using libm_alias_float.
21474 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21475 (expm1f): Define using libm_alias_float.
21476 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21477 (fabsf): Define using libm_alias_float.
21478 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21479 (floorf): Define using libm_alias_float.
21480 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21481 (fmaxf): Define using libm_alias_float.
21482 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21483 (fminf): Define using libm_alias_float.
21484 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21485 (frexpf): Define using libm_alias_float.
21486 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21487 (llrintf): Define using libm_alias_float.
21488 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21489 (logbf): Define using libm_alias_float.
21490 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21491 (lrintf): Define using libm_alias_float.
21492 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21493 (nearbyintf): Define using libm_alias_float.
21494 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21495 (remquof): Define using libm_alias_float.
21496 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21497 (rintf): Define using libm_alias_float.
21498 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21499 (truncf): Define using libm_alias_float.
21500 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21501 <libm-alias-float.h>.
21502 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21503 if [SHARED].
21504 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21505 <libm-alias-float.h>.
21506 (expf): Define using libm_alias_float, or libm_alias_float_other
21507 if [SHARED].
21508 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21509 <libm-alias-float.h>.
21510 (log2f): Define using libm_alias_float, or libm_alias_float_other
21511 if [SHARED].
21512 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21513 <libm-alias-float.h>.
21514 (logf): Define using libm_alias_float, or libm_alias_float_other
21515 if [SHARED].
21516 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21517 <libm-alias-float.h>.
21518 (powf): Define using libm_alias_float, or libm_alias_float_other
21519 if [SHARED].
21520 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21521 <libm-alias-float.h>.
21522 (cosf): Define using libm_alias_float.
21523 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21524 <libm-alias-float.h>.
21525 (sincosf): Define using libm_alias_float.
21526 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21527 <libm-alias-float.h>.
21528 (sinf): Define using libm_alias_float.
21529 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21530 (fmaxf): Define using libm_alias_float.
21531 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21532 (fminf): Define using libm_alias_float.
21533 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21534 <libm-alias-float.h>.
21535 (fmaf): Define using libm_alias_float.
21536
bc4e8f9b
JM
21537 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21538 (asinh): Define using libm_alias_double.
21539 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21540 (atan): Define using libm_alias_double.
21541 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21542 (cbrt): Define using libm_alias_double.
21543 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21544 (ceil): Define using libm_alias_double.
21545 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21546 (copysign): Define using libm_alias_double.
21547 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21548 (expm1): Define using libm_alias_double.
21549 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21550 (fabs): Define using libm_alias_double.
21551 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21552 (fdim): Define using libm_alias_double.
21553 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21554 (floor): Define using libm_alias_double.
21555 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21556 (fmax): Define using libm_alias_double.
21557 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21558 (fmin): Define using libm_alias_double.
21559 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21560 (frexp): Define using libm_alias_double.
21561 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21562 (llrint): Define using libm_alias_double.
21563 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21564 (logb): Define using libm_alias_double.
21565 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21566 (lrint): Define using libm_alias_double.
21567 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21568 (nearbyint): Define using libm_alias_double.
21569 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21570 (remquo): Define using libm_alias_double.
21571 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21572 (rint): Define using libm_alias_double.
21573 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21574 (trunc): Define using libm_alias_double.
21575 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21576 (fmax): Define using libm_alias_double.
21577 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21578 (fmin): Define using libm_alias_double.
21579 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21580 (fma): Define using libm_alias_double.
21581
8d81ce0c
L
215822017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21583
21584 [BZ #22370]
21585 * elf/dl-hwcaps.c (ROUND): Removed.
21586 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21587 and ELF_NOTE_NEXT_OFFSET.
21588 * elf/dl-load.c (ROUND): Removed.
21589 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21590 * elf/readelflib.c (ROUND): Removed.
21591 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21592 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21593 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21594 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21595
6940bd96
JM
215962017-11-28 Joseph Myers <joseph@codesourcery.com>
21597
313ba463
JM
21598 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21599 [!__fmaf] (fmaf): Define using libm_alias_float.
21600
6940bd96
JM
21601 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21602 [!__fma] (fma): Define using libm_alias_double.
21603 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21604
22c69b6a
MF
216052017-11-28 Mike FABIAN <mfabian@redhat.com>
21606
21607 [BZ #22336]
21608 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21609 and implement the collation rules for cs from CLDR on top of that.
21610 * Makefile: Add cs_CZ.UTF-8 to test-input.
21611 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21612
8d7d3ba8
SP
216132017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21614
21615 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21616
0422ed1e
VR
216172017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21618 Icarus Sparry <icarus.w.sparry@intel.com>
21619
21620 * benchtests/Makefile:Add BENCHSET to allow subsets of
21621 benchmarks to be run.
21622 * benchtests/README: Add documentation for: Running subsets of
21623 benchmarks.
21624
0595e360
VR
216252017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21626
d5090db3
VR
21627 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21628 range of tests names.
21629
0595e360
VR
21630 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21631 result from property and remove "max", min" and "mean" from
21632 required properties based on benchtests/bench-skeleton.c.
21633
b4c645c2
FW
216342017-11-28 Florian Weimer <fweimer@redhat.com>
21635
21636 [BZ #20826]
21637 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21638 due to Internet requirement.
21639 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21640 tst-getaddrinfo5.
21641 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21642
88684de7
AZ
216432017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21644
69056564
AZ
21645 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21646 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21647 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21648 (sysdep_routines): Add memset-ultra1.
21649 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21650 file.
21651 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21652 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21653 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21654 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21655 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21656 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21657 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21658 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21659
88684de7
AZ
21660 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21661 file.
21662 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21663 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21664 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21665 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21666 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21667 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21668 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21669 macro.
21670 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21671 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21672 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21673 (sysdep_routines): Add memcpy-ultra1.
21674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21675 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21676
d8124864
JM
216772017-11-28 Joseph Myers <joseph@codesourcery.com>
21678
f433d0b3
JM
21679 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21680 (cfloat_versions): Take function argument without trailing 'f'.
21681 Call libm_alias_float_other.
21682 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21683 * sysdeps/alpha/fpu/cargf.c: Likewise.
21684 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21685 * sysdeps/alpha/fpu/conjf.c: Likewise.
21686 * sysdeps/alpha/fpu/crealf.c: Likewise.
21687 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21688 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21689 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21690 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21691 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21692 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21693 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21694 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21695 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21696 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21697 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21698 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21699 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21700 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21701 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21702 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21703 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21704 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21705 (clog10f): Use libm_alias_float_other.
21706 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21707 (ceilf): Define using libm_alias_float.
21708 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21709 (copysignf): Define using libm_alias_float.
21710 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21711 (fabsf): Define using libm_alias_float.
21712 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21713 (floorf): Define using libm_alias_float.
21714 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21715 (fmaxf): Define using libm_alias_float.
21716 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21717 (fminf): Define using libm_alias_float.
21718 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21719 (lrintf): Define using libm_alias_float.
21720 (llrintf): Likewise.
21721 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21722 (lroundf): Define using libm_alias_float.
21723 (llroundf): Likewise.
21724 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21725 (rintf): Define using libm_alias_float.
21726 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21727 (truncf): Define using libm_alias_float.
21728
15ff4900
JM
21729 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21730 (ceilf): Define using libm_alias_float.
21731 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21732 (floorf): Define using libm_alias_float.
21733 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21734 (fmaf): Define using libm_alias_float.
21735 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21736 (fmaxf): Define using libm_alias_float.
21737 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21738 (fminf): Define using libm_alias_float.
21739 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21740 (llrintf): Define using libm_alias_float.
21741 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21742 (llroundf): Define using libm_alias_float.
21743 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21744 (lrintf): Define using libm_alias_float.
21745 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21746 (lroundf): Define using libm_alias_float.
21747 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21748 <libm-alias-float.h>.
21749 (nearbyintf): Define using libm_alias_float.
21750 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21751 (rintf): Define using libm_alias_float.
21752 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21753 (roundf): Define using libm_alias_float.
21754 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21755 (truncf): Define using libm_alias_float.
21756
5de60638
JM
21757 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21758 (ceil): Define using libm_alias_double.
21759 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21760 (copysign): Define using libm_alias_double.
21761 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21762 (fabs): Define using libm_alias_double.
21763 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21764 (floor): Define using libm_alias_double.
21765 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21766 (fmax): Define using libm_alias_double.
21767 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21768 (fmin): Define using libm_alias_double.
21769 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21770 (lrint): Define using libm_alias_double.
21771 (llrint): Likewise.
21772 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21773 (lround): Define using libm_alias_double.
21774 (llround): Likewise.
21775 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21776 (rint): Define using libm_alias_double.
21777 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21778 (trunc): Define using libm_alias_double.
21779
d8124864
JM
21780 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21781 (libm_alias_double_r): Add semicolon after weak_alias call.
21782
f07d2ec8
JM
217832017-11-27 Joseph Myers <joseph@codesourcery.com>
21784
21785 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21786 (ceil): Define using libm_alias_double.
21787 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21788 (floor): Define using libm_alias_double.
21789 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21790 (fma): Define using libm_alias_double.
21791 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21792 (fmax): Define using libm_alias_double.
21793 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21794 (fmin): Define using libm_alias_double.
21795 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21796 (llrint): Define using libm_alias_double.
21797 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21798 (llround): Define using libm_alias_double.
21799 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21800 (lrint): Define using libm_alias_double.
21801 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21802 (lround): Define using libm_alias_double.
21803 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21804 (nearbyint): Define using libm_alias_double.
21805 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21806 (rint): Define using libm_alias_double.
21807 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21808 (round): Define using libm_alias_double.
21809 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21810 (trunc): Define using libm_alias_double.
21811
4bab0224
FW
218122017-11-27 Florian Weimer <fweimer@redhat.com>
21813
21814 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21815 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21816 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21817 (tests): Add tst-mlock2.
21818 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21819 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21820 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21821 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21822 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21823 for mlock. Document mlock2.
21824
a23aa5b7
JM
218252017-11-27 Joseph Myers <joseph@codesourcery.com>
21826
21827 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21828 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21829 Likewise.
21830 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21831 Likewise.
21832 * sysdeps/x86/Makeconfig: New file.
21833 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21834 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21835 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21836 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21837 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21838 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21839 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21840 Likewise.
21841 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21842 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21843 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21844 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21845 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21846 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21847 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21848 * manual/math.texi (Mathematics): Document support for _Float64x.
21849 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21850 * stdlib/Versions (GLIBC_2.27): Likewise.
21851 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21852 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21853 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21854 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21855 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21856 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21857 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21858 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21859 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21860 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21861 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21862 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21864 Likewise.
21865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21866 Likewise.
21867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21868 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21869 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21870 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21871 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21872 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21873 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21874 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21875 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21876 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21877 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21878 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21879 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21880 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21881
c2c299fd
AS
218822017-11-27 Andreas Schwab <schwab@suse.de>
21883
21884 * elf/Makefile (dl-routines): Add dl-sort-maps.
21885 * elf/dl-sort-maps.c: New file.
21886 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21887 (_dl_sort_maps): Declare.
21888 * elf/dl-fini.c (_dl_sort_fini): Remove.
21889 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21890 * elf/dl-close.c (_dl_close_worker): Likewise.
21891 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21892 open-coding it.
21893 * elf/dl-open.c (dl_open_worker): Likewise.
21894
9d4b0117
JM
218952017-11-24 Joseph Myers <joseph@codesourcery.com>
21896
de61465c
JM
21897 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21898 using libm_alias_float128.
21899 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21900 Likewise.
21901 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21902 Likewise.
21903 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21904 (setpayloadsigf128): Likewise.
21905 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21906 Likewise.
21907 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21908 Likewise.
21909
9ae6d171
JM
21910 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21911 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21912 -mfloat128 to CFLAGS.
21913 ($(foreach
21914 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21915 Likewise.
21916 (CFLAGS-libm-test-support-float64x.c): New variable.
21917 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21918 $(f128-loader-link) to gnulib-tests.
21919
6e70d156
JM
21920 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21921 (libm_alias_float128_other_r): If
21922 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21923 alias.
21924 (libm_alias_float128_r): Add semicolon after weak_alias call.
21925 * sysdeps/generic/libm-alias-ldouble.h
21926 (libm_alias_ldouble_other_r_f128): New macro.
21927 (libm_alias_ldouble_other_r_f64x): Likewise.
21928 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21929 and libm_alias_ldouble_other_r_f64x.
21930 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21931 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21932 (libm_alias_ldouble_other_r_f128): New macro.
21933 (libm_alias_ldouble_other_r_f64x): Likewise.
21934 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21935 and libm_alias_ldouble_other_r_f64x.
21936
df2806cd
JM
21937 * stdlib/strfroml.c: Always include <stdlib.h>.
21938 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21939 undefine as macro and define as weak alias.
21940 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21941 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21942 <stdlib.h>.
21943 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21944 Define and later undefine as macro and define as weak alias.
21945
0df4fe35
JM
21946 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21947 Define and later undefine as macro. Define as weak alias if
21948 [!USE_WIDE_CHAR].
21949 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21950 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21951 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21952 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21953 Define and later undefine as macro. Define as weak alias if
21954 [!USE_WIDE_CHAR].
21955 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21956 Define and later undefine as macro. Define as weak alias if
21957 [USE_WIDE_CHAR].
21958 * sysdeps/ieee754/float128/strtof128_l.c
21959 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21960 Define and later undefine as macro. Define as weak alias if
21961 [!USE_WIDE_CHAR].
21962 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21963 Define and later undefine as macro. Define as weak alias if
21964 [USE_WIDE_CHAR].
21965 * sysdeps/ieee754/ldbl-128/strtold_l.c
21966 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21967 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21968 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21969 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21970 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21971 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21972 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21973 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21974 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21975 * sysdeps/ieee754/ldbl-96/strtold_l.c
21976 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21977 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21978 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21979 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21980
ae7207d0
JM
21981 * math/test-float64x.h: New file.
21982 * math/Makefile (type-float64x-yes): New variable.
21983 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21984
9596fc69
JM
21985 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21986 function-like macro.
21987 (min_of_type_): Likewise.
21988 (min_of_type_l): Likewise.
21989 (min_of_type_f128): Likewise.
21990 (min_of_type): Pass () as last argument of __MATH_TG.
21991
46453c3c
JM
21992 * stdlib/tst-strtod-round-skeleton.c
21993 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21994 headers.
21995
01e659e7
JM
21996 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21997 for combinations of long double with _Float64 and _Float64x.
21998
5c60afdd
JM
21999 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22000 (__DECL_SIMD_cosf32): Likewise.
22001 (__DECL_SIMD_cosf64): Likewise.
22002 (__DECL_SIMD_cosf32x): Likewise.
22003 (__DECL_SIMD_cosf64x): Likewise.
22004 (__DECL_SIMD_cosf128x): Likewise.
22005 (__DECL_SIMD_sinf16): Likewise.
22006 (__DECL_SIMD_sinf32): Likewise.
22007 (__DECL_SIMD_sinf64): Likewise.
22008 (__DECL_SIMD_sinf32x): Likewise.
22009 (__DECL_SIMD_sinf64x): Likewise.
22010 (__DECL_SIMD_sinf128x): Likewise.
22011 (__DECL_SIMD_sincosf16): Likewise.
22012 (__DECL_SIMD_sincosf32): Likewise.
22013 (__DECL_SIMD_sincosf64): Likewise.
22014 (__DECL_SIMD_sincosf32x): Likewise.
22015 (__DECL_SIMD_sincosf64x): Likewise.
22016 (__DECL_SIMD_sincosf128x): Likewise.
22017 (__DECL_SIMD_logf16): Likewise.
22018 (__DECL_SIMD_logf32): Likewise.
22019 (__DECL_SIMD_logf64): Likewise.
22020 (__DECL_SIMD_logf32x): Likewise.
22021 (__DECL_SIMD_logf64x): Likewise.
22022 (__DECL_SIMD_logf128x): Likewise.
22023 (__DECL_SIMD_expf16): Likewise.
22024 (__DECL_SIMD_expf32): Likewise.
22025 (__DECL_SIMD_expf64): Likewise.
22026 (__DECL_SIMD_expf32x): Likewise.
22027 (__DECL_SIMD_expf64x): Likewise.
22028 (__DECL_SIMD_expf128x): Likewise.
22029 (__DECL_SIMD_powf16): Likewise.
22030 (__DECL_SIMD_powf32): Likewise.
22031 (__DECL_SIMD_powf64): Likewise.
22032 (__DECL_SIMD_powf32x): Likewise.
22033 (__DECL_SIMD_powf64x): Likewise.
22034 (__DECL_SIMD_powf128x): Likewise.
22035
9d4b0117
JM
22036 * stdlib/Versions (libc): Move entries for wcstof128 and
22037 wcstof128_l to ....
22038 * wcsmbs/Versions (libc): ... here.
22039 Include <float128-abi.h>.
22040
7911dd47
FW
220412017-11-24 Florian Weimer <fweimer@redhat.com>
22042
22043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22044 bits/mman-shared.h.
22045 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22046 <bits/mman-shared.h>.
22047 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22048 to ...
22049 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22050 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22051 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22052 <bits/mman-shared.h>.
22053
c45d78aa
AZ
220542017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22055
22056 [BZ #22457]
22057 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22058 posix_memalign/free.
22059 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22060
3ffc4cc1
MF
220612017-11-22 Mike FABIAN <mfabian@redhat.com>
22062
22063 [BZ #22469]
22064 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22065 and implement the collation rules for pl from CLDR on top of that.
22066 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22067 of locales to be built for testing.
22068 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22069
3a327316
JM
220702017-11-23 Joseph Myers <joseph@codesourcery.com>
22071
22072 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22073 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22074 libm_alias_ldouble_other.
22075 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22076 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22077 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22078 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22079 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22080 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22081 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22082 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22083 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22084 libm_alias_ldouble_r.
22085 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22086 libm_alias_ldouble_other.
22087 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22088 (log10l): Likewise.
22089 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22090 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22091 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22092 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22093 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22094 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22095 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22096 (atan2l): Likewise.
22097 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22098 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22099 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22100 libm_alias_ldouble.
22101 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22102 (cosl): Likewise.
22103 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22104 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22105 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22106 (expl): Likewise.
22107 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22108 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22109 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22110 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22111 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22112 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22113 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22114 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22115 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22116 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22117 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22118 libm_alias_ldouble.
22119 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22120 libm_alias_ldouble_other.
22121 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22122 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22123 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22124 libm_alias_ldouble.
22125 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22126 libm_alias_ldouble_other.
22127 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22128 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22129 * sysdeps/ia64/fpu/w_lgammal_main.c
22130 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22131 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22132
0a947e06
FW
221332017-11-23 Florian Weimer <fweimer@redhat.com>
22134
22135 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22136 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22137 alike. Remove freeres marker.
22138 * malloc/arena.c (arena_thread_freeres): Call
22139 tcache_thread_shutdown.
22140
67f36c79
FW
221412017-11-23 Florian Weimer <fweimer@redhat.com>
22142
22143 [BZ #22459]
22144 Export nscd hash function as __nss_hash.
22145 * include/nss.h (__nss_hash): Declare.
22146 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22147 symbol.
22148 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22149 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22150 of __nscd_hash.
22151 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22152 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22153 * nss/Makefiles (routines): Add nss_hash.
22154 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22155 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22156 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22157 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22158
cccb6d4e
FW
221592017-11-23 Florian Weimer <fweimer@redhat.com>
22160
22161 [BZ #22478]
22162 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22163 Return error code, not -1.
22164 * signal/tst-sigwait-eintr.c: New file.
22165 * signal/Makefile (tests): Add tst-sigwait-eintr.
22166
59d2cbb1
FW
221672017-11-23 Florian Weimer <fweimer@redhat.com>
22168
22169 Linux: Add memfd_create system call wrapper
22170 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22171 tst-memfd_create.
22172 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22173 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22174 [__USE_GNU] (memfd_create): Declare.
22175 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22176 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22177 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22178 * sysdeps/unix/sysv/linux/**.abilist: Update.
22179 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22180
a90d1ac2
JM
221812017-11-22 Joseph Myers <joseph@codesourcery.com>
22182
0a9d1d62
JM
22183 * localedata/gen-locale.sh: Fix typo in variable name.
22184
754034c4
JM
22185 * resolv/res_debug.c (p_secstodate): Condition definition on
22186 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22187 directly as __p_secstodate, and as a compat symbol. Do not use
22188 libresolv_hidden_def.
22189 * resolv/resolv.h (p_secstodate): Remove macro and function
22190 declaration.
22191 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22192 using p_secstodate.
22193 * include/resolv.h (__p_secstodate): Do not use
22194 libresolv_hidden_proto.
22195 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22196 (tests-internal): ... here.
22197 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22198 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22199 and declare and use __p_secstodate and use compat_symbol_reference
22200 in that case.
22201 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22202 implementation returning 77.
22203
f120cda6
JM
22204 [BZ #22463]
22205 * resolv/res_debug.c: Include <libc-diag.h>.
22206 (p_secstodate): Assert time_t at least as wide as u_long. On
22207 overflow, use integer seconds since the epoch as output, or use
22208 "<overflow>" as output and set errno to EOVERFLOW if integer
22209 seconds since the epoch would be 14 or more characters.
22210 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22211 for sprintf call.
22212 * resolv/tst-p_secstodate.c: New file.
22213 * resolv/Makefile (tests): Add tst-p_secstodate.
22214 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22215
a90d1ac2
JM
22216 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22217 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22218 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22219
0285e6bd
PE
222202017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22221
22222 * posix/regcomp.c (init_word_char): Add comments.
22223
4bae6150
JM
222242017-11-22 Joseph Myers <joseph@codesourcery.com>
22225
22226 [BZ #22447]
22227 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22228 strlen to compute length of ut_user and set trailing NUL byte of
22229 result explicitly.
22230
4b7af5fc
MF
222312017-11-21 Mike FABIAN <mfabian@redhat.com>
22232
22233 [BZ #15537]
22234 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22235 using “copy "iso14651_t1"” and then implementing the
22236 collation rules for lv from CLDR on top of that.
22237 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22238 of locales to be built for testing.
22239 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22240 sorting.
22241
922bb78c
JM
222422017-11-21 Joseph Myers <joseph@codesourcery.com>
22243
22244 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22245 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22246 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22247 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22248 [__USE_MISC] (MADV_HWPOISON): New macro.
22249 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22250
a3aaa598
AZ
222512017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22252
22253 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22254 -Wmissing-braces on GCC 4.9.
22255
8beba15d
SL
222562017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22257
22258 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22259 * sysdeps/s390/s390-32/start.S (_start): Likewise
22260 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22261 (thread_start): Likewise.
22262 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22263 (thread_start): Likewise.
22264 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22265 (__makecontext_ret): Likewise.
22266 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22267 (__makecontext_ret): Likewise.
22268
80eb52e3
SL
222692017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22270
22271 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22272 __wcschrnul): Remove attribute_hidden.
22273
567d8c1f
PE
222742017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22275
22276 regex: don't assume uint64_t or uint32_t
22277 This avoids -Werror=overflow errors for 32-bit systems in
22278 the 64-bit case. Problem reported by Joseph Myers in:
22279 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22280 Also, when this code is used in Gnulib it ports to platforms
22281 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22282 them, and on some 32-bit compilers there is no uint64_t.
22283 Problem reported by Gianluigi Tiesi in:
22284 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22285 * posix/regcomp.c (init_word_char): Don't assume that the types
22286 uint64_t and uint32_t exist. Adapted from Gnulib patch
22287 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22288 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22289
4d7632ff
SP
222902017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22291
5a67c4fa
SP
22292 * sysdeps/aarch64/memset-reg.h: New file.
22293 * sysdeps/aarch64/memset.S: Use it.
22294 (__memset): Rename to MEMSET macro.
22295 [ZVA_MACRO]: Use zva_macro.
22296 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22297 Add memset_generic and memset_falkor.
22298 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22299 (__libc_ifunc_impl_list): Add memset ifuncs.
22300 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22301 local variable zva_size.
22302 * sysdeps/aarch64/multiarch/memset.c: New file.
22303 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22304 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22305 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22306 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22307 (DCZID_DZP_MASK): New macro.
22308 (DCZID_BS_MASK): Likewise.
22309 (init_cpu_features): Read and set zva_size.
22310 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22311 (struct cpu_features): New member zva_size.
22312
eb332f9f
SP
22313 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22314 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22315 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22316
4d7632ff
SP
22317 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22318 backwards. Fix timing computation.
22319 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22320 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22321 on memset by N at a time. Fix timing computation.
22322
a465b89e
FW
223232017-11-20 Florian Weimer <fweimer@redhat.com>
22324
22325 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22326 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22327
0f74bbf5
FW
223282017-11-19 Florian Weimer <fweimer@redhat.com>
22329
22330 manual: Document mprotect
22331 * manual/memory.texi (Memory Protection): New section.
22332 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22333 documentation of PROT_* flags and reference the Memory Protection
22334 section instead.
22335
f6e965ee
FW
223362017-11-19 Florian Weimer <fweimer@redhat.com>
22337
22338 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22339 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22340 (Scatter-Gather): ... to here. Remove misleading comment.
22341
363e4519 223422017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 22343
5f9d1949
CB
22344 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22345 style.
22346
ea69a5c8
CB
22347 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22348 when /proc/<pid>/setgroups does not exist.
22349
8db7f48c
FW
223502017-11-18 Florian Weimer <fweimer@redhat.com>
22351
22352 * sysdeps/unix/sysv/linux/tst-ttyname.c
22353 (become_root_in_mount_ns): Remove.
22354 (do_in_chroot_1): Call support_enter_mount_namespace.
22355 (do_in_chroot_2): Likewise.
22356 (do_test): Call support_become_root early.
22357
273a0c49
FW
223582017-11-18 Florian Weimer <fweimer@redhat.com>
22359
22360 * support/namespace.h (support_enter_mount_namespace): Declare.
22361 * support/support_enter_mount_namespace.c: New file.
22362 * support/Makefile (libsupport-routines): Add
22363 support_enter_mount_namespace.
22364
8adfb0ee
FW
223652017-11-18 Florian Weimer <fweimer@redhat.com>
22366
22367 * support/temp_file.c (support_create_temp_directory): Use
22368 test_dir and do not rely on the presence of the XXXXXX suffix.
22369 * support/temp_file.h (support_create_temp_directory): Update
22370 comment.
22371 * support/tst-xreadlink.c (do_test): Adjust.
22372 * support/support_chroot.c (support_chroot_create): Likewise.
22373
df0c40ee
TMQMF
223742017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22375
22376 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22377 macro.
22378 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22379 htm-no-suspend.
22380
015c6dc2
JM
223812017-11-17 Joseph Myers <joseph@codesourcery.com>
22382
f58e5f48
JM
22383 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22384 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22385 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22386 (ceill): Define using libm_alias_ldouble.
22387 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22388 <libm-alias-ldouble.h>.
22389 (copysignl): Define using libm_alias_ldouble.
22390 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22391 (fabsl): Define using libm_alias_ldouble.
22392 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22393 (floorl): Define using libm_alias_ldouble.
22394 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22395 (fmaxl): Define using libm_alias_ldouble.
22396 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22397 (fminl): Define using libm_alias_ldouble.
22398 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22399 (llrintl): Define using libm_alias_ldouble.
22400 (lrintl): Likewise.
22401 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22402 <libm-alias-ldouble.h>.
22403 (nearbyintl): Define using libm_alias_ldouble.
22404 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22405 (truncl): Define using libm_alias_ldouble.
22406 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22407 <libm-alias-ldouble.h>.
22408 (lrintl): Define using libm_alias_ldouble.
22409
2ce30701
JM
22410 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22411 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22412 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22413 (asinhl): Define using libm_alias_ldouble.
22414 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22415 (atanl): Define using libm_alias_ldouble.
22416 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22417 (cbrtl): Define using libm_alias_ldouble.
22418 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22419 (ceill): Define using libm_alias_ldouble.
22420 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22421 (copysignl): Define using libm_alias_ldouble.
22422 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22423 (fabsl): Define using libm_alias_ldouble.
22424 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22425 (floorl): Define using libm_alias_ldouble.
22426 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22427 (fmaxl): Define using libm_alias_ldouble.
22428 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22429 (fminl): Define using libm_alias_ldouble.
22430 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22431 (frexpl): Define using libm_alias_ldouble.
22432 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22433 (llrintl): Define using libm_alias_ldouble.
22434 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22435 (logbl): Define using libm_alias_ldouble.
22436 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22437 (lrintl): Define using libm_alias_ldouble.
22438 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22439 (nearbyintl): Define using libm_alias_ldouble.
22440 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22441 (nextafterl): Define using libm_alias_ldouble.
22442 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22443 (remquol): Define using libm_alias_ldouble.
22444 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22445 (rintl): Define using libm_alias_ldouble.
22446 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22447 (truncl): Define using libm_alias_ldouble.
22448 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22449 (fmaxl): Define using libm_alias_ldouble.
22450 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22451 (fminl): Define using libm_alias_ldouble.
22452
015c6dc2
JM
22453 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22454 to C syntax instead of availability and properties of types.
22455 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22456 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22457 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22458 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22459 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22460 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22461
ce003e5d
FW
224622017-11-17 Florian Weimer <fweimer@redhat.com>
22463
22464 support_become_root: Enable file creation in namespaces.
22465 * support/support_become_root.c (setup_mapping): New function.
22466 (support_become_root): Call it.
22467
e7df6c5c
JM
224682017-11-17 Joseph Myers <joseph@codesourcery.com>
22469
22470 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22471 macro.
22472
58a813bf
AZ
224732017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22474
22475 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22476 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22477
f97773d1
JM
224782017-11-16 Joseph Myers <joseph@codesourcery.com>
22479
6a6aa1f3
JM
22480 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22481
f97773d1
JM
22482 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22483 version to 4.14.
22484
a306c790
SP
224852017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22486
7b0fb870
SP
22487 * INSTALL: Fix botched up regeneration.
22488
22489 * NEWS: Update sourceare link to https.
a306c790
SP
22490 * configure.ac: Likewise.
22491 * crypt/md5test-giant.c: Likewise.
22492 * dlfcn/bug-atexit1.c: Likewise.
22493 * dlfcn/bug-atexit2.c: Likewise.
22494 * localedata/README: Likewise.
22495 * malloc/tst-mallocfork.c: Likewise.
22496 * manual/install.texi: Likewise.
22497 * nptl/tst-pthread-getattr.c: Likewise.
22498 * stdio-common/tst-fgets.c: Likewise.
22499 * stdio-common/tst-fwrite.c: Likewise.
22500 * sunrpc/Makefile: Likewise.
22501 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22502 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
22503 * configure: Regenerate.
22504 * INSTALL: Regenerate.
a306c790 22505
7532837d
MS
225062017-11-15 Martin Sebor <msebor@redhat.com>
22507
22508 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22509 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22510 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22511
495a56fd
LS
225122017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22513
d9611e30
LS
22514 [BZ #22145]
22515 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22516 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22517
a09dfc19
LS
22518 [BZ #22145]
22519 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22520 Defer is_pty check until end of the function.
22521 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22522
2fbce9c2
LS
22523 [BZ #22145]
22524 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22525 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22526 (ttyname): Likewise.
22527 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22528 (__ttyname_r): Likewise.
22529
d10d6cab
LS
22530 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22531 int to bool.
22532
9b5a8750
LS
22533 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22534
495a56fd
LS
22535 * manual/terminal.texi (Is It a Terminal):
22536 Mention ENODEV for ttyname and ttyname_r.
22537
fa680dc6
JM
225382017-11-15 Joseph Myers <joseph@codesourcery.com>
22539
78cde19f
JM
22540 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22541 constant and macro.
22542
fa680dc6
JM
22543 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22544 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22545 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22546 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22547 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22548 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22549
ad4f43a2
AZ
225502017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22551
1ba1d8a4
AZ
22552 * signal/sigrelse.c (sigrelse): Optimize implementation.
22553
ad4f43a2
AZ
22554 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22555 (__sigpause): Rely on __sigsuspend to implement single thread
22556 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22557
d0212d42
JM
225582017-11-15 Joseph Myers <joseph@codesourcery.com>
22559
22560 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22561 kernel version to 4.14.
22562
2180fee1
SE
225632017-11-15 Steve Ellcey <sellcey@cavium.com>
22564
22565 [BZ #22442]
22566 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22567 Check if ifname is too long.
22568
cad7ca39
LS
225692017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22570
22571 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22572
58c9f659
MF
225732017-11-15 Mike FABIAN <mfabian@redhat.com>
22574
22575 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22576 was accidentally lost.
22577
0fa87c01
MF
225782017-11-15 Mike FABIAN <mfabian@redhat.com>
22579
22580 * localedata/locales/az_IR: Add standard copyright header.
22581
34eb4157
FW
225822017-11-15 Florian Weimer <fweimer@redhat.com>
22583
22584 [BZ #22439]
22585 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22586 not just the top one. Output a new "subheaps" statistic.
22587
7a9368a1
FW
225882017-11-15 Florian Weimer <fweimer@redhat.com>
22589
22590 [BZ #22408]
22591 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22592 under the per-arena lock.
22593 * malloc/Makefile (tests): Add tst-malloc_info.
22594 (tst-malloc_info): Link with libpthread.
22595 * malloc/tst-malloc_info.c: New file.
22596
be3a79a3
JM
225972017-11-15 Joseph Myers <joseph@codesourcery.com>
22598
22599 [BZ #21660]
22600 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22601 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22602 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22603 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22604 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22605 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22606 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22607 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22608 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22609 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22610 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22611 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22612 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22613 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22614 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22615 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22616 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22617 (__floating_type): Likewise.
22618 (__real_integer_type): Likewise.
22619 (__complex_integer_type): Likewise.
22620 (__expr_is_real): Likewise.
22621 (__tgmath_real_type_sub): Likewise.
22622 (__tgmath_real_type): Likewise.
22623 (__tgmath_complex_type_sub): Likewise.
22624 (__tgmath_complex_type): Likewise.
22625 (__TGMATH_F128): Likewise.
22626 (__TGMATH_CF128): Likewise.
22627 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22628 new macros.
22629 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22630 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22631 Likewise.
22632 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22633 Likewise.
22634 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22635 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22636 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22637 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22638 Likewise.
22639 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22640 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22641 Likewise.
22642 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22643 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22644 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22645 Likewise.
22646 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22647 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22648 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22649 (cimag): Likewise.
22650 (creal): Likewise.
22651
ec72135e
JM
226522017-11-14 Joseph Myers <joseph@codesourcery.com>
22653
2e64ec9c
JM
22654 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22655 for stpncpy calls for GCC 8.
22656 (test_strncat): Disable -Wstringop-truncation warning for strncat
22657 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22658 strncat call for GCC 7.
22659 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22660 calls for GCC 8.
22661 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22662 trailing NUL.
22663
ec72135e
JM
22664 * string/bug-strncat1.c: Include <libc-diag.h>.
22665 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22666
363e4519 226672017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
22668
22669 [BZ #22387]
22670 * localedata/locales/aa_DJ: Improved readibility by replacing
22671 <Uxxxx> sequences in the ASCII printable range by their ASCII
22672 character equivalents.
22673 * localedata/locales/aa_ER: Likewise.
22674 * localedata/locales/aa_ER@saaho: Likewise.
22675 * localedata/locales/aa_ET: Likewise.
22676 * localedata/locales/af_ZA: Likewise.
22677 * localedata/locales/agr_PE: Likewise.
22678 * localedata/locales/ak_GH: Likewise.
22679 * localedata/locales/am_ET: Likewise.
22680 * localedata/locales/anp_IN: Likewise.
22681 * localedata/locales/ar_AE: Likewise.
22682 * localedata/locales/ar_BH: Likewise.
22683 * localedata/locales/ar_DZ: Likewise.
22684 * localedata/locales/ar_EG: Likewise.
22685 * localedata/locales/ar_IN: Likewise.
22686 * localedata/locales/ar_IQ: Likewise.
22687 * localedata/locales/ar_JO: Likewise.
22688 * localedata/locales/ar_KW: Likewise.
22689 * localedata/locales/ar_LB: Likewise.
22690 * localedata/locales/ar_LY: Likewise.
22691 * localedata/locales/ar_MA: Likewise.
22692 * localedata/locales/ar_OM: Likewise.
22693 * localedata/locales/ar_QA: Likewise.
22694 * localedata/locales/ar_SA: Likewise.
22695 * localedata/locales/ar_SD: Likewise.
22696 * localedata/locales/ar_SS: Likewise.
22697 * localedata/locales/ar_SY: Likewise.
22698 * localedata/locales/ar_TN: Likewise.
22699 * localedata/locales/ar_YE: Likewise.
22700 * localedata/locales/as_IN: Likewise.
22701 * localedata/locales/ast_ES: Likewise.
22702 * localedata/locales/ayc_PE: Likewise.
22703 * localedata/locales/az_AZ: Likewise.
22704 * localedata/locales/az_IR: Likewise.
22705 * localedata/locales/be_BY: Likewise.
22706 * localedata/locales/be_BY@latin: Likewise.
22707 * localedata/locales/bem_ZM: Likewise.
22708 * localedata/locales/ber_DZ: Likewise.
22709 * localedata/locales/ber_MA: Likewise.
22710 * localedata/locales/bg_BG: Likewise.
22711 * localedata/locales/bhb_IN: Likewise.
22712 * localedata/locales/bho_IN: Likewise.
22713 * localedata/locales/bi_VU: Likewise.
22714 * localedata/locales/bn_BD: Likewise.
22715 * localedata/locales/bn_IN: Likewise.
22716 * localedata/locales/bo_CN: Likewise.
22717 * localedata/locales/bo_IN: Likewise.
22718 * localedata/locales/br_FR: Likewise.
22719 * localedata/locales/brx_IN: Likewise.
22720 * localedata/locales/bs_BA: Likewise.
22721 * localedata/locales/byn_ER: Likewise.
22722 * localedata/locales/ca_AD: Likewise.
22723 * localedata/locales/ca_ES: Likewise.
22724 * localedata/locales/ca_FR: Likewise.
22725 * localedata/locales/ca_IT: Likewise.
22726 * localedata/locales/ce_RU: Likewise.
22727 * localedata/locales/chr_US: Likewise.
22728 * localedata/locales/cmn_TW: Likewise.
22729 * localedata/locales/crh_UA: Likewise.
22730 * localedata/locales/cs_CZ: Likewise.
22731 * localedata/locales/csb_PL: Likewise.
22732 * localedata/locales/cv_RU: Likewise.
22733 * localedata/locales/cy_GB: Likewise.
22734 * localedata/locales/da_DK: Likewise.
22735 * localedata/locales/de_AT: Likewise.
22736 * localedata/locales/de_BE: Likewise.
22737 * localedata/locales/de_CH: Likewise.
22738 * localedata/locales/de_DE: Likewise.
22739 * localedata/locales/de_IT: Likewise.
22740 * localedata/locales/de_LI: Likewise.
22741 * localedata/locales/de_LU: Likewise.
22742 * localedata/locales/doi_IN: Likewise.
22743 * localedata/locales/dv_MV: Likewise.
22744 * localedata/locales/dz_BT: Likewise.
22745 * localedata/locales/el_CY: Likewise.
22746 * localedata/locales/el_GR: Likewise.
22747 * localedata/locales/en_AG: Likewise.
22748 * localedata/locales/en_AU: Likewise.
22749 * localedata/locales/en_BW: Likewise.
22750 * localedata/locales/en_CA: Likewise.
22751 * localedata/locales/en_DK: Likewise.
22752 * localedata/locales/en_GB: Likewise.
22753 * localedata/locales/en_HK: Likewise.
22754 * localedata/locales/en_IE: Likewise.
22755 * localedata/locales/en_IL: Likewise.
22756 * localedata/locales/en_IN: Likewise.
22757 * localedata/locales/en_NG: Likewise.
22758 * localedata/locales/en_NZ: Likewise.
22759 * localedata/locales/en_PH: Likewise.
22760 * localedata/locales/en_SG: Likewise.
22761 * localedata/locales/en_US: Likewise.
22762 * localedata/locales/en_ZA: Likewise.
22763 * localedata/locales/en_ZM: Likewise.
22764 * localedata/locales/en_ZW: Likewise.
22765 * localedata/locales/eo: Likewise.
22766 * localedata/locales/es_AR: Likewise.
22767 * localedata/locales/es_BO: Likewise.
22768 * localedata/locales/es_CL: Likewise.
22769 * localedata/locales/es_CO: Likewise.
22770 * localedata/locales/es_CR: Likewise.
22771 * localedata/locales/es_CU: Likewise.
22772 * localedata/locales/es_DO: Likewise.
22773 * localedata/locales/es_EC: Likewise.
22774 * localedata/locales/es_ES: Likewise.
22775 * localedata/locales/es_GT: Likewise.
22776 * localedata/locales/es_HN: Likewise.
22777 * localedata/locales/es_MX: Likewise.
22778 * localedata/locales/es_NI: Likewise.
22779 * localedata/locales/es_PA: Likewise.
22780 * localedata/locales/es_PE: Likewise.
22781 * localedata/locales/es_PR: Likewise.
22782 * localedata/locales/es_PY: Likewise.
22783 * localedata/locales/es_SV: Likewise.
22784 * localedata/locales/es_US: Likewise.
22785 * localedata/locales/es_UY: Likewise.
22786 * localedata/locales/es_VE: Likewise.
22787 * localedata/locales/et_EE: Likewise.
22788 * localedata/locales/eu_ES: Likewise.
22789 * localedata/locales/eu_ES@euro: Likewise.
22790 * localedata/locales/fa_IR: Likewise.
22791 * localedata/locales/ff_SN: Likewise.
22792 * localedata/locales/fi_FI: Likewise.
22793 * localedata/locales/fil_PH: Likewise.
22794 * localedata/locales/fo_FO: Likewise.
22795 * localedata/locales/fr_BE: Likewise.
22796 * localedata/locales/fr_CA: Likewise.
22797 * localedata/locales/fr_CH: Likewise.
22798 * localedata/locales/fr_FR: Likewise.
22799 * localedata/locales/fr_LU: Likewise.
22800 * localedata/locales/fur_IT: Likewise.
22801 * localedata/locales/fy_DE: Likewise.
22802 * localedata/locales/fy_NL: Likewise.
22803 * localedata/locales/ga_IE: Likewise.
22804 * localedata/locales/gd_GB: Likewise.
22805 * localedata/locales/gez_ER: Likewise.
22806 * localedata/locales/gez_ET: Likewise.
22807 * localedata/locales/gl_ES: Likewise.
22808 * localedata/locales/gu_IN: Likewise.
22809 * localedata/locales/gv_GB: Likewise.
22810 * localedata/locales/ha_NG: Likewise.
22811 * localedata/locales/hak_TW: Likewise.
22812 * localedata/locales/he_IL: Likewise.
22813 * localedata/locales/hi_IN: Likewise.
22814 * localedata/locales/hif_FJ: Likewise.
22815 * localedata/locales/hne_IN: Likewise.
22816 * localedata/locales/hr_HR: Likewise.
22817 * localedata/locales/hsb_DE: Likewise.
22818 * localedata/locales/ht_HT: Likewise.
22819 * localedata/locales/hu_HU: Likewise.
22820 * localedata/locales/hy_AM: Likewise.
22821 * localedata/locales/i18n: Likewise.
22822 * localedata/locales/ia_FR: Likewise.
22823 * localedata/locales/id_ID: Likewise.
22824 * localedata/locales/ig_NG: Likewise.
22825 * localedata/locales/ik_CA: Likewise.
22826 * localedata/locales/is_IS: Likewise.
22827 * localedata/locales/it_CH: Likewise.
22828 * localedata/locales/it_IT: Likewise.
22829 * localedata/locales/iu_CA: Likewise.
22830 * localedata/locales/ja_JP: Likewise.
22831 * localedata/locales/ka_GE: Likewise.
22832 * localedata/locales/kk_KZ: Likewise.
22833 * localedata/locales/kl_GL: Likewise.
22834 * localedata/locales/kn_IN: Likewise.
22835 * localedata/locales/ko_KR: Likewise.
22836 * localedata/locales/kok_IN: Likewise.
22837 * localedata/locales/ks_IN: Likewise.
22838 * localedata/locales/ks_IN@devanagari: Likewise.
22839 * localedata/locales/ku_TR: Likewise.
22840 * localedata/locales/kw_GB: Likewise.
22841 * localedata/locales/ky_KG: Likewise.
22842 * localedata/locales/lb_LU: Likewise.
22843 * localedata/locales/lg_UG: Likewise.
22844 * localedata/locales/li_BE: Likewise.
22845 * localedata/locales/li_NL: Likewise.
22846 * localedata/locales/lij_IT: Likewise.
22847 * localedata/locales/ln_CD: Likewise.
22848 * localedata/locales/lo_LA: Likewise.
22849 * localedata/locales/lt_LT: Likewise.
22850 * localedata/locales/lv_LV: Likewise.
22851 * localedata/locales/lzh_TW: Likewise.
22852 * localedata/locales/mag_IN: Likewise.
22853 * localedata/locales/mai_IN: Likewise.
22854 * localedata/locales/mg_MG: Likewise.
22855 * localedata/locales/mhr_RU: Likewise.
22856 * localedata/locales/mi_NZ: Likewise.
22857 * localedata/locales/mk_MK: Likewise.
22858 * localedata/locales/ml_IN: Likewise.
22859 * localedata/locales/mn_MN: Likewise.
22860 * localedata/locales/mni_IN: Likewise.
22861 * localedata/locales/mr_IN: Likewise.
22862 * localedata/locales/ms_MY: Likewise.
22863 * localedata/locales/mt_MT: Likewise.
22864 * localedata/locales/my_MM: Likewise.
22865 * localedata/locales/nan_TW: Likewise.
22866 * localedata/locales/nan_TW@latin: Likewise.
22867 * localedata/locales/nb_NO: Likewise.
22868 * localedata/locales/nds_DE: Likewise.
22869 * localedata/locales/nds_NL: Likewise.
22870 * localedata/locales/ne_NP: Likewise.
22871 * localedata/locales/nhn_MX: Likewise.
22872 * localedata/locales/niu_NU: Likewise.
22873 * localedata/locales/niu_NZ: Likewise.
22874 * localedata/locales/nl_AW: Likewise.
22875 * localedata/locales/nl_BE: Likewise.
22876 * localedata/locales/nl_NL: Likewise.
22877 * localedata/locales/nn_NO: Likewise.
22878 * localedata/locales/nr_ZA: Likewise.
22879 * localedata/locales/nso_ZA: Likewise.
22880 * localedata/locales/oc_FR: Likewise.
22881 * localedata/locales/om_ET: Likewise.
22882 * localedata/locales/om_KE: Likewise.
22883 * localedata/locales/or_IN: Likewise.
22884 * localedata/locales/os_RU: Likewise.
22885 * localedata/locales/pa_IN: Likewise.
22886 * localedata/locales/pa_PK: Likewise.
22887 * localedata/locales/pap_AW: Likewise.
22888 * localedata/locales/pap_CW: Likewise.
22889 * localedata/locales/pl_PL: Likewise.
22890 * localedata/locales/ps_AF: Likewise.
22891 * localedata/locales/pt_BR: Likewise.
22892 * localedata/locales/pt_PT: Likewise.
22893 * localedata/locales/quz_PE: Likewise.
22894 * localedata/locales/raj_IN: Likewise.
22895 * localedata/locales/ro_RO: Likewise.
22896 * localedata/locales/ru_RU: Likewise.
22897 * localedata/locales/ru_UA: Likewise.
22898 * localedata/locales/rw_RW: Likewise.
22899 * localedata/locales/sa_IN: Likewise.
22900 * localedata/locales/sat_IN: Likewise.
22901 * localedata/locales/sc_IT: Likewise.
22902 * localedata/locales/sd_IN: Likewise.
22903 * localedata/locales/sd_IN@devanagari: Likewise.
22904 * localedata/locales/se_NO: Likewise.
22905 * localedata/locales/sgs_LT: Likewise.
22906 * localedata/locales/shs_CA: Likewise.
22907 * localedata/locales/si_LK: Likewise.
22908 * localedata/locales/sid_ET: Likewise.
22909 * localedata/locales/sk_SK: Likewise.
22910 * localedata/locales/sl_SI: Likewise.
22911 * localedata/locales/sm_WS: Likewise.
22912 * localedata/locales/so_DJ: Likewise.
22913 * localedata/locales/so_ET: Likewise.
22914 * localedata/locales/so_KE: Likewise.
22915 * localedata/locales/so_SO: Likewise.
22916 * localedata/locales/sq_AL: Likewise.
22917 * localedata/locales/sq_MK: Likewise.
22918 * localedata/locales/sr_ME: Likewise.
22919 * localedata/locales/sr_RS: Likewise.
22920 * localedata/locales/sr_RS@latin: Likewise.
22921 * localedata/locales/ss_ZA: Likewise.
22922 * localedata/locales/st_ZA: Likewise.
22923 * localedata/locales/sv_FI: Likewise.
22924 * localedata/locales/sv_SE: Likewise.
22925 * localedata/locales/sw_KE: Likewise.
22926 * localedata/locales/sw_TZ: Likewise.
22927 * localedata/locales/szl_PL: Likewise.
22928 * localedata/locales/ta_IN: Likewise.
22929 * localedata/locales/ta_LK: Likewise.
22930 * localedata/locales/tcy_IN: Likewise.
22931 * localedata/locales/te_IN: Likewise.
22932 * localedata/locales/tg_TJ: Likewise.
22933 * localedata/locales/th_TH: Likewise.
22934 * localedata/locales/the_NP: Likewise.
22935 * localedata/locales/ti_ER: Likewise.
22936 * localedata/locales/ti_ET: Likewise.
22937 * localedata/locales/tig_ER: Likewise.
22938 * localedata/locales/tk_TM: Likewise.
22939 * localedata/locales/tl_PH: Likewise.
22940 * localedata/locales/tn_ZA: Likewise.
22941 * localedata/locales/to_TO: Likewise.
22942 * localedata/locales/tpi_PG: Likewise.
22943 * localedata/locales/tr_CY: Likewise.
22944 * localedata/locales/tr_TR: Likewise.
22945 * localedata/locales/ts_ZA: Likewise.
22946 * localedata/locales/tt_RU: Likewise.
22947 * localedata/locales/tt_RU@iqtelif: Likewise.
22948 * localedata/locales/ug_CN: Likewise.
22949 * localedata/locales/uk_UA: Likewise.
22950 * localedata/locales/unm_US: Likewise.
22951 * localedata/locales/ur_IN: Likewise.
22952 * localedata/locales/ur_PK: Likewise.
22953 * localedata/locales/uz_UZ: Likewise.
22954 * localedata/locales/uz_UZ@cyrillic: Likewise.
22955 * localedata/locales/ve_ZA: Likewise.
22956 * localedata/locales/vi_VN: Likewise.
22957 * localedata/locales/wa_BE: Likewise.
22958 * localedata/locales/wae_CH: Likewise.
22959 * localedata/locales/wal_ET: Likewise.
22960 * localedata/locales/wo_SN: Likewise.
22961 * localedata/locales/xh_ZA: Likewise.
22962 * localedata/locales/yi_US: Likewise.
22963 * localedata/locales/yo_NG: Likewise.
22964 * localedata/locales/yue_HK: Likewise.
22965 * localedata/locales/yuw_PG: Likewise.
22966 * localedata/locales/zh_CN: Likewise.
22967 * localedata/locales/zh_HK: Likewise.
22968 * localedata/locales/zh_SG: Likewise.
22969 * localedata/locales/zh_TW: Likewise.
22970 * localedata/locales/zu_ZA: Likewise.
22971
cae87e64
FW
229722017-11-13 Florian Weimer <fweimer@redhat.com>
22973
22974 * support/next_to_fault.h, support/next_to_fault.c: New files.
22975 * support/Makefile (libsupport-routines): Add next_to_fault.
22976 * resolv/tst-inet_pton.c (struct next_to_fault)
22977 (next_to_fault_allocate, next_to_fault_free): Remove.
22978 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22979
4a306ef1
L
229802017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22981
22982 * elf/dl-support.c: Include <dl-procruntime.c>.
22983 * include/link.h: Include <link_map.h>.
22984 * sysdeps/generic/dl-procruntime.c: New file.
22985 * sysdeps/generic/link_map.h: Likewise.
22986 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22987 the writable ld.so namespace.
22988
e69897bf
PE
229892017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22990
22991 timezone: pacify GCC -Wstringop-truncation
22992 Problem reported by Martin Sebor in:
22993 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22994 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22995
1ffe1ccb
FW
229962017-11-12 Florian Weimer <fweimer@redhat.com>
22997
eceed671
FW
22998 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22999 tst-xreadlink.
23000 (tests): Add tst-xreadlink.
1ffe1ccb
FW
23001 * support/support.h (xstrndup): Declare.
23002 * support/xunistd.h (xunlink, xreadlink): Declare.
23003 * support/temp_file.h (support_create_temp_directory): Declare.
23004 * support/temp_file.c (support_create_temp_directory): New function.
23005 * support/support_chroot.c (support_chroot_create): Use it.
23006 * support/xreadlink.c: New file.
23007 * support/xstrndup.c: Likewise.
23008 * support/xunlink.c: Likewise.
23009 * support/tst-xreadlink.c: Likewise.
23010
456b40a9
JDA
230112017-11-11 John David Anglin <danglin@gcc.gnu.org>
23012
23013 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23014
c0a25aa9
FW
230152017-11-11 Florian Weimer <fweimer@redhat.com>
23016
23017 [BZ #22409]
23018 [BZ #22412]
23019 * resolv/res_comp.c (printable_string, binary_hnok)
23020 (binary_leading_dash): New functions.
23021 (res_hnok): Reimplement using these functions and ns_name_pton.
23022 (res_ownok): Likewise.
23023 (res_mailok): Reimplement using printable_string, ns_name_pton and
23024 binary_hnok.
23025 (res_dnok): Reimplement using printable_string and ns_name_pton.
23026 * resolv/tst-res_hnok.c (tests): Add additional tests.
23027 (LETTERDIGITS, PRINTABLE): Define.
23028 (do_test): Adjust one_char results.
23029
9e0ad304
FW
230302017-11-11 Florian Weimer <fweimer@redhat.com>
23031
23032 [BZ #22413]
23033 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23034 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23035
e2a9fca8
FW
230362017-11-11 Florian Weimer <fweimer@redhat.com>
23037
23038 * resolv/tst-ns_name_pton.c: New file.
23039 * resolv/Makefile (tests): Add tst-ns_name_pton.
23040 (tst-ns_name_pton): Link against libresolv.
23041
5c1a6923
FW
230422017-11-11 Florian Weimer <fweimer@redhat.com>
23043
23044 * resolv/tst-res_hnok.c: New file.
23045 * resolv/Makefile (tests): Add tst-res_hnok.
23046 (tst-res_hnok): Link against libresolv.
23047
a19c0a1d
FW
230482017-11-11 Florian Weimer <fweimer@redhat.com>
23049
23050 * resolv/tst-resolv-network.c: Use test framework instead explicit
23051 main function.
23052
8cb5295d
L
230532017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23054
23055 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23056 <jmp_buf-macros.h>.
23057 [!_ISOMAC] (STR_HELPER): New.
23058 [!_ISOMAC] (STR): Likewise.
23059 [!_ISOMAC] (TEST_SIZE): Likewise.
23060 [!_ISOMAC] (TEST_ALIGN): Likewise.
23061 [!_ISOMAC] (TEST_OFFSET): Likewise.
23062 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23063 field offsets of jmp_buf as well as sigjmp_buf.
23064 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23065 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23066 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23067 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23068 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23069 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23070 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23071 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23072 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23073 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23074 Likewise.
23075 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23076 Likewise.
23077 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23079 Likewise.
23080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23081 Likewise.
23082 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23083 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23084 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23085 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23086 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23088 Likewise.
23089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23090 Likewise.
23091 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23092 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23093 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23094
58c4a161
JM
230952017-11-07 Joseph Myers <joseph@codesourcery.com>
23096
3683b423
JM
23097 * include/float.h
23098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23099 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23101 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23103 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23105 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23107 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23109 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23111 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23113 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23114 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23115 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23116 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23117 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23118 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23119 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23120 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23121 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23122 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23123 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23124 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23125 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23126 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23127 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23128 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23129 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23130 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23131 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23132 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23133 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23134 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23135 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23136 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23137 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23138 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23139 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23140 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23141 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23142 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23143 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23145 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23147 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23149 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23151 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23153 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23155 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23156 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23157 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23158 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23159 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23160 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23161 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23162 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23163 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23164 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23165 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23166 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23167 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23168 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23169 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23170 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23171 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23172 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23173 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23174 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23175 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23176 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23177 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23178 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23179 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23180 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23181 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23182 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23183 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23184 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23185 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23186
58c4a161
JM
23187 * stdlib/tst-strtod.h (F16): New macro.
23188 (F32): Likewise.
23189 (F64): Likewise.
23190 (F32X): Likewise.
23191 (F64X): Likewise.
23192 (F128X): Likewise.
23193 (IF_FLOAT16): Likewise.
23194 (IF_FLOAT32): Likewise.
23195 (IF_FLOAT64): Likewise.
23196 (IF_FLOAT32X): Likewise.
23197 (IF_FLOAT64X): Likewise.
23198 (IF_FLOAT128X): Likewise.
23199 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23200 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23201 (STRTOD_TEST_FOREACH): Likewise.
23202 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23203 (CHOOSE_f64): Likewise.
23204 (CHOOSE_f32x): Likewise.
23205 (CHOOSE_f64x): Likewise.
23206
feda96a1
AS
232072017-11-07 Andreas Schwab <schwab@suse.de>
23208
23209 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23210
1bd0cbb8
MF
232112017-11-07 Mike FABIAN <mfabian@redhat.com>
23212
23213 [BZ #22403]
23214 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23215 to be escaped.
23216 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23217 to be escaped.
23218
363e4519 232192017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
23220
23221 [BZ #22403]
23222 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23223 to be escaped.
23224 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23225 to be escaped.
23226 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23227 to be escaped.
23228
dff91cd4
AZ
232292017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23230
06be6368
AZ
23231 [BZ #22298]
23232 * nptl/allocatestack.c (allocate_stack): Check if
23233 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23234 __PTHREAD_MUTEX_HAVE_PREV is defined.
23235 * nptl/descr.h (pthread): Likewise.
23236 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23237 Likewise.
23238 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23239 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23240 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23241 * sysdeps/nptl/bits/thread-shared-types.h
23242 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23243 defines.
23244 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23245 of __WORDSIZE for internal layout.
23246 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23247 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23248 instead of __WORDSIZE whether to use an union for __spins and __list
23249 fields.
23250 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23251 case.
23252 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23253 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23254 defines.
23255 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23256 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23257 Likewise.
23258 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23259 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23260 Likewise.
23261 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23262 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23263 Likewise.
23264 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23265 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23266 Likewise.
23267 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23268 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23269 Likewise.
23270 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23271 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23272 Likewise.
23273 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23274 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23275 Likewise.
23276 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23277 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23278 Likewise.
23279 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23280 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23281 Likewise.
23282 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23283 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23284 Likewise.
23285 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23286 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23287 Likewise.
23288 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23289 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23290 Likewise.
23291 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23292 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23293 Likewise.
23294 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23295 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23296 Likewise.
23297
72b3c6ee
AZ
23298 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23299 New macros.
23300 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23301 checks for expected input type size.
23302 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23303 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23304 Likewise.
23305 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23306 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23307 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23308 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23309 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23310 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23311 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23312 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23313 superflous runtime assert check.
23314 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23315 Likewise.
23316 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23317 Likewise.
23318 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23319 Likewise.
23320 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23321 Likewise.
23322 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23323 Likewise.
23324 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23325 Likewise.
23326 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23327 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23328 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23329 Likewise.
23330 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23331 Likewise.
23332 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23333 Likewise.
23334 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23335 Likewise.
23336 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23337 Likewise.
23338 * nptl/pthread_attr_setinheritsched.c
23339 (__pthread_attr_setinheritsched): Likewise.
23340 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23341 Likewise.
23342 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23343 Likewise.
23344 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23345 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23346 __old_pthread_attr_setstack): Likewise.
23347 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23348 Likewise.
23349 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23350 Likewise.
23351 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23352 Likewise.
23353 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23354 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23355 Likewise.
23356 * nptl/tst-typesizes.c: Remove file.
23357
dff91cd4
AZ
23358 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23359 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23360 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23361 checks for internal pthread_mutex_t offsets.
23362 * sysdeps/aarch64/nptl/pthread-offsets.h
23363 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23364 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23365 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23366 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23367 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23368 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23369 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23370 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23371 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23372 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23373 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23374 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23375 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23376 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23377 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23378 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23379 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23380 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23381
b7fc95f8
FW
233822017-11-07 Florian Weimer <fweimer@redhat.com>
23383
23384 * bits/mman-linux.h: Move ...
23385 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23386 comment.
23387 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23388 outdated comment.
23389
6b860364
RS
233902017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23391
23392 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23393 Redefine STRNLEN as __strnlen_power8.
23394
802c1f16
AZ
233952017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23396
d83da3a4
AZ
23397 * signal/sighold.c (sighold): Optimize implementation.
23398
6a4235f1
AZ
23399 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23400 __NR_rt_sigqueueinfo.
23401
8b0e795a
AZ
23402 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23403 __sigtimedwait.
23404 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23405 assume __NR_rt_sigtimedwait.
23406 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23407 and add LIBC_CANCEL_HANDLED for cancellation marking.
23408 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23409
a1a638dd
AZ
23410 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23411 (sysdeps_routines): Add memchr_noneon.
23412 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23413 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23414 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23415 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23416 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23417 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23418 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23419
802c1f16
AZ
23420 * sysdeps/arm/arm-ifunc.h: New file.
23421 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23422 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23423 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23424 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23425 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23426 (__memcpy_neon): Avoid create hidden alias.
23427 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23428 (__memcpy_vfp): Likewise.
23429 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23430 (sysdep_routines): Add memcpy_arm.
23431 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23432
abcb584d
L
234332017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23434
23435 [BZ #22362]
23436 * Makerules (make-link-multidir): New.
23437 * config.make.in (multidir): New.
23438 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23439 * configure: Regenerated.
23440 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23441 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23442 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23443 New target.
23444
4e2dff67
JM
234452017-11-06 Joseph Myers <joseph@codesourcery.com>
23446
23447 [BZ #22402]
23448 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23449 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23450
a1c7cd3c
MF
234512017-11-04 Mike FABIAN <mfabian@redhat.com>
23452
23453 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23454 to be escaped.
23455
b9af29c0
FW
234562017-11-04 Florian Weimer <fweimer@redhat.com>
23457
23458 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23459
4ca70e1a
JM
234602017-11-03 Joseph Myers <joseph@codesourcery.com>
23461
23462 * math/math.h [__HAVE_DISTINCT_FLOAT16
23463 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23464 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23465 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23466 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23467 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23468 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23469 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23470 (__MATH_TG_F32): New macro.
23471 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23472 (__MATH_TG_F64X): Likewise.
23473 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23474 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23475
ba0e6668
DL
234762017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23477
23478 * po/de.po: Update translations.
23479 * po/ru.po: Likewise.
23480
bc18a6d3
FW
234812017-11-03 Florian Weimer <fweimer@redhat.com>
23482
23483 * manual/filesys.texi (Hard Links): Document linkat.
23484
97255170
JM
234852017-11-03 Joseph Myers <joseph@codesourcery.com>
23486
86ec4865
JM
23487 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23488 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23489 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23490 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23491 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23492 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23493 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23494 the same as _Float128.
23495 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23496 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23497 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23498
97255170
JM
23499 * stdlib/stdlib.h
23500 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23501 Declare.
23502 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23503 Likewise.
23504 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23505 Likewise.
23506 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23507 (strtof32x): Likewise.
23508 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23509 (strtof64x): Likewise.
23510 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23511 (strtof128x): Likewise.
23512 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23513 (strfromf16): Likewise.
23514 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23515 (strfromf32): Likewise.
23516 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23517 (strfromf64): Likewise.
23518 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23519 (strfromf32x): Likewise.
23520 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23521 (strfromf64x): Likewise.
23522 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23523 (strfromf128x): Likewise.
23524 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23525 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23526 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23527 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23528 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23529 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23530
6d58ce5e
RH
235312017-11-03 Richard Henderson <rth@twiddle.net>
23532
23533 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23534
659ca267
SN
235352017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23536
23537 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23538
94d2f0af
SN
235392017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23540
23541 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23542 DT_TLSDESC_GOT initialization.
23543 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23544 (_dl_tlsdesc_resolve_hold): Likewise.
23545 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23546 (_dl_tlsdesc_resolve_hold): Likewise.
23547 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23548 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23549
28e1ddf3
SN
235502017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23551
23552 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23553
0ca3d1d6
SN
235542017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23555
23556 [BZ #18572]
23557 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23558 non-lazily for R_ARM_TLS_DESC.
23559
2c1d4e5f
SN
235602017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23561
23562 [BZ #17078]
23563 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23564 R_ARM_TLS_DESC case.
23565 (elf_machine_lazy_rel): Remove the prelink check.
23566
91c5a366
SN
235672017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23568
23569 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23570 DT_TLSDESC_GOT initialization.
23571 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23572 (_dl_tlsdesc_resolve_rela): Likewise.
23573 (_dl_tlsdesc_resolve_hold): Likewise.
23574 (_dl_tlsdesc_undefweak): Remove ldar.
23575 (_dl_tlsdesc_dynamic): Likewise.
23576 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23577 (_dl_tlsdesc_resolve_rela): Likewise.
23578 (_dl_tlsdesc_resolve_hold): Likewise.
23579 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23580 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23581 (_dl_tlsdesc_resolve_rela): Likewise.
23582 (_dl_tlsdesc_resolve_hold): Likewise.
23583
b7cf203b
SN
235842017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23585
23586 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23587 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23588
0cc5b022
SN
235892017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23590
23591 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23592 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23593
43ddff2e
JM
235942017-11-02 Joseph Myers <joseph@codesourcery.com>
23595
23596 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23597 Declare.
23598 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23599 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23600 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23601 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23602 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23603 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23604 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23605 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23606 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23607 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23608 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23609
5baac970
MF
236102017-11-02 Mike FABIAN <mfabian@redhat.com>
23611
23612 [BZ #22382]
23613 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23614 * localedata/locales/tpi_PG: Add standard header.
23615
ef11081f
FW
236162017-11-02 Florian Weimer <fweimer@redhat.com>
23617
23618 test-errno-linux: quotactl can fail with EPERM in containers.
23619 * sysdeps/unix/sysv/linux/test-errno-linux.c
23620 (LIST, LIST_FORWARD): New macros.
23621 (check_error_in_list): New function.
23622 (test_wrp_rv): Accept list of permitted error codes.
23623 (test_wrp_rv2): Remove.
23624 (test_wrp): Call test_wrp_rv with list of error codes.
23625 (test_wrp2): Accept list of error codes.
23626 (do_test): Adjust. Allow EPERM for quotactl.
23627
d10b132b
FW
236282017-11-02 Florian Weimer <fweimer@redhat.com>
23629
23630 * stdio-common/bug16.c (do_test): Use array_length.
23631 * stdio-common/errlist.c (_sys_nerr): Likewise.
23632 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23633 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23634 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23635 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23636 (do_test): Use array_length.
23637 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23638 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23639 * stdio-common/tst-printf-round.c (do_test): Likewise.
23640 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23641 (CHECK): Use array_length.
23642 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23643 * stdio-common/tstscanf.c (main): Likewise.
23644 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23645
c94a5688
FW
236462017-11-02 Florian Weimer <fweimer@redhat.com>
23647
23648 Add array_length and array_end macros.
23649 * include/array_length.h: New file.
23650
2fac6a6c
FW
236512017-11-02 Florian Weimer <fweimer@redhat.com>
23652
23653 [BZ #22332]
23654 * posix/tst-glob-tilde.c (do_noescape): New variable.
23655 (one_test): Process it.
23656 (do_test): Set do_noescape. Add unescaping test case.
23657
2f1b212e
JM
236582017-11-01 Joseph Myers <joseph@codesourcery.com>
23659
260fbd0a
JM
23660 * math/complex.h
23661 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23662 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23663 with appropriate macros defined and undefined.
23664 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23665 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23666 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23667 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23668 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23669 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23670 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23671 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23672 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23673 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23674
2f1b212e
JM
23675 * math/complex.h
23676 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23677 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23678 that for long double. Do not condition define and undefine of
23679 _Mdouble_complex_ on [__CFLOAT128].
23680
95b93c6e
L
236812017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23682
23683 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23684 of <sysdeps/generic/sysdep.h>.
23685 (ALIGNARG): Removed.
23686 (ASM_SIZE_DIRECTIVE): Likewise.
23687 (ENTRY): Likewise.
23688 (END): Likewise.
23689 (ENTRY_CHK): Likewise.
23690 (END_CHK): Likewise.
23691 (syscall_error): Likewise.
23692 (mcount): Likewise.
23693 (PSEUDO_END): Likewise.
23694 (L): Likewise.
23695 (atom_text_section): Likewise.
23696 * sysdeps/x86/sysdep.h: New file.
23697 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23698 of <sysdeps/generic/sysdep.h>.
23699 (ALIGNARG): Removed.
23700 (ASM_SIZE_DIRECTIVE): Likewise.
23701 (ENTRY): Likewise.
23702 (END): Likewise.
23703 (ENTRY_CHK): Likewise.
23704 (END_CHK): Likewise.
23705 (syscall_error): Likewise.
23706 (mcount): Likewise.
23707 (PSEUDO_END): Likewise.
23708 (L): Likewise.
23709 (atom_text_section): Likewise.
23710
1bb36539
RL
237112017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23712
23713 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23714 category of LC_CTYPE set to "i18n:2012".
23715 * localedata/locales/i18n_ctype: Regenerate.
23716
067f5d97 237172017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 23718
87bbc4cf
YN
23719 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23720 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23721 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23722 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23723
e8681faa
YN
23724 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23725 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23726 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23727 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23728
540af6e2
JM
237292017-10-31 Joseph Myers <joseph@codesourcery.com>
23730
43e66283
JM
23731 * math/complex.h
23732 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23733 New macro.
23734 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23735 Likewise.
23736 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23737 Likewise.
23738 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23739 (CMPLXF32X): Likewise.
23740 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23741 (CMPLXF64X): Likewise.
23742 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23743 (CMPLXF128X): Likewise.
23744
540af6e2
JM
23745 * math/math.h
23746 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23747 (__MATH_EVAL_FMT2): Define to add 0.0f.
23748
58af72b4
AM
237492017-10-31 Alan Modra <amodra@gmail.com>
23750
23751 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23752 include sysdep.h.
23753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23767 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23768 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23769 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23770 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23771 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23776 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23777 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23778 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23779 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23780 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23781 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23782 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23783 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23784 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23785 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23786 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23787 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23788 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23789 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23790 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23791 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23792 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23793 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23794 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23795 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23796 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23797 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23798 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23799 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23800 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23801 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23802 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23803 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23804 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23805 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23806 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23807 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23808 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23809 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23810 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23811 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23812 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23813 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23814 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23815 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23816 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23817 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23818 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23819 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23820 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23821 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23822
23823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23824 include sysdep.h and math_ldbl_opt.h.
23825
23826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23827 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23852
112f30b3
AM
238532017-10-31 Alan Modra <amodra@gmail.com>
23854
23855 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23856 string/strncase_l.c, not string/strncase.c.
23857 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23858 (libc_hidden_def): Redefine.
23859
e9e7eced
AM
238602017-10-31 Alan Modra <amodra@gmail.com>
23861
23862 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23863 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23864 (__strcasecmp): Don't define.
23865
f7b465cf
AM
238662017-10-31 Alan Modra <amodra@gmail.com>
23867
23868 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23869 IS_IN (libc).
23870 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23871 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23872 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23873
d46b09f9
AM
238742017-10-31 Alan Modra <amodra@gmail.com>
23875
23876 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23877 USE_AS_STPNCPY.
23878
e9b8e194
AM
238792017-10-31 Alan Modra <amodra@gmail.com>
23880
23881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23882 Redefine only when SHARED.
23883
eda162dd
JM
238842017-10-30 Joseph Myers <joseph@codesourcery.com>
23885
b61afe8c
JM
23886 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23887 Include <bits/math-finite.h> with appropriate macros defined and
23888 undefined.
23889 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23890 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23891 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23892 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23893 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23894
eda162dd
JM
23895 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23896 [!_Mlong_double_] (_Mlong_double_): Likewise.
23897 [!_Mfloat16_] (_Mfloat16_): Likewise.
23898 [!_Mfloat32_] (_Mfloat32_): Likewise.
23899 [!_Mfloat64_] (_Mfloat64_): Likewise.
23900 [!_Mfloat128_] (_Mfloat128_): Likewise.
23901 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23902 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23903 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23904 (_Mdouble_): Define without indirection through those macros.
23905 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23906 [!_Mfloat128_] (_Mfloat128_): Likewise.
23907 [_Mlong_double_] (_Mlong_double_): Likewise.
23908 (_Mdouble_): Define without indirection through those macros.
23909 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23910 not add -D_Mlong_double_=double.
23911 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23912 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23913
4ad5106e
L
239142017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23915
23916 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23917
fe326df7
L
239182017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23919
23920 * sysdeps/x86/libc-start.c: Reformat.
23921
c5cc4514
L
239222017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23923
23924 [BZ #22353]
23925 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23926 (1): Renamed to ...
23927 (L(Src0)): This.
23928 (L(Src1)): New.
23929 (L(Src2)): Likewise.
23930 (L(1)): Renamed to ...
23931 (L(Src3)): This.
23932
ce12269f
JM
239332017-10-30 Joseph Myers <joseph@codesourcery.com>
23934
23935 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23936 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23937 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23938 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23939 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23940 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23941 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23942 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23943 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23944 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23945 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23946 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23947 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23948 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23949 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23950 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23951 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23952 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23953 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23954 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23955 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23956 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23957 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23958 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23959 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23960 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23961 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23962 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23963 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23964 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23965 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23966 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23967 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23968 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23969 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23970 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23971 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23972 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23973 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23974 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23975 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23976 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23977 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23978 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23979 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23980 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23981 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23982 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23983 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23984 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23985 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23986 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23987 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23988 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23989 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23990 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23991 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23992 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23993 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23994 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23995 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23996 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23997 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23998 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23999 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24000 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24001
4484b9e2
FW
240022017-10-30 Florian Weimer <fweimer@redhat.com>
24003
24004 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24005 always defined.
24006 * io/tst-mkdirat.c (do_test): Likewise.
24007 * io/tst-mkfifoat.c (do_test): Likewise.
24008 * io/tst-mknodat.c (do_test): Likewise.
24009 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24010 * locale/programs/locale.c (select_dirs): Likewise.
24011 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24012 * posix/bug-glob2.c (my_readdir): Likewise.
24013 * posix/tst-dir.c (main): Likewise.
24014 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24015 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24016
68fe16dd
FW
240172017-10-30 Florian Weimer <fweimer@redhat.com>
24018
24019 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24020 just __USE_GNU.
24021
dadf23f0
FW
240222017-10-30 Florian Weimer <fweimer@redhat.com>
24023
24024 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24025 Convert to support/test-driver.c.
24026 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24027 New macro parameters.
24028 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24029 * posix/tst-gnuglob.c: New file.
24030 * posix/tst-gnuglob64.c: Likewise.
24031 * posix/Makefile (tests): Add tst-gnuglob64.
24032
363e4519 240332017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
24034
24035 [BZ #19485]
24036 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24037 and use a better translation for March in “mon”.
24038 * localedata/locales/csb_PL: Use more ASCII to improve the
24039 readability of the source.
24040
b110af82
MF
240412017-10-30 Mike FABIAN <mfabian@redhat.com>
24042
24043 [BZ #13953]
24044 * localedata/locales/km_KH: Use ASCII as much
24045 as possible for better readability of the source and
24046 remove useless comments.
24047 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24048 was commented out and apparently wrong anyway because it was
24049 using Lao characters. If Buddhist era should be used
24050 for km_KH, a native speaker should write the correct formaat
24051 for Khmer.
24052 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24053 (According to CLDR, the first weekday for Cambodia is Sunday).
24054 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24055 (These were using Lao characters which must be wrong. If we get
24056 the correct data from a native speaker, we could add it back, until
24057 then it is better not to have name_mr and name_mrs at all than
24058 having it wrong).
24059
f301e533
RL
240602017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24061
24062 * locale/loadlocale.c: Correct size of
24063 _nl_value_type_LC_<category> arrays.
24064
7e9d7073
JM
240652017-10-27 Joseph Myers <joseph@codesourcery.com>
24066
24067 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24068 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24069 with appropriate macros defined and undefined.
24070 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24071 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24072 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24073 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24074 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24075
63d3b468
L
240762017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24077
24078 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24079 "-O2 -march=i586".
24080
a4cc02c7
MF
240812017-10-27 Mike FABIAN <mfabian@redhat.com>
24082
24083 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24084 with lowercase letters to make it agree with CLDR.
24085
1e5971ec
MF
240862017-10-27 Mike FABIAN <mfabian@redhat.com>
24087
24088 [BZ #15260]
24089 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24090 first letters of yesstr and nostr in yesexpr and noexpr,
24091 not for the full words.
24092 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24093 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24094 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24095 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24096 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24097 first letters of yesstr and nostr in yesexpr and noexpr,
24098 until now only English was matched in yesexpr and noexpr.
24099 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24100 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24101 fil but not for tl. As tl and fil are very similar, using fil
24102 is probably better than using English.
24103
363e4519 241042017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
24105
24106 [BZ #21706]
24107 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24108 in yesstr and nostr.
24109
5d220788
JM
241102017-10-26 Joseph Myers <joseph@codesourcery.com>
24111
ecc7da5b
JM
24112 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24113 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24114 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24115 Likewise.
24116 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24117 Likewise.
24118 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24119 Likewise.
24120 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24121 Likewise.
24122 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24123 (SNANF128X): Likewise.
24124
5d220788
JM
24125 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24126 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24127 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24128 (HUGE_VAL_F32): Likewise.
24129 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24130 (HUGE_VAL_F64): Likewise.
24131 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24132 (HUGE_VAL_F32X): Likewise.
24133 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24134 (HUGE_VAL_F64X): Likewise.
24135 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24136 (HUGE_VAL_F128X): Likewise.
24137
363e4519 241382017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
24139
24140 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24141 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24142 for the br_FR locale.
24143
363e4519 241442017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
24145
24146 [BZ #21706]
24147 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24148
337ff3c5
CD
241492017-10-25 Carlos O'Donell <carlos@redhat.com>
24150
02eec681
CD
24151 * locale/programs/record-status.h: Define globals, and function
24152 prototypes. Move function bodies...
24153 * locale/programs/record-status.c: ... to here. New file.
24154 * iconv/Makefile (iconv_prog-modules): Add record-status.
24155 * locale/Makefile (lib-modules): Likewise.
24156 * iconv/iconv_prog.c: Remove verbose.
24157 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24158 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24159 record a warning about ASCII compatibility.
24160 * locale/programs/ld-monetary.c (monetary_finish): If
24161 warn_int_curr_symbol is true then record a warning about the symbol
24162 not being in our ISO 4217 list.
24163 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24164 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24165 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24166 (OPT_NO_WARN): Define.
24167 (OPT_WARN): Define.
24168 (options): Add entry for --no-warnings, and --warnings.
24169 (set_warnings): New function to enable/disable warnings.
24170 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24171 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24172 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24173 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24174 Pass flags to generate_locale.
24175 (generate_locale): Accept new flag argument and pass it to localedef
24176 invocation.
24177 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24178 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24179
56fa555a
CD
24180 * localedata/Makefile (test-input-data): Use full file name.
24181 * localedata/da_DK.in: Rename to...
24182 * localedata/da_DK.ISO-8859-1.in: ...this.
24183 * localedata/de_DE.in: Rename to...
24184 * localedata/de_DE.ISO-8859-1.in: ...this.
24185 * localedata/en_US.in: Rename to...
24186 * localedata/en_US.ISO-8859-1.in: ...this.
24187 * localedata/fr_FR.in: Rename to...
24188 * localedata/fr_FR.UTF-8.in: ... this.
24189 * localedata/hr_HR.in: Rename to...
24190 * localedata/hr_HR.ISO-8859-2.in: ...this.
24191 * localedata/hu_HU.in: Rename to...
24192 * localedata/hu_HU.UTF-8.in: ...this.
24193 * localedata/si_LK.in: Rename to...
24194 * localedata/si_LK.UTF-8.in: ...this.
24195 * localedata/sv_SE.in: Rename to...
24196 * localedata/sv_SE.ISO-8859-1.in: ...this.
24197 * localedata/tr_TR.in: Rename to...
24198 * localedata/tr_TR.UTF-8.in: ...this.
24199 * localedata/uk_UA.in: Rename to...
24200 * localedata/uk_UA.UTF-8.in: ...this.
24201 * localedata/sort-test.sh: Test file is locale name with the
24202 suffix.
24203
337ff3c5
CD
24204 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24205 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24206 file.
24207 * localedata/locales/i18n_ctype: Regenerate.
24208 * localedata/locales/tr_TR: Likewise.
24209 * localedata/locales/translit_circle: Likewise.
24210 * localedata/locales/translit_cjk_compat: Likewise.
24211 * localedata/locales/translit_combining: Likewise.
24212 * localedata/locales/translit_compat: Likewise.
24213 * localedata/locales/translit_font: Likewise.
24214 * localedata/locales/translit_fraction: Likewise.
24215
63da5cd4
RS
242162017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24217
24218 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24219 lxvd2x/stxvd2x with lvx/stvx.
24220 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24221
a122dbfb
L
242222017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24223
24224 * include/alloc_buffer.h: Replace "if if " with "if " in
24225 comments.
24226 * sysdeps/mips/memcpy.S: Likkewise.
24227 * sysdeps/mips/memset.S: Likewise.
24228 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24229 Likewise.
24230 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24231 Likewise.
24232 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24233 Likewise.
24234
9be7530c
MF
242352017-10-25 Mike FABIAN <mfabian@redhat.com>
24236
24237 [BZ #15261]
24238 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24239 yesexpr and noexpr.
24240 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24241 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24242 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24243 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24244 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24245 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24246 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24247
6ccbf6ff
MF
242482017-10-25 Mike FABIAN <mfabian@redhat.com>
24249
24250 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24251 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24252 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24253 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24254 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24255 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24256 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24257 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24258 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24259 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24260 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24261 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24262
58b1a7ea
MF
242632017-10-25 Mike FABIAN <mfabian@redhat.com>
24264
24265 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24266 as possible for better readability of the source.
24267 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24268 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24269 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24270 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24271 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24272 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24273 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24274 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24275 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24276 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24277 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24278 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24279 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24280 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24281 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24282 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24283 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24284 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24285 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24286 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24287 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24288 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24289 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24290 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24291 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24292 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24293 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24294 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24295 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24296 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24297 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24298 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24299 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24300 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24301 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24302 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24303 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24304 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24305 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24306 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24307 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24308 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24309 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24310 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24311 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24312 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24313 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24314 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24315 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24316 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24317 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24318 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24319 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24320 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24321 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24322 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24323 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24324 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24325 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24326 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24327 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24328 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24329 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24330 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24331 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24332 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24333 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24334 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24335 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24336 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24337 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24338 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24339 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24340 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24341 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24342 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24343 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24344 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24345 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24346 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24347 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24348 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24349 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24350 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24351 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24352 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24353 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24354 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24355 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24356 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24357 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24358 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24359 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24360 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24361 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24362 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24363 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24364 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24365 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24366 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24367 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24368 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24369 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24370 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24371 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24372 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24373 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24374 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24375 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24376 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24377 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24378 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24379 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24380 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24381 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24382 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24383 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24384 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24385 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24386 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24387 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24388 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24389 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24390 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24391 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24392 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24393 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24394 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24395 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24396 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24397 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24398 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24399 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24400 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24401 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24402 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24403 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24404 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24405 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24406 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24407 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24408 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24409 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24410 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24411 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24412 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24413 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24414 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24415 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24416 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24417 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24418 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24419 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24420 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24421 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24422 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24423 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24424 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24425 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24426 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24427 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24428 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24429 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24430 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24431 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24432 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24433 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24434 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24435 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24436 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24437 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24438 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24439 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24440 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24441
17e78edb
MF
244422017-10-25 Mike FABIAN <mfabian@redhat.com>
24443
24444 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24445 (Use first letters of yesstr and nostr correctly instead of using
24446 full words).
24447
74e7284f
MF
244482017-10-25 Mike FABIAN <mfabian@redhat.com>
24449
24450 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24451 (Use first letters of yesstr and nostr correctly).
24452
b41a0ff1
MF
244532017-10-25 Mike FABIAN <mfabian@redhat.com>
24454
24455 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24456 also check for the first characters of yesstr and nostr.
24457 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24458 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24459
d971f380
MF
244602017-10-25 Mike FABIAN <mfabian@redhat.com>
24461
24462 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24463 also check for Chinese characters.
24464
effc9e1d
MF
244652017-10-25 Mike FABIAN <mfabian@redhat.com>
24466
24467 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24468 match also for the contents of yesstr and nostr. As the first letter
24469 of yesstr and nostr is equal, checking only for the first letter
24470 is not enough.
24471
10320881
MF
244722017-10-25 Mike FABIAN <mfabian@redhat.com>
24473
24474 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24475 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24476
d8682a15
MF
244772017-10-25 Mike FABIAN <mfabian@redhat.com>
24478
24479 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24480 of main contributor.
24481
1bfb86ae
MF
244822017-10-25 Mike FABIAN <mfabian@redhat.com>
24483
24484 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24485 instead of using English.
24486
da33d60b
MF
244872017-10-25 Mike FABIAN <mfabian@redhat.com>
24488
24489 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24490 by including the first letters of nostr and yesexpr in the regexp.
24491 Also make it more readable by using ASCII where possible.
24492
725bbb3e
MF
244932017-10-25 Mike FABIAN <mfabian@redhat.com>
24494
24495 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24496 the first letter of nostr in the regexp. It agrees with CLDR now.
24497 Also make it more readable by using ASCII where possible.
24498
fe043d8a
MF
244992017-10-24 Mike FABIAN <mfabian@redhat.com>
24500
24501 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24502 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24503 these strings contain a U+17D6 (which somewhat looks like a colon)
24504 instead of a real colon to separate the full words for “yes”
24505 and “no” from the single letter responses.
24506
360a8df3
MF
245072017-10-24 Mike FABIAN <mfabian@redhat.com>
24508
24509 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24510 it agree with CLDR (include the first letter of yesstr).
24511 Also make it more readable by using ASCII where possible.
24512
bab7b6b0
MF
245132017-10-24 Mike FABIAN <mfabian@redhat.com>
24514
24515 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24516 and improve yesexpr and noexpr. The yesstr and nostr apparently
24517 came from CLDR. And CLDR has a bug there: these strings contain
24518 a U+0903 (which looks like a colon) instead of a real colon
24519 to separate the full words for “yes” and “no” from the single
24520 letter responses.
24521
3e79f758
MF
245222017-10-24 Mike FABIAN <mfabian@redhat.com>
24523
24524 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24525 letters of the full yesstr and nostr in yesexpr and noexpr.
24526
4960c879
MF
245272017-10-24 Mike FABIAN <mfabian@redhat.com>
24528
24529 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24530 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24531 * localedata/locales/an_ES: Make source more readable by using ASCII
24532 where possible.
24533
b06a054f
MF
245342017-10-24 Mike FABIAN <mfabian@redhat.com>
24535
24536 [BZ #20952]
24537 * localedata/locales/yuw_PG: New file.
24538 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24539 * locale/iso-639.def: Add Yau (Uruwa).
24540
905a7725
WD
245412017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24542
24543 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24544
3f6bb8a3
WD
245452017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24546
24547 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24548 (__libc_realloc): Likewise.
24549 (_mid_memalign): Likewise.
24550 (__libc_calloc): Likewise.
24551
1d479c8c
MF
245522017-10-23 Mike FABIAN <mfabian@redhat.com>
24553
24554 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24555 by adding the generic +1 and -0 as in all other locales.
24556 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24557 day names and make it more readable by using ASCII where possible.
24558
91c3985c
JM
245592017-10-24 Joseph Myers <joseph@codesourcery.com>
24560
24561 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24562 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24563
aa95a241
AZ
245642017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24565
24566 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24567 WNOHANG in waitpid call.
24568
db9bab09
SP
245692017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24570
a2e0a7f1
SP
24571 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24572 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24573
db9bab09
SP
24574 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24575 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24576 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24577 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24578 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24579 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24580 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24581 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24582 variables.
24583
5062680c
MC
245842017-10-23 Michael Collison <michael.collison@arm.com>
24585
24586 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24587 with __builtin_sqrt.
24588 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24589 with __builtin_sqrtf.
24590 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24591 with __builtin_ceil.
24592 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24593 with __builtin_ceilf.
24594 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24595 with __builtin_floor.
24596 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24597 with __builtin_floorf.
24598 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24599 with __builtin_fma.
24600 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24601 with __builtin_fmaf.
24602 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24603 with __builtin_fmax.
24604 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24605 with __builtin_fmaxf.
24606 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24607 with __builtin_fmin.
24608 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24609 with __builtin_fminf.
24610 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24611 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24612 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24613 with builtin_rint and conversion to int.
24614 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24615 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24616 with builtin_llround.
24617 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24618 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24619 with builtin_rint and conversion to long int.
24620 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24621 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24622 with builtin_lround.
24623 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24624 with builtin_lroundf.
24625 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24626 statements with __builtin_nearbyint.
24627 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24628 statements with __builtin_nearbyintf.
24629 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24630 with __builtin_rint.
24631 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24632 with __builtin_rintf.
24633 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24634 with __builtin_round.
24635 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24636 with __builtin_roundf.
24637 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24638 with __builtin_trunc.
24639 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24640 with __builtin_truncf.
be080b6c
SN
24641 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24642 and s_l[l]round[f].c too.
5062680c 24643
174935af
AM
246442017-10-23 Alan Modra <amodra@gmail.com>
24645
24646 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24647 Adjust stack after restoring regs. Add missing LR cfi_restore.
24648
750a0e49
AM
246492017-10-23 Alan Modra <amodra@gmail.com>
24650
24651 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24652 Move LR save and frame setup/teardown and LR restore to
24653 immediately around memset call. Provide cfi.
24654
5313581c
L
246552017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24656
24657 * sysdeps/i386/fpu/e_powf.S: Removed.
24658 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24659 * sysdeps/i386/fpu/w_powf.c: Likewise.
24660 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24661 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24662 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24663 Add e_powf-sse2.
24664 (CFLAGS-e_powf-sse2.c): New.
24665 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24666 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24667
6089a3ee
L
246682017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24669
24670 * sysdeps/i386/fpu/e_log2f.S: Removed.
24671 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24672 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24673 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24674 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24675 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24676 Add e_log2f-sse2.
24677 (CFLAGS-e_log2f-sse2.c): New.
24678 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24679 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24680
80bb5935
L
246812017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24682
24683 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24684 Add e_powf-fma.
24685 (CFLAGS-e_powf-fma.c): New.
24686 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24687 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24688
5c7adbd8
L
246892017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24690
24691 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24692 Add e_log2f-fma.
24693 (CFLAGS-e_log2f-fma.c): New.
24694 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24695 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24696
0ccc7153
L
246972017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24698
24699 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24700 Add e_logf-fma.
24701 (CFLAGS-e_logf-fma.c): New.
24702 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24703 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24704
fe596486
L
247052017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24706
24707 * sysdeps/i386/fpu/e_logf.S: Removed.
24708 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24709 * sysdeps/i386/fpu/w_logf.c: Likewise.
24710 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24711 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24712 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24713 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24714 Add e_logf-sse2.
24715 (CFLAGS-e_logf-sse2.c): New.
24716 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24717 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24718
7eda65f6
L
247192017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24720
24721 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24722 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24723 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24724 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24725 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24726 Add e_exp2f-sse2.
24727 (CFLAGS-e_exp2f-sse2.c): New.
24728 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24729 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24730
5d15c969
L
247312017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24732
24733 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24734 Add e_exp2f-fma.
24735 (CFLAGS-e_exp2f-fma.c): New.
24736 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24737 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24738
b2f6137e
L
247392017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24740
24741 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24742 * sysdeps/i386/fpu/e_expf.S: Likewise.
24743 * sysdeps/i386/fpu/math_errf.c: Likewise.
24744 * sysdeps/i386/fpu/w_expf.c: Likewise.
24745 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24746 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24747 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24748 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24749 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24750 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24751 Remove e_expf-ia32.
24752 (CFLAGS-e_expf-sse2.c): New.
24753 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24754 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24755
e1f59beb
L
247562017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24757
24758 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24759 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24760 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24761 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24762 e_expf.c.
24763 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24764 New.
24765 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24766 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24767 Renamed to ...
24768 (__redirect_expf): This.
24769 (SYMBOL_NAME): Changed to expf.
24770 (__ieee754_expf): Renamed to ...
24771 (__expf): This.
24772 (__GI___expf): This.
24773 (__ieee754_expf): Add strong_alias.
24774 (__expf_finite): Likewise.
24775 (__expf): New.
24776 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24777
363e4519 247782017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
24779
24780 [BZ #22332]
24781 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24782 unescaping.
24783
e80fc1fc
FW
247842017-10-21 Florian Weimer <fweimer@redhat.com>
24785
24786 * posix/Makefile (tests): Add tst-glob-tilde.
24787 (tests-special): Add tst-glob-tilde-mem.out
24788 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24789 (tst-glob-tilde-mem.out): Add mtrace check.
24790 * posix/tst-glob-tilde.c: New file.
24791
797ba44b
JM
247922017-10-20 Joseph Myers <joseph@codesourcery.com>
24793
24794 * bits/floatn-common.h: New file.
24795 * math/Makefile (headers): Add bits/floatn-common.h.
24796 * bits/floatn.h: Include <bits/floatn-common.h>.
24797 * sysdeps/ia64/bits/floatn.h: Likewise.
24798 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24799 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24800 * sysdeps/powerpc/bits/floatn.h: Likewise.
24801 * sysdeps/x86/bits/floatn.h: Likewise.
24802
fe05e1cb
AZ
248032017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24804
8f6f5362
AZ
24805 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24806 indicates whether compiler emits an warning for alias for
24807 functions with incompatible types.
24808
fe05e1cb
AZ
24809 [BZ #22273]
24810 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24811 the auxiliary process is terminated by a signal before calling _exit
24812 or execve.
24813
b52b0d79
L
248142017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24815
24816 [BZ #21265]
24817 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24818 New.
24819 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24820 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24821 and bit_arch_XSAVEC_Usable if needed.
24822 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24823 and bit_arch_Use_dl_runtime_resolve_opt.
24824 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24825 Removed.
24826 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24827 (bit_arch_Prefer_No_AVX512): Updated.
24828 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24829 (bit_arch_XSAVEC_Usable): New.
24830 (STATE_SAVE_OFFSET): Likewise.
24831 (STATE_SAVE_MASK): Likewise.
24832 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24833 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24834 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24835 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24836 (index_arch_XSAVEC_Usable): New.
24837 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24838 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24839 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24840 is enabled.
24841 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24842 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24843 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24844 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24845 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24846 _dl_runtime_resolve_xsavec.
24847 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24848 Removed.
24849 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24850 instead of VEC_SIZE.
24851 (REGISTER_SAVE_BND0): Removed.
24852 (REGISTER_SAVE_BND1): Likewise.
24853 (REGISTER_SAVE_BND3): Likewise.
24854 (REGISTER_SAVE_RAX): Always defined to 0.
24855 (VMOV): Removed.
24856 (_dl_runtime_resolve_avx): Likewise.
24857 (_dl_runtime_resolve_avx_slow): Likewise.
24858 (_dl_runtime_resolve_avx_opt): Likewise.
24859 (_dl_runtime_resolve_avx512): Likewise.
24860 (_dl_runtime_resolve_avx512_opt): Likewise.
24861 (_dl_runtime_resolve_sse): Likewise.
24862 (_dl_runtime_resolve_sse_vex): Likewise.
24863 (USE_FXSAVE): New.
24864 (_dl_runtime_resolve_fxsave): Likewise.
24865 (USE_XSAVE): Likewise.
24866 (_dl_runtime_resolve_xsave): Likewise.
24867 (USE_XSAVEC): Likewise.
24868 (_dl_runtime_resolve_xsavec): Likewise.
24869 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24870 Removed.
24871 (_dl_runtime_resolve_avx512_opt): Likewise.
24872 (_dl_runtime_resolve_avx): Likewise.
24873 (_dl_runtime_resolve_avx_opt): Likewise.
24874 (_dl_runtime_resolve_sse): Likewise.
24875 (_dl_runtime_resolve_sse_vex): Likewise.
24876 (_dl_runtime_resolve_fxsave): New.
24877 (_dl_runtime_resolve_xsave): Likewise.
24878 (_dl_runtime_resolve_xsavec): Likewise.
24879
363e4519 248802017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
24881
24882 [BZ #22320]
24883 CVE-2017-15670
24884 * posix/glob.c (__glob): Fix one-byte overflow.
24885
6d43de4b
WD
248862017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24887
24888 * malloc/malloc.c (sysdep-cancel.h): Add include.
24889
a15d53e2
WD
248902017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24891
24892 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24893
b9a558e7
WH
248942017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24895
24896 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24897 (tests): Remove $(objpfx)ga_test depdendency.
24898 * resolv/ga_test.c: Remove file.
24899
b6b08b8e
MF
249002017-10-20 Mike FABIAN <mfabian@redhat.com>
24901
24902 [BZ #18812]
24903 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24904 * localedata/locales/kab_DZ: New file.
24905
9ba7e810
L
249062017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24907
24908 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24909 _dl_relocate_static_pie instead of _dl_start to compute load
24910 address in static PIE.
24911
4027a4fd
L
249122017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24913
24914 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24915
2f9314b4
MF
249162017-10-20 Mike FABIAN <mfabian@redhat.com>
24917
24918 [BZ #13605]
24919 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24920 * localedata/locales/shn_MM: New file.
24921
63b4baa4
FW
249222017-10-20 Florian Weimer <fweimer@redhat.com>
24923
24924 [BZ #22321]
24925 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24926 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24927 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24928 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24929 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24930 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24931
95ccb619
L
249322017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24933
24934 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24935
37bb78cb
JM
249362017-10-19 Joseph Myers <joseph@codesourcery.com>
24937
76f2ed92
JM
24938 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24939
37bb78cb
JM
24940 [BZ #22322]
24941 * sysdeps/mips/bits/long-double.h: Move to ....
24942 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24943
d74e6f6c
WD
249442017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24945
24946 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24947
363e4519 249482017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
24949 H.J. Lu <hongjiu.lu@intel.com>
24950
24951 [BZ #22299]
24952 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24953 GLRO(dl_platform) to NULL.
24954 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24955 (modules-names): Add tst-platformmod-1 and
24956 x86_64/tst-platformmod-2.
24957 (CFLAGS-tst-platform-1.c): New.
24958 (CFLAGS-tst-platformmod-1.c): Likewise.
24959 (CFLAGS-tst-platformmod-2.c): Likewise.
24960 (LDFLAGS-tst-platformmod-2.so): Likewise.
24961 ($(objpfx)tst-platform-1): Likewise.
24962 ($(objpfx)tst-platform-1.out): Likewise.
24963 (tst-platform-1-ENV): Likewise.
24964 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24965 * sysdeps/x86_64/tst-platform-1.c: New file.
24966 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24967 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24968
4b0fa403
MF
249692017-10-19 Mike FABIAN <mfabian@redhat.com>
24970
24971 [BZ #13994]
24972 * locale/iso-639.def: Add Karbi.
24973 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24974 * localedata/locales/mjw_IN: New file.
24975
81325b12
JM
249762017-10-18 Joseph Myers <joseph@codesourcery.com>
24977
24978 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24979 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24980 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24981 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24982 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24983 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24984 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24985 <bits/floatn.h>.
24986 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24987 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24988 * manual/math.texi (Mathematics): Document additional architecture
24989 support for _Float128.
24990 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24991 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24992 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24993 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24994 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24995 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24996 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24997 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24998 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24999 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25000 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25001 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25002 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25003 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25004 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25005
a68ba2f3
SN
250062017-10-18 Renlin Li <renlin.li@arm.com>
25007
25008 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25009 _DYNAMIC symbol to calculate load address.
25010
346729f6
PC
250112017-10-18 Paul A. Clarke <pc@us.ibm.com>
25012
25013 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25014 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25015 summary bits.
25016 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25017 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25018
508b1e71
MF
250192017-10-18 Mike FABIAN <mfabian@redhat.com>
25020
25021 [BZ #16777]
25022 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25023 and improve readability by using more ASCII.
25024 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25025 and improve readability by using more ASCII.
25026
2c2245b9
WD
250272017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25028
25029 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25030 not all targets support atomics on bool.
25031
13c92696
JM
250322017-10-17 Joseph Myers <joseph@codesourcery.com>
25033
25034 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25035 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25036 __f128.
25037 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25038 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25039 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25040 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25041 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25042 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25043
71d85045
AZ
250442017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25045
25046 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25047 defines.
25048
3381be5c
WD
250492017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25050
25051 [BZ #22159]
25052 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25053 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25054 (do_check_remalloced_chunk): Fix build bug.
25055 (do_check_malloc_state): Add assert that checks arena->top.
25056 (malloc_consolidate): Remove initialization.
25057 (int_mallinfo): Remove call to malloc_consolidate.
25058 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25059
e956075a
WD
250602017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25061
25062 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25063 (have_fastchunks): Remove.
25064 (clear_fastchunks): Remove.
25065 (set_fastchunks): Remove.
25066 (malloc_state): Add have_fastchunks.
25067 (malloc_init_state): Use have_fastchunks.
25068 (do_check_malloc_state): Remove incorrect invariant checks.
25069 (_int_malloc): Use have_fastchunks.
25070 (_int_free): Likewise.
25071 (malloc_consolidate): Likewise.
25072
e4dd4ace
WD
250732017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25074
25075 * malloc/malloc.c (tcache_put): Inline.
25076 (tcache_get): Inline.
25077
5bf58bc7
AJ
250782017-10-17 Jordi Mallach <jordi@gnu.org>
25079
25080 Aurelien Jarno <aurelien@aurel32.net>
25081 [BZ #2522]
25082 * localedata/locales/ca_ES@valencia: New file.
25083 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25084
386e1c26
RN
250852017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25086
25087 [BZ #22296]
25088 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25089 < 6.x
25090
4e17c78e
AZ
250912017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25092
3d265601
AZ
25093 * scripts/build-many-glibcs.py (Context.add_all_configs):
25094 Add arm-linux-gnueabihf multiarch extra_glibcs.
25095
4e17c78e
AZ
25096 * sysdeps/generic/ifunc-init.h: New file.
25097 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25098
56a752ab
MF
250992017-10-17 Mike FABIAN <mfabian@redhat.com>
25100
25101 [BZ #22019]
25102 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25103 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25104 * stdlib/tst-strfmon_l.c: adapt test case.
25105
c38a4bfd
JM
251062017-10-16 Joseph Myers <joseph@codesourcery.com>
25107
25108 * sysdeps/generic/float128-abi.h: New file.
25109 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25110 non-__prefixed symbols to ....
25111 * math/Versions: ... here. Include <float128-abi.h>.
25112 * stdlib/Versions ... and here. Include <float128-abi.h>
25113
76009b26
FW
251142017-10-16 Florian Weimer <fweimer@redhat.com>
25115
25116 * version.h (VERSION): Switch to ".9000" as the development
25117 version suffix.
25118
7ece6cd5
FW
251192017-10-16 Florian Weimer <fweimer@redhat.com>
25120
25121 [BZ #22050]
25122 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25123 compat_symbol_reference to access non-default version.
25124
d8287b36
FW
251252017-10-16 Florian Weimer <fweimer@redhat.com>
25126
25127 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25128
3480ddc4
CD
251292017-10-16 Carlos O'Donell <carlos@redhat.com>
25130
25131 * include/shlib-compat.h (compat_symbol_reference): Update
25132 comment.
25133
02010e79
JM
251342017-10-16 Joseph Myers <joseph@codesourcery.com>
25135
596f7013
JM
25136 * math/Makefile (test-types): Add
25137 $(type-float128-$(float128-alias-fcts)).
25138 * math/test-float128.h (TYPE_STR): Define conditional on
25139 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25140 (ULP_IDX): Likewise.
25141 (ULP_I_IDX): Likewise.
25142
02010e79
JM
25143 * stdlib/strtold.c: Include <bits/floatn.h>
25144 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25145 and later undefine as macro. Define as weak alias if
25146 [!USE_WIDE_CHAR].
25147 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25148 and later undefine as macro. Define as weak alias if
25149 [USE_WIDE_CHAR].
25150 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25151 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25152 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25153 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25154 Define and later undefine as macro. Define as weak alias if
25155 [USE_WIDE_CHAR].
25156 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25157 <bits/floatn.h>.
25158 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25159 Define and later undefine as macro. Define as weak alias if
25160 [!USE_WIDE_CHAR].
25161 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25162 Define and later undefine as macro. Define as weak alias if
25163 [USE_WIDE_CHAR].
25164
ea91c315
CD
251652017-10-15 Carlos O'Donell <carlos@redhat.com>
25166
25167 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25168 record_verbose messages.
25169
8e57c943
L
251702017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25171
25172 [BZ #22052]
25173 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25174 to silence -O3 -Wall warning with GCC 7.
25175
a4777c46
L
251762017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25177
25178 * Makeconfig (+link-static-before-libc): Use the first of
25179 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25180 * gmon/Makefile (tests): Add tst-gmon-static.
25181 (tests-static): Likewise.
25182 (CFLAGS-tst-gmon-static.c): New.
25183 (CRT-tst-gmon-static): Likewise.
25184 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25185 (tst-gmon-static-ENV): Likewise.
25186 (tests-special): Likewise.
25187 ($(objpfx)tst-gmon-static.out): Likewise.
25188 (clean-tst-gmon-static-data): Likewise.
25189 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25190 * gmon/tst-gmon-static-gprof.sh: New file.
25191 * gmon/tst-gmon-static.c: Likewise.
25192
bc3821bb
CD
251932017-10-13 Carlos O'Donell <carlos@redhat.com>
25194
25195 [BZ #22295]
25196 * locale/programs/linereader.c (get_string): Don't warn on
25197 non-symbolic character.
25198
a3e23a2c
CD
25199 [BZ #22294]
25200 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25201 int_curr_symbol.
25202
f16491eb
CD
25203 [BZ #22292]
25204 * locale/programs/record-status.h: New file
25205 * locale/programs/locale.c: Add comment.
25206 * locale/programs/charmap-dir.c: Don't include error.h.
25207 (charmap_opendir): Use record_error.
25208 * locale/programs/charmap.c: Don't include error.h.
25209 (charmap_read): Use record_error, and record_warning.
25210 (parse_charmap): Likewise.
25211 * locale/programs/ld-address.c: Don't include error.h.
25212 (address_finish): Use record_error, and record_warning.
25213 * locale/programs/ld-collate.c: Don't include error.h.
25214 (collate_finish): Use record_error, and record_error_at_line.
25215 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25216 (ctype_class_new): Likewise.
25217 (ctype_map_new): Likewise.
25218 (set_one_default): Likewise.
25219 (set_class_defaults): Likewise.
25220 (translit_flatten): Likewise.
25221 (allocate_arrays): Use record_error, and record_verbose.
25222 * locale/programs/ld-identification.c: Don't include error.h.
25223 (indentation_finish): Use record_error and record_warning.
25224 * locale/programs/ld-measurement.c: Don't include error.h.
25225 (measurement_finish): Use record_error.
25226 * locale/programs/ld-messages.c
25227 (message_finish): Likewise.
25228 * locale/programs/ld-monetary.c
25229 (monetary_finish): Likewise.
25230 * locale/programs/ld-name.c (name_finish): Use record_error
25231 and record_warning.
25232 * locale/programs/ld-numeric.c
25233 (numeric_finish): Use record_error.
25234 * locale/programs/ld-paper.c: Don't include error.h.
25235 (paper_finish): Use record_error.
25236 * locale/programs/ld-telephone.c: Don't include error.h.
25237 (telephone_finish): Use record_error.
25238 * locale/programs/ld-time.c (time_finish): Likewise.
25239 * locale/programs/linereader.h (lr_error): Make inline func.
25240 * locale/programs/localedef.c: Define recorded_warning_count,
25241 and recorded_error_count.
25242 (main): Use record_error. Use recorded_error_count and
25243 recorded_warning_count to issue correct error returns.
25244 (add_to_readlist): Use record_error.
25245 (find_locale): Likewise.
25246 (load_locale): Likewise.
25247 * locale/programs/localedef.h: Remove be_quiet
25248 and WITH_CUR_LOCALE.
25249 * locale/programs/locarchive.c (compare_from_file): Use
25250 record_error.
25251 * locale/programs/locfile.c (write_locale_data): Use
25252 record_error.
25253 * locale/programs/repertoire.c: Dont include error.h.
25254 (repertoire_complain): Use record_error.
25255 * localedata/tst-fmon.sh: Expect failures from localedef.
25256 * localedata/tst-locale.sh: Likewise.
25257 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25258
8dc8be75
CD
25259 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25260 (REPORTS): Likewise.
25261 (check): Likewise.
25262 (i18n): Rename to...
25263 (i18n_ctype): ...this.
25264 (i18n-report): Rename to...
25265 (i18n_ctype-report): ...this.
25266 * localedata/locales/i18n_ctype: Regenerate.
25267 * localedata/locales/i18n: copy i18n_ctype.
25268
f8718a9e
JM
252692017-10-13 Joseph Myers <joseph@codesourcery.com>
25270
18c08b96
JM
25271 * stdlib/strfroml.c: Include <bits/floatn.h>.
25272 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25273 Define before include of <stdlib.h> and undefine afterwards, then
25274 define as weak alias.
25275
f8718a9e
JM
25276 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25277 Undefine and restore default definition. Use
25278 libm_alias_ldouble_other.
25279
e4f530da
PZ
252802017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25281
25282 [BZ #22153]
25283 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25284 in coredumps.
25285
86445888
JC
252862017-10-13 James Clarke <jrtc27@jrtc27.com>
25287
25288 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25289 Assign sym_map to be map for local symbols, as TLS relocations
25290 use sym_map to determine whether the symbol is defined and to
25291 extract the TLS information.
25292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25293 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25294
179dcdb7
TMQMF
252952017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25296
e8dbd6a3
TMQMF
25297 [BZ #22189]
25298 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25299 (math_force_eval): Add powerpc version.
25300
179dcdb7
TMQMF
25301 [BZ #22142]
25302 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25303 -DBL_MAX.
25304 (do_test): Likewise.
25305 * stdio-common/tst-printf.sh: Likewise.
25306 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25307 ifdef clause in order to set the carry bit right. Replace r0 by
25308 0 without changing the behavior.
25309
7d25d410
JM
253102017-10-13 Joseph Myers <joseph@codesourcery.com>
25311
006e7664
JM
25312 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25313 <libm-alias-ldouble.h>.
25314 (fabsl): Define using libm_alias_ldouble.
25315 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25316 <libm-alias-ldouble.h>.
25317 (fabsl): Define using libm_alias_ldouble.
25318
1def91b3
JM
25319 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25320 Remove conditional code.
25321
7d25d410
JM
25322 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25323 Rename to __clog10_internal_l.
25324 (__clog10_internal_l): Define aliases using
25325 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25326 with __clog10.
25327
077ee129
RS
253282017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25329
25330 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25331 * benchtests/sincosf-inputs: New file.
25332 * benchtests/cosf-inputs: New file.
25333 * benchtests/sinf-inputs: New file.
25334
5ba41de9
SN
253352017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25336
25337 * posix/tst-spawn.c (do_test): Wait for both children.
25338
d165ca64
L
253392017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25340
25341 [BZ #22284]
25342 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25343 tests-pie): Add tst-gmon-pie.
25344 (CFLAGS-tst-gmon-pie.c): New.
25345 (CRT-tst-gmon-pie): Likewise.
25346 (tst-gmon-pie-ENV): Likewise.
25347 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25348 ($(objpfx)tst-gmon-pie.out): Likewise.
25349 (clean-tst-gmon-pie-data): Likewise.
25350 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25351 * gmon/gmon.c [PIC]: Include <link.h>.
25352 [PIC] (callback): New function.
25353 (write_hist): Add an argument for load address. Subtract load
25354 address from PCs.
25355 (write_call_graph): Likewise.
25356 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25357 it to write_hist and write_call_graph.
7bacdcfc 25358 * gmon/tst-gmon-pie.c: New file.
d165ca64 25359
bc9620d0
JM
253602017-10-11 Joseph Myers <joseph@codesourcery.com>
25361
25362 * math/Makefile (test-types-basic): New variable.
25363 (test-types): Likewise.
25364 (libm-test-support): Use $(test-types) instead of $(types).
25365 (libm-tests-base-normal): Likewise.
25366 (libm-tests-base-finite): Likewise.
25367 (libm-tests-base-inline): Likewise.
25368 (generated): Likewise.
25369 ($(objpfx)libm-test-support-$(t).c): Likewise.
25370 (libm-tests-for-type iterator): Likewise.
25371 (libm-test-support iterator): Likewise.
25372 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25373 (ulp_idx): Use ULP_IDX.
25374 * math/test-ldouble.h: Include <float.h>.
25375 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25376 (ULP_IDX): New macro.
25377 (ULP_I_IDX): Likewise.
25378 * math/test-double.h (ULP_IDX): Likewise.
25379 (ULP_I_IDX): Likewise.
25380 * math/test-float.h (ULP_IDX): Likewise.
25381 (ULP_I_IDX): Likewise.
25382 * math/test-float128.h (ULP_IDX): Likewise.
25383 (ULP_I_IDX): Likewise.
25384
09c76a74
AZ
253852017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25386
25387 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25388 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25389 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25390 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25391 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25392 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25393 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25394 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25395 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25396 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25397 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25398 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25399 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25400 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25401 (SINGLE_THREAD_BY_GLOBAL): Define.
25402 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25403 Likewise.
25404 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25405 Likewise.
25406 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25407 Likewise.
25408 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25409 Likewise.
25410 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25411 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25413 Likewise.
25414
2faa42da
AS
254152017-10-11 Andreas Schwab <schwab@suse.de>
25416
25417 * nis/Makefile (aux): Remove.
25418 * nscd/Makefile (aux): Add nscd_hash.
25419 (nscd-modules): Likewise.
25420 ($(objpfx)nscd): Don't depend on libnsl.
25421 * nscd/nscd_hash.c: New file.
25422 * nscd/nscd_hash.h: Likewise.
25423 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25424 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25425 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25426 instead of <nis/rpcsvc/nis.h>.
25427 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25428
d8425e11
FW
254292017-10-11 Florian Weimer <fweimer@redhat.com>
25430
25431 [BZ #22078]
25432 Avoid large NSS buffers with many addresses, aliases.
25433 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25434 using dynarrays and struct alloc_buffer.
25435 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25436 (tst-nss-files-hosts-multi): Link with -ldl.
25437 * nss/tst-nss-files-hosts-multi.c: New file.
25438
78e806fd
FW
254392017-10-11 Florian Weimer <fweimer@redhat.com>
25440
25441 [BZ #18023]
25442 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25443 scratch_buffer. Eliminate gotos.
25444
541f19ba
JM
254452017-10-11 Joseph Myers <joseph@codesourcery.com>
25446
0ff64d3a
JM
25447 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25448 libm_alias_ldouble_other.
25449 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25450 undefine and redefine.
25451 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25452 (exp10l): Do not define here.
25453 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25454 (weak_alias): Undefine and redefine.
25455 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25456 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25457 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25458 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25459
541f19ba
JM
25460 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25461 [!__fma] (fma): Define using libm_alias_double.
25462 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25463 [!__fmaf] (fmaf): Define using libm_alias_float.
25464 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25465 (fmal): Define using libm_alias_ldouble.
25466
24b6515d
JM
254672017-10-10 Joseph Myers <joseph@codesourcery.com>
25468
25469 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25470 New macro.
25471 (libm_alias_double_other): Likewise.
25472 (libm_alias_double_r): Use libm_alias_double_other_r.
25473 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25474 New macro.
25475 (libm_alias_float_other): Likewise.
25476 (libm_alias_float_r): Use libm_alias_float_other_r.
25477 * sysdeps/generic/libm-alias-float128.h
25478 (libm_alias_float128_other_r): New macro.
25479 (libm_alias_float128_other): Likewise.
25480 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25481 * sysdeps/generic/libm-alias-ldouble.h
25482 (libm_alias_ldouble_other_r): New macro.
25483 (libm_alias_ldouble_other): Likewise.
25484 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25485 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25486 (libm_alias_double_other_r): New macro.
25487 (libm_alias_double_other): Likewise.
25488 (libm_alias_double_r): Use libm_alias_double_other_r.
25489 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25490 (libm_alias_ldouble_other_r): New macro.
25491 (libm_alias_ldouble_other): Likewise.
25492 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25493 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25494 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25495 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25496 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25497 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25498 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25499 * math/w_exp2f.c: Use libm_alias_float_other.
25500 * math/w_expf.c: Likewise.
25501 * math/w_log2f.c: Likewise.
25502 * math/w_logf.c: Likewise.
25503 * math/w_powf.c: Likewise.
25504 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25505 [!__exp2f]: Use libm_alias_float_other.
25506 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25507 [!__expf]: Use libm_alias_float_other.
25508 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25509 [!__log2f]: Use libm_alias_float_other.
25510 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25511 [!__logf]: Use libm_alias_float_other.
25512 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25513 [!__powf]: Use libm_alias_float_other.
25514
8ed70de2
FW
255152017-10-10 Florian Weimer <fweimer@redhat.com>
25516
25517 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25518 function.
25519 (_nss_files_gethostbyname3_r): Call it.
25520
a8dce619
JM
255212017-10-09 Joseph Myers <joseph@codesourcery.com>
25522
25523 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25524 error. Remove default definition of declare_mgen_alias.
25525 [!declare_mgen_alias_r]: Likewise.
25526 * sysdeps/generic/math-type-macros-double.h
25527 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25528 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25529 (declare_mgen_alias_r): Likewise.
25530 * sysdeps/generic/math-type-macros-float128.h
25531 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25532 * sysdeps/generic/math-type-macros-ldouble.h
25533 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25534 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25535 macro.
25536 (declare_mgen_alias_r_s): Likewise.
25537 (declare_mgen_alias_r): Likewise.
25538 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25539 (lgamma_r): Define using libm_alias_double_r.
25540 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25541 (lgammaf_r): Define using libm_alias_float_r.
25542 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25543 (lgammal_r): Define using libm_alias_ldouble_r.
25544 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25545 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25546
bedac136
AZ
255472017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25548
25549 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25550 extern declaration.
25551
c7509db2
JM
255522017-10-09 Joseph Myers <joseph@codesourcery.com>
25553
25554 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25555
d6c064e9
JW
255562017-10-09 Jonathan Wakely <jwakely@redhat.com>
25557
25558 [BZ #21326]
25559 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25560 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25561 * math/Makefile (test-math-cxx11): New test.
25562 * math/test-math-cxx11.cc: New file.
25563
98e07420
CB
255642017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25565
25566 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25567
645ac9aa
CB
25568 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25569 call to allocate the slave pty file descriptor.
25570
fd3b4e7c
JM
255712017-10-06 Joseph Myers <joseph@codesourcery.com>
25572
f85a176f
JM
25573 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25574 [!__fma] (fma): Define using libm_alias_double.
25575 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25576 [!__fma] (fma): Define using libm_alias_double.
25577
fd3b4e7c
JM
25578 * sysdeps/ieee754/float128/float128_private.h: Include
25579 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25580 (libm_alias_ldouble_r): Undefine and redefine.
25581 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25582 <libm-alias-ldouble.h>.
25583 (asinhl): Define using libm_alias_ldouble.
25584 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25585 <libm-alias-ldouble.h>.
25586 (atanl): Define using libm_alias_ldouble.
25587 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25588 <libm-alias-ldouble.h>.
25589 (cbrtl): Define using libm_alias_ldouble.
25590 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25591 <libm-alias-ldouble.h>.
25592 (ceill): Define using libm_alias_ldouble.
25593 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25594 <libm-alias-ldouble.h>.
25595 (copysignl): Define using libm_alias_ldouble.
25596 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25597 <libm-alias-ldouble.h>.
25598 (cosl): Define using libm_alias_ldouble.
25599 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25600 <libm-alias-ldouble.h>.
25601 (erfl): Define using libm_alias_ldouble.
25602 (erfcl): Likewise.
25603 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25604 <libm-alias-ldouble.h>.
25605 (expm1l): Define using libm_alias_ldouble.
25606 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25607 <libm-alias-ldouble.h>.
25608 (fabsl): Define using libm_alias_ldouble.
25609 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25610 <libm-alias-ldouble.h>.
25611 (floorl): Define using libm_alias_ldouble.
25612 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25613 <libm-alias-ldouble.h>.
25614 (fmal): Define using libm_alias_ldouble.
25615 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25616 <libm-alias-ldouble.h>.
25617 (frexpl): Define using libm_alias_ldouble.
25618 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25619 libm_alias_ldouble.
25620 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25621 <libm-alias-ldouble.h>.
25622 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25623 libm_alias_ldouble.
25624 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25625 <libm-alias-ldouble.h>.
25626 (getpayloadl): Define using libm_alias_ldouble.
25627 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25628 <libm-alias-ldouble.h>.
25629 (llrintl): Define using libm_alias_ldouble.
25630 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25631 <libm-alias-ldouble.h>.
25632 (llroundl): Define using libm_alias_ldouble.
25633 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25634 <libm-alias-ldouble.h>.
25635 (logbl): Define using libm_alias_ldouble.
25636 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25637 <libm-alias-ldouble.h>.
25638 (lrintl): Define using libm_alias_ldouble.
25639 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25640 <libm-alias-ldouble.h>.
25641 (lroundl): Define using libm_alias_ldouble.
25642 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25643 <libm-alias-ldouble.h>.
25644 (modfl): Define using libm_alias_ldouble.
25645 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25646 <libm-alias-ldouble.h>.
25647 (nearbyintl): Define using libm_alias_ldouble.
25648 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25649 <libm-alias-ldouble.h>.
25650 (nextafterl): Define using libm_alias_ldouble.
25651 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25652 <libm-alias-ldouble.h>.
25653 (nextupl): Define using libm_alias_ldouble.
25654 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25655 <libm-alias-ldouble.h>.
25656 (remquol): Define using libm_alias_ldouble.
25657 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25658 <libm-alias-ldouble.h>.
25659 (rintl): Define using libm_alias_ldouble.
25660 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25661 <libm-alias-ldouble.h>.
25662 (roundevenl): Define using libm_alias_ldouble.
25663 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25664 <libm-alias-ldouble.h>.
25665 (roundl): Define using libm_alias_ldouble.
25666 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25667 using libm_alias_ldouble.
25668 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25669 <libm-alias-ldouble.h>.
25670 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25671 Define using libm_alias_ldouble.
25672 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25673 <libm-alias-ldouble.h>.
25674 (sincosl): Define using libm_alias_ldouble.
25675 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25676 <libm-alias-ldouble.h>.
25677 (sinl): Define using libm_alias_ldouble.
25678 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25679 <libm-alias-ldouble.h>.
25680 (tanhl): Define using libm_alias_ldouble.
25681 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25682 <libm-alias-ldouble.h>.
25683 (tanl): Define using libm_alias_ldouble.
25684 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25685 <libm-alias-ldouble.h>.
25686 (totalorderl): Define using libm_alias_ldouble.
25687 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25688 <libm-alias-ldouble.h>.
25689 (totalordermagl): Define using libm_alias_ldouble.
25690 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25691 <libm-alias-ldouble.h>.
25692 (truncl): Define using libm_alias_ldouble.
25693 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25694 libm_alias_ldouble.
25695 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25696 libm_alias_ldouble.
25697 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25698 <libm-alias-ldouble.h>.
25699 (weak_alias): Do not undefine and redefine.
25700 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25701 (copysignl): Define with long_double_symbol only if [IS_IN
25702 (libc)].
25703 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25704 <libm-alias-ldouble.h>.
25705 (weak_alias): Do not undefine and redefine.
25706 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25707 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25708 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25709 <libm-alias-ldouble.h>.
25710 (weak_alias): Do not undefine and redefine.
25711 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25712 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25713 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25714 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25717 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25720 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25723 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25729 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25730 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25733 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25734 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25735 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25737
1e26d351
CD
257382017-10-06 Carlos O'Donell <carlos@redhat.com>
25739
25740 [BZ #22111]
25741 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25742 (tcache_thread_freeres): Set tcache_shutting_down before
25743 freeing the tcache.
25744 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25745 * malloc/tst-malloc-tcache-leak.c: New file.
25746
d1386762
RS
257472017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25748
25749 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25750 back to powerpc32 file.
25751 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25752 (memrchr): Add __memrchr_power8 to ifunc list.
25753 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25754 extra bytes for unaligned inputs.
25755
6dff1983
JM
257562017-10-06 Joseph Myers <joseph@codesourcery.com>
25757
25758 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25759 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25760 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25761 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25763
86f9568a
JM
257642017-10-05 Joseph Myers <joseph@codesourcery.com>
25765
0db0b931
JM
25766 * sysdeps/arm/libm-test-ulps: Update.
25767
86f9568a
JM
25768 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25769 <libm-alias-ldouble.h>.
25770 (asinhl): Define using libm_alias_ldouble.
25771 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25772 <libm-alias-ldouble.h>.
25773 (cbrtl): Define using libm_alias_ldouble.
25774 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25775 <libm-alias-ldouble.h>.
25776 (copysignl): Define using libm_alias_ldouble.
25777 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25778 <libm-alias-ldouble.h>.
25779 (cosl): Define using libm_alias_ldouble.
25780 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25781 <libm-alias-ldouble.h>.
25782 (erfl): Define using libm_alias_ldouble.
25783 (erfcl): Likewise.
25784 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25785 <libm-alias-ldouble.h>.
25786 (fmal): Define using libm_alias_ldouble.
25787 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25788 <libm-alias-ldouble.h>.
25789 (frexpl): Define using libm_alias_ldouble.
25790 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25791 libm_alias_ldouble.
25792 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25793 <libm-alias-ldouble.h>.
25794 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25795 libm_alias_ldouble.
25796 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25797 <libm-alias-ldouble.h>.
25798 (getpayloadl): Define using libm_alias_ldouble.
25799 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25800 <libm-alias-ldouble.h>.
25801 (llrintl): Define using libm_alias_ldouble.
25802 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25803 <libm-alias-ldouble.h>.
25804 (llroundl): Define using libm_alias_ldouble.
25805 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25806 <libm-alias-ldouble.h>.
25807 (lrintl): Define using libm_alias_ldouble.
25808 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25809 <libm-alias-ldouble.h>.
25810 (lroundl): Define using libm_alias_ldouble.
25811 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25812 <libm-alias-ldouble.h>.
25813 (modfl): Define using libm_alias_ldouble.
25814 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25815 <libm-alias-ldouble.h>.
25816 (nextupl): Define using libm_alias_ldouble.
25817 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25818 <libm-alias-ldouble.h>.
25819 (remquol): Define using libm_alias_ldouble.
25820 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25821 <libm-alias-ldouble.h>.
25822 (roundevenl): Define using libm_alias_ldouble.
25823 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25824 <libm-alias-ldouble.h>.
25825 (roundl): Define using libm_alias_ldouble.
25826 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25827 using libm_alias_ldouble.
25828 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25829 <libm-alias-ldouble.h>.
25830 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25831 <libm-alias-ldouble.h>.
25832 (setpayloadsigl): Define using libm_alias_ldouble.
25833 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25834 <libm-alias-ldouble.h>.
25835 (sincosl): Define using libm_alias_ldouble.
25836 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25837 <libm-alias-ldouble.h>.
25838 (sinl): Define using libm_alias_ldouble.
25839 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25840 <libm-alias-ldouble.h>.
25841 (tanhl): Define using libm_alias_ldouble.
25842 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25843 <libm-alias-ldouble.h>.
25844 (tanl): Define using libm_alias_ldouble.
25845 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25846 <libm-alias-ldouble.h>.
25847 (totalorderl): Define using libm_alias_ldouble.
25848 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25849 <libm-alias-ldouble.h>.
25850 (totalordermagl): Define using libm_alias_ldouble.
25851 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25852 libm_alias_ldouble.
25853 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25854 libm_alias_ldouble.
25855
9ec87fd2
SP
258562017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25857
dd5bc7f1
SP
25858 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25859 memmove_falkor.
25860 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25861 (__libc_ifunc_impl_list): Likewise.
25862 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25863 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25864
5bfb0404
SP
25865 * benchtests/bench-memmove-walk.c: New file.
25866 * benchtests/Makefile (string-benchset): Add it.
25867
36bb8edf
SP
25868 * benchtests/bench-memset-walk.c: New file.
25869 * benchtests/Makefile (string-benchset): Add it.
25870
9ec87fd2
SP
25871 * benchtests/bench-memcpy-walk.c: New file.
25872 * benchtests/Makefile (string-benchset): Add it.
25873
1e9522c6
FW
258742017-10-05 Florian Weimer <fweimer@redhat.com>
25875
25876 nscd: Eliminate compilation time dependency in the build output.
25877 * nscd/nscd_stat.c (STATDATA_VERSION)
25878 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25879 (STATDATA_VERSION_FULL): New macro definitions.
25880 (compilation): Remove.
25881 (struct statdata): Adjust version member.
25882 (send_stats): Set version from STATDATA_VERSION_FULL.
25883 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25884
644d3857
JM
258852017-10-05 Joseph Myers <joseph@codesourcery.com>
25886
25887 * configure.ac (--enable-add-ons): Remove option.
25888 (machine): Do not mention add-ons in comment.
25889 (LIBC_PRECONFIGURE): Likewise.
25890 (add_ons): Remove variable and sanity checks and logic to locate
25891 add-ons.
25892 (add_ons_automatic): Remove variable.
25893 (configured_add_ons): Likewise.
25894 (add_ons_sfx): Likewise.
25895 (add_ons_pfx): Likewise.
25896 (add_on_subdirs): Likewise.
25897 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25898 consideration of add-ons in Implies handling.
25899 (sysdeps_add_ons): Likewise.
25900 * configure: Regenerated.
25901 * libidn/configure.ac: Remove.
25902 * libidn/configure: Likewise.
25903 * sysdeps/unix/inet/configure.ac: New file.
25904 * sysdeps/unix/inet/configure: New generated file.
25905 * sysdeps/unix/inet/Subdirs: Add libidn.
25906 * Makeconfig (sysdeps-srcdirs): Remove variable.
25907 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25908 ($(common-objpfx)config.status): Do not depend on add-on files.
25909 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25910 comment.
25911 (all-subdirs): Do not include $(add-on-subdirs).
25912 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25913 * config.make.in (add-ons): Remove variable.
25914 (add-on-subdirs): Likewise.
25915 (sysdeps-add-ons): Likewise.
25916 * manual/Makefile (add-chapters): Remove.
25917 ($(objpfx)texis): Do not depend on $(add-chapters).
25918 (nonexamples): Do not handle $(add-chapters).
25919 (examples): Do not handle $(add-ons).
25920 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25921 libc-texinfo.sh.
25922 * manual/install.texi (Installation): Do not mention add-ons.
25923 (--enable-add-ons): Do not document configure option.
25924 * INSTALL: Regenerated.
25925 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25926 * manual/maint.texi (Hierarchy Conventions): Do not mention
25927 add-ons.
25928 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25929 --enable-add-ons.
25930 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25931 add-ons.
25932 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25933 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25934
19f82f35
AS
259352017-10-05 Andreas Schwab <schwab@suse.de>
25936
25937 [BZ #15142]
25938 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25939 (_IO_flush_all_lockp): Always lock list_all_lock.
25940 (_IO_flush_all_linebuffered): Likewise.
25941 (_IO_unbuffer_all): Likewise.
25942
91e7cf98
FW
259432017-10-05 Florian Weimer <fweimer@redhat.com>
25944
25945 [BZ #15436]
25946 Do not flush stdio streams on abort.
25947 * stdlib/abort.c (fflush): Remove macro definition.
25948 (abort): Remove stages related to stdio flushing.
25949
0c251257
FW
259502017-10-05 Florian Weimer <fweimer@redhat.com>
25951
25952 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25953
7ea59e3e
SL
259542017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25955
25956 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25957
84d0e6f0
FW
259582017-10-05 Florian Weimer <fweimer@redhat.com>
25959
25960 * support/support_format_hostent.c (support_format_hostent): Add
25961 more error information for NETDB_INTERNAL.
25962
ee417882
L
259632017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25964
25965 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25966 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25967 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25968 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25969 AC_DEFINE if multi-arch is enabled.
25970 * sysdeps/i386/configure: Regenerated.
25971
a67029ff
L
259722017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25973
25974 * Makeconfig (+link-static-before-libc): Use
25975 $(DEFAULT-LDFLAGS-$(@F)).
25976 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25977 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25978 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25979
5dba84b3
L
259802017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25981
25982 * elf/Makefile (tests): Add tst-main1.
25983 (modules-names): Add tst-main1mod.
25984 ($(objpfx)tst-main1): New.
25985 (CRT-tst-main1): Likewise.
25986 (LDFLAGS-tst-main1): Likewise.
25987 (LDLIBS-tst-main1): Likewise.
25988 (tst-main1mod.so-no-z-defs): Likewise.
25989 * elf/tst-main1.c: New file.
25990 * elf/tst-main1mod.c: Likewise.
25991
758f1bfa
L
259922017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25993
25994 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25995
7e16a5d1
JM
259962017-10-04 Joseph Myers <joseph@codesourcery.com>
25997
25998 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25999 (fma): Define using libm_alias_double.
26000 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26001 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26002 <math_ldbl_opt.h>.
26003 (fmal): Do not define as compat symbol here.
26004 * sysdeps/alpha/fpu/s_fma.c: New file.
26005
db4f87ba
SN
260062017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26007
26008 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26009
72d13ed1
JM
260102017-10-04 Joseph Myers <joseph@codesourcery.com>
26011
32d372d5
JM
26012 [BZ #22229]
26013 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26014 <math_ldbl_opt.h>
26015 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26016 and libc.
26017 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26018 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26019 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26020 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26022 Include <math_ldbl_opt.h>
26023 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26024 and libc.
26025 (compat_symbol): Undefine and redefine.
26026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26027 <math_ldbl_opt.h>
26028 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26029 (compat_symbol): Undefine and redefine.
26030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26031 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26032 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26033 GLIBC_2_1 for libm.
26034 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26035 GLIBC_2.0 copysignl symbol.
26036 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26037 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26038
72d13ed1
JM
26039 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26040
11c4f501
FW
260412017-10-04 Florian Weimer <fweimer@redhat.com>
26042
26043 * scripts/check-local-headers.sh: Ignore nspr4 header file
26044 directory in addition to nspr.
26045
57b4af19
GT
260462017-10-04 Guido Trentalancia <guido@trentalancia.net>
26047
26048 [BZ #17956]
26049 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26050 * configure: Regenerate.
26051 * crypt/Makefile (nss-cpp-flags): New variable.
26052 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26053 (CPPFLAGS-md5-crypt.c): Use it.
26054 * scripts/check-local-headers.sh: Ignore nspr header file
26055 directory.
26056
64d1e08e
AS
260572017-10-04 Andreas Schwab <schwab@suse.de>
26058
26059 * nis/Makefile (services): Remove compat.
26060 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26061 ($(objpfx)libnss_compat.so): Remove rule.
26062 * nis/Versions (libnss_compat): Remove.
26063 * nss/Makefile (services): Add compat.
26064 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26065 * nss/Versions (libnss_compat): Define.
26066 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26067 Don't include <rpc/types.h>. Replace bool_t by bool.
26068 * nss/nss_compat/compat-initgroups.c: Likewise.
26069 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26070 instead of <rpcsrv/ypclnt.h>.
26071 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26072 yp_get_default_domain.
26073 * nss/nss_compat/compat-pwd.c: Likewise.
26074 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26075 yp_get_default_domain.
26076 * nss/nss_compat/nisdomain.c: New file.
26077 * nss/nss_compat/nisdomain.h: Likewise.
26078
86c27ade
SN
260792017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26080
26081 [BZ #22244]
26082 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26083 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26084
8f8f8ef7
SN
260852017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26086
26087 [BZ #22243]
26088 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26089 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26090
95577475
L
260912017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26092
26093 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26094 "movl main@GOTOFF(%ebx), %eax".
26095
02d2d892
L
260962017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26097
26098 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26099 allow undefined _DYNAMIC in PIE libc.a.
26100 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26101 Likewse.
26102
0c609d19
L
261032017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26104
26105 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26106 check _DYNAMIC.
26107
c34a19ed
L
261082017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26109
26110 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26111 check _DYNAMIC.
26112
cdd4155d
L
261132017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26114
26115 * math/test-math-iscanonical.cc (error): Replace bool with int.
26116
4699cb8b
JM
261172017-10-03 Joseph Myers <joseph@codesourcery.com>
26118
d8f619b3
JM
26119 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26120 (modf): Define using libm_alias_double, only if [!__modf].
26121 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26122 <libm-alias-double.h>.
26123 (modf): Define using libm_alias_double, only if [!__modf].
26124 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26125 compat symbol here.
26126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26127 (weak_alias): Do not undefine and redefine.
26128 (strong_alias): Likewise.
26129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26130 (weak_alias): Likewise.
26131 (strong_alias): Likewise.
26132
4699cb8b
JM
26133 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26134 (logb): Define using libm_alias_double, only if [!__logb].
26135 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26136 <libm-alias-double.h>.
26137 (logb): Define using libm_alias_double, only if [!__logb].
26138 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26140 (weak_alias): Do not undefine and redefine.
26141 (strong_alias): Likewise.
26142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26143 (weak_alias): Likewise.
26144 (strong_alias): Likewise.
26145
bcc4e4bb
L
261462017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26147
26148 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26149 Check SHARED instead PIC.
26150
39793865
JM
261512017-10-03 Joseph Myers <joseph@codesourcery.com>
26152
7f1cbdf8
JM
26153 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26154 [!__fmaf] (fmaf): Define using libm_alias_float.
26155
39793865
JM
26156 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26157 (frexp): Define using libm_alias_double.
26158 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26159 <libm-alias-double.h>.
26160 (frexp): Define using libm_alias_double.
26161 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26162 compat symbol here.
26163
aa0235df
GG
261642017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26165
26166 [BZ #22235]
26167 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26168 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26169 (CFLAGS-test-math-iscanonical.cc): New variable.
26170 * math/test-math-iscanonical.cc: New file.
26171 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26172 Provide a C++ implementation based on function overloading,
26173 rather than using __MATH_TG, which uses C-only builtins.
26174 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26175 Likewise.
26176 * sysdeps/powerpc/powerpc64le/Makefile
26177 (CFLAGS-test-math-iscanonical.cc): New variable.
26178
a1132b5e
JM
261792017-10-03 Joseph Myers <joseph@codesourcery.com>
26180
26181 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26182 (ceil): Define using libm_alias_double.
26183 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26184 (floor): Define using libm_alias_double.
26185 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26186 <libm-alias-double.h>.
26187 (llround): Define using libm_alias_double.
26188 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26189 <libm-alias-double.h>.
26190 (lround): Define using libm_alias_double.
26191 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26192 <libm-alias-double.h>.
26193 (nearbyint): Define using libm_alias_double.
26194 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26195 <libm-alias-double.h>.
26196 (remquo): Define using libm_alias_double.
26197 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26198 (rint): Define using libm_alias_double.
26199 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26200 (round): Define using libm_alias_double.
26201 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26202 (trunc): Define using libm_alias_double.
26203 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26204 <libm-alias-double.h>.
26205 (ceil): Define using libm_alias_double.
26206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26207 <libm-alias-double.h>.
26208 (floor): Define using libm_alias_double.
26209 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26210 <libm-alias-double.h>.
26211 (llround): Define using libm_alias_double.
26212 [_LP64] (lround): Likewise.
26213 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26214 <libm-alias-double.h>.
26215 [!_LP64] (lround): Define using libm_alias_double.
26216 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26217 <libm-alias-double.h>.
26218 (nearbyint): Define using libm_alias_double.
26219 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26220 <libm-alias-double.h>.
26221 (remquo): Define using libm_alias_double.
26222 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26223 <libm-alias-double.h>.
26224 (rint): Define using libm_alias_double.
26225 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26226 <libm-alias-double.h>.
26227 (round): Define using libm_alias_double.
26228 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26229 <libm-alias-double.h>.
26230 (trunc): Define using libm_alias_double.
26231 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26232 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26233 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26234 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26235 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26236 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26237 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26238 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26239 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26240
f275f64e
SN
262412017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26242
26243 * math/w_remainder.c: New file.
26244 * math/w_remainderf.c: New file.
26245 * math/w_remainderl.c: New file.
26246
b8818ab5
L
262472017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26248
26249 * elf/rtld.c (BOOTSTRAP_MAP): New.
26250 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26251 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26252 Likewise.
26253 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26254 Likewise.
26255 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26256 Likewise.
26257
3d1870fa
ST
262582017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26259
26260 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26261 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26262 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26263 rtld_hidden_data_ver): Define to empty.
26264 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26265 __assert_perror_fail): Likewise.
26266 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26267 (__rewinddir): Likewise.
26268 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26269 (__profile_frequency): Likewise.
26270 * include/setjmp.h (__sigsetjmp): Likewise.
26271 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26272 __libc_sigaction): Likewise.
26273 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26274 not set hidden attribute.
26275 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26276 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26277 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26278 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26279 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26280 __fxstatat64): Likewise.
26281 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26282 (__uname): Likewise.
26283 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26284 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26285 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26286 (NO_RTLD_HIDDEN): Set.
26287 * sysdeps/mach/hurd/configure: Refresh.
26288 * config.h.in: Refresh.
26289
527cd19c
JM
262902017-10-02 Joseph Myers <joseph@codesourcery.com>
26291
38722448
JM
26292 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26293 (atan): Define using libm_alias_double.
26294 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26295 (tan): Define using libm_alias_double.
26296 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26297 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26298
527cd19c
JM
26299 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26300 define as weak alias of __atan. Do not define any aliases if
26301 [__atan].
26302 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26303 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26304 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26305 as weak alias of __tan. Do not define any aliases if [__tan].
26306 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26307 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26308 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26309 __atan.
26310 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26311 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26312 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26313 and define as weak alias of __atan.
26314 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26315 __atan.
26316 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26317 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26318 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26319 define as weak alias of __tan.
26320
bdc5c592
SN
263212017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26322
26323 * math/w_lgamma.c: New file.
26324 * math/w_lgammaf.c: New file.
26325 * math/w_lgammal.c: New file.
26326
bd4430c2
SN
263272017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26328
26329 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26330 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26331 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26332 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26333 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26334 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26335 * sysdeps/i386/fpu/w_log2f.c: New file.
26336 * sysdeps/i386/fpu/w_logf.c: New file.
26337 * sysdeps/i386/fpu/w_powf.c: New file.
26338 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26339 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26340 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26341
f7a0b063
SN
263422017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26343 H.J. Lu <hongjiu.lu@intel.com>
26344
26345 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26346 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26347 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26348 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26349 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26350 the new expf code.
26351 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26352 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26353 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26354 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26355 * sysdeps/i386/fpu/w_exp2f.c: New file.
26356 * sysdeps/i386/fpu/w_expf.c: New file.
26357 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26358 * sysdeps/x86_64/fpu/w_expf.c: New file.
26359
72d3d281
SN
263602017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26361
26362 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26363 (log2f): Likewise.
26364 (powf): Likewise.
26365 * math/w_log2f.c: New file.
26366 * math/w_logf.c: New file.
26367 * math/w_powf.c: New file.
26368 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26369 * math/w_logf_compat.c (__logf_compat): Likewise.
26370 * math/w_powf_compat.c (__powf_compat): Likewise.
26371 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26372 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26373 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26374 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26375 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26376 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26377 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26378 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26379 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26380 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26381 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26382 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26383 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26384 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26385 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26387 Likewise.
26388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26389 Likewise.
26390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26391 Likewise.
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26393 Likewise.
26394 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26395 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26396 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26397 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26398 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26400 Likewise.
26401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26402 Likewise.
26403 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26404 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26405 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26406
59ba2d2b
RS
264072017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26408
26409 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26410 (sysdep_routines): Add memrchr_power8.
26411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26412 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26413 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26414 New file.
26415 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26416 (memrchr): Add __memrchr_power8 to ifunc list.
26417 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26418
397286ea
L
264192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26420
26421 [BZ #18822]
26422 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26423 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26424 libc_hidden_def.
26425 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26426 (__posix_fallocate64_l64): Likewise.
26427
d0a4512b
L
264282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26429
26430 [BZ #18822]
26431 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26432 (__sched_setaffinity_new): Add libc_hidden_proto and
26433 libc_hidden_def.
26434
c0769f70
L
264352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26436
26437 [BZ #18822]
26438 * include/glob.h (__glob64): Add libc_hidden_proto.
26439 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26440 libc_hidden_def.
26441
0e7d5b6e
L
264422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26443
26444 [BZ #18822]
26445 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26446 attribute_hidden.
26447
bde06c87
L
264482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26449
26450 [BZ #18822]
26451 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26452
fa426590
L
264532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26454
26455 [BZ #18822]
26456 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26457 libc_hidden_def.
26458
2f8a05d8
L
264592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26460
26461 [BZ #18822]
26462 * csu/version.c (__libc_print_version): Add attribute_hidden.
26463
7bfd08ac
L
264642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26465
26466 [BZ #18822]
26467 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26468
0e1fd06c
L
264692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26470
26471 [BZ #18822]
26472 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26473
36e7ae1e
L
264742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26475
26476 [BZ #18822]
26477 * nscd/nscd_helper.c (__nis_hash): New prototype.
26478
87078544
L
264792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26480
26481 [BZ #18822]
26482 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26483 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26484 libc_hidden_def.
26485 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26486 * termios/tcgetattr.c (__tcgetattr): Likewise.
26487
dd3121df
L
264882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26489
26490 [BZ #18822]
26491 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26492 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26493 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26494 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26495 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26496
047d1a81
L
264972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26498
26499 [BZ #18822]
26500 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26501
fd331b11
L
265022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26503
26504 [BZ #18822]
26505 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26506 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26507
57f859bd
L
265082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26509
26510 [BZ #18822]
26511 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26512
d1903329
L
265132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26514
26515 [BZ #18822]
26516 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26517 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26518
b4744101
L
265192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26520
26521 [BZ #18822]
26522 * include/ifreq.h: New file.
26523 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26524 (__ifreq): Likewise.
26525 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26526 (__ifreq): Likewise.
26527
43b7dfd1
L
265282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26529
26530 [BZ #18822]
26531 * include/idna.h: New file.
26532 * inet/getnameinfo.c: Include <idna.h> instead of
26533 <libidn/idna.h>.
26534 (__idna_to_unicode_lzlz): Removed.
26535 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26536 <libidn/idna.h>.
26537 (__idna_to_ascii_lz): Removed.
26538 (__idna_to_unicode_lzlz): Likewise.
26539
2c0cd8f8
L
265402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26541
26542 [BZ #18822]
26543 * include/plural-exp.h: New file.
26544 * intl/plural-exp.c: Include <plural-exp.h> instead of
26545 "plural-exp.h".
26546
8369d216
L
265472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26548
26549 [BZ #18822]
26550 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26551 "getsourcefilter.h".
26552 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26553 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26554 "getsourcefilter.h".
26555 (__get_sol): Removed.
26556
a0aef783
L
265572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26558
26559 [BZ #18822]
26560 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26561 to ...
26562 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26563
3ee8209b
L
265642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26565
26566 [BZ #18822]
26567 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26568 attribute_hidden.
26569
6036fc38
L
265702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26571
26572 [BZ #18822]
26573 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26574
fe84fed0
L
265752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26576
26577 [BZ #18822]
26578 * include/search.h (__tdestroy): Add libc_hidden_proto.
26579 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26580
048dd681
L
265812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26582
26583 [BZ #18822]
26584 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26585
6e342af6
L
265862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26587
26588 [BZ #18822]
26589 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26590 attribute_hidden.
26591
6a088436
L
265922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26593
26594 [BZ #18822]
26595 * include/signal.h (__kill): Add libc_hidden_proto.
26596 (__sigblock): Likewise.
26597 (__sigprocmask): Likewise.
26598 (__sigaltstack): Likewise.
26599 * signal/kill.c (__kill): Add libc_hidden_def.
26600 * signal/sigblock.c (__sigblock): Likewise.
26601 * signal/sigprocmask.c (__sigprocmask): Likewise.
26602 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26603 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26604 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26605 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26606 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26607 Likewise.
26608 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26609 Likewise.
26610 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26611 (__sigprocmask): Likewise.
26612 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26613 Likewise.
26614 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26615 (__sigprocmask): Likewise.
26616 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26617 Likewise.
26618
78cf1d74
L
266192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26620
26621 [BZ #18822]
26622 * include/string.h (__strsep): Add libc_hidden_proto.
26623 * string/strsep.c (__strsep): Add libc_hidden_def.
26624
85b35894
L
266252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26626
26627 [BZ #18822]
26628 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26629 attribute_hidden.
26630 (__spawni): Likewise.
26631
225f7eec
L
266322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26633
26634 [BZ #18822]
26635 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26636 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26637 libc_hidden_def.
26638
372fe247
L
266392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26640
26641 [BZ #18822]
26642 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26643
9e5ee8b8
L
266442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26645
26646 [BZ #18822]
26647 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26648 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26649 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26650 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26651 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26652 Likewise.
26653 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26654 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26655
2ff16592
L
266562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26657
26658 [BZ #18822]
26659 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26660 (__dcigettext): Likewise.
26661
b5648377
L
266622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26663
26664 [BZ #18822]
26665 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26666 libc_hidden_proto.
26667 (__get_nprocs): Likewise.
26668 (__get_phys_pages): Likewise.
26669 (__get_avphys_pages): Likewise.
26670 (__get_child_max): Add attribute_hidden.
26671 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26672 (__get_nprocs): Likewise.
26673 (__get_phys_pages): Likewise.
26674 (__get_avphys_pages): Likewise.
26675 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26676 libc_hidden_def.
26677 (__get_nprocs): Likewise.
26678 (__get_phys_pages): Likewise.
26679 (__get_avphys_pages): Likewise.
26680 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26681 libc_hidden_def.
26682 (__get_nprocs_conf): Likewise.
26683 (__get_phys_pages): Likewise.
26684 (__get_avphys_pages): Likewise.
26685
0389a6aa
L
266862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26687
26688 [BZ #18822]
26689 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26690 attribute_hidden.
26691 (__netlink_close): Likewise.
26692 (__netlink_free_handle): Likewise.
26693 (__netlink_request): Likewise.
26694
d48354d8
L
266952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26696
26697 [BZ #18822]
26698 * include/rpc/rpc.h (__rpc_thread_variables): Add
26699 attribute_hidden.
26700 (__rpc_thread_svc_cleanup): Likewise.
26701 (__rpc_thread_clnt_cleanup): Likewise.
26702 (__rpc_thread_key_cleanup): Likewise.
26703
d6daff12
L
267042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26705
26706 [BZ #18822]
26707 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26708 (__writev): Likewise.
26709 * misc/readv.c (__readv): Add libc_hidden_def.
26710 * misc/writev.c (__writev): Likewise.
26711 * sysdeps/posix/readv.c (__readv): Likewise.
26712 * sysdeps/posix/writev.c (__writev): Likewise.
26713 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26714 (__readv): Likewise.
26715 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26716 (__writev): Likewise.
26717
b68f8620
L
267182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26719
26720 [BZ #18822]
26721 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26722 (__regcomp): Add libc_hidden_proto.
26723 (__regexec): Likewise.
26724 (__regfree): Likewise.
26725 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26726 (__regfree): Likewise.
26727 * posix/regexec.c (__regexec): Likewise.
26728
59c04e67
L
267292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26730
26731 [BZ #18822]
26732 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26733 (__getutent): Likewise.
26734 (__getutid): Likewise.
26735 (__getutline): Likewise.
26736 (__pututline): Likewise.
26737 (__getutent_r): Likewise.
26738 (__getutid_r): Likewise.
26739 (__getutline_r): Likewise.
26740 (__utmpname): Add attribute_hidden.
26741 (__setutent): Likewise.
26742 (__endutent): Likewise.
26743 * login/getutent.c (__getutent): Add libc_hidden_def.
26744 * login/getutent_r.c (__getutent_r): Likewise.
26745 (__pututline): Likewise.
26746 * login/getutid.c (__getutid): Likewise.
26747 * login/getutid_r.c (__getutid_r): Likewise.
26748 * login/getutline.c (__getutline): Likewise.
26749 * login/getutline_r.c (__getutline_r): Likewise.
26750 * login/updwtmp.c (__updwtmp): Likewise.
26751
4587a421
L
267522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26753
26754 [BZ #18822]
26755 * include/dirent.h (__opendir): Always add attribute_hidden.
26756 (__fdopendir): Likewise.
26757 (__closedir): Likewise.
26758 (__readdir): Likewise.
26759 (__readdir64): Add libc_hidden_proto.
26760 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26761 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26762 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26763 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26764 New alias.
26765
9635ce69
L
267662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26767
26768 [BZ #18822]
26769 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26770 * include/netdb.h (__gethostbyaddr_r): Likewise.
26771 (__gethostbyname_r): Likewise.
26772 (__gethostbyname2_r): Likewise.
26773 (__getnetbyaddr_r): Likewise.
26774 (__getnetbyname_r): Likewise.
26775 (__getservbyname_r): Likewise.
26776 (__getservbyport_r): Likewise.
26777 (__getprotobyname_r): Likewise.
26778 (__getprotobynumber_r): Likewise.
26779 (__getnetgrent_r): Likewise.
26780 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26781 (__getrpcbynumber_r): Likewise.
26782 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26783
2e0a6909
L
267842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26785
26786 [BZ #18822]
26787 * include/stdio.h (__fcloseall): Add attribute_hidden.
26788 (__getline): Likewise.
26789 (__path_search): Likewise.
26790 (__gen_tempname): Likewise.
26791 (__libc_message): Likewise.
26792 (__flockfile): Likewise.
26793 (__funlockfile): Likewise.
26794 (__fxprintf): Likewise.
26795 (__fxprintf_nocancel): Likewise.
26796
94fd682c
L
267972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26798
26799 [BZ #18822]
26800 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26801 (__sgetsgent_r): Likewise.
26802
e1b33bba
L
268032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26804
26805 [BZ #18822]
26806 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26807 (__statfs64): Likewise.
26808 (__fstatfs64): Likewise.
26809 * include/sys/statvfs.h (__statvfs64): Likewise.
26810 (__fstatvfs64): Likewise.
26811 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26812 (__statfs_filesize_max): Likewise.
26813 (__statfs_symlinks): Likewise.
26814 (__statfs_chown_restricted): Likewise.
26815
b0f56784
L
268162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26817
26818 [BZ #18822]
26819 * include/time.h (__tzstring): Add attribute_hidden.
26820 (__tzfile_read): Likewise.
26821 (__tzfile_compute): Likewise.
26822 (__tzfile_default): Likewise.
26823 (__tzset_parse_tz): Likewise.
26824 (__offtime): Likewise.
26825 (__asctime_r): Likewise.
26826 (__tzset): Likewise.
26827 (__tz_convert): Likewise.
26828 (__getdate_r): Likewise.
26829 (__getclktck): Likewise.
26830
a4338d99
L
268312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26832
26833 [BZ #18822]
26834 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26835 (__nscd_unmap): Likewise.
26836 (__nscd_cache_search): Likewise.
26837 (__nscd_get_nl_timestamp): Likewise.
26838 (__nscd_getpwnam_r): Likewise.
26839 (__nscd_getpwuid_r): Likewise.
26840 (__nscd_getgrnam_r): Likewise.
26841 (__nscd_getgrgid_r): Likewise.
26842 (__nscd_gethostbyname_r): Likewise.
26843 (__nscd_gethostbyname2_r): Likewise.
26844 (__nscd_gethostbyaddr_r): Likewise.
26845 (__nscd_getai): Likewise.
26846 (__nscd_getgrouplist): Likewise.
26847 (__nscd_getservbyname_r): Likewise.
26848 (__nscd_getservbyport_r): Likewise.
26849 (__nscd_innetgr): Likewise.
26850 (__nscd_setnetgrent): Likewise.
26851
a2ca1652
L
268522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26853
26854 [BZ #18822]
26855 * include/gmp.h: Declare internal functions only if _ISOMAC is
26856 undefined.
26857 (__mpn_extract_double): Add attribute_hidden.
26858 (__mpn_extract_long_double): Likewise.
26859 (__mpn_extract_float128): Likewise.
26860 (__mpn_construct_float): Likewise.
26861 (__mpn_construct_double): Likewise.
26862 (__mpn_construct_long_double): Likewise.
26863 (__mpn_construct_float128): Likewise.
26864 (mpn_add_1): Likewise.
26865 (mpn_addmul_1): Likewise.
26866 (mpn_add_n): Likewise.
26867 (mpn_cmp): Likewise.
26868 (mpn_divrem): Likewise.
26869 (mpn_lshift): Likewise.
26870 (mpn_mul): Likewise.
26871 (mpn_mul_1): Likewise.
26872 (mpn_rshift): Likewise.
26873 (mpn_sub_1): Likewise.
26874 (mpn_submul_1): Likewise.
26875 (mpn_sub_n): Likewise.
26876
44af8a32
L
268772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26878
26879 [BZ #18822]
26880 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26881 (__wcscat): Likewise.
26882 (__btowc): Likewise.
26883 (__wcrtomb): Likewise.
26884 (__mbsrtowcs): Likewise.
26885 (__wcsrtombs): Likewise.
26886 (__mbsnrtowcs): Likewise.
26887 (__wcsnrtombs): Likewise.
26888 (__wcsncpy): Likewise.
26889 (__wcpncpy): Likewise.
26890 (__wmemcpy): Likewise.
26891 (__wmempcpy): Likewise.
26892 (__wmemmove): Likewise.
26893 (__wcschrnul): Likewise.
26894 (__vfwscanf): Likewise.
26895 (__vswprintf): Likewise.
26896 (__fwprintf): Likewise.
26897 (__vfwprintf): Likewise.
26898
783cd767
L
268992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26900
26901 [BZ #18822]
26902 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26903 (__getgrgid_r): Likewise.
26904 (__getgrnam_r): Likewise.
26905 * include/pwd.h (__getpwuid_r): Likewise.
26906 (__getpwnam_r): Likewise.
26907 (__fgetpwent_r): Likewise.
26908 * include/shadow.h (__getspnam_r): Likewise.
26909 (__sgetspent_r): Likewise.
26910 (__fgetspent_r): Likewise.
26911
7ec4b39a
L
269122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26913
26914 [BZ #18822]
26915 * include/unistd.h (__access): Add attribute_hidden.
26916 (__lseek64): Likewise.
26917 (__libc_pread64): Likewise.
26918 (__pipe2): Likewise.
26919 (__sleep): Likewise.
26920 (__chdir): Likewise.
26921 (__fchdir): Likewise.
26922 (__getcwd): Likewise.
26923 (__rmdir): Likewise.
26924 (__execvpe): Likewise.
26925 (__execve): Likewise.
26926 (__setsid): Likewise.
26927 (__getuid): Likewise.
26928 (__geteuid): Likewise.
26929 (__getgid): Likewise.
26930 (__getegid): Likewise.
26931 (__getgroups): Likewise.
26932 (__group_member): Likewise.
26933 (__ttyname_r): Likewise.
26934 (__isatty): Likewise.
26935 (__readlink): Likewise.
26936 (__unlink): Likewise.
26937 (__gethostname): Likewise.
26938 (__profil): Likewise.
26939 (__getdtablesize): Likewise.
26940 (__brk): Likewise.
26941 (__ftruncate): Likewise.
26942 (__ftruncate64): Likewise.
26943
8345a760
L
269442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26945
26946 [BZ #18822]
26947 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26948 * argp/argp-fs-xinl.c: Likewise.
26949 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26950 * argp/argp-parse.c: Include <argp.h>.
26951 * argp/argp-xinl.c: Likewise.
26952 * include/argp-fmtstream.h: New file.
26953 * include/argp.h (__argp_error): Add attribute_hidden.
26954 (__argp_failure): Likewise.
26955 (__argp_input): Likewise.
26956 (__argp_state_help): Likewise.
26957
c26dd7c6
L
269582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26959
26960 [BZ #18822]
26961 * include/wchar.h (____wcstof_l_internal): New prototype.
26962 (____wcstod_l_internal): Likewise.
26963 (____wcstold_l_internal): Likewise.
26964 (____wcstol_l_internal): Likewise.
26965 (____wcstoul_l_internal): Likewise.
26966 (____wcstoll_l_internal): Likewise.
26967 (____wcstoull_l_internal): Likewise.
26968 (____wcstof128_l_internal): Likewise.
26969 * sysdeps/ieee754/float128/wcstof128.c
26970 (____wcstof128_l_internal): Removed.
26971 * sysdeps/ieee754/float128/wcstof128_l.c
26972 (____wcstof128_l_internal): Likewise.
26973 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26974 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26975 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26976 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26977 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26978 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26979 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26980 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26981 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26982 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26983
3aff5644
L
269842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26985
26986 [BZ #18822]
26987 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26988 instead of <sys/statvfs.h>.
26989 (__internal_statvfs): Removed.
26990 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26991 instead of <sys/statvfs.h>.
26992 (__internal_statvfs64): Removed.
26993 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26994 "internal_statvfs.h" instead of <sys/statvfs.h>.
26995 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26996 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26997 instead of <sys/statvfs.h>.
26998 (__internal_statvfs): Removed.
26999 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27000 instead of <sys/statvfs.h>.
27001 (__internal_statvfs64): Removed.
27002
8bcdb7e0
L
270032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27004
27005 [BZ #18822]
27006 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27007 (__gconv_close): Likewise.
27008 (__gconv): Likewise.
27009 (__gconv_find_transform): Likewise.
27010 (__gconv_lookup_cache): Likewise.
27011 (__gconv_compare_alias_cache): Likewise.
27012 (__gconv_load_cache): Likewise.
27013 (__gconv_get_path): Likewise.
27014 (__gconv_close_transform): Likewise.
27015 (__gconv_release_cache): Likewise.
27016 (__gconv_find_shlib): Likewise.
27017 (__gconv_release_shlib): Likewise.
27018 (__gconv_get_builtin_trans): Likewise.
27019 (__gconv_compare_alias): Likewise.
27020 * include/dlfcn.h (_dlerror_run): Likewise.
27021 * include/stdio.h (__fortify_fail_abort): Likewise.
27022 * include/time.h (__tz_compute): Likewise.
27023 (__strptime_internal): Likewise.
27024 * intl/gettextP.h (_nl_find_domain): Likewise.
27025 (_nl_load_domain): Likewise.
27026 (_nl_find_msg): Likewise.
27027 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27028 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27029 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27030 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27031 (__gai_find_request): Likewise.
27032 (__gai_remove_request): Likewise.
27033 (__gai_notify): Likewise.
27034 (__gai_notify_only): Likewise.
27035 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27036 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27037 (_dl_non_dynamic_init): Likewise.
27038 (_dl_aux_init): Likewise.
27039 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27040 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27041 Likewise.
27042 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27043 (__wcsmbs_clone_conv): Likewise.
27044 (__wcsmbs_named_conv): Likewise.
27045
8ed3b643
L
270462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27047
27048 [BZ #18822]
27049 * include/stdlib.h (__random): Add attribute_hidden.
27050 (__random_r): Likewise.
27051 (__srandom_r): Likewise.
27052 (__initstate_r): Likewise.
27053 (__setstate_r): Likewise.
27054 (__erand48_r): Likewise.
27055 (__nrand48_r): Likewise.
27056 (__jrand48_r): Likewise.
27057 (__srand48_r): Likewise.
27058 (__seed48_r): Likewise.
27059 (__lcong48_r): Likewise.
27060 (__drand48_iterate): Likewise.
27061 (__setenv): Likewise.
27062 (__unsetenv): Likewise.
27063 (__clearenv): Likewise.
27064 (__ptsname_r): Likewise.
27065 (__posix_openpt): Likewise.
27066 (__add_to_environ): Likewise.
27067 (__realpath): Add libc_hidden_proto.
27068 (__ecvt_r): Likewise.
27069 (__fcvt_r): Likewise.
27070 (__qecvt_r): Likewise.
27071 (__qfcvt_r): Likewise.
27072 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27073 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27074
ef9b6f73
L
270752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27076
27077 [BZ #18822]
27078 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27079 * include/time.h (__mktime_internal): Likewise.
27080 * libio/iolibio.h (__fopen_internal): Likewise.
27081
8da92e72
JDA
270822017-10-01 John David Anglin <danglin@gcc.gnu.org>
27083
27084 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27085 pointer in frame.
27086 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27087 Correct offset used to restore PIC register.
27088
388784cf
JDA
270892017-09-30 John David Anglin <danglin@gcc.gnu.org>
27090
27091 [BZ libc/22165]
27092 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27093 code to load address of __getcontext_ret when generating PIC code.
27094
2000067a
L
270952017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27096
27097 * elf/Makefile (tests-static-internal): Add
27098 tst-tls1-static-non-pie.
27099 (LDFLAGS-tst-tls1-static-non-pie): New.
27100 * elf/tst-tls1-static-non-pie.c: New file.
27101
1e2bffd0
JM
271022017-09-29 Joseph Myers <joseph@codesourcery.com>
27103
27104 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27105 (asinh): Define using libm_alias_double.
27106 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27107 (cbrt): Define using libm_alias_double.
27108 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27109 <libm-alias-double.h>.
27110 (copysign): Define using libm_alias_double.
27111 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27112 (erf): Define using libm_alias_double.
27113 (erfc): Likewise.
27114 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27115 (expm1): Define using libm_alias_double.
27116 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27117 (fabs): Define using libm_alias_double.
27118 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27119 libm_alias_double.
27120 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27121 <libm-alias-double.h>.
27122 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27123 libm_alias_double.
27124 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27125 <libm-alias-double.h>.
27126 (getpayload): Define using libm_alias_double.
27127 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27128 <libm-alias-double.h>.
27129 (llrint): Define using libm_alias_double.
27130 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27131 (lrint): Define using libm_alias_double.
27132 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27133 <libm-alias-double.h>.
27134 (nextup): Define using libm_alias_double.
27135 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27136 <libm-alias-double.h>.
27137 (roundeven): Define using libm_alias_double.
27138 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27139 libm_alias_double.
27140 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27141 <libm-alias-double.h>.
27142 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27143 using libm_alias_double.
27144 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27145 (cos): Define using libm_alias_double.
27146 (sin): Likewise.
27147 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27148 <libm-alias-double.h>.
27149 (sincos): Define using libm_alias_double.
27150 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27151 (tanh): Define using libm_alias_double.
27152 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27153 <libm-alias-double.h>.
27154 (totalorder): Define using libm_alias_double.
27155 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27156 <libm-alias-double.h>.
27157 (totalordermag): Define using libm_alias_double.
27158 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27159 libm_alias_double.
27160 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27161 libm_alias_double.
27162 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27163 <libm-alias-double.h>.
27164 (getpayload): Define using libm_alias_double.
27165 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27166 <libm-alias-double.h>.
27167 (roundeven): Define using libm_alias_double.
27168 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27169 <libm-alias-double.h>.
27170 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27171 <libm-alias-double.h>.
27172 (totalorder): Define using libm_alias_double.
27173 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27174 <libm-alias-double.h>.
27175 (totalordermag): Define using libm_alias_double.
27176 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27177 libc compat symbol here.
27178 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27179 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27180 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27181 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27182 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27183 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27184 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27185 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27186 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27187 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27188
8172aad9
L
271892017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27190
27191 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27192 _dl_relocate_static_pie instead of _dl_start to compute load
27193 address in static PIE. Return 0 if _DYNAMIC is undefined for
27194 static executable.
27195
54464e74
L
271962017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27197
27198 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27199 _DYNAMIC is undefined for static executable.
27200
f6c5e5bc
L
272012017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27202
27203 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27204
2f92505d
JM
272052017-09-29 Joseph Myers <joseph@codesourcery.com>
27206
27207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27208
bd8d53bb
WD
272092017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27210
27211 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27212 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27213 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27214 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27215 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27216 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27217 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27218 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27219 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27220 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27221 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27222 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27223 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27224 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27225 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27226 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27227 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27228
fffb1507
WD
272292017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27230
27231 * math/bits/cmathcalls.h (cimag): Remove inline.
27232 (creal): Remove inline.
27233 (conj): Remove inline.
27234
4ea49f4c
SN
272352017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27236
27237 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27238 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27239 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27240 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27241 (issignalingf_inline): Likewise.
27242 (POWF_LOG2_TABLE_BITS): Likewise.
27243 (POWF_LOG2_POLY_ORDER): Likewise.
27244 (POWF_SCALE_BITS): Likewise.
27245 (POWF_SCALE): Likewise.
27246 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27247 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27248 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27249
875c76c7
SN
272502017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27251
27252 * math/Makefile (type-float-routines): Add e_log2f_data.
27253 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27254 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27255 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27256 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27257 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27258 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27259 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27260
90c42e40
SN
272612017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27262
27263 * math/Makefile (type-float-routines): Add e_logf_data.
27264 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27265 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27266 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27267 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27268 * sysdeps/i386/fpu/e_logf_data.c: New file.
27269 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27270 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27271
4088d8dd
L
272722017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27273
27274 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27275 undefined _DYNAMIC in PIE libc.a.
27276 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27277 Likewse.
27278
4d3693ec
WD
272792017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27280
27281 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27282 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27283 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27284 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27285 (__signbit): Remove.
27286 (__signbitl): Remove.
27287 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27288 (__signbit): Remove.
27289 (__signbitl): Remove.
27290 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27291 (__signbit): Remove.
27292 (__signbitl): Remove.
27293 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27294 (__signbit): Remove.
27295 (__signbitl): Remove.
27296 * sysdeps/tile/bits/mathinline.h: Delete file.
27297 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27298 (__signbit): Remove.
27299 (__signbitl): Remove.
27300
1e6d0723
WD
273012017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27302
27303 * math/math.h: Improve handling of C99 isgreater macros.
27304 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27305 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27306 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27307 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27308 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27309
b2f03cf3
SN
273102017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27311
27312 * sysdeps/aarch64/libm-test-ulps: Update.
27313
f124cb38
JM
273142017-09-28 Joseph Myers <joseph@codesourcery.com>
27315
27316 [BZ #22225]
27317 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27318 math_opt_barrier on argument when doing arithmetic on it.
27319 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27320 Likewise. Use math_force_eval not math_opt_barrier after
27321 arithmetic.
27322 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27323 math_opt_barrier on argument when doing arithmetic on it.
27324 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27325 Likewise.
27326
7edd0691
L
273272017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27328
27329 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27330 libc_hidden_def.
27331 (__freeifaddrs): Likewise.
27332
2c7bbfaf
ST
273332017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27334
27335 * include/dirent.h (__dirfd): New declaration.
27336 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27337 alias.
27338 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27339 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27340 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
27341 * include/unistd.h (__revoke): New declaration.
27342 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27343 alias.
27344 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27345 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27346 revoke.
64a4af28
ST
27347 * include/dirent.h (__seekdir): New declaration.
27348 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27349 redefine as weak alias.
27350 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27351 of seekdir.
4009ddc6
ST
27352 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27353 and use libc_hidden_def on them.
27354 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27355 them.
27356 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27357 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27358 instead of getifaddrs and freeifaddrs.
2c7bbfaf 27359
825adeee
L
273602017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27361
27362 [BZ #18822]
27363 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27364 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27365 (__dso_handle): Remove declaration.
27366 * dlfcn/tstatexit.c (__dso_handle): Removed.
27367 (main): Don't check __dso_handle.
27368 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27369 (main): Don't check __dso_handle.
27370 * include/dso_handle.h: New file.
27371 * malloc/mtrace.c: Include <dso_handle.h>.
27372 (mtrace): Pass __dso_handle directly.
27373 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27374 (__dso_handle): Remove declaration.
27375 (__pthread_atfork): Pass __dso_handle directly.
27376 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27377 (__dso_handle): Removed.
27378 * posix/wordexp-test.c: Include <dso_handle.h>.
27379 (__dso_handle): Remove declaration.
27380 (__app_register_atfork): Pass __dso_handle directly.
27381 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27382 (__dso_handle): Remove declaration.
27383 (at_quick_exit): Pass __dso_handle directly.
27384 * stdlib/atexit.c: Include <dso_handle.h>.
27385 (__dso_handle): Remove declaration.
27386 (atexit): Pass __dso_handle directly.
27387 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27388 (__dso_handle): Removed.
27389
bfb0deb3
JM
273902017-09-26 Joseph Myers <joseph@codesourcery.com>
27391
27392 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27393 using VDSO.
27394
cebcb9f8
AM
273952017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27396
27397 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27398 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27399 values to correct default value for given type.
27400
592d5c75
L
274012017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27402
27403 [BZ #22101]
27404 * elf/Makefile (tests): Add tst-debug1.
27405 ($(objpfx)tst-debug1): New.
27406 ($(objpfx)tst-debug1.out): Likewise.
27407 ($(objpfx)tst-debug1mod1.so): Likewise.
27408 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27409 with p_filesz == 0.
27410 * elf/tst-debug1.c: New file.
27411
2d9193f2
JM
274122017-09-26 Joseph Myers <joseph@codesourcery.com>
27413
27414 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27415 Define using __ifunc.
27416
4c5a7a02
TMQMF
274172017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27418
27419 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27420 exp2f() values.
27421
12ef66c4
JM
274222017-09-26 Joseph Myers <joseph@codesourcery.com>
27423
27424 [BZ #22156]
27425 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27426
44dade71
FW
274272017-09-26 Florian Weimer <fweimer@redhat.com>
27428
27429 * resolv/Makefile (tests-internal): Fix typo in comment.
27430
eaca16f1
FW
274312017-09-26 Florian Weimer <fweimer@redhat.com>
27432
27433 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27434
ccf970c7
AZ
274352017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27436
5f9f31ad
AZ
27437 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27438 Use an union instead of a max_align_t array for __space,
27439 so that __space is the same size on all platforms.
27440 * malloc/scratch_buffer_grow_preserve.c
27441 (__libc_scratch_buffer_grow_preserve): Likewise.
27442
ccf970c7
AZ
27443 [BZ #22183]
27444 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27445 version to 2.
27446 * posix/Makefile (routines): Add glob-lstat-compat and
27447 glob64-lstat-compat.
27448 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27449 * posix/glob-lstat-compat.c: New file.
27450 * posix/glob64-lstat-compat.c: Likewise.
27451 * posix/tst-glob_lstat_compat.c: Likewise.
27452 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27453 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27454 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27455 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27456 Likewise.
27457 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27458 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27459 * posix/glob.c (glob_lstat): New function.
27460 (glob): Rename to __glob and add versioned symbol to 2.27.
27461 (glob_in_dir): Use glob_lstat.
27462 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27463 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27464 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27465 2.27.
27466 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27467 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27468 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27469 gl_lstat on glob call.
27470 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27471 and glob64 symbols.
27472 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27473 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27474 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27475 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27476 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27477 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27478 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27479 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27480 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27481 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27482 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27483 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27485 Likewise.
27486 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27488 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27489 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27490 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27491 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27492 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27495 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27496 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27497 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27498
b4396163
L
274992017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27500
27501 * configure.ac (AS): Require binutils 2.25 or later.
27502 * configure: Regenerated.
27503
8f834987
PP
275042017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27505
27506 [BZ #22207]
27507 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27508 VM size.
27509
3de93d19
DD
275102017-09-25 DJ Delorie <dj@redhat.com>
27511
27512 [BZ #22161]
27513 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27514 resetting timeout.
27515
9947638d
SL
275162017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27517
27518 * sysdeps/ieee754/dbl-64/sincos32.h
27519 [SINCCOS32_H]: Remove define.
27520 [SINCOS32_H]: Define.
27521
f5f0f526
SN
275222017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27523
27524 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27525 (exp2f): Likewise.
27526 * math/w_exp2f.c: New file.
27527 * math/w_expf.c: New file.
27528 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27529 * math/w_expf_compat.c (__expf_compat): Likewise.
27530 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27531 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27532 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27533 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27534 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27535 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27536 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27537 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27538 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27539 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27540 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27541 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27542 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27543 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27545 Likewise.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27547 Likewise.
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27549 Likewise.
27550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27551 Likewise.
27552 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27553 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27554 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27555 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27556 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27558 Likewise.
27559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27560 Likewise.
27561 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27562 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27563 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27564
72aa6233
SN
275652017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27566
27567 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27568 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27569 (roundtoint, converttoint): Likewise.
27570 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27571 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27572 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27573 * sysdeps/ieee754/flt-32/math_config.h: New file.
27574 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27575 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27576 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27577 * sysdeps/i386/fpu/math_errf.c: New file.
27578 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27579 * sysdeps/ia64/fpu/math_errf.c: New file.
27580 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27581 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27582
5e6f3253
ST
275832017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27584
27585 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27586 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27587 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27588 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27589 to make sure that these symbols are defined.
b38a42a0
ST
27590 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27591 of <limits.h>
27592 (__need_NULL): Do not define.
27593 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27594 alignment.
27595 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27596 CMGROUP_MAX, cmsgcred): Do not define.
27597 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27598 NULL.
27599 * bits/socket.h: Likewise.
fcafcd16
ST
27600 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27601 __gettimeofday instead of gettimeofday.
27602 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27603 instead of settimeofday.
5e6f3253 27604
2f49ce7d
JM
276052017-09-22 Joseph Myers <joseph@codesourcery.com>
27606
27607 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27608 (asinhf): Define using libm_alias_float.
27609 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27610 (atanf): Define using libm_alias_float.
27611 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27612 (cbrtf): Define using libm_alias_float.
27613 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27614 (ceilf): Define using libm_alias_float.
27615 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27616 <libm-alias-float.h>.
27617 (copysignf): Define using libm_alias_float.
27618 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27619 (cosf): Define using libm_alias_float.
27620 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27621 (erff): Define using libm_alias_float.
27622 (erfcf): Likewise.
27623 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27624 (expm1f): Define using libm_alias_float.
27625 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27626 (fabsf): Define using libm_alias_float.
27627 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27628 (floorf): Define using libm_alias_float.
27629 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27630 (frexpf): Define using libm_alias_float.
27631 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27632 libm_alias_float.
27633 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27634 <libm-alias-float.h>.
27635 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27636 libm_alias_float.
27637 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27638 <libm-alias-float.h>.
27639 (getpayloadf): Define using libm_alias_float.
27640 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27641 <libm-alias-float.h>.
27642 (llrintf): Define using libm_alias_float.
27643 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27644 <libm-alias-float.h>.
27645 (llroundf): Define using libm_alias_float.
27646 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27647 (logbf): Define using libm_alias_float.
27648 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27649 (lrintf): Define using libm_alias_float.
27650 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27651 (lroundf): Define using libm_alias_float.
27652 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27653 (modff): Define using libm_alias_float.
27654 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27655 <libm-alias-float.h>.
27656 (nearbyintf): Define using libm_alias_float.
27657 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27658 <libm-alias-float.h>.
27659 (nextafterf): Define using libm_alias_float.
27660 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27661 <libm-alias-float.h>.
27662 (nextupf): Define using libm_alias_float.
27663 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27664 <libm-alias-float.h>.
27665 (remquof): Define using libm_alias_float.
27666 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27667 (rintf): Define using libm_alias_float.
27668 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27669 <libm-alias-float.h>.
27670 (roundevenf): Define using libm_alias_float.
27671 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27672 (roundf): Define using libm_alias_float.
27673 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27674 using libm_alias_float.
27675 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27676 <libm-alias-float.h>.
27677 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27678 Define using libm_alias_float.
27679 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27680 <libm-alias-float.h>.
27681 (sincosf): Define using libm_alias_float.
27682 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27683 (sinf): Define using libm_alias_float.
27684 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27685 (tanf): Define using libm_alias_float.
27686 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27687 (tanhf): Define using libm_alias_float.
27688 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27689 <libm-alias-float.h>.
27690 (totalorderf): Define using libm_alias_float.
27691 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27692 <libm-alias-float.h>.
27693 (totalordermagf): Define using libm_alias_float.
27694 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27695 (truncf): Define using libm_alias_float.
27696 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27697 libm_alias_float.
27698 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27699 libm_alias_float.
27700
c5c4a626
GG
277012017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27702
27703 [BZ #22146]
27704 math/math.h: Let fpclassify use the builtin in C++ mode, even
27705 when optimazing for size.
27706
23947846
JM
277072017-09-22 Joseph Myers <joseph@codesourcery.com>
27708
27709 * csu/Makefile (generated): Do not add version-info.h.
27710 (before-compile): Likewise.
27711 (all-Banner-files): Remove variable.
27712 ($(objpfx)version-info.h): Remove rule.
27713 * csu/version.c (banner): Do not include "version-info.h".
27714 * libidn/Banner: Remove.
27715 * manual/contrib.texi (Simon Josefsson): New entry.
27716
9ac3c682
GG
277172017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27718
27719 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27720 Remove conditionals on LDBL_MANT_DIG.
27721 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27722 (__ieee754_lgammal_r): Likewise.
27723
d2f0ed09
GG
277242017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27725
27726 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27727 _Float128 and L().
27728 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27729 _Float128 and L(). Replace _Float128 with long double and L(x)
27730 with xL, throughout the file.
27731 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27735
c5c2e667
GG
277362017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27737
27738 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27739 sysdeps/ieee754/ldbl-128ibm.
27740 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27741 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27742 of including it. Keep _Float128 and L() intact. These will be
27743 reviewed by a separate patch.
27744 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27748
e010deb2
GG
277492017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27750
27751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27752 (__finitef128): Define to __redirect___finitef128.
27753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27754 (__isinff128): Define to __redirect___isinff128.
27755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27756 (__isnanf128): Define to __redirect___isnanf128.
27757
ffa44804
GG
277582017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27759
27760 * sysdeps/powerpc/powerpc64le/Makefile
27761 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27762 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27763
e5e4d7cc
PP
277642017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27765 Carlos O'Donell <carlos@redhat.com>
27766
27767 [BZ #22180]
27768 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27769 * stdlib/test-dlclose-exit-race.c: New file.
27770 * stdlib/test-dlclose-exit-race-helper.c: New file.
27771 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27772
c10c5267
JM
277732017-09-21 Joseph Myers <joseph@codesourcery.com>
27774
27775 * crypt/Banner: Remove file.
27776 * nptl/Banner: Likewise.
27777 * resolv/Banner: Likewise.
27778 * soft-fp/Banner: Likewise.
27779 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27780 ($(objpfx)version.d): Remove dependency on banner.h.
27781 ($(objpfx)version.os): Likewise.
27782 * nptl/version.c (banner): Do not include banner.h.
27783 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27784 Jelinek and BIND code.
27785
1cc9e59a
PP
277862017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27787 Carlos O'Donell <carlos@redhat.com>
27788
27789 * support/xdlfcn.h: New file.
27790 * support/xdlfcn.c: New file.
27791 * support/Makefile (libsupport-routines): Add xdlfcn.
27792 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27793
ae8372d7
JM
277942017-09-20 Joseph Myers <joseph@codesourcery.com>
27795
27796 [BZ #20142]
27797 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27798 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27799 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27800 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27801 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27802 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27803 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27804 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27805
26e70aec
PP
278062017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27807 Ricky Zhou <rickyz@google.com>
27808 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27809
27810 [BZ #14333]
27811 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27812 Remove atomics.
27813 (__new_exitfn): Fail registration when we finished at_exit processing.
27814 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27815 * stdlib/on_exit.c (__on_exit): Likewise.
27816 * stdlib/exit.c (__exit_funcs_done): New variable.
27817 (__run_exit_handlers): Use __exit_funcs_lock.
27818 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27819 declarations.
27820 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27821 (test-cxa_atexit-race, test-on_exit-race): New tests.
27822 * stdlib/test-atexit-race-common.c: New file.
27823 * stdlib/test-atexit-race.c: New file.
27824 * stdlib/test-at_quick_exit-race.c: New file.
27825 * stdlib/test-cxa_atexit-race.c: New file.
27826 * stdlib/test-on_exit-race.c: New file.
27827
0525ce48
SN
278282017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27829
27830 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27831 * benchtests/exp2f-inputs: Copy of expf-inputs.
27832 * benchtests/log2f-inputs: Copy of logf-inputs.
27833
d82468d1
JM
278342017-09-19 Joseph Myers <joseph@codesourcery.com>
27835
27836 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27837 Explicitly take address of first element of array arguments in
27838 call to INLINE_SYSCALL.
27839
43ffc53a
AS
278402017-09-19 Andreas Schwab <schwab@suse.de>
27841
27842 [BZ #22134]
27843 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27844 execveat first.
27845 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27846 unimplemented.
27847 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27848 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27849 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27850 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27851 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27852 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27853 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27854 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27855 * posix/Makefile (tests): Add tst-fexecve.
27856 * posix/tst-fexecve.c: New file.
27857
a5dcc87e
WD
278582017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27859
27860 * benchtests/Makefile: Add logf benchmark.
27861 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27862
7024d544
WD
278632017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27864
27865 * benchtests/Makefile: Add expf benchmark.
27866 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27867
ca3a382e
WD
278682017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27869
27870 * csu/Makefile: Add -funwind-tables to libc-start.c.
27871 * debug/Makefile: Add -funwind-tables to backtrace.c.
27872 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27873 * sysdeps/arm/Makefile: Likewise.
27874 * sysdeps/i386/Makefile: Likewise.
27875 * sysdeps/m68k/Makefile: Likewise.
27876 * sysdeps/mips/Makefile: Likewise.
27877 * sysdeps/nios2/Makefile: Likewise.
27878 * sysdeps/sh/Makefile: Likewise.
27879 * sysdeps/sparc/Makefile: Likewise.
27880
eb375def
JM
278812017-09-19 Joseph Myers <joseph@codesourcery.com>
27882
27883 * benchtests/Makefile (bench-math): Add trunc and truncf.
27884 (CFLAGS-bench-trunc.c): New variable.
27885 (CFLAGS-bench-truncf.c): Likewise.
27886 * benchtests/trunc-inputs: New file.
27887 * benchtests/truncf-inputs: Likewise.
27888
bd17ba29
RS
278892017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27890
27891 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27892
92892fdb
JM
278932017-09-18 Joseph Myers <joseph@codesourcery.com>
27894
6d9b0b5a
JM
27895 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27896 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27897 redefine.
27898 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27899 (exp10l): Define as weak alias.
27900 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27901 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27902 and redefine.
27903 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27904 (remainderl): Define as weak alias.
27905
92892fdb
JM
27906 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27907 (fmal): Define using libm_alias_ldouble.
27908 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27909 (acoshl): Define using libm_alias_ldouble.
27910 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27911 (acosl): Define using libm_alias_ldouble.
27912 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27913 (asinl): Define using libm_alias_ldouble.
27914 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27915 (atan2l): Define using libm_alias_ldouble.
27916 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27917 (atanhl): Define using libm_alias_ldouble.
27918 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27919 (coshl): Define using libm_alias_ldouble.
27920 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27921 (exp10l): Define using libm_alias_ldouble.
27922 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27923 (exp2l): Define using libm_alias_ldouble.
27924 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27925 (expl): Define using libm_alias_ldouble.
27926 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27927 (fmodl): Define using libm_alias_ldouble.
27928 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27929 (hypotl): Define using libm_alias_ldouble.
27930 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27931 (j0l): Define using libm_alias_ldouble.
27932 (y0l): Likewise.
27933 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27934 (j1l): Define using libm_alias_ldouble.
27935 (y1l): Likewise.
27936 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27937 (jnl): Define using libm_alias_ldouble.
27938 (ynl): Likewise.
27939 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27940 (log10l): Define using libm_alias_ldouble.
27941 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27942 (log2l): Define using libm_alias_ldouble.
27943 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27944 (logl): Define using libm_alias_ldouble.
27945 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27946 (powl): Define using libm_alias_ldouble.
27947 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27948 (remainderl): Define using libm_alias_ldouble.
27949 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27950 (sinhl): Define using libm_alias_ldouble.
27951 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27952 (sqrtl): Define using libm_alias_ldouble.
27953 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27954 (tgammal): Define using libm_alias_ldouble.
27955 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27956 (exp10l): Do not use long_double_symbol here.
27957 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27958 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27959 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27960 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27961 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27962 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27963 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27964 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27965 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27966 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27967 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27968 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27969 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27970 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27971 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27972 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27973 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27974 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27975 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27976 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27977 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27978 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27979
6cd380dd
WB
279802017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27981
27982 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27983 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27984
1c6d89e9
ST
279852017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27986
27987 * io/read.c (read): Add libc_hidden_weak.
27988 * sysdeps/mach/hurd/read.c (read): Likewise.
27989 * io/write.c (write): Likewise.
27990 * sysdeps/mach/hurd/write.c (write): Likewise.
27991 * io/pread64.c (__pread64): Likewise.
27992 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27993 * posix/pread64.c (__pread64): Add libc_hidden_def.
27994
06b1de23
SP
279952017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27996
140647ea
SP
27997 * benchtests/scripts/compare_strings.py: New option -g.
27998 (draw_graph): Print a message that a graph is being generated.
27999 (process_results): Generate graph only if -g is passed.
28000 (main): Process option -g.
28001
5a6547b7
SP
28002 * benchtests/scripts/compare_strings.py (process_results):
28003 Better spacing for output.
28004
06b1de23
SP
28005 * benchtests/scripts/compare_strings.py: Use argparse.
28006 * benchtests/README: Document existence of compare_strings.py.
28007
c67a2328
JM
280082017-09-15 Joseph Myers <joseph@codesourcery.com>
28009
9ac44708
JM
28010 * math/s_fma.c: Include <libm-alias-double.h>.
28011 (fma): Define using libm_alias_double.
28012 * math/s_nextafter.c: Include <libm-alias-double.h>.
28013 (nextafter): Define using libm_alias_double.
28014 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28015 (acos): Define using libm_alias_double.
28016 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28017 (aocsh): Define using libm_alias_double.
28018 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28019 (asin): Define using libm_alias_double.
28020 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28021 (atan2): Define using libm_alias_double.
28022 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28023 (atanh): Define using libm_alias_double.
28024 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28025 (cosh): Define using libm_alias_double.
28026 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28027 (exp10): Define using libm_alias_double.
28028 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28029 (exp2): Define using libm_alias_double.
28030 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28031 (exp): Define using libm_alias_double.
28032 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28033 (fmod): Define using libm_alias_double.
28034 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28035 (hypot): Define using libm_alias_double.
28036 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28037 (j0): Define using libm_alias_double.
28038 (y0): Likewise.
28039 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28040 (j1): Define using libm_alias_double.
28041 (y1): Likewise.
28042 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28043 (jn): Define using libm_alias_double.
28044 (yn): Likewise.
28045 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28046 (log10): Define using libm_alias_double.
28047 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28048 (log2): Define using libm_alias_double.
28049 * math/w_log_compat.c: Include <libm-alias-double.h>.
28050 (log): Define using libm_alias_double.
28051 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28052 (pow): Define using libm_alias_double.
28053 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28054 (remainder): Define using libm_alias_double.
28055 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28056 (sinh): Define using libm_alias_double.
28057 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28058 (sqrt): Define using libm_alias_double.
28059 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28060 (tgamma): Define using libm_alias_double.
28061 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28062 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28063 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28064 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28065 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28066 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28067 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28068 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28069 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28070 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28071 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28072 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28073 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28074 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28075 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28076 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28077 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28078 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28079 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28080 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28081 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28082 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28083 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28084 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28085 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28086
c67a2328
JM
28087 * math/e_acoshl.c: Remove.
28088 * math/e_acosl.c: Likewise.
28089 * math/e_asinl.c: Likewise.
28090 * math/e_atan2l.c: Likewise.
28091 * math/e_atanhl.c: Likewise.
28092 * math/e_coshl.c: Likewise.
28093 * math/e_expl.c: Likewise.
28094 * math/e_fmodl.c: Likewise.
28095 * math/e_gammal_r.c: Likewise.
28096 * math/e_hypotl.c: Likewise.
28097 * math/e_j0l.c: Likewise.
28098 * math/e_j1l.c: Likewise.
28099 * math/e_jnl.c: Likewise.
28100 * math/e_lgammal_r.c: Likewise.
28101 * math/e_log10l.c: Likewise.
28102 * math/e_log2l.c: Likewise.
28103 * math/e_logl.c: Likewise.
28104 * math/e_powl.c: Likewise.
28105 * math/e_rem_pio2l.c: Likewise.
28106 * math/e_sinhl.c: Likewise.
28107 * math/e_sqrtf128.c: Likewise.
28108 * math/e_sqrtl.c: Likewise.
28109 * math/k_cosl.c: Likewise.
28110 * math/k_sinl.c: Likewise.
28111 * math/k_tanl.c: Likewise.
28112 * math/s_asinhl.c: Likewise.
28113 * math/s_atanl.c: Likewise.
28114 * math/s_cbrtl.c: Likewise.
28115 * math/s_erfl.c: Likewise.
28116 * math/s_expm1l.c: Likewise.
28117 * math/s_log1pl.c: Likewise.
28118 * math/s_tanhl.c: Likewise.
28119
61c45f25
TMQMF
281202017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28121
28122 [BZ #21745]
28123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28124 [$(subdir) = math] (sysdep_calls): New variable. Has the
28125 previous contents of sysdep_routines, but re-sorted..
28126 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28127 sysdep_calls.
28128 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28129 defined in sysdep_calls and replace by the respective m_* names.
28130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28131 (compat_symbol): Undefine to avoid duplicated compat symbols in
28132 libc.
28133
5bcdb315
JM
281342017-09-15 Joseph Myers <joseph@codesourcery.com>
28135
28136 * math/s_fmaf.c: Include <libm-alias-float.h>.
28137 (fmaf): Define using libm_alias_float.
28138 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28139 (acosf): Define using libm_alias_float.
28140 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28141 (acoshf): Define using libm_alias_float.
28142 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28143 (asinf): Define using libm_alias_float.
28144 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28145 (atan2f): Define using libm_alias_float.
28146 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28147 (atanhf): Define using libm_alias_float.
28148 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28149 (coshf): Define using libm_alias_float.
28150 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28151 (exp10f): Define using libm_alias_float.
28152 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28153 (fmodf): Define using libm_alias_float.
28154 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28155 (hypotf): Define using libm_alias_float.
28156 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28157 (j0f): Define using libm_alias_float.
28158 (y0f): Likewise.
28159 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28160 (j1f): Define using libm_alias_float.
28161 (y1f): Likewise.
28162 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28163 (jnf): Define using libm_alias_float.
28164 (ynf): Likewise.
28165 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28166 (log10f): Define using libm_alias_float.
28167 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28168 (log2f): Define using libm_alias_float.
28169 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28170 (logf): Define using libm_alias_float.
28171 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28172 (powf): Define using libm_alias_float.
28173 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28174 (remainderf): Define using libm_alias_float.
28175 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28176 (sinhf): Define using libm_alias_float.
28177 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28178 (sqrtf): Define using libm_alias_float.
28179 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28180 (tgammaf): Define using libm_alias_float.
28181
01f28812
JM
281822017-09-14 Joseph Myers <joseph@codesourcery.com>
28183
28184 * include/math.h (roundeven): Change hidden_proto call to
28185 __roundeven.
28186 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28187 alias.
28188 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28189 (y0): Rename to __y0 and define as weak alias.
28190 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28191 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28192 alias.
28193 (y0f): Rename to __y0f and define as weak alias.
28194 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28195 alias.
28196 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28197 (y1): Rename to __y1 and define as weak alias.
28198 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28199 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28200 alias.
28201 (y1f): Rename to __y1f and define as weak alias.
28202 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28203 alias.
28204 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28205 (yn): Rename to __yn and define as weak alias.
28206 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28207 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28208 alias.
28209 (ynf): Rename to __ynf and define as weak alias.
28210 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28211 (fromfp): Define as weak alias.
28212 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28213 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28214 (fromfpx): Define as weak alias.
28215 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28216 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28217 __getpayload and define as weak alias.
28218 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28219 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28220 __roundeven and define as weak alias.
28221 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28222 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28223 __setpayload.
28224 (setpayload): Define as weak alias.
28225 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28226 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28227 __setpayloadsig.
28228 (setpayloadsig): Define as weak alias.
28229 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28230 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28231 __totalorder and define as weak alias.
28232 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28233 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28234 to __totalordermag and define as weak alias.
28235 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28236 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28237 (ufromfp): Define as weak alias.
28238 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28239 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28240 __ufromfpx.
28241 (ufromfpx): Define as weak alias.
28242 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28243 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28244 Rename to __getpayload and define as weak alias.
28245 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28246 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28247 Rename to __roundeven and define as weak alias.
28248 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28249 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28250 Rename to __totalorder and define as weak alias.
28251 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28252 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28253 (totalordermag): Rename to __totalordermag and define as weak
28254 alias.
28255 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28256 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28257 macro.
28258 (__roundevenl): Likewise.
28259 (__totalorderl): Likewise.
28260 (__totalordermagl): Likewise
28261 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28262 __fromfpf128.
28263 (fromfpf128): Define as weak alias.
28264 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28265 __fromfpxf128.
28266 (fromfpxf128): Define as weak alias.
28267 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28268 __setpayloadf128.
28269 (setpayloadf128): Define as weak alias.
28270 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28271 __setpayloadsigf128.
28272 (setpayloadsigf128): Define as weak alias.
28273 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28274 __ufromfpf128.
28275 (ufromfpf128): Define as weak alias.
28276 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28277 __ufromfpxf128.
28278 (ufromfpxf128): Define as weak alias.
28279 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28280 (fromfpf): Define as weak alias.
28281 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28282 __fromfpxf.
28283 (fromfpxf): Define as weak alias.
28284 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28285 __getpayloadf and define as weak alias.
28286 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28287 __roundevenf and define as weak alias.
28288 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28289 __setpayloadf.
28290 (setpayloadf): Define as weak alias.
28291 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28292 __setpayloadsigf.
28293 (setpayloadsigf): Define as weak alias.
28294 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28295 __totalorderf and define as weak alias.
28296 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28297 Rename to __totalordermagf and define as weak alias.
28298 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28299 __ufromfpf.
28300 (ufromfpf): Define as weak alias.
28301 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28302 __ufromfpxf.
28303 (ufromfpxf): Define as weak alias.
28304 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28305 __fromfpl.
28306 (fromfpl): Define as weak alias.
28307 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28308 __fromfpxl.
28309 (fromfpxl): Define as weak alias.
28310 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28311 to __getpayloadl and define as weak alias.
28312 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28313 __roundevenl and define as weak alias.
28314 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28315 __setpayloadl.
28316 (setpayloadl): Define as weak alias.
28317 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28318 __setpayloadsigl.
28319 (setpayloadsigl): Define as weak alias.
28320 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28321 to __totalorderl and define as weak alias.
28322 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28323 Rename to __totalordermagl and define as weak alias.
28324 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28325 __ufromfpl.
28326 (ufromfpl): Define as weak alias.
28327 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28328 __ufromfpxl.
28329 (ufromfpxl): Define as weak alias.
28330 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28331 __fromfpl.
28332 (fromfpl): Define as weak alias.
28333 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28334 __fromfpxl.
28335 (fromfpxl): Define as weak alias.
28336 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28337 Rename to __getpayloadl and define as weak alias.
28338 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28339 to __roundevenl and define as weak alias. Call __roundeven
28340 instead of roundeven.
28341 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28342 __setpayloadl.
28343 (setpayloadl): Define as weak alias.
28344 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28345 __setpayloadsigl.
28346 (setpayloadsigl): Define as weak alias.
28347 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28348 Rename to __totalorderl and define as weak alias.
28349 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28350 Rename to __totalordermagl and define as weak alias.
28351 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28352 __ufromfpl.
28353 (ufromfpl): Define as weak alias.
28354 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28355 __ufromfpxl.
28356 (ufromfpxl): Define as weak alias.
28357 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28358 __fromfpl.
28359 (fromfpl): Define as weak alias.
28360 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28361 __fromfpxl.
28362 (fromfpxl): Define as weak alias.
28363 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28364 __getpayloadl and define as weak alias.
28365 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28366 __roundevenl and define as weak alias.
28367 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28368 __setpayloadl.
28369 (setpayloadl): Define as weak alias.
28370 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28371 __setpayloadsigl.
28372 (setpayloadsigl): Define as weak alias.
28373 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28374 __totalorderl and define as weak alias.
28375 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28376 Rename to __totalordermagl and define as weak alias.
28377 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28378 __ufromfpl.
28379 (ufromfpl): Define as weak alias.
28380 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28381 __ufromfpxl.
28382 (ufromfpxl): Define as weak alias.
28383
29c933fb
SP
283842017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28385
503c92c3
SP
28386 * benchtests/bench-string.h (realloc_bufs): New function.
28387 (test_init): Call it.
28388 * benchtests/bench-memset-large.c (do_test): Likewise.
28389 * benchtests/bench-memset.c (do_test): Likewise.
28390
29c933fb
SP
28391 * benchtests/bench-memset-large.c: Print output in JSON
28392 format.
28393 * benchtests/bench-memset.c: Likewise.
28394
799c8d69
MF
283952017-09-14 Mike FABIAN <mfabian@redhat.com>
28396
28397 [BZ #21084]
28398 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28399 * iconvdata/Makefile: Add IBM858.
28400 * iconvdata/gconv-modules: Likewise.
28401 * iconvdata/tst-tables.sh: Likewise.
28402 * iconvdata/ibm858.c: New file.
28403 * localedata/charmaps/IBM858: Likewise.
28404
c207f7ce 284052017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
28406
28407 [BZ #22023]
28408 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28409 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28410
f28a0926
AK
284112017-09-14 Mike FABIAN <mfabian@redhat.com>
28412
28413 [BZ #22112]
28414 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28415 and add tel_int_fmt.
28416
02093e62
JM
284172017-09-14 Joseph Myers <joseph@codesourcery.com>
28418
28419 * sysdeps/generic/libm-alias-float128.h: New file.
28420 * sysdeps/generic/math-type-macros-float128.h: Include
28421 <libm-alias-float128.h>.
28422 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28423
1aae75ef
JM
284242017-09-13 Joseph Myers <joseph@codesourcery.com>
28425
28426 * sysdeps/generic/libm-alias-ldouble.h: New file.
28427 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28428 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28429 * sysdeps/generic/math-type-macros-ldouble.h: Include
28430 <libm-alias-ldouble.h>.
28431 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28432 libm_alias_ldouble.
28433
bcea7ad6
SN
284342017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28435
28436 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28437 * math/w_exp_compat.c: ... here.
28438 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28439 * math/w_expf_compat.c: ... here.
28440 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28441 * math/w_expl_compat.c: ... here.
28442 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28443 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28444 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28445 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28446
0fc56478
JM
284472017-09-13 Joseph Myers <joseph@codesourcery.com>
28448
28449 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28450 redefine.
28451 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28452 macro.
28453 (ldexpl): Only define as compat symbol for libc, not libm.
28454 (scalbnl): Define as compat symbol for libc here.
28455 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28456 define for [IS_IN (libc)].
28457 (__ldexpl_2): Remove alias.
28458 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28459 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28460 name in long_double_symbol call.
28461 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28462 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28463 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28464 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28465 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28466 Remove macro.
28467 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28468 Define as compat symbol.
28469
3ca622e4
AZ
284702017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28471
28472 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28473 * sysdeps/unix/sysv/linux/alpha/Makefile
28474 [$(subdir) = csu] (sysdep_routines): Remove rule.
28475
620ff9ee
JM
284762017-09-13 Joseph Myers <joseph@codesourcery.com>
28477
28478 * sysdeps/generic/libm-alias-double.h: New file.
28479 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28480 * sysdeps/generic/math-type-macros-double.h: Include
28481 <libm-alias-double.h>.
28482 [declare_mgen_alias] (declare_mgen_alias): Define to use
28483 libm_alias_double.
28484 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28485 (M_LIBM_NEED_COMPAT): Remove macro.
28486 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28487 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28488 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28489 code.
28490 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28491 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28492 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28493 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28494 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28495 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28496 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28497 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28498 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28499 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28500 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28501 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28502 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28503 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28504 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28505 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28506 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28507 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28508 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28509 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28510 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28511 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28512 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28513 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28514 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28515 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28516 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28517 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28518 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28519 macro.
28520 (declare_mgen_alias): New macro.
28521 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28522 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28524 (M_LIBM_NEED_COMPAT): Remove macro.
28525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28526 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28527 <first-versions.h>.
28528 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28529 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28530
a891caff
JM
285312017-09-12 Joseph Myers <joseph@codesourcery.com>
28532
28533 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28534 (declare_mgen_alias_2): Remove.
28535 * sysdeps/generic/math-type-macros-double.h
28536 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28537 Likewise.
28538 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28539 alias.
28540 (ldexp): Define with declare_mgen_alias.
28541 (scalbn): Likewise.
28542
a1a78204
SE
285432017-09-12 Steve Ellcey <sellcey@cavium.com>
28544
28545 * grp/initgroups.c: Include config.h.
28546 (DEFAULT_CONFIG): New macro.
28547 (internal_getgrouplist): Use DEFAULT_CONFIG.
28548 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28549 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28550 (DEFAULT_DEFCONFIG): New macro.
28551 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28552 * nss/grp-lookup.c: Include config.h
28553 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28554 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28555 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28556 * manual/nss.texi: Update default values section.
28557
ef8adeb0
L
285582017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28559
28560 [BZ #21967]
28561 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28562 New.
28563 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28564 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28565 Handle MathVec_Prefer_No_AVX512.
28566 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28567 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28568 is set.
28569
a166531f
ST
285702017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28571
28572 * posix/sched_primax.c (__sched_get_priority_max): Add
28573 libc_hidden_def.
28574 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28575 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28576 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28577 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28578 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28579 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28580 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28581 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28582 Add aliases.
28583
4b7d1efb
JM
285842017-09-11 Joseph Myers <joseph@codesourcery.com>
28585
28586 * sysdeps/generic/libm-alias-float.h: New file.
28587 * sysdeps/generic/math-type-macros-float.h: Include
28588 <libm-alias-float.h>.
28589 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28590
45ff3463
L
285912017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28592
28593 [BZ #22093]
28594 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28595 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28596 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28597 (HWCAP_IMPORTANT): Likewise.
28598 (HWCAP_X86_64): New enum.
28599 (HWCAP_X86_AVX512_1): Updated.
28600 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28601 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28602 (modules-names): Add x86_64/tst-x86_64mod-1.
28603 (LDFLAGS-tst-x86_64mod-1.so): New.
28604 ($(objpfx)tst-x86_64-1): Likewise.
28605 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28606 (tst-x86_64-1-clean): Likewise.
28607 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28608 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28609
891abfd3
SP
286102017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28611
28612 * po/sv.po: Update translations.
28613 * po/fr.po: Likewise.
28614
00c3da43
ST
286152017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28616
28617 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28618 seconds.
3bdfd9fb
ST
28619 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28620 seconds.
65b22ebc 28621 * elf/rtld-Rules: Fix $(error) use.
00c3da43 28622
96480903
MF
286232017-09-09 Mike FABIAN <mfabian@redhat.com>
28624
28625 [BZ #14925]
28626 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28627 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28628 * localedata/locales/bn_BD: “Bengali” was still used in some
28629 comments. Change it to “Bangla”.
28630
4c03a696
MT
286312017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28632
28633 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28634
9c9ec581
SE
286352017-09-08 Steve Ellcey <sellcey@cavium.com>
28636
28637 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28638 thunderx2t99p1 to list of cpu names.
28639 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28640 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28641
f00bce74
SE
286422017-09-08 Steve Ellcey <sellcey@cavium.com>
28643
28644 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28645 Use strcmp instead of tunable_is_name.
28646
27342d17
JM
286472017-09-08 Joseph Myers <joseph@codesourcery.com>
28648
af1b7c8c
JM
28649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28650 (F_GET_RW_HINT): New macro.
28651 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28652 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28653 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28654 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28655 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28656 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28657 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28658 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28659 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28660
27342d17
JM
28661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28662 (F_ADD_SEALS): New macro.
28663 [__USE_GNU] (F_GET_SEALS): Likewise.
28664 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28665 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28666 [__USE_GNU] (F_SEAL_GROW): Likewise.
28667 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28668
c66c9082
AZ
286692017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28670
07b4f49d
AZ
28671 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28672 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28673 * posix/glob_internal.h (__glob_pattern_type):
28674 * posix/glob.c (glob):
28675 * posix/glob_pattern_p.c (__glob_pattern_p):
28676 Use them.
28677
116f1c64
AZ
28678 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28679 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28680 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28681 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28682 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28684 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28685 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28686 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28687 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28688 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28689 * sysdeps/wordsize-64/glob.c: Likewise.
28690 * sysdeps/wordsize-64/glob64.c: Likewise.
28691 * sysdeps/wordsize-64/globfree.c: Likewise.
28692 * sysdeps/wordsize-64/globfree64.c: Likewise.
28693 * sysdeps/unix/sysv/linux/glob.c: New file.
28694 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28695 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28696 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28697 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28698 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28699 adds !GLOB_NO_OLD_VERSION as an extra condition.
28700 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28701 using relative path instead of absolute one.
28702 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28703 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28704 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28705 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28706 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28707 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28708
ffca8901
AZ
28709 [BZ #1062]
28710 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28711 (glob): Use the same scratch buffer for both getlogin_r and
28712 getpwnam_r. Don’t require preallocation of the login name. This
28713 simplifies storage allocation, and corrects the handling of
28714 long login names.
28715
5a79f975
AZ
28716 [BZ #1062]
28717 * posix/glob.c (glob): Port recent patches to platforms
28718 lacking getpwnam_r.
28719 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28720 returns an error number rather than setting errno.
28721
e00f2425
AZ
28722 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28723 instead of GCC extension.
28724 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28725 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28726 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28727
5554304f
AZ
28728 [BZ #866]
28729 [BZ #1062]
28730 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28731 * posix/bug-glob1.c: Remove file.
28732 * posix/tst-glob_symlinks.c: New file.
28733 * posix/glob.c (__lstat64): New macro.
28734 (is_dir): New function.
28735 (glob, glob_in_dir): Match symlinks even if they are dangling.
28736 (link_stat, link_exists_p): Remove. All uses removed.
28737
686f2ea1
AZ
28738 [BZ #1062]
28739 [BZ #19971]
28740 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28741 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28742 All uses removed.
28743
c66c9082 28744 [BZ #1062]
914c9994 28745 CVE-2017-15671
c66c9082
AZ
28746 * posix/Makefile (routines): Add globfree, globfree64, and
28747 glob_pattern_p.
28748 * posix/flexmember.h: New file.
28749 * posix/glob_internal.h: Likewise.
28750 * posix/glob_pattern_p.c: Likewise.
28751 * posix/globfree.c: Likewise.
28752 * posix/globfree64.c: Likewise.
28753 * sysdeps/gnu/globfree64.c: Likewise.
28754 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28755 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28756 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28757 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28758 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28759 * sysdeps/wordsize-64/globfree.c: Likewise.
28760 * sysdeps/wordsize-64/globfree64.c: Likewise.
28761 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28762 [NDEBUG): Remove comments.
28763 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28764 (dirent_type): New type. Use uint_fast8_t not
28765 uint8_t, as C99 does not require uint8_t.
28766 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28767 (struct readdir_result): Use dirent_type. Do not define skip_entry
28768 unless it is needed; this saves a byte on platforms lacking d_ino.
28769 (readdir_result_type, readdir_result_skip_entry):
28770 New functions, replacing ...
28771 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28772 these functions, which were removed. This makes the callers
28773 easier to read. All callers changed.
28774 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28775 (size_add_wrapv, glob_use_alloca): New static functions.
28776 (glob, glob_in_dir): Check for size_t overflow in several places,
28777 and fix some size_t checks that were not quite right.
28778 Remove old code using SHELL since Bash no longer
28779 uses this.
28780 (glob, prefix_array): Separate MS code better.
28781 (glob_in_dir): Remove old Amiga and VMS code.
28782 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28783 separate files.
28784 (glob_in_dir): Do not rely on undefined behavior in accessing
28785 struct members beyond their bounds. Use a flexible array member
28786 instead
28787 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28788 0/1. Caller changed.
28789 (glob): Fix memory leaks.
28790 * posix/glob64 (globfree64): Move to separate file.
28791 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28792 (globfree64): Remove hidden alias.
28793 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28794 oldglob.
28795 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28796 separate file.
28797 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28798 define.
28799 Move compat code to separate file.
28800 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28801 separate file.
28802
78bfa877
L
288032017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28804
28805 * resolv/tst-resolv-qtypes.c (domain): Changed to
28806 "const char domain[] =".
28807
05f0011f
JM
288082017-09-07 Joseph Myers <joseph@codesourcery.com>
28809
85bec0f2
JM
28810 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28811 version to 3.1.6.
28812
5c23ee6e
JM
28813 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28814 (TCP_MD5SIG_EXT): Likewise.
28815 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28816 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28817 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28818
05f0011f
JM
28819 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28820
7c9c5be9
MF
288212017-09-07 Mike FABIAN <mfabian@redhat.com>
28822
28823 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28824
c207f7ce 288252017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
28826
28827 [BZ #22100]
28828 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28829
507fe027
ST
288302017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28831
28832 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28833 before assuming that the file is empty. Avoid testing buffer content
28834 when nread == 0.
28835
65687ac7
AZ
288362017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28837
7bbbb4b9 28838 [BZ #18858]
65687ac7
AZ
28839 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28840 Remove define.
28841 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28842 Likewise.
28843 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28844 Likewise.
28845 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28846 Likewise.
28847 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28848 Likewise.
28849 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28850 Likewise.
28851 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28852 Likewise.
28853
ab5ac271
FW
288542017-09-06 Florian Weimer <fweimer@redhat.com>
28855
28856 * malloc/dynarray_emplace_enlarge.c
28857 (__libc_dynarray_emplace_enlarge): Add missing else.
28858
a8304730
FW
288592017-09-06 Florian Weimer <fweimer@redhat.com>
28860
28861 [BZ #22096]
28862 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28863 case of failure to obtain the global conf object.
28864
5670c4ab
FW
288652017-09-06 Florian Weimer <fweimer@redhat.com>
28866
28867 [BZ #22095]
28868 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28869 dynarray allocation failure.
28870
c77eb969
FW
288712017-09-06 Florian Weimer <fweimer@redhat.com>
28872
28873 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28874 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28875 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28876 New functions.
28877 (response): Call them. Add 'p', '6' flag processing.
28878 (test_reverse): New function.
28879 (test_get2_any): Call it.
28880 (test_no_inet6): Add 'p' test.
28881 (test_inet6): Likewise.
28882
5e9c4d17
FW
288832017-09-06 Florian Weimer <fweimer@redhat.com>
28884
28885 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28886 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28887 the QNAME.
28888 (test_gai): Adjust query names. Add additional tests.
28889 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28890 test_get2. Adjust query names. Add additional tests.
28891 (test_no_inet6): New function, extracted from threadfunc.
28892 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28893 Add additional tests.
28894
2ae5be04
MF
288952017-09-06 Mike FABIAN <mfabian@redhat.com>
28896
28897 [BZ #22070]
28898 * localedata/unicode-gen/utf8_gen.py: Set the width for
28899 characters with Prepended_Concatenation_Mark property to 1
28900 * localedata/charmaps/UTF-8: Updated using the improved script.
28901
af83ed5c
MF
289022017-09-06 Mike FABIAN <mfabian@redhat.com>
28903
28904 [BZ #21750]
28905 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28906 use the range notation for all ranges of neighbouring characters
28907 with the same width.
28908
4f3647e4
JM
289092017-09-05 Joseph Myers <joseph@codesourcery.com>
28910
28911 * sysdeps/generic/math-type-macros-double.h: Include
28912 <math-svid-compat.h>.
28913 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28914 * sysdeps/generic/math-type-macros-float.h: Include
28915 <math-svid-compat.h>.
28916 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28917 * sysdeps/generic/math-type-macros-ldouble.h: Include
28918 <math-svid-compat.h>.
28919 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28920 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28921 condition.
28922 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28923 * math/w_acosf_compat.c: Likewise.
28924 * math/w_acosh_compat.c: Likewise.
28925 * math/w_acoshf_compat.c: Likewise.
28926 * math/w_acoshl_compat.c: Likewise.
28927 * math/w_acosl_compat.c: Likewise.
28928 * math/w_asin_compat.c: Likewise.
28929 * math/w_asinf_compat.c: Likewise.
28930 * math/w_asinl_compat.c: Likewise.
28931 * math/w_atan2_compat.c: Likewise.
28932 * math/w_atan2f_compat.c: Likewise.
28933 * math/w_atan2l_compat.c: Likewise.
28934 * math/w_atanh_compat.c: Likewise.
28935 * math/w_atanhf_compat.c: Likewise.
28936 * math/w_atanhl_compat.c: Likewise.
28937 * math/w_cosh_compat.c: Likewise.
28938 * math/w_coshf_compat.c: Likewise.
28939 * math/w_coshl_compat.c: Likewise.
28940 * math/w_exp10_compat.c: Likewise.
28941 * math/w_exp10f_compat.c: Likewise.
28942 * math/w_exp10l_compat.c: Likewise.
28943 * math/w_exp2_compat.c: Likewise.
28944 * math/w_exp2f_compat.c: Likewise.
28945 * math/w_exp2l_compat.c: Likewise.
28946 * math/w_fmod_compat.c: Likewise.
28947 * math/w_fmodf_compat.c: Likewise.
28948 * math/w_fmodl_compat.c: Likewise.
28949 * math/w_hypot_compat.c: Likewise.
28950 * math/w_hypotf_compat.c: Likewise.
28951 * math/w_hypotl_compat.c: Likewise.
28952 * math/w_j0_compat.c: Likewise.
28953 * math/w_j0f_compat.c: Likewise.
28954 * math/w_j0l_compat.c: Likewise.
28955 * math/w_j1_compat.c: Likewise.
28956 * math/w_j1f_compat.c: Likewise.
28957 * math/w_j1l_compat.c: Likewise.
28958 * math/w_jn_compat.c: Likewise.
28959 * math/w_jnf_compat.c: Likewise.
28960 * math/w_jnl_compat.c: Likewise.
28961 * math/w_lgamma_r_compat.c: Likewise.
28962 * math/w_lgammaf_r_compat.c: Likewise.
28963 * math/w_lgammal_r_compat.c: Likewise.
28964 * math/w_log10_compat.c: Likewise.
28965 * math/w_log10f_compat.c: Likewise.
28966 * math/w_log10l_compat.c: Likewise.
28967 * math/w_log2_compat.c: Likewise.
28968 * math/w_log2f_compat.c: Likewise.
28969 * math/w_log2l_compat.c: Likewise.
28970 * math/w_log_compat.c: Likewise.
28971 * math/w_logf_compat.c: Likewise.
28972 * math/w_logl_compat.c: Likewise.
28973 * math/w_pow_compat.c: Likewise.
28974 * math/w_powf_compat.c: Likewise.
28975 * math/w_powl_compat.c: Likewise.
28976 * math/w_remainder_compat.c: Likewise.
28977 * math/w_remainderf_compat.c: Likewise.
28978 * math/w_remainderl_compat.c: Likewise.
28979 * math/w_sinh_compat.c: Likewise.
28980 * math/w_sinhf_compat.c: Likewise.
28981 * math/w_sinhl_compat.c: Likewise.
28982 * math/w_sqrt_compat.c: Likewise.
28983 * math/w_sqrtf_compat.c: Likewise.
28984 * math/w_sqrtl_compat.c: Likewise.
28985 * math/w_tgamma_compat.c: Likewise.
28986 * math/w_tgammaf_compat.c: Likewise.
28987 * math/w_tgammal_compat.c: Likewise.
28988 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28989 [LIBM_SVID_COMPAT].
28990 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28991 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28992 [LIBM_SVID_COMPAT].
28993 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28994 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28995 [LIBM_SVID_COMPAT].
28996 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28997 * sysdeps/i386/fpu/w_sqrt.c: New file.
28998 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28999 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29000 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29001 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29002 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29003 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29004 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29005 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29006 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29007 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29008 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29009 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29010 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29011 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29012 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29013 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29014 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29015 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29016 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29017 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29018 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29019 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29020 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29021 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29022 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29023 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29024 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29025 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29026 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29027 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29028 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29029 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29030 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29031 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29032 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29033 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29034 * sysdeps/ia64/fpu/w_log.c: Likewise.
29035 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29036 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29037 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29038 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29039 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29040 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29041 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29042 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29043 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29044 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29045 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29046 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29047 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29048 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29049 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29050 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29051 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29052 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29053 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29054 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29055 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29056 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29057 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29059 [LIBM_SVID_COMPAT].
29060 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29061 * sysdeps/ieee754/k_standard.c: Likewise.
29062 * sysdeps/ieee754/k_standardf.c: Likewise.
29063 * sysdeps/ieee754/k_standardl.c: Likewise.
29064 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29065 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29066 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29067 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29068 long_double_symbol call on [LIBM_SVID_COMPAT].
29069 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29070 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29071 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29072 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29073 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29074 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29075 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29076 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29077 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29078 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29079 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29080 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29081 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29082 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29083 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29084 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29085 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29086 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29087 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29088 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29089 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29090 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29091
05b38d64
SE
290922017-09-05 Steve Ellcey <sellcey@cavium.com>
29093
29094 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29095 * malloc/tst-mallocstate.c: Convert from test-skeleton
29096 to test-driver. Ifdef code using TEST_COMPAT macro.
29097 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29098 * math/test-matherr.c: Likewise.
29099
99d67918
JM
291002017-09-05 Joseph Myers <joseph@codesourcery.com>
29101
29102 [BZ #22086]
29103 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29104 comparing word with byte-swapped constant.
29105
c207f7ce 291062017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
29107
29108 [BZ #20498]
29109 * locale/iso-639.def: add Miskito.
29110 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29111 * localedata/locales/miq_NI: New file.
29112
0a587a8a
L
291132017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29114
29115 [BZ #18822]
29116 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29117 (__mkdir): Likewise.
29118 * io/chmod.c (__chmod): Add libc_hidden_def.
29119 * io/mkdir.c (__mkdir): Likewise.
29120 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29121 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29122 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29123 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29124
f3a129b8
JM
291252017-09-04 Joseph Myers <joseph@codesourcery.com>
29126
1650e192
JM
29127 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29128 version to 4.13.
29129
f3a129b8
JM
29130 [BZ #22082]
29131 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29132 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29133
b38042f5
FW
291342017-09-04 Florian Weimer <fweimer@redhat.com>
29135
29136 * math/math.h: Issue warning if log is defined.
29137
059b6404
JM
291382017-09-04 Joseph Myers <joseph@codesourcery.com>
29139
29140 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29141 kernel version to 4.13.
29142
b794e16b
ST
291432017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29144
29145 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
29146 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29147 parameter.
01969395
ST
29148 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29149 just <bits/types.h>.
dd2b31de 29150 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 29151 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 29152 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 29153 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
29154 * misc/preadv2.c: Include <errno.h>.
29155 * misc/preadv64v2.c: Include <errno.h>.
29156 * misc/pwritev2.c: Include <errno.h>.
29157 * misc/pwritev64v2.c: Include <errno.h>.
29158 * sysdeps/posix/preadv2.c: Include <errno.h>.
29159 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29160 Fix <unistd.h> inclusion.
29161 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29162 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
29163 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29164 __strtoul_internal): New functions.
127e7773
ST
29165 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29166 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
29167 * sysdeps/mach/hurd/i386/Makefile
29168 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29169 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29170 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
29171 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29172 __feraiseexcept_renamed to feraiseexcept instead of
29173 __GI_feraiseexcept.
56bf5497 29174 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 29175 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
29176 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29177 RWF_NOWAIT): Define to 0 if undefined already.
29178 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29179 boils down to 0.
6547ec0a
ST
29180 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29181 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 29182
5a80d39d
JM
291832017-09-01 Joseph Myers <joseph@codesourcery.com>
29184
29185 * manual/math.texi (pow10): Do not document.
29186 (pow10f): Likewise.
29187 (pow10l): Likewise.
29188 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29189 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29190 * math/libm-test-exp10.inc (pow10_test): Remove.
29191 (do_test): Do not call pow10.
29192 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29193 [NO_LONG_DOUBLE] (pow10l): Likewise.
29194 * math/w_exp10f_compat.c (pow10f): Likewise.
29195 * math/w_exp10l_compat.c (pow10l): Likewise.
29196 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29197 (pow10): Make into compat symbol.
29198 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29199 (pow10f): Make into compat symbol.
29200 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29201 (pow10l): Make into compat symbol.
29202 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29203 pow10.
29204 (CFLAGS-nldbl-pow10.c): Remove variable..
29205 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29206 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29207 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29208 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29209 Undefine and redefine.
29210 (pow10l): Make into compat symbol.
29211 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29212 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29213 * sysdeps/arm/libm-test-ulps: Likewise.
29214 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29215 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29216 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29217 * sysdeps/microblaze/libm-test-ulps: Likewise.
29218 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29219 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29220 * sysdeps/nios2/libm-test-ulps: Likewise.
29221 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29222 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29223 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29224 * sysdeps/sh/libm-test-ulps: Likewise.
29225 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29226 * sysdeps/tile/libm-test-ulps: Likewise.
29227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29228
3824fc38
PP
292292017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29230
29231 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29232
b3008279
L
292332017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29234
29235 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29236 "../ChangeLog.old/ChangeLog.8".
29237 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29238 "../ChangeLog.old/ChangeLog.14".
29239
136fa185
L
292402017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29241
29242 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29243 Threads Library.
29244
c18d50a2
JM
292452017-09-01 Joseph Myers <joseph@codesourcery.com>
29246
29247 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29248
bedbd859
L
292492017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29250
29251 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29252 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29253
50c66c7a
PP
292542017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29255
29256 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29257 32 atexit handlers.
29258
a617bd11
ZW
292592017-09-01 Zack Weinberg <zackw@panix.com>
29260
29261 * math/math.h (HUGE_VAL): Improve commentary.
29262
e0d2eb5a
AZ
292632017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29264 Andreas Schwab <schwab@suse.de>
29265
29266 [BZ #21530]
29267 * include/stdio.h (__gen_tempfd): New function.
29268 * stdio-common/Makefile (routines): Add gentempfd.
29269 * stdio-common/gentempfd.c: New file.
29270 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29271 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29272 unnamed file first.
29273
f4a6be25
FW
292742017-09-01 Florian Weimer <fweimer@redhat.com>
29275
29276 [BZ #21915]
29277 [BZ #21922]
29278 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29279 result to determine success or failure, not the errno value.
29280 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29281 (tst-nss-files-hosts-erange): Link with -ldl.
29282 * nss/tst-nss-files-hosts-erange.c: New file.
29283 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29284 (do_test): Add NO_DATA tests.
29285 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29286 (do_test): Call it.
29287
5f8340f5
FW
292882017-09-01 Florian Weimer <fweimer@redhat.com>
29289
29290 [BZ #21922]
29291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29292 coming from gethostbyname2_r.
29293
65329bd2
FW
292942017-09-01 Florian Weimer <fweimer@redhat.com>
29295
29296 * support/namespace.h (struct support_chroot_configuration): Add
29297 hosts, host_conf.
29298 (struct support_chroot): Add path_hosts, path_host_conf.
29299 * support/support_chroot.c (write_file): New function.
29300 (support_chroot_create): Call it to process /etc/resolv.conf,
29301 /etc/hosts, /etc/host.conf.
29302 (support_chroot_free): Update.
29303
a2881ef0
FW
293042017-09-01 Florian Weimer <fweimer@redhat.com>
29305
29306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29307 status indicates it is set.
29308
ad816a5e
FW
293092017-09-01 Florian Weimer <fweimer@redhat.com>
29310
63b52889 29311 [BZ #20532]
ad816a5e
FW
29312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29313 function lookup failures more reliable.
29314
53250a21
FW
293152017-09-01 Florian Weimer <fweimer@redhat.com>
29316
29317 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29318 (getcanonname): Likewise.
29319 (gaih_inet): Likewise.
29320
924b121c
FW
293212017-09-01 Florian Weimer <fweimer@redhat.com>
29322
29323 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29324 (getcanonname): Likewise.
29325 (gaih_inet): Likewise.
29326
d9ff799a
SE
293272017-08-31 Steve Ellcey <sellcey@cavium.com>
29328 Richard Henderson <rth@twiddle.net>
29329
29330 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29331 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29332 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29333 (IREG_SIZE, OREG_SIZE): New macros.
29334 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29335 (IREG_SIZE, OREG_SIZE): New macros.
29336 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29337 (IREG_SIZE): New macro.
29338 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29339 (IREG_SIZE): New macro.
29340 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29341 New includes.
29342 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29343 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29344 (__CONCATX): Handle exceptions correctly on large values that may
29345 set FE_INVALID.
29346 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29347 Initialize if not already set.
29348 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29349
102dde84
AZ
293502017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29351
29352 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29353 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29354 Likewise.
29355 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29356 Likewise.
29357 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29358 Likewise.
29359 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29360 Likewise.
29361 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29362 Likewise.
29363 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29364 Likewise.
29365 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29366 Likewise.
29367 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29368 (NO_CANCELLATION): Likewise.
29369 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29370 Likewise.
29371 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29372 Likewise.
29373 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29374 Likewise.
29375 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29376 (NO_CANCELLATION): Likewise.
29377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29378 (NO_CANCELLATION): Likewise.
29379 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29380 Likewise
29381 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29382 Likewise.
29383 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29384 Likewise.
29385 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29386 Likewise.
29387 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29388 hidden prototype.
29389 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29390 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29391
9eee633b
SE
293922017-08-31 Steve Ellcey <sellcey@cavium.com>
29393
29394 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29395 in resolver call.
29396
65284eb7
FW
293972017-08-31 Florian Weimer <fweimer@redhat.com>
29398
29399 * include/libc-symbols.h (internal_function): Remove.
29400
41ad5ca6
FW
294012017-08-31 Florian Weimer <fweimer@redhat.com>
29402
29403 * stdlib/fmtmsg.c (internal_addseverity): Remove
29404 internal_function.
29405
2fa6d086
FW
294062017-08-31 Florian Weimer <fweimer@redhat.com>
29407
29408 * stdio-common/printf_fp.c (group_number): Remove
29409 internal_function.
29410 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29411
b41bd5bc
FW
294122017-08-31 Florian Weimer <fweimer@redhat.com>
29413
29414 * posix/fnmatch.c (internal_function): Remove definition.
29415 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29416 * posix/regcomp.c (peek_token, init_word_char)
29417 (duplicate_node_closure, fetch_token, peek_token)
29418 (peek_token_bracket, build_range_exp, build_collating_symbol):
29419 Likewise.
29420 * posix/regex_internal.c (re_string_construct_common)
29421 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29422 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29423 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29424 (re_string_translate_buffer, re_string_reconstruct)
29425 (re_string_peek_byte_case, re_string_fetch_byte_case)
29426 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29427 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29428 (re_node_set_add_intersect, re_node_set_init_union)
29429 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29430 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29431 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29432 (re_acquire_state_context): Likewise.
29433 * posix/regex_internal.h (internal_function): Remove definition.
29434 (re_string_realloc_buffers, build_wcs_buffer)
29435 (build_wcs_upper_buffer, build_upper_buffer)
29436 (re_string_translate_buffer, re_string_context_at)
29437 (re_string_char_size_at, re_string_wchar_at)
29438 (re_string_elem_size_at): Likewise.
29439 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29440 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29441 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29442 (re_search_internal, re_search_2_stub, re_search_stub)
29443 (re_copy_regs, prune_impossible_nodes, check_matching)
29444 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29445 (free_fail_stack_return, sift_states_iter_mb)
29446 (sift_states_backward, build_sifted_states)
29447 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29448 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29449 (check_subexp_limits, sift_states_bkref, merge_state_array)
29450 (find_recover_state, transit_state, merge_state_with_log)
29451 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29452 (transit_state_mb, transit_state_bkref, get_subexp)
29453 (get_subexp_sub, find_subexp_node, check_arrival)
29454 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29455 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29456 (check_node_accept_bytes, find_collation_sequence_value)
29457 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29458 (acquire_init_state_context, check_halt_node_context)
29459 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29460 (sub_epsilon_src_nodes): Likewise.
29461 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29462 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29463 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29464 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29465 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29466 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29467 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29468 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29469 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29470 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29471 (PREADV): Likewise.
29472 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29473 (PREADV): Likewise.
29474 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29475 (PWRITEV): Likewise.
29476 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29477 (PWRITEV): Likewise.
29478 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29479 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29480
83b09837
FW
294812017-08-31 Florian Weimer <fweimer@redhat.com>
29482
29483 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29484 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29485 Remove internal_function.
29486 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29487 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29488 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29489 (__deallocate_stack, __libc_pthread_init)
29490 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29491 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29492 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29493 Likewise.
29494 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29495 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29496 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29497 Likewise.
29498 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29499 (__pthread_mutex_unlock_usercnt): Likewise.
29500
116ac301
FW
295012017-08-31 Florian Weimer <fweimer@redhat.com>
29502
29503 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29504 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29505 (fts_safe_changedir): Remove internal_function.
29506 * io/ftw.c (internal_function): Remove definition.
29507 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29508
9da93bd7
FW
295092017-08-31 Florian Weimer <fweimer@redhat.com>
29510
29511 * inet/deadline.c (__deadline_current_time)
29512 (__deadline_from_timeval, __deadline_to_ms): Remove
29513 internal_function.
29514 * inet/getnameinfo.c (nrl_domainname): Likewise.
29515 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29516 * inet/inet6_option.c (add_pad): Likewise.
29517 * inet/net-internal.h (__deadline_current_time)
29518 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29519 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29520 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29521 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29522
a60eca2e
JM
295232017-08-31 Joseph Myers <joseph@codesourcery.com>
29524
c0c49d60
JM
29525 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29526 include <bits/nan.h>.
29527 * math/Makefile (headers): Remove bits/nan.h.
29528 * bits/nan.h: Remove.
29529 * sysdeps/ieee754/bits/nan.h: Likewise.
29530 * sysdeps/mips/bits/nan.h: Likewise.
29531
5ef1b213
JM
29532 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29533 not include <bits/inf.h>.
29534 * math/Makefile (headers): Remove bits/inf.h.
29535 * bits/inf.h: Remove.
29536 * sysdeps/ieee754/bits/inf.h: Likewise.
29537
a60eca2e
JM
29538 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29539 bits/huge_vall.h or bits/huge_val_flt128.h.
29540 (HUGE_VAL): Define directly here.
29541 [__USE_ISOC99] (HUGE_VALF): Likewise.
29542 [__USE_ISOC99] (HUGE_VALL): Likewise.
29543 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29544 (HUGE_VAL_F128): Likewise.
29545 * math/Makefile (headers): Remove bits/huge_val.h,
29546 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29547 * bits/huge_val.h: Remove.
29548 * bits/huge_val_flt128.h: Likewise.
29549 * bits/huge_valf.h: Likewise.
29550 * bits/huge_vall.h: Likewise.
29551 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29552 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29553 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29554 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29555 * sysdeps/sh/bits/huge_val.h: Likewise.
29556 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29557 * sysdeps/x86/bits/huge_vall.h: Likewise.
29558
17e00cc6
FW
295592017-08-31 Florian Weimer <fweimer@redhat.com>
29560
29561 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29562 internal_function.
29563 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29564 Likewise.
29565 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29566 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29567 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29568 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29569 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29570 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29571 * elf/dl-libc.c (dlerror_run): Likewise.
29572 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29573 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29574 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29575 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29576 Likewise.
29577 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29578 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29579 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29580 * elf/dl-profile.c (_dl_start_profile): Likewise.
29581 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29582 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29583 Likewise.
29584 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29585 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29586 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29587 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29588 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29589 (_dl_allocate_tls_storage): Likewise.
29590 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29591 (_dl_check_all_versions): Likewise.
29592 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29593 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29594 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29595 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29596 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29597 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29598 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29599 internal_function from __dl_start.
29600 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29601 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29602 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29603 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29604 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29605 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29606 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29607 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29608 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29609 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29610 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29611 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29612 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29613 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29614 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29615 Likewise.
29616 (struct rtld_global_ro): Remove internal_function from the
29617 _dl_lookup_symbol_x member.
29618 (_dl_symbol_value): Remove. No longer defined anywhere.
29619 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29620 internal_function.
29621 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29622 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29623 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29624 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29625 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29626 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29627 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29628 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29629 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29630 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29631 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29632 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29633
8d2f9410
FW
296342017-08-31 Florian Weimer <fweimer@redhat.com>
29635
29636 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29637 Remove internal_function.
29638 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29639 Likewise.
29640 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29641 Likewise.
29642
86e4919f
FW
296432017-08-31 Florian Weimer <fweimer@redhat.com>
29644
29645 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29646 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29647 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29648
59bd52b0
FW
296492017-08-31 Florian Weimer <fweimer@redhat.com>
29650
29651 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29652 (__gai_enqueue_request): Remove internal_function.
29653 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29654 (__gai_remove_request, __gai_notify, __gai_notify_only)
29655 (__gai_sigqueue): Likewise.
29656 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29657 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29658 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29659 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29660 Likewise.
29661
fc3d9497
FW
296622017-08-31 Florian Weimer <fweimer@redhat.com>
29663
29664 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29665 * include/dirent.h (__opendirat, __getdents, __getdents64)
29666 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29667 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29668 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29669 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29670 Likewise.
29671 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29672
18c54fac
FW
296732017-08-31 Florian Weimer <fweimer@redhat.com>
29674
29675 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29676 internal_function.
29677 (GETCWD_RETURN_TYPE): Likewise.
29678
7e01f080
FW
296792017-08-31 Florian Weimer <fweimer@redhat.com>
29680
29681 * include/time.h (__tz_compute, __strptime_internal): Remove
29682 internal_function.
29683 * time/strptime_l.c (__strptime_internal): Likewise.
29684 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29685
d7ccc6c9
FW
296862017-08-31 Florian Weimer <fweimer@redhat.com>
29687
29688 * iconv/gconv.c (__gconv): Remove internal_function.
29689 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29690 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29691 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29692 (__gconv_release_cache): Likewise.
29693 * iconv/gconv_close.c (__gconv_close): Likewise.
29694 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29695 (read_conf_file, __gconv_get_path): Likewise.
29696 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29697 (__gconv_release_step, gen_steps, increment_counter)
29698 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29699 (__gconv_close_transform, free_modules_db): Likewise.
29700 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29701 Likewise.
29702 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29703 (__gconv_find_transform, __gconv_lookup_cache)
29704 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29705 (__gconv_close_transform, __gconv_release_cache)
29706 (__gconv_loaded_object, __gconv_release_shlib)
29707 (__gconv_compare_alias): Likewise.
29708 * iconv/gconv_open.c (__gconv_open): Likewise.
29709 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29710 * iconv/iconvconfig.c (add_module): Likewise.
29711 * intl/dcigettext.c (plural_lookup, guess_category_value)
29712 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29713 * intl/eval-plural.h (plural_eval): Likewise.
29714 * intl/finddomain.c (_nl_find_domain): Likewise.
29715 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29716 (_nl_load_domain, _nl_find_msg): Likewise.
29717 (internal_function): Remove definition.
29718 * intl/loadinfo.h (internal_function): Likewise.
29719 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29720 internal_function.
29721 * intl/localealias.c (internal_function): Remove definition.
29722 (read_alias_file): Remove internal_function.
29723 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29724 * intl/plural-exp.h (internal_function): Remove definition.
29725 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29726 internal_function.
29727 * intl/plural.c: Regenerate.
29728 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29729 * locale/coll-lookup.c (__collidx_table_lookup)
29730 (__collseq_table_lookup): Likewise.
29731 * locale/coll-lookup.h (__collidx_table_lookup)
29732 (__collseq_table_lookup): Likewise.
29733 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29734 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29735 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29736 (_nl_unload_locale): Likewise.
29737 * locale/localeinfo.h (struct __locale_data): Remove
29738 internal_function from cleanup member.
29739 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29740 (_nl_remove_locale, _nl_load_locale_from_archive)
29741 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29742 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29743 (_nl_cleanup_time): Remove internal_function.
29744 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29745 (_nl_parse_alt_digit): Likewise.
29746 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29747 (_nl_select_era_entry): Likewise.
29748 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29749 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29750 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
29751 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29752 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 29753
dab0eece
FW
297542017-08-31 Florian Weimer <fweimer@redhat.com>
29755
29756 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29757 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29758 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29759 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29760 Likewise.
29761 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29762 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29763 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29764 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29765 Likewise.
29766 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29767
ab5bf7cf
FW
297682017-08-31 Florian Weimer <fweimer@redhat.com>
29769
29770 * misc/getttyent.c (skip, value): Remove internal_function.
29771 * misc/syslog.c (openlog_internal): Likewise.
29772 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29773
75b3047e
FW
297742017-08-31 Florian Weimer <fweimer@redhat.com>
29775
29776 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29777 (__nss_rewrite_field): Remove internal_function.
29778 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29779 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29780 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29781 * nss/nsswitch.c (nss_parse_file, nss_getline)
29782 (nss_parse_service_list, nss_new_service): Likewise.
29783 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29784 * nss/valid_field.c (__nss_valid_field): Likewise.
29785 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29786
0c71122c
FW
297872017-08-31 Florian Weimer <fweimer@redhat.com>
29788
29789 * malloc/arena.c (__malloc_fork_lock_parent)
29790 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29791 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29792 internal_function from defintions.
29793 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29794 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29795 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29796 internal_function from declarations.
29797 * malloc/malloc.c (internal_function): Do not define.
29798 (mem2mem_check): Remove internal_function from declaration.
29799 (munmap_chunk, mremap_chunk): Remove internal_function.
29800 * malloc/mtrace.c (tr_where): Likewise.
29801
ca4ec803
FW
298022017-08-31 Florian Weimer <fweimer@redhat.com>
29803
29804 * include/rpc/pmap_clnt.h (__get_socket): Remove
29805 internal_function.
29806 * sunrpc/auth_des.c (synchronize): Likewise.
29807 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29808 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29809 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29810 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29811 (key_call): Likewise.
29812 * sunrpc/pm_getport.c (__get_socket): Likewise.
29813 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29814 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29815 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29816 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29817 (invalidate): Likewise.
29818 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29819 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29820 (set_input_fragment, get_input_bytes): Likewise.
29821
24cffce7
FW
298222017-08-31 Florian Weimer <fweimer@redhat.com>
29823
29824 * malloc/malloc.c (_int_free): Remove locked variable and related
29825 asserts.
29826
ecd0747d
L
298272017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29828
29829 [BZ #22051]
29830 * Makerules (build-module-helper-objlist): Filter out
29831 $(elf-objpfx)sofini.os.
29832 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29833 needed.
29834
5f0704b6
FW
298352017-08-31 Florian Weimer <fweimer@redhat.com>
29836
29837 * libio/fcloseall.c: Assume weak_alias is defined.
29838 * libio/feof.c: Likewise.
29839 * libio/fileno.c: Likewise.
29840 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29841 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29842 definitions.
29843 (_IO_file_open): Call __open directly.
29844 (_IO_new_file_sync): Assume ESPIPE is defined.
29845 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29846 (_IO_new_file_write): Call __write directly.
29847 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29848 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29849 * libio/genops.c: Assume _LIBC is defined.
29850 (save_for_backup): Remove internal_function.
29851 * libio/getc.c: Assume weak_alias is defined.
29852 * libio/getwc.c: Likewise.
29853 * libio/iofclose.c: Assume _LIBC is defined.
29854 * libio/iofdopen.c: Likewise.
29855 (_IO_fcntl): Remove macro definition.
29856 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29857 Call __fcntl directly.
29858 * libio/iofflush.c: Assume weak_alias is defined.
29859 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29860 defined.
29861 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29862 * libio/iofgets.c: Likewise.
29863 * libio/iofopen.c: Assume _LIBC is defined.
29864 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29865 * libio/iofputs.c: Assume weak_alias is defined.
29866 * libio/iofread.c: Likewise.
29867 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29868 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29869 * libio/ioftell.c: Assume weak_alias is defined.
29870 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29871 * libio/iofwide.c: Assume _LIBC is defined.
29872 (_IO_fwide): Drop SHARED conditional because it is implied by
29873 SHLIB_COMPAT.
29874 * libio/iofwrite.c: Assume weak_alias is defined.
29875 * libio/iogetdelim.c: Likewise.
29876 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29877 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29878 (_IO_getwline): Call __wmemcpy directly.
29879 * libio/iopopen.c: Assume _LIBC is defined.
29880 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29881 (_IO_close): Remove macro definitions.
29882 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29883 _exit directly.
29884 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29885 directly.
29886 * libio/ioputs.c: Assume weak_alias is defined.
29887 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29888 * libio/iosetbuffer.c: Assume weak_alias is defined.
29889 * libio/iosetvbuf.c: Likewise.
29890 * libio/ioungetc.c: Likewise.
29891 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29892 libc_hidden_def, libc_hidden_weak, NULL are defined.
29893 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29894 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29895 defined.
29896 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29897 definitions.
29898 (_IO_old_file_init_internal): Drop SHARED conditional because it
29899 is implied by SHLIB_COMPAT.
29900 (_IO_old_file_fopen): Call __open directly.
29901 (_IO_old_file_sync): Assume ESPIPE is defined.
29902 (_IO_old_file_write): Call __write directly.
29903 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29904 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29905 Call __fcntl directly.
29906 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29907 (_IO_old_fgetpos): Assume EIO is defined.
29908 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29909 (_IO_old_fgetpos64): Assume EIO is defined.
29910 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29911 (_IO_old_fsetpos): Assume EIO is defined.
29912 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29913 (_IO_old_fsetpos64): Assume EIO is defined.
29914 * libio/oldiopopen.c: Assume _LIBC is defined.
29915 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29916 (_IO_close): Remove macro definitions.
29917 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29918 directly.
29919 (_IO_old_proc_close): Call __close, __waitpid directly.
29920 * libio/put.c: Assume weak_alias is defined.
29921 * libio/stdfiles.c: Assume _LIBC is defined.
29922 * libio/stdio.c: Likewise.
29923 * libio/wfileops.c: Likewise.
29924 (_IO_wfile_sync): Assume ESPIPE is defined.
29925 * libio/wgenops.c: Assume _LIBC is defined.
29926 (save_for_wbackup): Remove internal_function.
29927
5129873a
FW
299282017-08-31 Florian Weimer <fweimer@redhat.com>
29929
29930 * malloc/malloc.c (top_check): Change return type to void. Remove
29931 internal_function.
29932 * malloc/hooks.c (top_check): Likewise.
29933 (malloc_check, realloc_check, memalign_check): Adjust.
29934
4fa9b3bf
JM
299352017-08-30 Joseph Myers <joseph@codesourcery.com>
29936
29937 [BZ #21457]
29938 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29939 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29940 sigcontext and namespace requirements.
29941 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29942 * sysdeps/m68k/sys/ucontext.h: Likewise.
29943 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29944 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29945 <bits/sigcontext.h>.
29946 (__ctx): Define earlier.
29947 (mcontext_t): Define structure contents rather than using struct
29948 sigcontext.
29949 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29950 __glibc_reserved1 instead of __reserved.
29951 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29952 <bits/sigcontext.h>.
29953 (__ctx): Define earlier.
29954 (mcontext_t): Define structure contents rather than using struct
29955 sigcontext.
29956 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29957 mcontext_t instead of struct sigcontext.
29958 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29959 <bits/sigcontext.h>.
29960 (__ctx): Define earlier.
29961 (mcontext_t): Define structure contents rather than using struct
29962 sigcontext.
29963 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29964 <bits/sigcontext.h>.
29965 (__ctx): Define earlier.
29966 (mcontext_t): Define structure contents rather than using struct
29967 sigcontext.
29968 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29969 mcontext_t instead of struct sigcontext.
29970 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29971 mcontext_t instead of struct sigcontext.
29972 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29973 <bits/sigcontext.h>.
29974 (__ctx): New macro.
29975 (struct __ia64_fpreg_mcontext): New type.
29976 (mcontext_t): Define structure contents rather than using struct
29977 sigcontext.
29978 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29979 (uc_sigmask): Define using __ctx.
29980 (uc_stack): Likewise.
29981 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29982 <bits/sigcontext.h>.
29983 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29984 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29985 <bits/sigcontext.h>.
29986 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29987 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29988 <bits/sigcontext.h>.
29989 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29990 <bits/sigcontext.h>.
29991 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29992 <bits/sigcontext.h>.
29993 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29994 <bits/sigcontext.h>.
29995 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29996 <bits/sigcontext.h>.
29997 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29998 <bits/sigcontext.h>.
29999 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30000 <bits/sigcontext.h>.
30001 (__ctx): Define earlier.
30002 (mcontext_t): Define structure contents rather than using struct
30003 sigcontext.
30004 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30005 <bits/sigcontext.h>. Include <bits/types.h>.
30006 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30007 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30008 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30009 (test-xfail-UNIX98/signal.h/conform): Likewise.
30010 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30011 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30012 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30013 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30014 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30015 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30016 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30017 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30018 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30019
5898f454
FW
300202017-08-30 Florian Weimer <fweimer@redhat.com>
30021
30022 * malloc/dynarray_emplace_enlarge.c
30023 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30024 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30025 * malloc/tst-dynarray.c (test_long_overflow): New function.
30026 (do_test): Call it.
30027
a9da0bb2
FW
300282017-08-30 Florian Weimer <fweimer@redhat.com>
30029
30030 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30031 (set_arena_corrupt): Remove definitions.
30032 (mtrim): Do not check for corrupt arena.
30033 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30034 Likewise.
30035
ac3ed168
FW
300362017-08-30 Florian Weimer <fweimer@redhat.com>
30037
30038 [BZ #21754]
30039 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30040 check_action.
30041 (ptmalloc_init): Do not set or use check_action.
30042 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30043 call to malloc_printerr. Remove return statement.
30044 (free_check): Likewise. Remove arena unlock.
30045 (top_check): Update comment. Adjust call to malloc_printerr.
30046 Remove heap repair code.
30047 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30048 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30049 (sysmalloc): Adjust call to malloc_printerr.
30050 (munmap_chunk, __libc_realloc): Likewise. Remove return
30051 statement.
30052 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30053 Remove errout label and corresponding gotos.
30054 (_int_free): Likewise. Remove arena unlock.
30055 (do_set_mallopt_check): Do not set check_action.
30056 (malloc_printerr): Adjust parameter list. Do not mark arena as
30057 corrupt.
30058 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30059 comment.
30060 * manual/probes.texi (Memory Allocation Probes): Remove
30061 memory_mallopt_check_action.
30062
44bcba80
SE
300632017-08-30 Steve Ellcey <sellcey@cavium.com>
30064
30065 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30066 Use pointer to uint64_t instead of long int for sp.
30067
ec2c1fce
FW
300682017-08-30 Florian Weimer <fweimer@redhat.com>
30069
30070 [BZ #21754]
30071 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30072 without printing a backtrace. Do not leak any information in the
30073 error message.
30074 * manual/memory.texi (Heap Consistency Checking): Update.
30075 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30076
9ce673b6
FW
300772017-08-30 Florian Weimer <fweimer@redhat.com>
30078
30079 Do not scale NPTL tests with available number of CPUs.
30080 * nptl/tst-cond16.c (count): Set to constant value of 8.
30081 * nptl/tst-cond18.c (count): Likewise.
30082
2f1aef19
JM
300832017-08-29 Joseph Myers <joseph@codesourcery.com>
30084
30085 [BZ #22035]
30086 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30087 Define to take a second argument that is a macro that
30088 concatentates a suffix, not the suffix itself.
30089 (__CONCAT_d): New macro.
30090 (__CONCAT_f): Likewise.
30091 (__CONCAT_l): Likewise.
30092
8325b477
PP
300932017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30094
30095 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30096 by child.
30097
319cbbf6
AZ
300982017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30099 Aurelien Jarno <aurelien@aurel32.net>
30100 Maciej W. Rozycki <macro@imgtec.com>
30101
30102 [BZ #21956]
30103 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30104 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30105 `mips16-syscall6' and `mips16-syscall7'.
30106 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30107 (CFLAGS-mips16-syscall7.c): Remove.
30108 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30109 Remove `__mips16_syscall5', `__mips16_syscall6' and
30110 `__mips16_syscall7'.
30111 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30112 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30113 `__mips_syscall_return'.
30114 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30115 (__mips16_syscall1): Likewise.
30116 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30117 (__mips16_syscall2): Likewise.
30118 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30119 (__mips16_syscall3): Likewise.
30120 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30121 (__mips16_syscall4): Likewise.
30122 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30123 Remove.
30124 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30125 Remove.
30126 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30127 Remove.
30128 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30129 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30130 `__mips16_syscall5'. Remove prototype.
30131 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30132 `__mips16_syscall6'. Remove prototype.
30133 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30134 `__mips16_syscall7'. Remove prototype.
30135 (__nomips16, __mips16_syscall_return): Move to...
30136 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30137 (__nomips16, __mips_syscall_return): ... here.
30138 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30139 `__mips16_syscall_return' to `__mips_syscall_return'.
30140 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30141 `internal_syscall##nr'.
30142 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30143 `internal_syscall##nr'.
30144 (FORCE_FRAME_POINTER): Remove.
30145 (__mips_syscall5): New prototype.
30146 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30147 (__mips_syscall6): New prototype.
30148 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30149 (__mips_syscall7): New prototype.
30150 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30151 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30152 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30153 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30154 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30155 (sysdep_routines): Add libc-do-syscall.
30156 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30157 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30158
01b87c65
AZ
301592017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30160
30161 [BZ #21672]
30162 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30163 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30164 (advise_stack_range): New function.
30165 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30166 stack non required to advise_stack_range at allocatestack.c
30167
16f138a4
SN
301682017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30169
30170 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30171
251bccfa
FW
301722017-08-29 Florian Weimer <fweimer@redhat.com>
30173
30174 [BZ #22026]
30175 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30176 __end_fct. Mangle __end_fct after setting it to NULL.
30177 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30178 (modules-names, modules-names-tests): Add
30179 tst-gconv-init-failure-mod.
30180 (gconv-modules): New target.
30181 (tst-gconv-init-failure-mod.so): Link against libsupport.
30182 (tst-gconv-init-failure): Depend on gconv-modules,
30183 tst-gconv-init-failure-mod.so.
30184 * iconv/tst-gconv-init-failure-mod.c: New file.
30185 * iconv/tst-gconv-init-failure.c: Likewise.
30186 * iconv/test-gconv-modules: Likewise.
30187
e7c18b9d
FW
301882017-08-29 Florian Weimer <fweimer@redhat.com>
30189
30190 [BZ #22025]
30191 * iconv/gconv_db.c (free_derivation): Remove redundant
30192 parentheses.
30193 (gen_steps): Unconditionally mangle __btowc_fct after
30194 initialization.
30195 (increment_counter): Likewise. Do not call init_fct for internal
30196 modules.
30197
7daada03
JM
301982017-08-29 Joseph Myers <joseph@codesourcery.com>
30199
30200 [BZ #22028]
30201 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30202 (_MSUF_): Remove macro.
30203 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30204 Likewise.
30205 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30206 (__REDIRFROM_X): New macro.
30207 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30208 Likewise.
30209 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30210 (__REDIRTO_X): Likewise.
30211 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30212 arguments.
30213 (__MATH_REDIRCALL_2): Likewise.
30214 (__MATH_REDIRCALL_INTERNAL): Likewise.
30215 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30216 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30217 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30218 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30219 * math/test-finite-macros.c: New file.
30220 * math/Makefile (tests): Add test-finite-macros.
30221 (CFLAGS-test-finite-macros.c): New variable.
30222
1cf1232c
PF
302232017-08-29 Patsy Franklin <pfrankli@redhat.com>
30224 Jeff Law <law@redhat.com>
30225
30226 [BZ #22025]
30227 Mangle NULL pointers in iconv/gconv.
30228 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30229 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30230 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30231 is non-NULL before demangling the end_fct. Check for NULL
30232 end_fct after demangling.
30233 (__gconv_release_step): Demangle the end_fct before checking
30234 it for NULL. Remove assert on __shlibc_handle != NULL.
30235 (gen_steps): Don't check btowc_fct for NULL before mangling.
30236 Demangle init_fct before checking for NULL.
30237 (increment_counter): Likewise.
30238 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30239 end_fct for NULL before mangling.
30240 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30241 for NULL.
30242
c207f7ce 302432017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
30244
30245 [BZ #21971]
30246 * locale/iso-639.def: add Morisyen.
30247
42496114
GG
302482017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30249
30250 [BZ #21930]
30251 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30252 (iszero): New C++ implementation that does not use
30253 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30254 signaling nans are enabled, since __builtin_types_compatible_p
30255 is a C-only feature.
30256 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30257 defined, include ieee754_float128.h for access to the union and
30258 member ieee854_float128.ieee.
30259 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30260 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30261 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30262 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30263 options of test-math-zero on powerpc64le.
30264
5e2bc4ff
L
302652017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30266
30267 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30268 Change double to float.
30269
a48c0fb4
JM
302702017-08-28 Joseph Myers <joseph@codesourcery.com>
30271
30272 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30273 unconditional.
30274 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30275 conditional code; define contents only for [LIBM_SVID_COMPAT].
30276
ee17d4e9
FW
302772017-08-28 Florian Weimer <fweimer@redhat.com>
30278
30279 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30280 (abi-lp64_be-options): Remove.
30281 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30282 (abi-hard-options): Likewise.
30283 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30284 (abi-o32_hard-options, abi-o32_soft_2008-options)
30285 (abi-o32_hard_2008-options, abi-n32_soft-options)
30286 (abi-n32_hard-options, abi-n32_soft_2008-options)
30287 (abi-n32_hard_2008-options, abi-n64_soft-options)
30288 (abi-n64_hard-options, abi-n64_soft_2008-options)
30289 (abi-n64_hard_2008-options): Likewise.
30290 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30291 (abi-64-v1-options, abi-64-v2-options): Likewise.
30292 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30293 (abi-64-options): Likewise.
30294 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30295 (abi-64-options): Likewise.
30296 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30297 (abi-64-options): Likewise.
30298 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30299 (abi-64-options, abi-x32-options): Likewise.
30300
2dba5ce7
FW
303012017-08-28 Florian Weimer <fweimer@redhat.com>
30302
30303 Store supported list of SYS_* system calls in the source tree.
30304 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30305 (bits/syscall.h): Generate from list file.
30306 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30307 [$(subdir) = misc] (tests): Add tst-syscall-list.
30308 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30309 [$(subdir) = misc] (tst-syscall-list-macros.list)
30310 [$(subdir) = misc] (tst-syscall-list-nr.list)
30311 (tst-syscall-list-sys.list): Helper targets for new
30312 tst-syscall-list test.
30313 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30314 tst-syscall-list.sh.
30315 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30316 target. Do not include bits/syscall.d.
30317 [$(subdir) = misc] (generated): Do not update.
30318 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30319 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30320 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30321 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30322
5f3b183d
PP
303232017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30324
30325 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30326 (tst-cxa_atexit, tst-on_exit): Likewise.
30327 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30328 tst-cxa_atexit, and tst-on_exit.
30329 * stdlib/tst-atexit-common.c: New file.
30330 * stdlib/tst-atexit.c: New file.
30331 * stdlib/tst-at_quick_exit.c: New file.
30332 * stdlib/tst-cxa_atexit.c: New file.
30333 * stdlib/tst-on_exit.c: New file.
30334
2ef8d469
ST
303352017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30336
30337 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
30338 * mach/stack_chk_fail_local.c: New file.
30339 * hurd/stack_chk_fail_local.c: New file.
30340 * mach/Machrules ($(interface-library)-routines): Add
30341 stack_chk_fail_local.
99ee4d26
ST
30342 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30343 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30344 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30345 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30346 * hurd/Makefile (CFLAGS-hurdstartup.o,
30347 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 30348
7ab70c98
L
303492017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30350
30351 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30352 (index_cpu_*, index_arch_*): Removed.
30353
39e7a5a6
SN
303542017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30355
30356 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30357 Use uint64_t instead of unsigned long.
30358
bba5c930
JM
303592017-08-25 Joseph Myers <joseph@codesourcery.com>
30360
a6ccdb08
JM
30361 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30362 [__HAVE_DISTINCT_FLOAT128].
30363
23761119
JM
30364 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30365 of <bits/math-finite.h>.
30366 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30367 inclusion of <bits/math-finite.h>.
30368 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30369 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30370 __NO_LONG_DOUBLE_MATH].
30371 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30372 (__MATH_REDIRCALL_2): Likewise.
30373 (__MATH_REDIRCALL_INTERNAL): Likewise.
30374 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30375 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30376 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30377
bba5c930
JM
30378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30379 Remove file.
30380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30381 Likewise.
30382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30383 Likewise.
30384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30385 Likewise.
30386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30387 Likewise.
30388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30389 Likewise.
30390 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30391 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30392 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30393 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30395 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30396 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30397 w_sqrtf_compat-ppc32.
30398
3d7b66f6
GG
303992017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30400
30401 * math/math.h [defined __cplusplus] (issignaling): In the long
30402 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30403 is not defined. Call __issignaling, otherwise.
30404
ebd6f007
AZ
304052017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30406
30407 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30408 syscall definitions and replace __builtin_expect with __glibc_likely.
30409 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30410 syscall.
30411 (SYSCALL_CANCELLABLE): Removedefinition
30412 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30413 definition.
30414 (PSEUDO_END): Likewise.
30415 [IS_IN (libpthread)] (CENABLE): Likewise.
30416 [IS_IN (libpthread)] (CDISABLE): Likewise.
30417 [IS_IN (libc)] (CENABLE): Likewise.
30418 [IS_IN (libc)] (CENABLE): Likewise.
30419 [IS_IN (librt)] (CDISABLE): Likewise.
30420 [IS_IN (librt)] (CDISABLE): Likewise.
30421 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30422 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30423 definition.
30424 (PSEUDO_END): Likewise.
30425 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30426 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30427 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30428 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30429 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30430 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30431 (CENABLE): Likewise.
30432 (CDISABLE): Likewise.
30433 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30434 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30435 defintion.
30436 (PSEUDO_END): Likewise.
30437 [IS_IN (libpthread)] (CENABLE): Likewise.
30438 [IS_IN (libpthread)] (CDISABLE): Likewise.
30439 [IS_IN (libc)] (CENABLE): Likewise.
30440 [IS_IN (libc)] (CENABLE): Likewise.
30441 [IS_IN (librt)] (CDISABLE): Likewise.
30442 [IS_IN (librt)] (CDISABLE): Likewise.
30443 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30444 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30445 definition.
30446 (PSEUDO_END): Likewise.
30447 [IS_IN (libpthread)] (CENABLE): Likewise.
30448 [IS_IN (libpthread)] (CDISABLE): Likewise.
30449 [IS_IN (libc)] (CENABLE): Likewise.
30450 [IS_IN (libc)] (CENABLE): Likewise.
30451 [IS_IN (librt)] (CDISABLE): Likewise.
30452 [IS_IN (librt)] (CDISABLE): Likewise.
30453 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30454 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30455 definition.
30456 (PSEUDO_END): Likewise.
30457 [IS_IN (libpthread)] (CENABLE): Likewise.
30458 [IS_IN (libpthread)] (CDISABLE): Likewise.
30459 [IS_IN (libc)] (CENABLE): Likewise.
30460 [IS_IN (libc)] (CENABLE): Likewise.
30461 [IS_IN (librt)] (CDISABLE): Likewise.
30462 [IS_IN (librt)] (CDISABLE): Likewise.
30463 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30464 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30465 definition.
30466 (PSEUDO_END): Likewise.
30467 [IS_IN (libpthread)] (CENABLE): Likewise.
30468 [IS_IN (libpthread)] (CDISABLE): Likewise.
30469 [IS_IN (libc)] (CENABLE): Likewise.
30470 [IS_IN (libc)] (CENABLE): Likewise.
30471 [IS_IN (librt)] (CDISABLE): Likewise.
30472 [IS_IN (librt)] (CDISABLE): Likewise.
30473 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30474 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30475 definition.
30476 (PSEUDO_END): Likewise.
30477 [IS_IN (libpthread)] (CENABLE): Likewise.
30478 [IS_IN (libpthread)] (CDISABLE): Likewise.
30479 [IS_IN (libc)] (CENABLE): Likewise.
30480 [IS_IN (libc)] (CENABLE): Likewise.
30481 [IS_IN (librt)] (CDISABLE): Likewise.
30482 [IS_IN (librt)] (CDISABLE): Likewise.
30483 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30484 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30485 definition.
30486 (PSEUDO_END): Likewise.
30487 [IS_IN (libpthread)] (CENABLE): Likewise.
30488 [IS_IN (libpthread)] (CDISABLE): Likewise.
30489 [IS_IN (libc)] (CENABLE): Likewise.
30490 [IS_IN (libc)] (CENABLE): Likewise.
30491 [IS_IN (librt)] (CDISABLE): Likewise.
30492 [IS_IN (librt)] (CDISABLE): Likewise.
30493 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30494 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30495 Remove definition.
30496 (PSEUDO_END): Likewise.
30497 [IS_IN (libpthread)] (CENABLE): Likewise.
30498 [IS_IN (libpthread)] (CDISABLE): Likewise.
30499 [IS_IN (libc)] (CENABLE): Likewise.
30500 [IS_IN (libc)] (CENABLE): Likewise.
30501 [IS_IN (librt)] (CDISABLE): Likewise.
30502 [IS_IN (librt)] (CDISABLE): Likewise.
30503 (SINGLE_THREAD_P): Likewise.
30504 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30505 definition.
30506 (PSEUDO_END): Likewise.
30507 [IS_IN (libpthread)] (CENABLE): Likewise.
30508 [IS_IN (libpthread)] (CDISABLE): Likewise.
30509 [IS_IN (libc)] (CENABLE): Likewise.
30510 [IS_IN (libc)] (CENABLE): Likewise.
30511 [IS_IN (librt)] (CDISABLE): Likewise.
30512 [IS_IN (librt)] (CDISABLE): Likewise.
30513 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30514 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30515 definition.
30516 (PSEUDO_END): Likewise.
30517 [IS_IN (libpthread)] (CENABLE): Likewise.
30518 [IS_IN (libpthread)] (CDISABLE): Likewise.
30519 [IS_IN (libc)] (CENABLE): Likewise.
30520 [IS_IN (libc)] (CENABLE): Likewise.
30521 [IS_IN (librt)] (CDISABLE): Likewise.
30522 [IS_IN (librt)] (CDISABLE): Likewise.
30523 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30524 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30525 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30526 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30527 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30528 definition.
30529 (PSEUDO_END): Likewise.
30530 [IS_IN (libpthread)] (CENABLE): Likewise.
30531 [IS_IN (libpthread)] (CDISABLE): Likewise.
30532 [IS_IN (libc)] (CENABLE): Likewise.
30533 [IS_IN (libc)] (CENABLE): Likewise.
30534 [IS_IN (librt)] (CDISABLE): Likewise.
30535 [IS_IN (librt)] (CDISABLE): Likewise.
30536 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30537 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30538 definition.
30539 (PSEUDO_END): Likewise.
30540 [IS_IN (libpthread)] (CENABLE): Likewise.
30541 [IS_IN (libpthread)] (CDISABLE): Likewise.
30542 [IS_IN (libc)] (CENABLE): Likewise.
30543 [IS_IN (libc)] (CENABLE): Likewise.
30544 [IS_IN (librt)] (CDISABLE): Likewise.
30545 [IS_IN (librt)] (CDISABLE): Likewise.
30546 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30547 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30548 definition.
30549 (PSEUDO_END): Likewise.
30550 [IS_IN (libpthread)] (CENABLE): Likewise.
30551 [IS_IN (libpthread)] (CDISABLE): Likewise.
30552 [IS_IN (libc)] (CENABLE): Likewise.
30553 [IS_IN (libc)] (CENABLE): Likewise.
30554 [IS_IN (librt)] (CDISABLE): Likewise.
30555 [IS_IN (librt)] (CDISABLE): Likewise.
30556 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30559 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30560 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30561 definition.
30562 (PSEUDO_END): Likewise.
30563 [IS_IN (libpthread)] (CENABLE): Likewise.
30564 [IS_IN (libpthread)] (CDISABLE): Likewise.
30565 [IS_IN (libc)] (CENABLE): Likewise.
30566 [IS_IN (libc)] (CENABLE): Likewise.
30567 [IS_IN (librt)] (CDISABLE): Likewise.
30568 [IS_IN (librt)] (CDISABLE): Likewise.
30569 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30570 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30571 definition.
30572 (PSEUDO_END): Likewise.
30573 [IS_IN (libpthread)] (CENABLE): Likewise.
30574 [IS_IN (libpthread)] (CDISABLE): Likewise.
30575 [IS_IN (libc)] (CENABLE): Likewise.
30576 [IS_IN (libc)] (CENABLE): Likewise.
30577 [IS_IN (librt)] (CDISABLE): Likewise.
30578 [IS_IN (librt)] (CDISABLE): Likewise.
30579 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30580
8aa48656
SN
305812017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30582
30583 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30584
fcaaca41
L
305852017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30586
30587 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30588
376b40a2
L
305892017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30590
30591 [BZ #21982]
30592 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30593 middle and outer with size_t instead of int. Repleace %d and
30594 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30595 "MAX (outer, nchars - 64)" to support unsigned outer and
30596 nchars. Also exit loop when outer == 0.
30597
2b0b9a1c
AZ
305982017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30599
30600 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30601 * include/signal.h (__sigsuspend_nocancel): Likewise.
30602 * include/time.h (__nanosleep_nocancel): Likewise.
30603 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30604 * login/utmp_file.c: Include non cancellable syscall header.
30605 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30606 prototype.
30607
b9eaca8f
L
306082017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30609
30610 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30611 .byte sequences with AVX512F instructions.
30612 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30613 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30614 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30615 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30616 Likewise.
30617 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30618 Likewise.
30619
5a706f64
SE
306202017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30621 Steve Ellcey <sellcey@cavium.com>
30622
30623 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30624 Use PTR_REG macro in cmp instruction.
30625
b513da7e
GG
306262017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30627
30628 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30629 Change the return type of the ifunc resolver to match the return
30630 type of the target function.
30631
78ca091c
AZ
306322017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30633
b70b6026
AZ
30634 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30635 (preadv64): Likewise.
30636 (pwrite64(: Likewise.
30637 (pwritev64): Likewise.
30638
78ca091c
AZ
30639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30640 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30641 (LOAD_ARGS_0): Likewise.
30642 (LOAD_ARGS_1): Likewise.
30643 (LOAD_ARGS_2): Likewise.
30644 (LOAD_ARGS_3): Likewise.
30645 (LOAD_ARGS_4): Likewise.
30646 (LOAD_ARGS_5): Likewise.
30647 (LOAD_ARGS_6): Likewise.
30648 (LOAD_REGS_0): Likewise.
30649 (LOAD_REGS_1): Likewise.
30650 (LOAD_REGS_2): Likewise.
30651 (LOAD_REGS_3): Likewise.
30652 (LOAD_REGS_4): Likewise.
30653 (LOAD_REGS_5): Likewise.
30654 (LOAD_REGS_6): Likewise.
30655 (ASM_ARGS_0): Likewise.
30656 (ASM_ARGS_1): Likewise.
30657 (ASM_ARGS_2): Likewise.
30658 (ASM_ARGS_3): Likewise.
30659 (ASM_ARGS_4): Likewise.
30660 (ASM_ARGS_5): Likewise.
30661 (ASM_ARGS_6): Likewise.
30662 (LOAD_ARGS_TYPES_1): Likewise.
30663 (LOAD_ARGS_TYPES_2): Likewise.
30664 (LOAD_ARGS_TYPES_3): Likewise.
30665 (LOAD_ARGS_TYPES_4): Likewise.
30666 (LOAD_ARGS_TYPES_5): Likewise.
30667 (LOAD_ARGS_TYPES_6): Likewise.
30668 (LOAD_REGS_TYPES_1): Likewise.
30669 (LOAD_REGS_TYPES_2): Likewise.
30670 (LOAD_REGS_TYPES_3): Likewise.
30671 (LOAD_REGS_TYPES_4): Likewise.
30672 (LOAD_REGS_TYPES_5): Likewise.
30673 (LOAD_REGS_TYPES_6): Likewise.
30674 (TYPEFY): New define.
30675 (ARGIFY): Likewise.
30676 (internal_syscall0): Likewise.
30677 (internal_syscall1): Likewise.
30678 (internal_syscall2): Likewise.
30679 (internal_syscall3): Likewise.
30680 (internal_syscall4): Likewise.
30681 (internal_syscall5): Likewise.
30682 (internal_syscall6): Likewise.
30683 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30684 (INTERNAL_SYSCALL_NCS): Remove define.
30685 (internal_syscall1): Add define.
30686
453a493d
GG
306872017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30688
30689 * math/w_remainder_compat.c: Remove duplicate inclusion of
30690 math-svid-compat.h.
30691 * math/w_remainderf_compat.c: Likewise.
30692 * math/w_remainderl_compat.c: Likewise.
30693
f2f048a5
GG
306942017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30695
30696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30697
d9bef9c0
JM
306982017-08-22 Joseph Myers <joseph@codesourcery.com>
30699
30700 [BZ #21684]
30701 * math/tgmath.h (__floating_type): Simplify definitions.
30702 (__real_integer_type): New macro.
30703 (__complex_integer_type): Likewise.
30704 (__expr_is_real): Likewise.
30705 (__tgmath_real_type_sub): Update comment to describe handling of
30706 complex types.
30707 (__tgmath_complex_type_sub): New macro.
30708 (__tgmath_complex_type): Likewise.
30709 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30710 (__TGMATH_CF128): Use __expr_is_real.
30711 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30712 __expr_is_real.
30713 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30714 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30715 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30716 integer types.
30717
08d6eb46
AZ
307182017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30719
988f991b
AZ
30720 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30721 macro.
30722 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30723 alias.
30724 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30725 Likewise.
30726
6f33fd04
AZ
30727 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30728 nanosleep_not_cancel with __nanosleep_nocancel.
30729 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30730 (__nanosleep_nocancel): New macro.
30731 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30732 function.
30733 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30734 macro.
30735 (__nanosleep_nocancel): New prototype.
30736
08d6eb46
AZ
30737 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30738 pause_not_cancel with __pause_nocancel.
30739 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30740 (__pause_nocancel): New macro.
30741 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30742 macro.
30743 (__pause_nocancel): New prototype.
30744 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30745
ee4e992e
MS
307462017-08-22 Martin Sebor <msebor@redhat.com>
30747
30748 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30749 to return a pointer to the same type as the target function.
30750
20962acb
L
307512017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30752
30753 [BZ #18822]
30754 [BZ #21986]
30755 * include/printf.h (__printf_fphex): Add attribute_hidden.
30756 (__guess_grouping): New prototype.
30757 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30758 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30759 libc_hidden_proto and libc_hidden_def.
30760 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30761 (__vstrfmon_l): Remove the third argument passed to
30762 __guess_grouping.
30763
a16e8bc0
GG
307642017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30765
30766 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30767 definition for issignaling that does not rely on __MATH_TG,
30768 since __MATH_TG uses __builtin_types_compatible_p, which is only
30769 available in C mode.
30770 (CFLAGS-test-math-issignaling.cc): New variable.
30771 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30772 * math/test-math-issignaling.cc: New test for C++ implementation
30773 of type-generic issignaling.
30774 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30775 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30776 options of test-math-issignaling on powerpc64le.
30777
8d2ec553
L
307782017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30779
30780 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30781 building libc.a.
30782 (hidden_proto): Likewise.
30783 (hidden_tls_proto): Likewise.
30784 (__hidden_proto): Likewise.
30785
a4d57b79
FW
307862017-08-22 Florian Weimer <fweimer@redhat.com>
30787
30788 math: Statically link tests of internal functionality.
30789 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30790 atest-exp2.
30791 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30792 (gmp-objs): Remove assignment.
30793 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30794
75dfe623
JM
307952017-08-22 Joseph Myers <joseph@codesourcery.com>
30796
80f91666
JM
30797 [BZ #21987]
30798 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30799 and copy to ...
30800 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30801 ... here.
30802 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30803 ... and here.
30804
75dfe623
JM
30805 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30806 variable definitions above inclusion of ../Rules.
30807
ea99fcd0
JM
308082017-08-21 Joseph Myers <joseph@codesourcery.com>
30809
30810 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30811 case calling __builtin_unreachable.
30812
19926de9
AZ
308132017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30814
a8410a5f
AZ
30815 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30816 __waitpid_nocancel.
30817 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30818 (__waitpid_nocancel): New macro.
30819 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30820 macro.
30821 (__waitpid_nocancel): Replace macro with a function.
30822 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30823 function.
30824
7369800c
AZ
30825 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30826 __fcntl_nocancel.
30827 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30828 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30829
19926de9
AZ
30830 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30831 __writev_nocancel_nostatus.
30832 (write_call_graph): Likewise.
30833 (write_bb_counts): Likewise.
30834 * resolv/herror.c (herror): Likewise.
30835 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30836 macro.
30837 (__writev_nocancel_nostatus): New macro.
30838 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30839 Remove macro.
30840 (__writev_nocancel_nostatus): New function.
30841
813378e9
JM
308422017-08-21 Joseph Myers <joseph@codesourcery.com>
30843
df1deda6
JM
30844 Revert:
30845 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30846
30847 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30848 building libc.a.
30849 (hidden_proto): Likewise.
30850 (hidden_tls_proto): Likewise.
30851 (__hidden_proto): Likewise.
30852
831bbd55
JM
30853 [BZ #21973]
30854 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30855 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30857 Likewise.
30858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30859 Likewise.
30860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30861 Likewise.
30862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30863 Likewise.
30864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30865 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30866 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30867 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30868 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30869 GLIBC_2.0 sqrtl symbol.
30870
813378e9
JM
30871 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30872 [__USE_MISC] (_LIB_VERSION): Likewise.
30873 [__USE_MISC] (struct exception): Likewise.
30874 [__USE_MISC] (matherr): Likewise.
30875 [__USE_MISC] (DOMAIN): Likewise.
30876 [__USE_MISC] (SING): Likewise.
30877 [__USE_MISC] (OVERFLOW): Likewise.
30878 [__USE_MISC] (UNDERFLOW): Likewise.
30879 [__USE_MISC] (TLOSS): Likewise.
30880 [__USE_MISC] (PLOSS): Likewise.
30881 [__USE_MISC] (HUGE): Likewise.
30882 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30883 * math/math-svid-compat.h: New file.
30884 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30885 and matherrl.
30886 * include/math.h [!_ISOMAC] (__matherr): Remove.
30887 * manual/arith.texi (FP Exceptions): Do not document matherr.
30888 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30889 (tests-internal): New variable.
30890 (install-lib): Do not add libieee.a.
30891 (non-lib.a): Likewise.
30892 (extra-objs): Do not add libieee.a and ieee-math.o.
30893 (CPPFLAGS-s_lib_version.c): Remove variable.
30894 ($(objpfx)libieee.a): Remove rule.
30895 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30896 * math/ieee-math.c: Remove.
30897 * math/libm-test-support.c (matherr): Remove.
30898 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30899 and license notices. Include <math-svid-compat.h> and
30900 <shlib-compat.h>.
30901 (matherr): Undefine as macro. Use compat_symbol_reference.
30902 (_LIB_VERSION): Likewise.
30903 * math/test-matherr-2.c: New file.
30904 * math/test-matherr-3.c: Likewise.
30905 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30906 declaration.
30907 (__kernel_standard_f): Likewise.
30908 (__kernel_standard_l): Likewise.
30909 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30910 <math_private.h>. Include <math-svid-compat.h>.
30911 (_LIB_VERSION): Undefine as macro.
30912 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30913 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30914 [LIBM_SVID_COMPAT], use compat_symbol.
30915 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30916 <math_private.h>. Include <math-svid-compat.h>.
30917 (matherr): Undefine as macro.
30918 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30919 compat_symbol.
30920 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30921 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30922 compat_symbol_reference.
30923 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30924 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30925 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30926 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30927 (MATHERR_D): Remove declaration.
30928 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30929 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30930 [LIBM_BUILD] (pmatherrf): Likewise.
30931 [LIBM_BUILD] (pmatherr): Likewise.
30932 [LIBM_BUILD] (pmatherrl): Likewise.
30933 (DOMAIN): Likewise.
30934 (SING): Likewise.
30935 (OVERFLOW): Likewise.
30936 (UNDERFLOW): Likewise.
30937 (TLOSS): Likewise.
30938 (PLOSS): Likewise.
30939 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30940 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30941 compat_symbol.
30942 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30943 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30944 compat_symbol.
30945 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30946 * math/w_acos_compat.c: Likewise.
30947 * math/w_acosf_compat.c: Likewise.
30948 * math/w_acosh_compat.c: Likewise.
30949 * math/w_acoshf_compat.c: Likewise.
30950 * math/w_acoshl_compat.c: Likewise.
30951 * math/w_acosl_compat.c: Likewise.
30952 * math/w_asin_compat.c: Likewise.
30953 * math/w_asinf_compat.c: Likewise.
30954 * math/w_asinl_compat.c: Likewise.
30955 * math/w_atan2_compat.c: Likewise.
30956 * math/w_atan2f_compat.c: Likewise.
30957 * math/w_atan2l_compat.c: Likewise.
30958 * math/w_atanh_compat.c: Likewise.
30959 * math/w_atanhf_compat.c: Likewise.
30960 * math/w_atanhl_compat.c: Likewise.
30961 * math/w_cosh_compat.c: Likewise.
30962 * math/w_coshf_compat.c: Likewise.
30963 * math/w_coshl_compat.c: Likewise.
30964 * math/w_exp10_compat.c: Likewise.
30965 * math/w_exp10f_compat.c: Likewise.
30966 * math/w_exp10l_compat.c: Likewise.
30967 * math/w_exp2_compat.c: Likewise.
30968 * math/w_exp2f_compat.c: Likewise.
30969 * math/w_exp2l_compat.c: Likewise.
30970 * math/w_fmod_compat.c: Likewise.
30971 * math/w_fmodf_compat.c: Likewise.
30972 * math/w_fmodl_compat.c: Likewise.
30973 * math/w_hypot_compat.c: Likewise.
30974 * math/w_hypotf_compat.c: Likewise.
30975 * math/w_hypotl_compat.c: Likewise.
30976 * math/w_j0_compat.c: Likewise.
30977 * math/w_j0f_compat.c: Likewise.
30978 * math/w_j0l_compat.c: Likewise.
30979 * math/w_j1_compat.c: Likewise.
30980 * math/w_j1f_compat.c: Likewise.
30981 * math/w_j1l_compat.c: Likewise.
30982 * math/w_jn_compat.c: Likewise.
30983 * math/w_jnf_compat.c: Likewise.
30984 * math/w_jnl_compat.c: Likewise.
30985 * math/w_lgamma_main.c: Likewise.
30986 * math/w_lgamma_r_compat.c: Likewise.
30987 * math/w_lgammaf_main.c: Likewise.
30988 * math/w_lgammaf_r_compat.c: Likewise.
30989 * math/w_lgammal_main.c: Likewise.
30990 * math/w_lgammal_r_compat.c: Likewise.
30991 * math/w_log10_compat.c: Likewise.
30992 * math/w_log10f_compat.c: Likewise.
30993 * math/w_log10l_compat.c: Likewise.
30994 * math/w_log2_compat.c: Likewise.
30995 * math/w_log2f_compat.c: Likewise.
30996 * math/w_log2l_compat.c: Likewise.
30997 * math/w_log_compat.c: Likewise.
30998 * math/w_logf_compat.c: Likewise.
30999 * math/w_logl_compat.c: Likewise.
31000 * math/w_pow_compat.c: Likewise.
31001 * math/w_powf_compat.c: Likewise.
31002 * math/w_powl_compat.c: Likewise.
31003 * math/w_remainder_compat.c: Likewise.
31004 * math/w_remainderf_compat.c: Likewise.
31005 * math/w_remainderl_compat.c: Likewise.
31006 * math/w_scalb_compat.c: Likewise.
31007 * math/w_scalbf_compat.c: Likewise.
31008 * math/w_scalbl_compat.c: Likewise.
31009 * math/w_sinh_compat.c: Likewise.
31010 * math/w_sinhf_compat.c: Likewise.
31011 * math/w_sinhl_compat.c: Likewise.
31012 * math/w_sqrt_compat.c: Likewise.
31013 * math/w_sqrtf_compat.c: Likewise.
31014 * math/w_sqrtl_compat.c: Likewise.
31015 * math/w_tgamma_compat.c: Likewise.
31016 * math/w_tgammaf_compat.c: Likewise.
31017 * math/w_tgammal_compat.c: Likewise.
31018 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31019 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31020 * sysdeps/ieee754/k_standard.c: Likewise.
31021 * sysdeps/ieee754/k_standardf.c: Likewise.
31022 * sysdeps/ieee754/k_standardl.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31025 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31026 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31027 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31028 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31029 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31030 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31031 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31033 Likewise.
31034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31035 Likewise.
31036 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31037 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31038 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31039 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31040
4504783c
FW
310412017-08-21 Florian Weimer <fweimer@redhat.com>
31042
31043 [BZ #21864]
31044 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31045 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31046 Move before inclusion of ../Rules.
31047
b5889d25
FW
310482017-08-21 Florian Weimer <fweimer@redhat.com>
31049
31050 [BZ #21972]
31051 * assert/assert.h (assert): Use static_cast (bool) for C++.
31052 Use the ternary operator in the warning branch for GNU C.
31053 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31054 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31055 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31056 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31057 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31058
41e673c1
L
310592017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31060
31061 [BZ #18822]
31062 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31063 (__syscall_clock_gettime): Add attribute_hidden.
31064 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31065 (__start_context): Likewise.
31066
568ff429
L
310672017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31068
31069 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31070 building libc.a.
31071 (hidden_proto): Likewise.
31072 (hidden_tls_proto): Likewise.
31073 (__hidden_proto): Likewise.
31074
7c41b4a1
L
310752017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31076
31077 * include/libc-symbols.h (attribute_hidden): Enable hidden
31078 visibility in libc.a compiled with PIE.
31079
483d7068
L
310802017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31081
31082 [BZ #18822]
31083 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31084 Add attribute_hidden.
31085
310862017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31087
31088 [BZ #21864]
31089 * Makerules (all-nonlib): Add $(others-extras).
31090 * catgets/Makefile (others-extras): New.
31091 * elf/Makefile (others-extras): Likewise.
31092 * nss/Makefile (others-extras): Likewise.
31093
54e4b8f2
L
310942017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31095
31096 [BZ #18822]
31097 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31098 * elf/dl-open.c: Include <libc-internal.h>.
31099 (__libc_multiple_libcs): Removed.
31100 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31101 <hp-timing.h>.
31102 * include/libc-internal.h (__libc_multiple_libcs): New.
31103 * misc/sbrk.c: Include <libc-internal.h>.
31104 (__libc_multiple_libcs): Removed.
31105
1dbbb1ec
L
311062017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31107
31108 [BZ #18822]
31109 * grp/initgroups.c (__nss_group_database): Removed.
31110 (__nss_initgroups_database): Likewise.
31111 * nscd/gai.c (__nss_hosts_database): Likewise.
31112 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31113 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31114 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31115 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31116 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31117 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31118 attribute_hidden.
31119 * nss/nsswitch.c (__nss_database_custom): Define only if
31120 USE_NSCD is defined.
31121 (__nss_configure_lookup): Use __nss_database_custom only if
31122 USE_NSCD is defined.
31123 * nss/nsswitch.h (__nss_database_custom): Declare only if
31124 USE_NSCD is defined. Add attribute_hidden.
31125 (__nss_setent): Add attribute_hidden.
31126 (__nss_endent): Likewise.
31127 (__nss_getent_r): Likewise.
31128 (__nss_getent): Likewise.
31129 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31130
2585d7b8
L
311312017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31132
31133 [BZ #18822]
31134 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31135 libc_hidden_proto and libc_hidden_def.
31136
c8dfa99c
L
311372017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31138
31139 [BZ #18822]
31140 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31141 Add libc_hidden_proto.
31142 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31143 Add libc_hidden_def.
31144
7ed87317
L
311452017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31146
31147 [BZ #21974]
31148 * gmon/Makefile (routines): Remove bb_init_func and
31149 bb_exit_func.
31150 (elide-routines.os): Removed.
9476b904
L
31151 * gmon/bb_exit_func.c: Likewise.
31152 * gmon/bb_init_func.c: Likewise.
7ed87317
L
31153 * include/sys/gmon.h (__bb): Likewise.
31154 (__bb_init_func): Likewise.
31155 (__bb_exit_func): Likewise.
91695eb1 31156 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 31157
94e6ba15
L
311582017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31159
31160 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31161 * include/setjmp.h (____longjmp_chk): Here. Add
31162 attribute_hidden.
31163
7550717e
L
311642017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31165
31166 [BZ #18822]
31167 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31168 attribute_hidden.
31169 (__strspn_sse2): Likewise.
31170
0bb2fabc
AZ
311712017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31172
c181840c
AZ
31173 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31174 (close_not_cancel_no_status): Likewise.
31175 (__close_nocancel): New macro.
31176 (__close_nocancel_nostatus): Likewise.
31177 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31178 macro.
31179 (close_not_cancel): Likewise.
31180 (close_not_cancel_no_status): Likewise.
31181 (__close_nocancel): New prototype.
31182 (__close_nocancel_nostatus): New function.
31183 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31184 * catgets/open_catalog.c (__open_catalog): Replace
31185 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31186 * gmon/gmon.c (write_gmon): Likewise.
31187 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31188 * intl/loadmsgcat.c (close): Likewise.
31189 * io/ftw.c (open_dir_stream): Likewise.
31190 (ftw_startup): Likewise.
31191 * libio/fileops.c (_IO_file_open): Likewise.
31192 (_IO_file_close_mmap): Likewise.
31193 (_IO_file_close): Likewise.
31194 * libio/iopopen.c (_IO_dup2): Likewise.
31195 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31196 * locale/loadlocale.c (_nl_load_locale): Likewise.
31197 * login/utmp_file.c (pututline_file): Likewise.
31198 (endutent_file): Likewise.
31199 * misc/daemon.c (daemon): Likewise.
31200 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31201 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31202 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31203 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31204 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31205 * nscd/nscd_helper.c (open_socket): Likewise.
31206 (__nscd_open_socket): Likewise.
31207 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31208 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31209 (__nscd_innetgr): Likewise.
31210 * nss/nss_db/db-open.c (internal_setent): Likewise.
31211 * resolv/res-close.c (__res_iclose): Likewise.
31212 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31213 * sysdeps/posix/closedir.c (__closedir): Likewise.
31214 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31215 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31216 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31217 (opendir_tail): Likewise.
31218 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31219 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31220 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31221 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31222 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31223 (gethostid): Likewise.
31224 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31225 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31226 Likewise.
31227 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31228 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31229 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31230 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31231 Likewise.
31232 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31233 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31234 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31235 Likewise.
31236 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31237 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31238 Likewise.
31239 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31240 Likewise.
31241 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31242 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31243 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31244 __close_nocancel.
31245
0bb2fabc
AZ
31246 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31247 (openat_not_cancel_3): Likewise.
31248 (openat64_not_cancel_3): Likewise).
31249 (openat_not_cancel_3): Likewise).
31250 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31251 macro.
31252 (openat_not_cancel_3): Likewise.
31253 (openat64_not_cancel): Likewise.
31254 (openat64_not_cancel_3): Likewise.
31255 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31256 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31257 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31258 __open{64}_nocancel.
31259 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31260 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31261 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31262
65a086db
L
312632017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31264
31265 [BZ #18822]
31266 * include/argz.h (__argz_create_sep): New function prototype.
31267 (__argz_append): Likewise.
31268 (__argz_add): Likewise.
31269 (__argz_add_sep): Likewise.
31270 (__argz_delete): Likewise.
31271 (__argz_insert): Likewise.
31272 (__argz_replace): Likewise.
31273 * string/argz.h (__argz_create_sep): Removed.
31274 (__argz_append): Likewise.
31275 (__argz_add): Likewise.
31276 (__argz_add_sep): Likewise.
31277 (__argz_delete): Likewise.
31278 (__argz_insert): Likewise.
31279 (__argz_replace): Likewise.
31280
62753d2c
L
312812017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31282
31283 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31284 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31285 (GNU_PROPERTY_STACK_SIZE): Likewie.
31286 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31287 (GNU_PROPERTY_LOPROC): Likewise.
31288 (GNU_PROPERTY_HIPROC): Likewise.
31289 (GNU_PROPERTY_LOUSER): Likewise.
31290 (GNU_PROPERTY_HIUSER): Likewise.
31291 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31292 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31293 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31294 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31295 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31296 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31297 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31298 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31299 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31300 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31301 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31302 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31303 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31304 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31305 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31306 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31307 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31308 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31309 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31310 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31311 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31312 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31313 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31314
6913ad65
GG
313152017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31316
31317 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31318 in C++ mode.
31319
47a67213
GG
313202017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31321
31322 [BZ #21930]
31323 * math/math.h (isinf): Check if in C or C++ mode before using
31324 __builtin_types_compatible_p, since this is a C mode feature.
31325
a748eb31
AZ
313262017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31327
c647fb88
AZ
31328 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31329 (__write_nocancel): New macro.
31330 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31331 Rewrite as a function prototype.
31332 (write_not_cancel): Remove macro.
31333 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31334 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31335 (write_gmon): Likewise.
31336 * libio/fileops.c (_IO_new_file_write): Likewise.
31337 * login/utmp_file.c (pututline_file): Likewise.
31338 (updwtmp_file): Likewise.
31339 * stdio-common/psiginfo.c (psiginfo): Likewise.
31340 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31341 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31342 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31343 Likewise.
31344 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31345 Likewise.
31346
a748eb31
AZ
31347 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31348 (__read_nocancel): New macro.
31349 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31350 __read_nocancel.
31351 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31352 macro.
31353 (__read_nocancel): New prototype.
31354 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31355 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31356 with __read_nocancel.
31357 * intl/loadmsgcat.c (read): Likewise.
31358 * libio/fileops.c (_IO_file_read): Likewise.
31359 * locale/loadlocale.c (_nl_load_locale): Likewise.
31360 * login/utmp_file.c (getutent_r_file): Likewise.
31361 (internal_getut_r): Likewise.
31362 (getutline_r_file): Likewise.
31363 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31364 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31365 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31366 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31367 Likewise.
31368 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31369 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31370 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31371 Likewise.
31372 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31373 Likewise.
31374 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31375 Likewise.
31376 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31377 Likewise.
31378 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31379
098b9dd4
L
313802017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31381
31382 [BZ #21966]
31383 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31384 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31385 usable.
31386
a3fe6a20
DD
313872017-08-17 DJ Delorie <dj@redhat.com>
31388
31389 * bug17079.c: Update to new test harness.
31390 * test-digits-dots.c: Likewise.
31391 * test-netdb.c: Likewise.
31392 * tst-field.c: Likewise.
31393 * tst-nss-getpwent.c: Likewise.
31394 * tst-nss-static.c: Likewise.
31395 * tst-nss-test1.c: Likewise.
31396 * tst-nss-test2.c: Likewise.
31397 * tst-nss-test3.c: Likewise.
31398 * tst-nss-test4.c: Likewise.
31399 * tst-nss-test5.c: Likewise.
31400
c2284574
AZ
314012017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31402
31403 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31404 (open_not_cancel_2): Likewise.
31405 (open_nocancel): New macro.
31406 (open64_nocancel): Likewise.
31407 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31408 (open_not_cancel_2): Likewise.
31409 (__open_nocancel): New prototype.
31410 (__open64_nocancel): Likewise.
31411 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31412 __open_nocancel.
31413 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31414 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31415 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31416 with __open_nocancel.
31417 * csu/check_fds.c (check_one_fd): Likewise.
31418 * gmon/gmon.c (write_gmon): Likewise.
31419 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31420 * intl/loadmsgcat.c (open): Likewise.
31421 * libio/fileops.c (_IO_file_open): Likewise.
31422 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31423 * locale/loadlocale.c (_nl_load_locale): Likewise.
31424 * login/utmp_file.c (setutent_file): Likewise.
31425 * misc/daemon.c (daemon): Likewise.
31426 * nss/nss_db/db-open.c (internal_setent): Likewise.
31427 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31428 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31429 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31430 (__opendir): Likewise.
31431 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31432 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31433 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31434 (gethostid): Likewise.
31435 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31436 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31437 Likewise.
31438 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31439 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31440 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31441 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31442 Likewise.
31443 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31444 Likewise.
31445 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31446 Likewise.
31447 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31448 Likewise.
31449 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31450 Likewise.
31451 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31452 Likewise.
31453 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31454 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31455
d4505b89
WD
314562017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31457
31458 * benchtests/bench-skeleton.c (main): Add support for
31459 latency benchmarking.
31460 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31461
34d6a3cb
L
314622017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31463
31464 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31465 the startup object.
31466
038d1caf
FW
314672017-08-17 Florian Weimer <fweimer@redhat.com>
31468
31469 * include/sys/socket.h (__opensock): Remove internal_function.
31470 * socket/opensock.c (__opensock): Likewise.
31471 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31472
67f0aff0
JM
314732017-08-16 Joseph Myers <joseph@codesourcery.com>
31474
31475 [BZ #21944]
31476 * signal/bits/types/__sigval_t.h: New file.
31477 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31478 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31479 and define sigval_t using __sigval_t.
31480 * include/bits/types/__sigval_t.h: New file.
31481 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31482 instead of <bits/types/__sigval_t.h>.
31483 (struct sigevent): Use __sigval_t instead of sigval_t.
31484 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31485 instead of <bits/types/__sigval_t.h>.
31486 (siginfo_t): Use __sigval_t instead of sigval_t.
31487 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31488 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31489 (struct sigevent): Use __sigval_t instead of sigval_t.
31490 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31491 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31492 (siginfo_t): Use __sigval_t instead of sigval_t.
31493 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31494
87e7bf4d
L
314952017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31496
31497 * NEWS: Remove "[Add new features here]" for 2.27.
31498
5047057f
JM
314992017-08-16 Joseph Myers <joseph@codesourcery.com>
31500
31501 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31502 libc.so.
31503
20c7b195
L
315042017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31505
31506 * NEWS: Mention x86-64 FMA optimization.
31507
24a2e658
L
315082017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31509
31510 [BZ #21912]
31511 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31512 Add e_expf-fma.
31513 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31514 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31515 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31516
eedca977
AS
315172017-08-16 Andreas Schwab <schwab@suse.de>
31518
403143e1
FW
31519 [BZ #16750]
31520 CVE-2009-5064
eedca977
AS
31521 * elf/ldd.bash.in: Never run file directly.
31522
f59f7adb
L
315232017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31524
31525 [BZ #21955]
31526 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31527 (L(SP_INF_0)): Likewise.
31528
6b11a6ad
FW
315292017-08-15 Florian Weimer <fweimer@redhat.com>
31530
31531 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31532 run-built-tests.
31533
bbf5c438
FW
315342017-08-15 Florian Weimer <fweimer@redhat.com>
31535
31536 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31537 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31538 BROKEN_THREAD_SIGNALS code.
31539 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31540 request_list): Remove caller_pid member used for
31541 BROKEN_THREAD_SIGNALS.
31542 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31543 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31544 Remove BROKEN_THREAD_SIGNALS support.
31545 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31546 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31547
6014c65d
FW
315482017-08-15 Florian Weimer <fweimer@redhat.com>
31549
31550 * gmon/Makefile (tests): Add tst-gmon.
31551 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31552 Set.
31553 (tests-special): Add tst-gmon-prof.out.
31554 (tst-gmon.out): Depend on clean-tst-gmon-data.
31555 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31556 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31557 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31558 startup object.
31559 * aclocal.m4 (GPROF): Set and substitute.
31560 * config.amke.in (GPROF): Set.
31561 * configure: Regenerate.
31562
ee72219a
GR
315632017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31564
31565 * elf/elf.h A (NT_PPC_TAR): New macro.
31566 (NT_PPC_PPR): Likewise.
31567 (NT_PPC_DSCR): Likewise.
31568 (NT_PPC_EBB): Likewise.
31569 (NT_PPC_PMU): Likewise.
31570 (NT_PPC_TM_CGPR): Likewise.
31571 (NT_PPC_TM_CFPR): Likewise.
31572 (NT_PPC_TM_CVMX): Likewise.
31573 (NT_PPC_TM_CVSX): Likewise.
31574 (NT_PPC_TM_SPR): Likewise.
31575 (NT_PPC_TM_CTAR): Likewise.
31576 (NT_PPC_TM_CPPR): Likewise.
31577 (NT_PPC_TM_CDSCR): Likewise.
31578
4ebf934e
FW
315792017-08-15 Florian Weimer <fweimer@redhat.com>
31580
31581 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31582 regparm (2) instead of internal_function.
31583 (_MCOUNT_DECL): Adjust.
31584
e9f57484
SL
315852017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31586
31587 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31588 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31589
88ff4d55
JM
315902017-08-14 Joseph Myers <joseph@codesourcery.com>
31591
31592 * conform/data/sys/wait.h-data (si_value): Do not expect for
31593 XPG42.
31594
c88ffc23
FW
315952017-08-14 Florian Weimer <fweimer@redhat.com>
31596
31597 [BZ #21962]
31598 NSS: Create stubs for accidentally exported lookup functions.
31599 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31600 Remove declaration.
31601 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31602 (ether_hostton): Call __nss_ethers_lookup2 instead.
31603 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31604 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31605 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31606 (setup): Call __nss_netgroup_lookup2 instead.
31607 * nss/Makefile (routines): Add compat-lookup.
31608 * nss/Versions (GLIBC_2.27): Add symbol version.
31609 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31610 (DB_COMPAT_FCT): Remove.
31611 * nss/compat-lookup.c: New file.
31612 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31613 from databases.def.
31614 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31615 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31616 (netname2user): Call __nss_publickey_lookup2 instead.
31617 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31618 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31619 instead.
31620
35a29136 316212017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
31622 Sergei Trofimovich <slyfox@inbox.ru>
31623
31624 [BZ #21908]
31625 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31626 Rename to MMAP2_PAGE_UNIT.
31627 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31628 __OFF_T_MATCHES_OFF64_T is not defined.
31629 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31630 uint64_t.
31631 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31632 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31633
fbdc1e3e
FW
316342017-08-14 Florian Weimer <fweimer@redhat.com>
31635
31636 i386: Do not set internal_function.
31637 * config.h.in (USE_REGPARMS, internal_function): Remove.
31638 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31639 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31640
b3f85fd2
FW
316412017-08-14 Florian Weimer <fweimer@redhat.com>
31642
31643 * elf/dl-init.c (_dl_init): Remove internal_function.
31644 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31645 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31646
630bf491
FW
316472017-08-14 Florian Weimer <fweimer@redhat.com>
31648
31649 * elf/rtld.c (_dl_start): Remove internal_function.
31650 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31651 _dl_start.
31652
9fa7449b
FW
316532017-08-14 Florian Weimer <fweimer@redhat.com>
31654
31655 * elf/dl-fini.c (_dl_fini): Remove internal_function
31656 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31657
73322d5f
L
316582017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31659
d863cd71 31660 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
31661 (bit_cpu_SHSTK): Likewise.
31662 (index_cpu_IBT): Likewise.
31663 (index_cpu_SHSTK): Likewise.
31664 (reg_IBT): Likewise.
31665 (reg_SHSTK): Likewise.
31666 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31667 Handle index_cpu_IBT and index_cpu_SHSTK.
31668
dbc303ef
MF
316692017-08-14 Mike FABIAN <mfabian@redhat.com>
31670
31671 [BZ #19982]
31672 * po/fr.po: Fix spelling mistake.
31673
3012cfb0
FW
316742017-08-13 Florian Weimer <fweimer@redhat.com>
31675
31676 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31677 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31678 (_dl_catch_error, _dl_receive_error): Likewise.
31679 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31680 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31681 (_dl_deallocate_tls): Likewise.
31682 * include/dlfcn.h (_dl_addr): Likewise.
31683 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31684 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31685 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31686 Likewise.
31687
52bcdf26
FW
316882017-08-13 Florian Weimer <fweimer@redhat.com>
31689
31690 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31691 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31692 internal_function.
31693 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31694
e1d2ae8d
FW
316952017-08-13 Florian Weimer <fweimer@redhat.com>
31696
31697 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31698 internal_function.
31699 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31700 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31701 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31702 internal_function from _dl_make_stack_executable_hook member.
31703 (_dl_make_stack_executable): Remove internal_function.
31704 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31705 Likewise.
31706 * sysdeps/unix/sysv/linux/dl-execstack.c
31707 (_dl_make_stack_executable): Likewise.
31708
c4ce0382
FW
317092017-08-13 Florian Weimer <fweimer@redhat.com>
31710
31711 * sysdeps/unix/sysv/linux/netlinkaccess.h
31712 (__netlink_assert_response): Remove internal_function.
31713 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31714 (__netlink_assert_response): Likewise.
31715
c4d767f7
FW
317162017-08-13 Florian Weimer <fweimer@redhat.com>
31717
31718 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31719 internal_function.
31720 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31721
b2297409
FW
317222017-08-13 Florian Weimer <fweimer@redhat.com>
31723
31724 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31725 internal_function.
31726 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31727 * inet/netgroup.h (__internal_setnetgrent)
31728 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31729 * inet/getnetgrent_r.c (__internal_setnetgrent)
31730 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31731 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31732 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31733 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31734 * nss/nsswitch.h (db_lookup_function): Likewise.
31735
1b0bfc69
FW
317362017-08-13 Florian Weimer <fweimer@redhat.com>
31737
31738 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31739 Remove internal_function.
31740 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31741 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31742 message argument on the stack.
31743 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31744 Likeweise.
31745
a6bd8722
MF
317462017-08-12 Mike FABIAN <mfabian@redhat.com>
31747
31748 Adapt test case data to the changes in the thousands
31749 separators.
31750
31751 [BZ #20756]
31752 * localedata/tst-langinfo.sh: Adapt test case data.
31753 * stdlib/tst-strfmon_l.c: Likewise.
31754 * stdlib/tst-strtod4.c: Likewise.
31755 * stdlib/tst-strtod5i.c: Likewise.
31756
8b2c63e4
FW
317572017-08-11 Florian Weimer <fweimer@redhat.com>
31758
31759 [BZ #21242]
31760 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31761 Suppress pedantic warning resulting from statement expression.
31762 (__ASSERT_FUNCTION): Add missing __extension__.
31763
61c98291
SP
317642017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31765
86c6519e
SP
31766 * benchtests/bench-memmove-large.c: Print output in JSON
31767 format.
31768 * benchtests/bench-memmove.c: Likewise.
31769
61c98291
SP
31770 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31771 * benchtests/bench-memchr.c (do_one_test): Likewise.
31772 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31773 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31774 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31775 * benchtests/bench-memmove.c (do_one_test): Likewise.
31776 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31777 * benchtests/bench-memset.c (do_one_test): Likewise.
31778 * benchtests/bench-string.h (test_init): Remove memsets.
31779
925733a9
RJ
317802017-08-10 Rical Jasan <ricaljasan@pacific.net>
31781
31782 * manual/lang.texi
31783 (Computing the Width of an Integer Data Type): Rename section to
31784 "Width of an Integer Type". Remove inaccurate statement regarding
31785 lack of C language facilities for determining width of integer
31786 types, and reorder content to improve flow and context of
31787 discussion.
31788
4fcdfbfc
RJ
317892017-08-10 Rical Jasan <ricaljasan@pacific.net>
31790
31791 * lang.texi (va_copy): Change standard from ISO to C99.
31792 (__va_copy): Add standard and header annotation.
31793 Update description for clarity of origins and current use.
31794
4d98ace9
GG
317952017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31796
31797 [BZ #21941]
31798 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31799 xssqrtqp requires operands to be in Vector Registers
31800 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31801 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31802 (__ieee754_sqrtf128): Likewise.
31803
92236903
WD
318042017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31805
31806 * sysdeps/aarch64/memcmp.S (memcmp):
31807 Rewrite of optimized memcmp.
31808
2449ae7b
FW
318092017-08-10 Florian Weimer <fweimer@redhat.com>
31810
31811 Introduce ld.so exceptions.
31812 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31813 (_dl_exception_create, _dl_exception_create_format)
31814 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31815 (_dl_catch_exception): Declare.
31816 (_dl_catch_error): Update comment.
31817 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31818 errstring, malloced members with exception member.
31819 (_dl_out_of_memory): Remove.
31820 (fatal_error): New function, extracted from _dl_signal_error.
31821 (_dl_signal_exception, _dl_signal_cexception): New functions.
31822 (_dl_signal_error): Call _dl_exception_create to allocate an
31823 exception object.
31824 (_dl_catch_exception): New function, based on _dl_catch_error.
31825 (_dl_catch_error): Implement using _dl_catch_exception.
31826 * elf/dl-exception.c: New file.
31827 * elf/Makefile (dl-routines): Add dl-exception.
31828 (elide-routines.os): Likewise.
31829 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31830 _dl_exception_create_format, _dl_exception_free.
31831 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31832 _dl_signal_exception.
31833 * elf/dl-lookup.c (make_string): Remove.
31834 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31835 _dl_signal_cexception, _dl_exception_free.
31836 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31837 _dl_signal_exception.
31838 * elf/dl-sym.c (do_sym): Likewise.
31839 * elf/dl-version.c (make_string): Remove.
31840 (match_symbol): Use _dl_exception_create_format,
31841 _dl_signal_cexception, _dl_exception_free.
31842 (_dl_check_map_versions): Likewise.
31843 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31844 _dl_catch_exception.
31845 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31846 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31847 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31848 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31849 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31850 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31851 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31852 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31853 Likewise.
31854 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31856 (ld.so): Likewise.
31857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31858 (ld.so): Likewise.
31859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31860 Likewise.
31861 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31862 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31863 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31864 Likewise.
31865 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31866 Likewise.
31867 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31868
f87cc2bf
FW
318692017-08-10 Florian Weimer <fweimer@redhat.com>
31870
31871 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31872 attribute_hidden, internal_function.
31873 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31874 internal_function.
31875
eac43cbb
FW
318762017-08-10 Florian Weimer <fweimer@redhat.com>
31877
31878 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31879 function which calls __builtin_unreachable.
31880
bd80111e
MF
318812017-08-10 Mike FABIAN <mfabian@redhat.com>
31882
31883 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31884 Indian monetary formatting
31885 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31886 test cases.
31887
60e2846e
DL
318882017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31889
68dc02d1
DL
31890 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31891 Fix typo in comment.
31892
60e2846e
DL
31893 [BZ #21928]
31894 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31895 PTRACE_SEIZE_DEVEL): Remove.
31896 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31897 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31898 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31899 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31900 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31901
3d452dab
JM
319022017-08-09 Joseph Myers <joseph@codesourcery.com>
31903
24d9f53a
JM
31904 * posix/bits/types.h (__qaddr_t): Remove.
31905
3d452dab
JM
31906 [BZ #21457]
31907 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31908 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31909 __glibc_reserved1.
31910 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31911 (ucontext_t): Use __ctx with uc_flags.
31912 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31913 (__ctxt): Likewise.
31914 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31915 __glibc_reserved1.
31916 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31917 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31918 __glibc_reserved1.
31919 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31920 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31921 __glibc_reserved1.
31922 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31923 macro.
31924 (ucontext_t): Use __ctx with uc_flags.
31925 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31926 (ucontext_t): Use __ctx with uc_flags.
31927 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31928 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31929 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31930 (ucontext_t): Use __ctx with uc_flags.
31931 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31932 undefine further down.
31933 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31934 __glibc_reserved1.
31935 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31936 undefine further down.
31937 (ucontext_t): Use __ctx with uc_flags.
31938 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31939 undefine further down.
31940 (ucontext_t): Use __ctx with uc_flags.
31941 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31942 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31943 Rename uc_pad to __glibc_reserved1.
31944 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31945 undefine further down.
31946 (ucontext_t): Use __ctx with uc_flags.
31947 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31948 further down.
31949 (ucontext_t): Use __ctx with uc_flags.
31950 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31951 __ctx with uc_flags.
31952 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31953 (ucontext_t): Use __ctx with uc_flags.
31954 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31955 __ctx with uc_flags.
31956
30161498
FW
319572017-08-09 Florian Weimer <fweimer@redhat.com>
31958
31959 [BZ #21932]
31960 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31961 before early return.
31962
5797b410
AS
319632017-08-09 Andreas Schwab <schwab@suse.de>
31964
139237a4 31965 [BZ #21041]
5797b410
AS
31966 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31967 renamed alias.
31968
139237a4 31969 [BZ #21041]
40c06a3d
AS
31970 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31971 tst-compat-forwarder.
31972 (modules-names): Add tst-compat-forwarder-mod.
31973 ($(objpfx)tst-compat-forwarder): Depend on
31974 $(objpfx)tst-compat-forwarder-mod.so.
31975 * nptl/tst-compat-forwarder.c: New file.
31976 * nptl/tst-compat-forwarder-mod.c: New file.
31977
36ada5f6
SP
319782017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31979
0e02b510
SP
31980 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31981 comments.
31982
36ada5f6
SP
31983 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31984 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31985 memcpy_falkor.
31986 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31987 Bump.
31988 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31989 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31990 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31991 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31992 Add falkor.
31993 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31994 New macro.
31995
9995c839
AZ
319962017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31997
31998 [BZ #759]
31999 * manual/setjmp.texi (getcontex): Document uc_stack value
32000 compatibility differences.
32001
f17a4233
JM
320022017-08-08 Joseph Myers <joseph@codesourcery.com>
32003
32004 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32005 (old_malloc_hook): Likewise.
32006 (old_memalign_hook): Likewise.
32007 (old_realloc_hook): Likewise.
32008 (struct hdr): Likewise.
32009 (flood): Likewise.
32010 (freehook): Likewise.
32011 (mallochook): Likewise.
32012 (memalignhook): Likewise.
32013 (reallochook): Likewise.
32014 (mprobe): Likewise.
32015 * malloc/mtrace.c (mallwatch): Likewise.
32016 (tr_old_free_hook): Likewise.
32017 (tr_old_malloc_hook): Likewise.
32018 (tr_old_realloc_hook): Likewise.
32019 (tr_old_memalign_hook): Likewise.
32020 (tr_where): Likewise.
32021 (lock_and_info): Likewise.
32022 (tr_freehook): Likewise.
32023 (tr_mallochook): Likewise.
32024 (tr_reallochook): Likewise.
32025 (tr_memalignhook): Likewise.
32026 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32027 * misc/mmap.c (__mmap): Likewise.
32028 * misc/mmap64.c (__mmap64): Likewise.
32029 * misc/mprotect.c (__mprotect): Likewise.
32030 * misc/msync.c (msync): Likewise.
32031 * misc/munmap.c (__munmap): Likewise.
32032 * posix/posix_madvise.c (posix_madvise): Likewise.
32033 * socket/send.c (__send): Likewise.
32034 * socket/sendto.c (__sendto): Likewise.
32035 * socket/setsockopt.c (__setsockopt): Likewise.
32036 * string/memcmp.c (__ptr_t): Remove macro.
32037 (MEMCMP): Use void * instead of ptr_t.
32038 * string/memrchr.c (__ptr_t): Remove macro.
32039 (__memrchr): Use void * instead of ptr_t.
32040 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32041 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32042 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32043 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32044 * sysdeps/mach/msync.c (msync): Likewise.
32045 * sysdeps/mach/munmap.c (__munmap): Likewise.
32046 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32047 Likewise.
32048 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32049 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32050 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32051 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32052 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32053 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32054 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32055 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32056 Likewise.
32057 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32058 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32059 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32060 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32061 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32062 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32063 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32064 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32065 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32066 Likewise.
32067 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32068 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32069 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32070 (MEMCMP): Use void * instead of ptr_t.
32071 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32072 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32073
0df595b2
FW
320742017-08-08 Florian Weimer <fweimer@redhat.com>
32075
32076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32077 return statement.
32078
086df229
L
320792017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32080
32081 [BZ #21913]
32082 * csu/libc-tls.c: Include <startup.h> first.
32083 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32084 * elf/dl-tunables.c: Include <startup.h> first.
32085 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32086 * sysdeps/generic/startup.h: New file.
32087 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32088 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32089 (I386_USE_SYSENTER): New. Defined to 0.
32090
fc5ad702
AS
320912017-08-08 Andreas Schwab <schwab@suse.de>
32092
32093 [BZ #21041]
32094 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32095 * nptl/pt-system.c (system): Likewise.
32096
852d6312
AZ
320972017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32098
32099 [BZ #21780]
32100 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32101 EOPNOTSUPP.
32102 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32103 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32104 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32105 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32106 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32107 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32108 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32109
8b164787
JM
321102017-08-07 Joseph Myers <joseph@codesourcery.com>
32111
cd65836b
JM
32112 [BZ #21899]
32113 * bits/sigaction.h (struct sigaction): Define sa_handler and
32114 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32115 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32116 [__USE_XOPEN_EXTENDED].
32117 (SA_RESTART): Likewise.
32118 (SA_NODEFER): Likewise.
32119 (SA_RESETHAND): Likewise.
32120 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32121 (struct sigaction): Define sa_handler and sa_sigaction using union
32122 also for [__USE_XOPEN_EXTENDED].
32123 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32124 [__USE_XOPEN_EXTENDED].
32125 (SA_RESTART): Likewise.
32126 (SA_NODEFER): Likewise.
32127 (SA_RESETHAND): Likewise.
32128 * sysdeps/unix/sysv/linux/bits/sigaction.h
32129 (struct sigaction): Define sa_handler and sa_sigaction using union
32130 also for [__USE_XOPEN_EXTENDED].
32131 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32132 [__USE_XOPEN_EXTENDED].
32133 (SA_RESTART): Likewise.
32134 (SA_NODEFER): Likewise.
32135 (SA_RESETHAND): Likewise.
32136 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32137 (struct sigaction): Define sa_handler and sa_sigaction using union
32138 also for [__USE_XOPEN_EXTENDED].
32139 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32140 [__USE_XOPEN_EXTENDED].
32141 (SA_RESTART): Likewise.
32142 (SA_NODEFER): Likewise.
32143 (SA_RESETHAND): Likewise.
32144 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32145 (struct sigaction): Define sa_handler and sa_sigaction using union
32146 also for [__USE_XOPEN_EXTENDED].
32147 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32148 [__USE_XOPEN_EXTENDED].
32149 (SA_RESTART): Likewise.
32150 (SA_NODEFER): Likewise.
32151 (SA_RESETHAND): Likewise.
32152 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32153 (struct sigaction): Define sa_handler and sa_sigaction using union
32154 also for [__USE_XOPEN_EXTENDED].
32155 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32156 [__USE_XOPEN_EXTENDED].
32157 (SA_RESTART): Likewise.
32158 (SA_NODEFER): Likewise.
32159 (SA_RESETHAND): Likewise.
32160 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32161 (struct sigaction): Define sa_handler and sa_sigaction using union
32162 also for [__USE_XOPEN_EXTENDED].
32163 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32164 [__USE_XOPEN_EXTENDED].
32165 (SA_RESTART): Likewise.
32166 (SA_NODEFER): Likewise.
32167 (SA_RESETHAND): Likewise.
32168 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32169 (struct sigaction): Define sa_handler and sa_sigaction using union
32170 also for [__USE_XOPEN_EXTENDED].
32171 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32172 [__USE_XOPEN_EXTENDED].
32173 (SA_RESTART): Likewise.
32174 (SA_NODEFER): Likewise. Define directly rather than as alias.
32175 (SA_RESETHAND): Likewise.
32176 (SA_INTERRUPT): Define only for [__USE_MISC].
32177 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32178 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32179 [__USE_MISC].
32180 (SA_STACK): Define only for [__USE_MISC].
32181 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32182 (struct sigaction): Define sa_handler and sa_sigaction using union
32183 also for [__USE_XOPEN_EXTENDED].
32184 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32185 [__USE_XOPEN_EXTENDED].
32186 (SA_RESTART): Likewise.
32187 (SA_NODEFER): Likewise.
32188 (SA_RESETHAND): Likewise.
32189 (SA_NOPTRACE): Define only for [__USE_MISC].
32190
d9fee042
JM
32191 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32192 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32193 (struct catalog_info): Likewise.
32194 * inet/htontest.c (lo): Likewise.
32195 (foo): Likewise.
32196 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32197 * inet/inet_net.c (inet_network): Likewise.
32198 * inet/inet_netof.c (inet_netof): Likewise.
32199 * inet/rcmd.c (__ivaliduser): Likewise.
32200 (iruserok): Likewise.
32201 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32202 * locale/programs/locale-spec.c (locale_special): Likewise.
32203 * nis/nis_findserv.c (struct findserv_req): Likewise.
32204 (__nis_findfastest_with_timeout): Likewise.
32205 * nss/test-netdb.c (test_network): Likewise.
32206 * resolv/inet_neta.c (inet_neta): Likewise.
32207 * resolv/ns_date.c (ns_datetosecs): Likewise.
32208 (SECS_PER_DAY): Likewise.
32209 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32210 Likewise.
32211 * resolv/res_comp.c (__putlong): Likewise.
32212 (__putshort): Likewise.
32213 (_getlong): Likewise.
32214 (_getshort): Likewise.
32215 * resolv/res_debug.c (p_time): Likewise.
32216 (precsize_ntoa): Likewise.
32217 (precsize_aton): Likewise.
32218 (latlon2ul): Likewise.
32219 (loc_aton): Likewise.
32220 (loc_ntoa): Likewise.
32221 * resolv/res_hconf.c (struct netaddr): Likewise.
32222 (_res_hconf_reorder_addrs): Likewise.
32223 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32224 (clnttcp_control): Likewise.
32225 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32226 (clntudp_control): Likewise.
32227 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32228 (clntunix_control): Likewise.
32229 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32230 * sunrpc/rpc/auth.h (union des_block): Likewise.
32231 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32232 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32233 (xdrrec_create): Likewise.
32234 (xdrrec_endofrecord): Likewise.
32235 (flush_out): Likewise.
32236 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32237 (xdrstdio_putlong): Likewise.
32238 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32239 Likewise.
32240
8b164787
JM
32241 * misc/sys/cdefs.h (__long_double_t): Remove.
32242 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32243 instead of __long_double_t,
32244 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32245
7ee38e60
SP
322462017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32247
dd3e86ad
SP
32248 * benchtests/scripts/compare_strings.py: Avoid display error when
32249 running on a text terminal.
32250
b115e819
SP
32251 * benchtests/scripts/compare_strings.py (main): Add an
32252 optional -base option.
32253 (process_results): New argument base_func.
32254
7ee38e60
SP
32255 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32256 hardcoding memcpy.
32257 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32258 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32259
d5afb385
AS
322602017-08-07 Andreas Schwab <schwab@suse.de>
32261
32262 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32263 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32264 * intl/Makefile ($(objpfx)tst-gettext.out)
32265 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32266 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32267 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32268 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32269 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32270 * posix/Makefile ($(objpfx)globtest.out)
32271 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32272 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32273 ($(objpfx)tst-printf.out): Likewise.
32274 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32275 ($(objpfx)tst-setcontext3.out): Likewise.
32276
57a72fa3
L
322772017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32278
32279 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32280 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32281 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32282 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32283 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32284 and mptan-fma.
32285 (CFLAGS-doasin-fma.c): New.
32286 (CFLAGS-dosincos-fma.c): Likewise.
32287 (CFLAGS-e_asin-fma.c): Likewise.
32288 (CFLAGS-e_atan2-fma.c): Likewise.
32289 (CFLAGS-e_exp-fma.c): Likewise.
32290 (CFLAGS-e_log-fma.c): Likewise.
32291 (CFLAGS-e_pow-fma.c): Likewise.
32292 (CFLAGS-halfulp-fma.c): Likewise.
32293 (CFLAGS-mpa-fma.c): Likewise.
32294 (CFLAGS-mpatan-fma.c): Likewise.
32295 (CFLAGS-mpatan2-fma.c): Likewise.
32296 (CFLAGS-mpexp-fma.c): Likewise.
32297 (CFLAGS-mplog-fma.c): Likewise.
32298 (CFLAGS-mpsqrt-fma.c): Likewise.
32299 (CFLAGS-mptan-fma.c): Likewise.
32300 (CFLAGS-s_atan-fma.c): Likewise.
32301 (CFLAGS-sincos32-fma.c): Likewise.
32302 (CFLAGS-slowexp-fma.c): Likewise.
32303 (CFLAGS-slowpow-fma.c): Likewise.
32304 (CFLAGS-s_sin-fma.c): Likewise.
32305 (CFLAGS-s_tan-fma.c): Likewise.
32306 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32307 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32308 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32309 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32310 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32311 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32312 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32313 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32314 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32315 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32316 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32317 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32318 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32319 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32320 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32321 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32322 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32323 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32324 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32325 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32326 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32327 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32328 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32329 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32331 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32332 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32333 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32334 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32335 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32336 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32337
219dd320
JM
323382017-08-04 Joseph Myers <joseph@codesourcery.com>
32339
32340 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32341 (min_of_type_f): New macro.
32342 (min_of_type_): Likewise.
32343 (min_of_type_l): Likewise.
32344 (min_of_type_f128): Likewise.
32345 (min_of_type): Define using __MATH_TG and taking an expression
32346 argument.
32347 (math_check_force_underflow): Pass expression instead of type to
32348 min_of_type.
32349 (math_check_force_underflow_nonneg): Likewise.
32350
64d4dea6
L
323512017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32352
32353 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32354 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32355 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32356
973da22a
L
323572017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32358
32359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32360 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32361 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32362 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32363 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32364 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32365 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32366 memmove_chk-nonshared and memset_chk-nonshared
32367 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32368 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32369 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32370 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32371 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32372 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32373 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32374 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32375 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32376 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32377 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32378 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32379 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32380 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32381 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32382 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32383 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32384 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32385 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32386 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32387 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32388 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32389 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32390 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32391 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32392 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32393 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32394 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32395 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32396 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32397 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32398 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32399 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32400 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32401 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32402 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32403 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32404 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32405 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32406 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32407 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32408 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32409 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32410 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32411 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32412 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32413 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32414 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32415 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32416 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32417 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32418 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32419 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32420 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32421 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32422 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32423 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32424 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32425 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32426 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32427 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32428 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32429 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32430 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32431 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32432 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32433 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32434 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32435 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32436 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32437 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32438 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32439 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32440 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32441 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32442 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32443 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32444 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32445 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32446 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32447 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32448 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32449 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32450 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32451 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32452 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32453 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32454 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32455 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32456 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32457 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32458 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32459 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32460 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32461 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32462 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32463 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32464 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32465 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32466 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32467 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32468 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32469 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32470 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32471 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32472 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32473 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32474 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32475
8537e0f6
L
324762017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32477
32478 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32479 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32480 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32481 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32482 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32483 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32484 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32485 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32486 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32487 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32488 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32489 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32490 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32491 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32492 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32493 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32494 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32495 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32496 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32497 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32498 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32499 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32500 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32501 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32502 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32503 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32504 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32505 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32506 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32507 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32508 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32509 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32510 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32511 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32512 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32513 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32514 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32515 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32516 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32517 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32518 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32519 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32520 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32521 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32522 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32523 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32524 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32525 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32526 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32527 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32528 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32529 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32530 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32531 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32532 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32533 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32534 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32535 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32536 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32537 ...
32538 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32539 Don't include <sysdep.h> nor <init-arch.h>.
32540 (_ZGVbN2v_cos): Removed.
32541 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32542 ...
32543 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32544 Don't include <sysdep.h> nor <init-arch.h>.
32545 (_ZGVdN4v_cos): Removed.
32546 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32547 ...
32548 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32549 Don't include <sysdep.h> nor <init-arch.h>.
32550 (_ZGVeN8v_cos): Removed.
32551 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32552 ...
32553 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32554 Don't include <sysdep.h> nor <init-arch.h>.
32555 (_ZGVbN2v_exp): Removed.
32556 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32557 ...
32558 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32559 Don't include <sysdep.h> nor <init-arch.h>.
32560 (_ZGVdN4v_exp): Removed.
32561 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32562 ...
32563 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32564 Don't include <sysdep.h> nor <init-arch.h>.
32565 (_ZGVeN8v_exp): Removed.
32566 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32567 ...
32568 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32569 Don't include <sysdep.h> nor <init-arch.h>.
32570 (_ZGVbN2v_log): Removed.
32571 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32572 ...
32573 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32574 Don't include <sysdep.h> nor <init-arch.h>.
32575 (_ZGVdN4v_log): Removed.
32576 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32577 ...
32578 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32579 Don't include <sysdep.h> nor <init-arch.h>.
32580 (_ZGVeN8v_log): Removed.
32581 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32582 ...
32583 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32584 Don't include <sysdep.h> nor <init-arch.h>.
32585 (_ZGVbN2vv_pow): Removed.
32586 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32587 ...
32588 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32589 Don't include <sysdep.h> nor <init-arch.h>.
32590 (_ZGVdN4vv_pow): Removed.
32591 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32592 ...
32593 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32594 Don't include <sysdep.h> nor <init-arch.h>.
32595 (_ZGVeN8vv_pow): Removed.
32596 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32597 ...
32598 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32599 Don't include <sysdep.h> nor <init-arch.h>.
32600 (_ZGVbN2v_sin): Removed.
32601 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32602 ...
32603 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32604 Don't include <sysdep.h> nor <init-arch.h>.
32605 (_ZGVbN4v_sin): Removed.
32606 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32607 ...
32608 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32609 Don't include <sysdep.h> nor <init-arch.h>.
32610 (_ZGVbN8v_sin): Removed.
32611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32612 ...
32613 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32614 Don't include <sysdep.h> nor <init-arch.h>.
32615 (_ZGVbN2vvv_sincos): Removed.
32616 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32617 ...
32618 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32619 Don't include <sysdep.h> nor <init-arch.h>.
32620 (_ZGVdN4vvv_sincos): Removed.
32621 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32622 ...
32623 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32624 Don't include <sysdep.h> nor <init-arch.h>.
32625 (_ZGVeN8vvv_sincos): Removed.
32626 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32627 ...
32628 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32629 Don't include <sysdep.h> nor <init-arch.h>.
32630 (_ZGVeN16v_cosf): Removed.
32631 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32632 ...
32633 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32634 Don't include <sysdep.h> nor <init-arch.h>.
32635 (_ZGVbN4v_cosf): Removed.
32636 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32637 ...
32638 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32639 Don't include <sysdep.h> nor <init-arch.h>.
32640 (_ZGVdN8v_cosf): Removed.
32641 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32642 ...
32643 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32644 Don't include <sysdep.h> nor <init-arch.h>.
32645 (_ZGVeN16v_expf): Removed.
32646 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32647 ...
32648 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32649 Don't include <sysdep.h> nor <init-arch.h>.
32650 (_ZGVbN4v_expf): Removed.
32651 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32652 ...
32653 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32654 Don't include <sysdep.h> nor <init-arch.h>.
32655 (_ZGVdN8v_expf): Removed.
32656 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32657 ...
32658 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32659 Don't include <sysdep.h> nor <init-arch.h>.
32660 (_ZGVeN16v_logf): Removed.
32661 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32662 ...
32663 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32664 Don't include <sysdep.h> nor <init-arch.h>.
32665 (_ZGVbN4v_logf): Removed.
32666 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32667 ...
32668 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32669 Don't include <sysdep.h> nor <init-arch.h>.
32670 (_ZGVdN8v_logf): Removed.
32671 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32672 ...
32673 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32674 Don't include <sysdep.h> nor <init-arch.h>.
32675 (_ZGVeN16vv_powf): Removed.
32676 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32677 ...
32678 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32679 Don't include <sysdep.h> nor <init-arch.h>.
32680 (_ZGVbN4vv_powf): Removed.
32681 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32682 ...
32683 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32684 Don't include <sysdep.h> nor <init-arch.h>.
32685 (_ZGVdN8vv_powf): Removed.
32686 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32687 ...
32688 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32689 Don't include <sysdep.h> nor <init-arch.h>.
32690 (_ZGVeN16vvv_sincosf): Removed.
32691 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32692 ...
32693 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32694 Don't include <sysdep.h> nor <init-arch.h>.
32695 (_ZGVbN4vvv_sincosf): Removed.
32696 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32697 ...
32698 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32699 Don't include <sysdep.h> nor <init-arch.h>.
32700 (_ZGVdN8vvv_sincosf): Removed.
32701 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32702 ...
32703 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32704 Don't include <sysdep.h> nor <init-arch.h>.
32705 (_ZGVeN16v_sinf): Removed.
32706 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32707 ...
32708 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32709 Don't include <sysdep.h> nor <init-arch.h>.
32710 (_ZGVbN4v_sinf): Removed.
32711 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32712 ...
32713 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32714 Don't include <sysdep.h> nor <init-arch.h>.
32715 (_ZGVdN8v_sinf): Removed.
32716
10a87ca4
L
327172017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32718
32719 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32720 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32721 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32722 s_rint-sse4_1 and s_rintf-sse4_1.
32723 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32724 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32725 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32726 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32727 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32728 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32729 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32730 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32731 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32732 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32733 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32734 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32735 (__ceil): Removed.
32736 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32737 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32738 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32739 (__ceilf): Removed.
32740 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32741 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32742 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32743 (__floor): Removed.
32744 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32745 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32746 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32747 (__floorf): Removed.
32748 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32749 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32750 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32751 (__nearbyint): Removed.
32752 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32753 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32754 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32755 (__nearbyintf): Removed.
32756 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32757 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32758 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32759 (__rint): Removed.
32760 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32761 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32762 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32763 (__rintf): Removed.
32764
1e8e527d
L
327652017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32766
32767 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32768 SHARED. Avoid dynamic relocation against main in static PIE.
32769
e13daad7
L
327702017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32771
32772 [BZ #21815]
32773 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32774 (LDFLAGS-tst-prelink): Likewise.
32775
627c69c8
L
327762017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32777
32778 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32779 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32780 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32781 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32782 (INTERNAL_SYSCALL_NCS): Likewise.
32783 (LOADARGS_1): Likewise.
32784 (LOADARGS_5): Likewise.
32785 (RESTOREARGS_1): Likewise.
32786 (RESTOREARGS_5): Likewise.
32787
fc11ff8d
L
327882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32789
32790 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32791 (MEMPCPY_SYMBOL): Likewise.
32792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32793 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32795 in libc.a.
32796 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32797 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32798 Likewise.
32799 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32800 (__hidden_ver1): Don't use in libc.a.
32801 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32802 (__mempcpy): Don't create a weak alias in libc.a.
32803 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32804 libc.a.
32805 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32806 (__hidden_ver1): Don't use in libc.a.
32807
19f1a11e
L
328082017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32809
32810 * config.make.in (have-insert): New.
32811 * configure.ac (libc_cv_insert): New. Set to yes if linker
32812 supports INSERT in linker script.
32813 (AC_SUBST(libc_cv_insert): New.
32814 * configure: Regenerated.
32815 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32816 if $(have-insert) == yes.
32817
3093fd5e
L
328182017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32819
32820 * elf/Makefile (tests): Add vismain only if
32821 $(have-protected-data) == yes.
32822 (tests-pie): Likewise.
32823
d2cf37c0
L
328242017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32825
32826 [BZ #21871]
32827 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32828 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32829
c8a0e6ec
L
328302017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32831
32832 [BZ #21790]
32833 * sysdeps/i386/i586/memset.S
32834 (__memset_zero_constant_len_parameter): Removed.
32835 * sysdeps/i386/i686/memset.S
32836 (__memset_zero_constant_len_parameter): Likewise.
32837 * sysdeps/i386/i686/multiarch/memset_chk.S
32838 (__memset_zero_constant_len_parameter): Likewise.
32839 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32840 Likewise.
32841
2b34e271
AJ
328422017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32843
32844 * stdlib/getentropy.c (getentropy): Change return type to int.
32845
144bdab0
AJ
328462017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32847
32848 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32849
24ab7723
JM
328502017-08-03 Joseph Myers <joseph@codesourcery.com>
32851
32852 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32853 u_intN_t.
32854 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32855 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32856 Likewise.
32857 (ieee_float_shape_type): Likewise.
32858 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32859 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32860 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32861 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32862 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32863 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32864 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32865 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32866 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32867 Likewise.
32868 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32869 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32870 (__ieee754_yn): Likewise.
32871 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32872 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32873 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32874 Likewise.
32875 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32876 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32877 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32878 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32879 (__erfc): Likewise.
32880 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32881 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32882 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32883 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32884 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32885 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32886 Likewise.
32887 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32888 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32889 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32890 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32891 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32892 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32893 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32894 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32895 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32896 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32897 (__issignaling): Likewise.
32898 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32899 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32900 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32901 Likewise.
32902 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32903 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32904 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32905 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32906 Likewise.
32907 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32908 Likewise.
32909 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32910 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32911 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32912 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32913 (__erfcf): Likewise.
32914 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32915 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32916 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32917 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32918 Likewise.
32919 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32920 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32921 Likewise.
32922 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32923 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32924 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32925 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32926 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32927 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32928 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32929 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32930 Likewise.
32931 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32932 Likewise.
32933 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32934 Likewise.
32935 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32936 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32937 Likewise.
32938 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32939 Likewise.
32940 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32941 (__ieee754_ynl): Likewise.
32942 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32943 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32944 Likewise.
32945 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32946 Likewise.
32947 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32948 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32949 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32950 Likewise.
32951 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32952 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32953 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32954 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32955 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32956 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32957 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32958 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32959 Likewise.
32960 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32961 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32962 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32963 Likewise.
32964 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32965 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32966 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32967 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32968 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32969 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32970 Likewise.
32971 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32972 Likewise.
32973 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32974 Likewise.
32975 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32976 Likewise.
32977 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32978 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32979 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32980 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32981 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32982 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32983 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32984 Likewise.
32985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32986 Likewise.
32987 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32988 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32989 Likewise.
32990 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32991 (__ieee754_remainderl): Likewise.
32992 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32993 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32994 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32995 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32996 Likewise.
32997 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32998 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32999 Likewise.
33000 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33001 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33002 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33003 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33004 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33005 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33006 Likewise.
33007 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33008 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33009 (__ieee754_y0l): Likewise.
33010 (pzero): Likewise.
33011 (qzero): Likewise.
33012 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33013 (__ieee754_y1l): Likewise.
33014 (pone): Likewise.
33015 (qone): Likewise.
33016 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33017 (__ieee754_ynl): Likewise.
33018 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33019 (__ieee754_lgammal_r): Likewise.
33020 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33021 Likewise.
33022 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33023 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33024 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33025 (__erfcl): Likewise.
33026 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33027 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33028 Likewise.
33029 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33030 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33031 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33032 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33033 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33034 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33035 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33036 Likewise.
33037 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33038 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33039 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33040 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33041 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33042 Likewise.
33043 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33044 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33045 Likewise.
33046 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33047 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33048 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33049 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33050 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33051
964263bb
FW
330522017-08-03 Florian Weimer <fweimer@redhat.com>
33053
33054 [BZ #21885]
33055 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33056 on memory allocation failure.
33057
e98c925f
AM
330582017-08-03 Alan Modra <amodra@gmail.com>
33059
33060 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33061 tst-tlsopt-powerpc.c with function name change and no test harness.
33062 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33063 Call tls_get_addr_opt_test.
33064 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33065 (modules-names): Add mod-tlsopt-powerpc.
33066 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33067 (tst-tlsopt-powerpc): Depend on .so.
33068 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33069 define. Expand use in TLS_GD and TLS_LD.
33070
8ee1abdb
ST
330712017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33072
33073 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33074 function.
3da5756e 33075 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 33076
42df8d59
JM
330772017-08-02 Joseph Myers <joseph@codesourcery.com>
33078
33079 [BZ #21686]
33080 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33081 comparing size with that of double.
33082 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33083 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33084 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33085 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33086 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33087 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33088 unsigned __int128 types.
33089
b7f95f49
SE
330902017-08-02 Steve Ellcey <sellcey@cavium.com>
33091
33092 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33093 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33094 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33095 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33096 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33097
5b736bc9
L
330982017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33099
33100 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33101
dfc93c41
L
331022017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33103
33104 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33105 of SHARED.
33106 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33107 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33109 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33110 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33111 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33113
2fee621d
JM
331142017-08-02 Joseph Myers <joseph@codesourcery.com>
33115
33116 [BZ #21685]
33117 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33118 bit-field expressions passed to sizeof or typeof.
33119 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33120 (__TGMATH_F128): Likewise.
33121 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33122 (__TGMATH_CF128): Likewise.
33123 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33124 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33125 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33126 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33127 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33128 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33129 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33130 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33131 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33132 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33133 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33134 (__TGMATH_UNARY_IMAG): Likewise.
33135 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33136 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33137 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33138 type.
33139 (define_vars_for_type): Handle bit_field type specially.
33140 (Tests.__init__): Declare structure with bit-field element.
33141
b358255f
L
331422017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33143
33144 [BZ #21791]
33145 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33146 (MEMCPY_CHK): Define only if SHARED is defined.
33147 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33148 Likewise.
33149 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33150 Likewise.
edf66db1
SP
33151
33152See ChangeLog.18 for earlier changes.