]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
elf: Remove remnants of MAP_ANON emulation
[thirdparty/glibc.git] / ChangeLog
CommitLineData
de71ee7b
FW
12019-03-04 Florian Weimer <fweimer@redhat.com>
2
3 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
4 declaration.
5 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
6 defined.
7
ce6ddae0
SL
82019-03-04 Stefan Liebler <stli@linux.ibm.com>
9
10 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
11 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12
31efface
TS
132019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
14
15 [BZ #24162]
16 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
17 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
18
f0eaf862
GG
192019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20
21 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
22 tests.
23 (do_test): Likewise.
24 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
25 (do_test_call_varg): Likewise.
26 (do_test_call_rarg): Likewise.
27 * sysdeps/ieee754/ldbl-opt/Makefile
28 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
29 tst-nldbl-error.
30 ($(objpfx)tst-nldbl-warn.c): New rule.
31 ($(objpfx)tst-nldbl-error.c): Likewise.
32 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
33 New variables.
34
d11086a9
GG
352019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
36
37 [BZ #23984]
38 * include/bits/error-ldbl.h: New file.
39 * include/error.h: Include stdarg.h. Declare internal functions
40 __error_internal and __error_at_line_internal.
41 * misc/Makefile (headers): Add bits/error-ldbl.h.
42 * misc/bits/error-ldbl.h: New file.
43 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
44 avoid the inclusion of bits/error.h.
45 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
46 and __nldbl_error_at_line.
47 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
48 (__nldbl_error, __ndlbl_error_at_line): New functions.
49 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
50 Redirect error and error_at_line.
51 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
52 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
53 Likewise.
54 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
55 Likewise.
56 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
57 Likewise.
58 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
59 Likewise.
60 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
61 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
62 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
63
90188e7d
GG
642019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
65
66 [BZ #23984]
67 * include/bits/err-ldbl.h: New file.
68 * include/err.h: Add prototypes for the internal functions:
69 __vwarnx_internal and __vwarn_internal.
70 * misc/Makefile (headers): Add bits/err-ldbl.h.
71 * misc/bits/err-ldbl.h: New file.
72 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
73 defined, i.e.: when -mlong-double-64 is in use.
74 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
75 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
76 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
77 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
78 (VA_CALL): New macro.
79 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
80 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
81 functions.
82 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
83 declare prototypes for the new functions.
84 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
86 Likewise.
87 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
88 Likewise.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
90 Likewise.
91 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
92 Likewise.
93 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
94 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
95 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
96
ea2d89d0
GG
972019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
98
99 * sysdeps/ieee754/ldbl-opt/Makefile
100 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
101 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
102 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
103
6e1f6440
GG
1042019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
105
106 [BZ #23983]
107 * argp/Makefile (headers): Add bits/argp-ldbl.h.
108 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
109 * argp/bits/argp-ldbl.h: New file.
110 * include/argp.h: Include stdarg.h. Add prototypes for internal
111 functions: __argp_error_internal and __argp_failure_internal.
112 * include/bits/argp-ldbl.h: New file.
113 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
114 __nldbl_argp_error and __nldbl_argp_failure.
115 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
116 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
117 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
118 Redirect argp_error and argp_failure calls.
119 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
121 Likewise.
122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
123 Likewise.
124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
125 Likewise.
126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
127 Likewise.
128 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
129 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
130 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
131
c259196b
FW
1322019-03-01 Florian Weimer <fweimer@redhat.com>
133
134 [BZ #20419]
135 * elf/tst-big-note-lib.S: Create a syntactically valid note.
136 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
137 code, to avoid creating an ABI tag note.
138 (modules-names-nobuild): Add tst-big-note-lib.
139
928b305d
SL
1402019-03-01 Stefan Liebler <stli@linux.ibm.com>
141
142 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
143 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
144
36f30c10
FW
1452019-03-01 Florian Weimer <fweimer@redhat.com>
146
147 [BZ #20271]
148 * sysdeps/unix/sysv/linux/netlink_assert_response.c
149 (__netlink_assert_response): Add additional missing newlines.
150
462e83a4
JM
1512019-02-28 Joseph Myers <joseph@codesourcery.com>
152
153 * sysdeps/powerpc/powerpc32/dl-machine.c
154 (__elf_machine_fixup_plt): Use space before '('.
155 (__process_machine_rela): Likewise.
156 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
157 Likewise.
158 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
159 Likewise.
160 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
161 Likewise.
162 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
163 (pattern): Likewise.
164 (delta): Likewise.
165 (check_result): Likewise.
166 (check_excepts): Likewise.
167 (check_op): Likewise.
168 (fail_xr): Likewise.
169 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
170 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
171 (SCNHSZ): Likewise.
172 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
173 Likewise.
174 (ARGS): Likewise.
175 (__makecontext): Likewise.
176 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
177 Likewise.
178
cc3e573c
FW
1792019-02-28 Florian Weimer <fweimer@redhat.com>
180
181 [BZ #23937]
182 elf: Add test with a local IFUNC resolver.
183 * elf/ifuncmain9.c: New file.
184 * elf/ifuncmain9pic.c: Likewise.
185 * elf/ifuncmain9picstatic.c: Likewise.
186 * elf/ifuncmain9pie.c: Likewise.
187 * elf/ifuncmain9static.c: Likewise.
188 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
189 ifuncmain9static, ifuncmain9picstatic.
190 * elf/Makefile [multi-arch && build-shared] (tests-internal):
191 Add ifuncmain9, ifuncmain9pic.
192 * elf/Makefile [multi-arch && build-shared && have-fpie]
193 (ifunc-pie-tests): Add ifuncmain9pie.
194 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
195 (CFLAGS-ifuncmain9picstatic.c): Likewise.
196 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
197
92ad88fe
L
1982019-02-27 H.J. Lu <hongjiu.lu@intel.com>
199
200 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
201 * configure: Regenerated.
202 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
203
6bd4d02e
AZ
2042019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
205
206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
207 symbol as __wcspcy instead of wcscpy.
208
1b218417
ST
2092019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
210
211 * include/stdio.h (__renameat2): New hidden prototype.
212 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
213 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
214 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
215 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
216
c4f50205
JM
2172019-02-27 Joseph Myers <joseph@codesourcery.com>
218
f627dd4d
JM
219 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
220 if statement.
221
c4f50205
JM
222 * benchtests/bench-strcpy.c (do_test): Use space before '('.
223 * benchtests/bench-string.h (cmdline_process_function): Likewise.
224 * benchtests/bench-strlen.c (do_test): Likewise.
225 (test_main): Likewise.
226 * catgets/gencat.c (read_old): Likewise.
227 * elf/cache.c (load_aux_cache): Likewise.
228 * iconvdata/bug-iconv8.c (do_test): Likewise.
229 * math/test-tgmath-ret.c (do_test): Likewise.
230 * nis/nis_call.c (rec_dirsearch): Likewise.
231 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
232 * nptl/tst-audit-threads.c (do_test): Likewise.
233 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
234 * nss/nss_test1.c (init): Likewise.
235 * nss/test-netdb.c (test_hosts): Likewise.
236 * posix/execvpe.c (maybe_script_execute): Likewise.
237 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
238 * stdio-common/tst-printf.c (do_test): Likewise.
239 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
240 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
241 * stdlib/qsort.c (STACK_SIZE): Likewise.
242 * stdlib/test-canon.c (do_test): Likewise.
243 * stdlib/tst-swapcontext1.c (do_test): Likewise.
244 * string/memcmp.c (OPSIZ): Likewise.
245 * string/test-strcpy.c (do_test): Likewise.
246 (do_random_tests): Likewise.
247 * string/test-strlen.c (do_test): Likewise.
248 (test_main): Likewise.
249 * string/test-strrchr.c (do_test): Likewise.
250 (do_random_tests): Likewise.
251 * string/tester.c (test_memrchr): Likewise.
252 (test_memchr): Likewise.
253 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
254 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
255 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
256 (read_encoded_value_with_base): Likewise.
257 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
258 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
259 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
260 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
261 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
262 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
263 Likewise.
264 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
265 Likewise.
266 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
267 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
268 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
269 Likewise.
270 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
271 Likewise.
272 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
273 Likewise.
274 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
275 Likewise.
276 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
277 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
278 (FP_XSTATE_MAGIC2_SIZE): Likewise.
279 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
280 * time/test_time.c (main): Likewise.
281
7b3fb620
AZ
2822019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
283
457208b1
AZ
284 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
285
30a7e208
AZ
286 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
287 wmemcpy.
288
ddf21ec7
AZ
289 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
290 wmemcpy.
291
4d801563
AZ
292 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
293
81a14439
AZ
294 * include/wchar.h (__wcscpy): New prototype.
295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
296 (__wcscpy): Route internal symbol to generic implementation.
297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
298 Add internal __wcscpy alias.
299 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
300 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
301 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
302 * wcsmbs/wcscpy.c (wcscpy): Add
303 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
304 use generic implementation.
305 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
306
39ef0744
AZ
307 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
308 wmemset.
309
7b3fb620
AZ
310 * sysdeps/m68k/wcpcpy.c: Remove file.
311 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
312
e0cb7b61
JM
3132019-02-26 Joseph Myers <joseph@codesourcery.com>
314
aa0e4663
JM
315 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
316 than after operators.
317 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
318 * sysdeps/mach/hurd/getcwd.c
319 (__hurd_canonicalize_directory_name_internal): Likewise.
320 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
321 (pthread_mutex_consistent): Likewise.
322 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
323 Likewise.
324 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
325 (__pthread_mutex_transfer_np): Likewise.
326 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
327 (__pthread_mutex_unlock): Likewise.
328 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
329 (mtx_owned_p): Likewise.
330 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
331 (pthread_mutexattr_getrobust): Likewise.
332 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
333 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
334 Likewise.
335 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
336 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
337 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
338 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
339 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
342 Likewise.
343 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
344 Likewise.
345 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
346 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
347 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
348 (____longjmp_chk): Likewise.
349 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
350 Likewise.
351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
352 (INTERNAL_SYSCALL): Likewise.
353 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
354 (INTERNAL_SYSCALL): Likewise.
355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
356 (__get_clockfreq_via_cpuinfo): Likewise.
357
e0cb7b61
JM
358 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
359 comments.
360 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
361 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
362 (WORD_COPY_BWD): Likewise.
363 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
364 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
365 Likewise.
366 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
367 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
368 comment.
369 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
370
a04549c1
JM
3712019-02-25 Joseph Myers <joseph@codesourcery.com>
372
373 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
374 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
375 rather than after operators.
376 * elf/cache.c (print_cache): Likewise.
377 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
378 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
379 * hurd/hurdinit.c (_hurd_setproc): Likewise.
380 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
381 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
382 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
383 (reauth_proc): Likewise.
384 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
385 (__file_name_split_at): Likewise.
386 (__directory_name_split_at): Likewise.
387 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
388 * hurd/port2fd.c (_hurd_port2fd): Likewise.
389 * iconv/gconv_dl.c (do_print): Likewise.
390 * inet/netinet/in.h (struct sockaddr_in): Likewise.
391 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
392 * locale/setlocale.c (new_composite_name): Likewise.
393 * malloc/memusagestat.c (main): Likewise.
394 * misc/fstab.c (fstab_convert): Likewise.
395 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
396 Likewise.
397 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
398 (getgrent_next_file): Likewise.
399 (internal_getgrnam_r): Likewise.
400 (internal_getgrgid_r): Likewise.
401 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
402 Likewise.
403 (internal_getgrent_r): Likewise.
404 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
405 (getpwent_next_nss): Likewise.
406 (getpwent_next_file): Likewise.
407 (internal_getpwnam_r): Likewise.
408 (internal_getpwuid_r): Likewise.
409 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
410 Likewise.
411 (getspent_next_nss): Likewise.
412 (internal_getspnam_r): Likewise.
413 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
414 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
415 * string/strchr.c (STRCHR): Likewise.
416 * string/strchrnul.c (STRCHRNUL): Likewise.
417 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
418 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
419 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
420 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
421 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
422 Likewise.
423 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
424 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
425 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
426 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
427 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
428 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
429 (open_file): Likewise.
430 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
431 (pthread_mutexattr_setprotocol): Likewise.
432 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
433 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
434 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
435 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
436 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
437 Likewise.
438 (elf_machine_rela): Likewise.
439 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
440 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
441 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
442 * sysdeps/posix/rename.c (rename): Likewise.
443 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
444 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
445 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
446 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
447 * sysdeps/unix/grantpt.c (grantpt): Likewise.
448 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
449 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
450 Likewise.
451 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
452 Likewise.
453 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
454 * time/tzfile.c (__tzfile_compute): Likewise.
455
34a5a146
JM
4562019-02-22 Joseph Myers <joseph@codesourcery.com>
457
458 * benchtests/bench-memmem.c (simple_memmem): Break lines before
459 rather than after operators.
460 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
461 * crypt/md5.c (md5_finish_ctx): Likewise.
462 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
463 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
464 * elf/cache.c (load_aux_cache): Likewise.
465 * elf/dl-load.c (open_verify): Likewise.
466 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
467 * elf/readelflib.c (process_elf_file): Likewise.
468 * elf/rtld.c (dl_main): Likewise.
469 * elf/sprof.c (generate_call_graph): Likewise.
470 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
471 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
472 * hurd/dtable.c (reauth_dtable): Likewise.
473 * hurd/getdport.c (__getdport): Likewise.
474 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
475 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
476 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
477 Likewise.
478 * hurd/hurdioctl.c (fioctl): Likewise.
479 * hurd/hurdselect.c (_hurd_select): Likewise.
480 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
481 (STOPSIGS): Likewise.
482 * hurd/hurdstartup.c (_hurd_startup): Likewise.
483 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
484 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
485 * hurd/msgportdemux.c (msgport_server): Likewise.
486 * hurd/setauth.c (_hurd_setauth): Likewise.
487 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
488 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
489 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
490 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
491 * login/tst-utmp.c (do_check): Likewise.
492 (simulate_login): Likewise.
493 * mach/lowlevellock.h (lll_lock): Likewise.
494 (lll_trylock): Likewise.
495 * math/test-fenv.c (ALL_EXC): Likewise.
496 * math/test-fenvinline.c (ALL_EXC): Likewise.
497 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
498 * nis/nis_call.c (__do_niscall3): Likewise.
499 * nis/nis_callback.c (cb_prog_1): Likewise.
500 * nis/nis_defaults.c (searchaccess): Likewise.
501 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
502 * nis/nis_ismember.c (internal_ismember): Likewise.
503 * nis/nis_local_names.c (nis_local_principal): Likewise.
504 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
505 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
506 Likewise.
507 * nis/ypclnt.c (yp_match): Likewise.
508 (yp_first): Likewise.
509 (yp_next): Likewise.
510 (yp_master): Likewise.
511 (yp_order): Likewise.
512 * nscd/hstcache.c (cache_addhst): Likewise.
513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
514 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
515 (internal_getpwuid_r): Likewise.
516 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
517 * posix/glob.h (__GLOB_FLAGS): Likewise.
518 * posix/regcomp.c (peek_token): Likewise.
519 (peek_token_bracket): Likewise.
520 (parse_expression): Likewise.
521 * posix/regexec.c (sift_states_iter_mb): Likewise.
522 (check_node_accept_bytes): Likewise.
523 * posix/tst-spawn3.c (do_test): Likewise.
524 * posix/wordexp-test.c (testit): Likewise.
525 * posix/wordexp.c (parse_tilde): Likewise.
526 (exec_comm): Likewise.
527 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
528 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
529 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
530 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
531 * stdio-common/tst-fileno.c (do_test): Likewise.
532 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
533 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
534 * stdlib/strtod_l.c (round_and_return): Likewise.
535 (____STRTOF_INTERNAL): Likewise.
536 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
537 * string/strcspn.c (STRCSPN): Likewise.
538 * string/test-memmem.c (simple_memmem): Likewise.
539 * termios/tcsetattr.c (tcsetattr): Likewise.
540 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
541 * time/asctime.c (asctime_internal): Likewise.
542 * time/strptime_l.c (__strptime_internal): Likewise.
543 * time/sys/time.h (timercmp): Likewise.
544 * time/tzfile.c (__tzfile_compute): Likewise.
545
b0b50fe0
PF
5462019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
547
548 [BZ #21915]
549 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
550
f43b8dd5
GG
5512019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
552
553 * argp/argp-help.c (__argp_error_internal): New function,
554 renamed from __argp_error, but that takes a 'mode_flags'
555 parameter to control the format of long double parameters.
556 (__argp_error): Converted into a call __argp_error_internal.
557 (__argp_failure_internal): New function, renamed from
558 __argp_failure, but that takes a 'mode_flags' parameter.
559 (__argp_failure): Converted into a call __argp_failure_internal.
560 * misc/err.c (__vwarnx_internal): New function, renamed from
561 vwarnx, but that takes a 'mode_flags' parameter.
562 (vwarnx): Converted into a call to __vwarnx_internal.
563 (__vwarn_internal): New function, renamed from vwarn, but that
564 takes a 'mode_flags' parameter.
565 (vwarn): Converted into a call to __vwarn_internal.
566 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
567 call to __vfxprintf with 'mode_flags'.
568 (__error_internal): New function, renamed from error, but that
569 takes a 'mode_flags' parameter.
570 (error): Converted into a call to __error_internal.
571 (__error_at_line_internal): New function, renamed from
572 error_at_line, but that takes a 'mode_flags' parameter.
573 (error_at_line): Converted into a call to
574 __error_at_line_internal.
575 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
576 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
577 Likewise.
578
dc0afac3 5792019-02-20 Martin Liska <mliska@suse.cz>
580
581 * math/Makefile: Install math-vector-fortran.h.
582 * bits/math-vector-fortran.h: New file.
583 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
584
4a2dd41c
GG
5852019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
586
587 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
588 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
589
04de9302
WS
5902019-02-19 Wolfram Sang <wsa@the-dreams.de>
591
592 * nptl/pthread_mutex_trylock.c: Fix comment.
593
b026ce1e
CD
5942019-02-19 Carlos O'Donell <carlos@redhat.com>
595
596 * nptl/pthread_tryjoin.c: Fix comment.
597
8c9289b6
JM
5982019-02-18 Joseph Myers <joseph@codesourcery.com>
599
600 [BZ #24231]
601 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
602 after R_SPARC_H34 case.
603
308e022f
FW
6042019-02-18 Florian Weimer <fweimer@redhat.com>
605
606 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
607 (getanswer): Do not call Dprintf.
608 (res_gethostbyname2_context): Likewise.
609 (res_gethostbyaddr_context): Likewise.
610
a5406364
FW
6112019-02-18 Florian Weimer <fweimer@redhat.com>
612
613 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
614 declaration.
615 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
616 Remove definitions.
617 * libio/stdfiles.c: Update comment.
618 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
619 set _IO_stdin, _IO_stdout, _IO_stderr.
620 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
621 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
622 inline function.
623 (_IO_deallocate_file): New inline function.
624 * libio/iolibio.h (_IO_vprintf): Remove definition.
625 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
626 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
627 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
628 _IO_legacy_file.
629 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
630 __builtin_expect. Use _IO_legacy_file.
631
6c29942c
SL
6322019-02-18 Stefan Liebler <stli@linux.ibm.com>
633
634 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
635 Initialize ctid with a known value and remove update of ctid
636 after clone.
637 (wait_tid): Adjust arguments and call futex_wait with ctid_val
638 as assumed current value of ctid_ptr.
639
ad18dade
FW
6402019-02-15 Florian Weimer <fweimer@redhat.com>
641
642 Check that non-sysdeps headers have wrapper headers.
643 * scripts/check-wrapper-headers.py: New file.
644 * Makefile (tests-special): Add check-wrapper-headers.out.
645 (check-wrapper-headers.out): New target.
646 * Rules (tests-special): Add check-wrapper-headers.out.
647 (check-wrapper-headers.out): New target.
648
ebd32784
FW
6492019-02-15 Florian Weimer <fweimer@redhat.com>
650
651 Add missing header wrappers under include/.
652 * include/ar.h: New file.
653 * include/bits/mqueue2.h: Likewise.
654 * include/bits/stdio.h: Likewise.
655 * include/bits/stdio2.h: Likewise.
656 * include/fstab.h: Likewise.
657 * include/fts.h: Likewise.
658 * include/lastlog.h: Likewise.
659 * include/netinet/icmp6.h: Likewise.
660 * include/netinet/igmp.h: Likewise.
661 * include/netinet/ip6.h: Likewise.
662 * include/re_comp.h: Likewise.
663 * include/regexp.h: Likewise.
664 * include/rpcsvc/bootparam.h: Likewise.
665 * include/rpcsvc/yp_prot.h: Likewise.
666 * include/sys/random.h: Likewise.
667 * include/sys/stropts.h: Likewise.
668 * include/sys/ttychars.h: Likewise.
669 * include/sys/vfs.h: Likewise.
670 * include/wait.h: Likewise.
671
a198d37a
FW
6722019-02-15 Florian Weimer <fweimer@redhat.com>
673
674 * nptl_db/proc_service.h: Move to ...
675 * sysdeps/nptl/proc_service.h: ... here.
676 * nptl_db/thread_db.h: Move to ...
677 * sysdeps/nptl/thread_db.h: ... here.
678 * nptl/descr.h: Include <thread_db.h>.
679
e442e40d
AZ
6802019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
681
682 * io/Makefile (tests): Add tst-lockf.
683 * io/lockf.c (lockf): Use __fcntl and only define for
684 !__OFF_T_MATCHES_OFF64_T.
685 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
686 __OFF_T_MATCHES_OFF64_T case.
687 * io/tst-lockf.c: New file.
688 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
689 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
690 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
691 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
692 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
694 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
695 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
696 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
697
bc10e22c
FW
6982019-02-15 Florian Weimer <fweimer@redhat.com>
699
700 [BZ #24211]
701 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
702 pd->result after the thread descriptor has been freed.
703
365f05c7
JM
7042019-02-15 Joseph Myers <joseph@codesourcery.com>
705
8a11f970
JM
706 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
707 from function return type.
708
365f05c7
JM
709 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
710
56a731d4
JK
7112019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
712
713 * scripts/test_printers_common.py: Set TERM to a known harmless
714 value.
715
712182c8
JM
7162019-02-14 Joseph Myers <joseph@codesourcery.com>
717
718 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
719 (xdr_u_int): Likewise.
720 (xdr_enum): Likewise.
721 (xdr_bytes): Reword fall-through comment.
722 (xdr_string): Likewise.
723
eb76e5b4
AZ
7242019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
725
726 [BZ #2421]
727 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
728 (tests): Add tst-join8 tst-join9.
729 * nptl/lll_timedwait_tid.c: Remove file.
730 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
731 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
732 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
733 * nptl/pthread_join_common.c (timedwait_tid): New function.
734 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
735 is set.
736 * nptl/tst-join5.c (thread_join): New function.
737 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
738 check.
739 * nptl/tst-join8.c: New file.
740 * nptl/tst-join9.c: Likewise.
741 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
742 lll_futex_timed_wait_cancel): Add generic macros.
743 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
744 Remove definitions.
745 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
746 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
747 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
748 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
749 Remove function.
750 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
751 Likewise.
752 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
753 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
754 (lll_futex_timed_wait_cancel): New macro.
755
3904fd85
WD
7562019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
757
758 * benchtests/Makefile: Add malloc-simple benchmark.
759 * benchtests/bench-malloc-simple.c: New benchmark.
760
24ca04fe
SP
7612019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
762
763 * benchtests/bench-memmove.c (do_one_test): Remove unused
764 ORIG_SRC.
765 (do_test): Adjust.
766 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
767 ORIG_SRC.
768 (do_test): Adjust.
769
85bd1ddb
JW
7702019-01-13 Jim Wilson <jimw@sifive.com>
771
772 [BZ #24040]
773 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
774 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
775 (func): New.
776 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
777 call func directly.
778 * nptl/Makefile (tests): Add tst-unwind-thread.
779 (CFLAGS-tst-unwind-thread.c): Define.
780 * nptl/tst-unwind-thread.c: New file.
781 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
782 as undefined.
783
86140c62
JM
7842019-02-13 Joseph Myers <joseph@codesourcery.com>
785
10756268
JM
786 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
787 comment wording.
788 * nis/nis_call.c (__do_niscall3): Likewise.
789
05383720
JM
790 * catgets/gencat.c (normalize_line): Use braces around empty
791 'else' body.
792 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
793 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
794 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
795 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
796 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
797 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
798 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
799 definition.
800
86140c62
JM
801 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
802 execlp returns.
803
16f87cfd
WD
8042019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
805
806 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
807 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
808 * benchtests/bench-strchr.c (stupid_strchr): Remove.
809 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
810 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
811 * benchtests/bench-strlen.c (builtin_strlen): Remove.
812 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
813 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
814 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
815 * benchtests/bench-strspn.c (stupid_strspn): Remove.
816 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
817 * benchtests/bench-bcopy.c: Delete file.
818 * benchtests/bench-bzero.c: Likewise.
819 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
820 (simple_memccpy): Remove.
821 (generic_memccpy): Add function.
822 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
823 * benchtests/bench-memmove.c (simple_bcopy): Remove.
824 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
825 (generic_mempcpy): Add new function.
826 * benchtests/bench-memset.c (simple_bzero): Remove.
827 (builtin_bzero): Remove.
828 (builtin_memset): Remove.
829 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
830 (generic_rawmemchr): Add new function.
831
0c6d82e9
FW
8322019-02-12 Florian Weimer <fweimer@redhat.com>
833
834 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
835
b3fbfe81
AZ
8362019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
837
838 [BZ #24122]
839 * elf/Makefile (tests): Add tst-audit13.
840 (modules-names): Add tst-audit13mod1.
841 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
842 rule.
843 * elf/tst-audit13.c: New file.
844 * elf/tst-audit13mod1.c: Likewise.
845
3b856d09
FW
8462019-02-12 Florian Weimer <fweimer@redhat.com>
847
848 [BZ #24122]
849 * elf/rtld.c (unload_audit_module): New function.
850 (report_audit_module_load_error): Likewise.
851 (load_audit_module): Likewise. Extracted from dl_main. Call
852 _dl_close if the laversion symbol cannot be found. Use early
853 returns for error handling. Add malloc error check. Check for a
854 zero return value from la_version. Remove spurious comment about
855 static TLS initialization. Remove useless casts.
856 (notify_audit_modules_of_loaded_object): New function. Extracted
857 from dl_main.
858 (load_audit_module): Likewise.
859 (dl_main): Call load_audit_modules.
860
32db86d5
JM
8612019-02-12 Joseph Myers <joseph@codesourcery.com>
862
863 * elf/dl-exception.c (_dl_exception_create_format): Add
864 fall-through comments.
865 * elf/ldconfig.c (parse_conf_include): Likewise.
866 * elf/rtld.c (print_statistics): Likewise.
867 * locale/programs/charmap.c (parse_charmap): Likewise.
868 * misc/mntent_r.c (__getmntent_r): Likewise.
869 * posix/wordexp.c (parse_arith): Likewise.
870 (parse_backtick): Likewise.
871 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
872 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
873 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
874
a51bc4fe
PC
8752019-02-11 Paul A. Clarke <pc@us.ibm.com>
876
877 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
878 Use float instead of double.
879
fb25b135
TS
8802019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
881
882 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
883
32ea7299
JM
8842019-02-08 Joseph Myers <joseph@codesourcery.com>
885
886 * sysdeps/powerpc/bits/mathinline.h: Remove.
887
eef4d4f8
FW
8882019-02-08 Florian Weimer <fweimer@redhat.com>
889
890 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
891 * math/bits/math-finite.h: Move to ...
892 * bits/math-finite.h: ... here.
893
fdfbd47d
FW
8942019-02-08 Florian Weimer <fweimer@redhat.com>
895
896 * sysdeps/generic/bits/unistd_ext.h: Move to ...
897 * bits/unistd_ext.h: here.
898
11eb21c4
PF
8992019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
900
901 [BZ #21915]
902 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
903 * nss/tst-nss-files-hosts-long.c: New file.
904 * nss/tst-nss-files-hosts-long.root: New directory.
905 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
906 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
907
e47d82c9
FW
9082019-02-08 Florian Weimer <fweimer@redhat.com>
909
910 * include/bits/unistd_ext.h: Remove file.
911 * posix/bits/unistd_ext.h: Move to ...
912 * sysdeps/generic/bits/unistd_ext.h: ... here.
913
8f89ab21
FW
9142019-02-08 Florian Weimer <fweimer@redhat.com>
915
916 * include/bits/unistd_ext.h: New file.
917
144a794e
TS
9182019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
919
920 * time/tst-strftime2.c: Use array_length macros instead of magic
921 numbers.
922
669ff911
FW
9232019-02-08 Florian Weimer <fweimer@redhat.com>
924
925 [BZ #24161]
926 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
927 argument.
928 * nptl/register-atfork.c (__run_fork_handlers): Only perform
929 locking if the new do_locking argument is true.
930 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
931 __run_fork_handlers.
932
d0bd87d4 9332019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
934
935 [BZ #6399]
936 Linux: Add gettid system call wrapper.
937 * posix/Makefile (headers): Add bits/unistd_ext.h.
938 * posix/bits/unistd_ext.h: New file.
939 * posix/unistd.h: Include it.
940 * manual/process.texi (Process Identification): Document gettid.
941 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
942 tst-gettid, tst-gettid-kill.
943 (tst-gettid): Link with $(shared-thread-library).
944 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
945 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
946 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
947 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
948 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
949 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
950 Add gettid.
951 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
952 Likewise.
953 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
954 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
955 Likewise.
956 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
957 Likewise.
958 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
959 Likewise.
960 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
961 Likewise.
962 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
963 Likewise.
964 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
965 Likewise.
966 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
967 Likewise.
968 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
969 (GLIBC_2.30): Likewise.
970 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
971 (GLIBC_2.30): Likewise.
972 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
973 (GLIBC_2.30): Likewise.
974 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
975 (GLIBC_2.30): Likewise.
976 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
977 Likewise.
978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
979 (GLIBC_2.30): Likewise.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
981 (GLIBC_2.30): Likewise.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
983 (GLIBC_2.30): Likewise.
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
985 (GLIBC_2.30): Likewise.
986 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
987 Likewise.
988 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
989 Likewise.
990 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
991 Likewise.
992 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
993 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
994 Likewise.
995 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
996 Likewise.
997 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
998 Likewise.
999 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1000 Likewise.
1001 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1002
f289e656
FW
10032019-02-07 Florian Weimer <fweimer@redhat.com>
1004
1005 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1006 compatibility symbols.
1007
823624bd
SL
10082019-02-07 Stefan Liebler <stli@linux.ibm.com>
1009
1010 [BZ #24180]
1011 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1012 Add compiler barriers and comments.
1013
8311c83f
FW
10142019-02-07 Florian Weimer <fweimer@redhat.com>
1015
1016 * include/array_length.h (array_length): Do not use a statement
1017 expression and _Static_assert, so that array_length can be used at
1018 file scope and as a constant expression.
1019
94b63e66
FW
10202019-02-07 Florian Weimer <fweimer@redhat.com>
1021
1022 * support/xdlfcn.h (xdlmopen): Declare.
1023 * support/xdlmopen.c: New file.
1024 * support/Makefile (libsupport-routines): Add xdlmopen.
1025
c2d8f0b7
JM
10262019-02-06 Joseph Myers <joseph@codesourcery.com>
1027
1028 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1029 before return type, without separate inline.
1030 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1031 * elf/dl-tunables.h (tunable_is_name): Likewise.
1032 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1033 (do_set_top_pad): Likewise.
1034 (do_set_mmap_threshold): Likewise.
1035 (do_set_mmaps_max): Likewise.
1036 (do_set_mallopt_check): Likewise.
1037 (do_set_perturb_byte): Likewise.
1038 (do_set_arena_test): Likewise.
1039 (do_set_arena_max): Likewise.
1040 (do_set_tcache_max): Likewise.
1041 (do_set_tcache_count): Likewise.
1042 (do_set_tcache_unsorted_limit): Likewise.
1043 * nis/nis_subr.c (count_dots): Likewise.
1044 * nptl/allocatestack.c (advise_stack_range): Likewise.
1045 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1046 (do_sin): Likewise.
1047 (reduce_sincos): Likewise.
1048 (do_sincos): Likewise.
1049 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1050 (do_set_elision_enable): Likewise.
1051 (TUNABLE_CALLBACK_FNDECL): Likewise.
1052
3b935595
FW
10532019-02-06 Florian Weimer <fweimer@redhat.com>
1054
1055 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1056 (xdlsym): Use dlerror to detect a NULL symbol.
1057
b4333340
FW
10582019-02-06 Florian Weimer <fweimer@redhat.com>
1059
1060 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1061 <stap-probe.h>.
1062 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1063
b6d8a999
SL
10642019-02-06 Stefan Liebler <stli@linux.ibm.com>
1065
1066 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1067
94eeeec0
SL
10682019-02-06 Stefan Liebler <stli@linux.ibm.com>
1069
1070 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1071 __wmemcmp and weak alias to wmemcmp.
1072
bc79db3f
SL
10732019-02-06 Stefan Liebler <stli@linux.ibm.com>
1074
1075 [BZ #23403]
1076 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1077 TLS_TCB_AT_TP tls variant.
1078 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1079 Add alignment checks.
1080 * support/Makefile (libsupport-routines): Add xposix_memalign and
1081 xpthread_setstack.
1082 * support/support.h: Add xposix_memalign.
1083 * support/xthread.h: Add xpthread_attr_setstack.
1084 * support/xposix_memalign.c: New File.
1085 * support/xpthread_attr_setstack.c: Likewise.
1086
f1ac7455
FW
10872019-02-05 Florian Weimer <fweimer@redhat.com>
1088
1089 [BZ #24164]
1090 arm: Use "nr" constraint for Systemtap probes, to avoid the
1091 compiler using memory operands for constants, due to the "o"
1092 alternative in the default "nor" constraint.
1093 * include/stap-probe.h [USE_STAP_PROBE]: Include
1094 <stap-probe-machine.h>
1095 * sysdeps/generic/stap-probe-machine.h: New file.
1096 * sysdeps/arm/stap-probe-machine.h: Likewise.
1097
7a0dcfc6
JM
10982019-02-04 Joseph Myers <joseph@codesourcery.com>
1099
77dc0d86
JM
1100 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1101 with 0, not tcache->entries[tc_idx].
1102
7a0dcfc6
JM
1103 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1104 once.
1105
65f7767a
AS
11062019-02-04 Andreas Schwab <schwab@suse.de>
1107
1108 [BZ #16976]
1109 [BZ #17396]
1110 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1111 looking up collating elements match against (wide) character
1112 sequence instead of name. Correct alignment adjustment.
1113 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1114 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1115 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1116 (LOCALES): Add cs_CZ.ISO-8859-2.
1117 * posix/tst-fnmatch4.c: New file.
1118 * posix/tst-fnmatch5.c: New file.
1119 * include/wchar.h (__wmemcmp): Declare.
1120 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1121 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1122 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1123 * sysdeps/s390/wmemcmp.c: Likewise.
1124
3f635fb4
L
11252019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1126
1127 [BZ #24155]
1128 CVE-2019-7309
1129 * NEWS: Updated for CVE-2019-7309.
1130 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1131 upper 32 bits of RDX register for x32. Use unsigned Jcc
1132 instructions, instead of signed.
1133 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1134 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1135
2ab5741b
FW
11362019-02-04 Florian Weimer <fweimer@redhat.com>
1137
1138 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1139 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1140 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1141 Likewise.
1142 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1143 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1144 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1145 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1146 Likewise.
1147 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1148 Likewise.
1149 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1150 Likewise.
1151 (posix_spawn_file_actions_addopen): Likewise.
1152 (posix_spawn_file_actions_addclose): Likewise.
1153 (posix_spawn_file_actions_adddup2): Likewise.
1154 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1155 qualifiers.
1156 (posix_spawn_file_actions_addfchdir_np): Likewise.
1157
8692ebdb
DN
11582019-02-04 David Newall <glibc@davidnewall.com>
1159
1160 elf: Implement --preload option for the dynamic linker.
1161 * elf/rtld.c (preloadarg): New variable.
1162 (handle_preload_list): Pass through “where” argument to
1163 do_preload.
1164 (dl_main): Handle "--preload" and add second call to
1165 handle_preload_list.
1166 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1167 (tst-rtld-preload-OBJS): Set variable.
1168 (tst-rtld-preload.out): New target.
1169 * elf/tst-rtld-preload.sh: New file.
1170
5e10136b
MM
11712019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1172
1173 * Makefile (testrun.sh): Exit in case of incorrect argument.
1174
221baae0
FW
11752019-02-04 Florian Weimer <fweimer@redhat.com>
1176
1177 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1178 alignment gaps.
1179
b8c72381
FW
11802019-02-03 Florian Weimer <fweimer@redhat.com>
1181
1182 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1183 implicit overflow checks.
1184
11f382ee
AJ
11852019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1186
1187 * stdlib/isomac.c: Include <unistd.h>.
1188
77c7d55e
FW
11892019-02-03 Florian Weimer <fweimer@redhat.com>
1190
1191 * include/time.h (__tzfile_default): Use int, not long int, for
1192 the GMT offsets.
1193 * time/tzfile.c (struct ttinfo): Change type of the offset member
1194 to int.
1195 (__tzfile_read): Remove useless cast.
1196 (__tzfile_default): Adjust prototype.
1197 * time/tzset.c (tz_rule): Change type of the offset member to int.
1198 (parse_offset): Change the type of the sign variable to int.
1199
ee9941f9
FW
12002019-02-03 Florian Weimer <fweimer@redhat.com>
1201
1202 [BZ #24153]
1203 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1204 * libio/getchar.c (getchar): Likewise.
1205 * libio/getchar_u.c (getchar_unlocked): Likewise.
1206 * libio/getwchar.c (getwchar): Likewise.
1207 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1208 * libio/iogets.c (_IO_gets): Likewise.
1209 * libio/vscanf.c (_IO_vscanf): Likewise.
1210 * libio/vwscanf.c (__vwscanf): Likewise.
1211 * libio/tst-bz24153.c: New file.
1212 * libio/Makefile (tests): Add it.
1213
c70824b9
FW
12142019-02-02 Florian Weimer <fweimer@redhat.com>
1215
1216 [BZ #14829]
1217 * manual/resource.texi (Basic Scheduling Functions): Add
1218 portability note. Change process to task throughout the section.
1219 Remove incorrect comment about sched_yield as it affects
1220 tasks/threads, not entire processes.
1221 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1222 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1223
4dcbbc3b
JM
12242019-02-01 Joseph Myers <joseph@codesourcery.com>
1225
1226 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1227 * configure: Regenerated.
1228 * manual/install.texi (Tools for Compilation): Update minimum GCC
1229 version.
1230 * INSTALL: Regenerated.
1231
6175507c
FW
12322019-02-01 Florian Weimer <fweimer@redhat.com>
1233
1234 * support/support_test_compare_string.c
1235 (support_test_compare_string): Use "string" in error message.
1236 * support/tst-test_compare_string.c (do_test): Adjust.
1237
baef1943
FW
12382019-02-01 Florian Weimer <fweimer@redhat.com>
1239
1240 * support/support_format_address_family.c
1241 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1242
395599f0
FW
12432019-02-01 Florian Weimer <fweimer@redhat.com>
1244
1245 * manual/socket.texi (Internet Address Formats): Clarify the byte
1246 order of struct sockaddr_in, struct sockaddr_in6. Document
1247 sin6_flowinfo and sin6_scope_id.
1248
b06f4c00
WD
12492019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1250
1251 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1252 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1253 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1254 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1255 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1256 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1257
83d1cc42
FX
12582019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1259
1260 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1261 [!MEMCHR](MEMCHR): Set to __memchr.
1262 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1263 Add memchr_generic and memchr_nosimd.
1264 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1265 (__libc_ifunc_impl_list): Add memchr ifuncs.
1266 * sysdeps/aarch64/multiarch/memchr.c: New file.
1267 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1268 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1269
c7d3890f
FX
12702019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1271
1272 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1273 Add memset_emag.
1274 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1275 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1276 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1277 Add IS_EMAG check for ifunc dispatch.
1278 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1279 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1280
07c3d1ec
FX
12812019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1282
1283 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1284 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1285 Add emag.
1286 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1287 New macro.
1288
114f792e
SL
12892019-02-01 Stefan Liebler <stli@linux.ibm.com>
1290
1291 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1292
d5627550
VG
12932019-01-31 Vineet Gupta <vgupta@synopsys.com>
1294
1295 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1296 syscall-template file.
1297
5fc9ed4c
CD
12982019-01-31 Carlos O'Donell <carlos@redhat.com>
1299 Torvald Riegel <triegel@redhat.com>
1300 Rik Prohaska <prohaska7@gmail.com>
1301
1302 [BZ# 23844]
1303 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1304 tst-rwlock-trywrlock-stall.
1305 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1306 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1307 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1308 Set __wrphase_fute to 1 only if we started the write phase.
1309 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1310 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1311 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1312 * support/xpthread_rwlock_destroy.c: New file.
1313 * support/xthread.h: Declare xpthread_rwlock_destroy.
1314
932329a5
JM
13152019-02-01 Joseph Myers <joseph@codesourcery.com>
1316
1317 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1318 version to 4.0.2.
1319
5f10701f
PP
13202019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1321
1322 [BZ #24051]
1323 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1324 * libio/fileops.c (_IO_new_file_underflow): Likewise
1325 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1326 * libio/putchar.c (putchar): Likewise.
1327 * libio/putchar_u.c (putchar_unlocked): Likewise.
1328 * libio/putwchar.c (putchar): Likewise.
1329 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1330 * libio/tst-bz24051.c: New test.
1331 * libio/Makefile (tests): Add tst-bz24051
1332
583dd860
PE
13332019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1334
1335 regex: fix read overrun [BZ #24114]
1336 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1337 https://debbugs.gnu.org/34140
1338 * posix/regexec.c (proceed_next_node):
1339 Do not read past end of input buffer.
1340
2bac7daa
FW
13412019-01-31 Florian Weimer <fweimer@redhat.com>
1342
1343 [BZ #24059]
1344 * nss/nss_files/files-alias.c (get_next_alias): Handle
1345 continuation line without newline at the end.
1346 * nss/tst-nss-files-alias-truncated.c: New file.
1347 * nss/Makefile [$(build-shared)] (tests): Add
1348 tst-nss-files-alias-truncated.
1349 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1350 * support/namespace.h (struct support_chroot_configuration): Add
1351 aliases member.
1352 (struct support_chroot): Add path_aliases member.
1353 * support/support_chroot.c (support_chroot_create): Handle
1354 aliases.
1355 (support_chroot_free): Free path_aliases.
1356
330c9d0d
SP
13572019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1358
de44ab67
SP
1359 * version.h (RELEASE): Set to "development".
1360 (VERSION): Set to "2.29.9000".
1361 * NEWS: Add section for 2.30.
1362
56c86f5d
SP
1363 * version.h (RELEASE): Set to "stable".
1364 (VERSION): Set to "2.29".
1365 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1366
330c9d0d
SP
1367 * NEWS: Add the list of bugs fixed in 2.29.
1368 * manual/contrib.texi: Update contributors list with some more
1369 names.
1370 * manual/install.texi: Update latest versions of packages
1371 tested.
1372 * INSTALL: Regenerated.
1373
e1e47c91
SP
13742019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1375
1376 * po/be.po: Update translations.
1377 * po/bg.po: Likewise.
1378 * po/ca.po: Likewise.
1379 * po/cs.po: Likewise.
1380 * po/da.po: Likewise.
1381 * po/de.po: Likewise.
1382 * po/el.po: Likewise.
1383 * po/eo.po: Likewise.
1384 * po/es.po: Likewise.
1385 * po/fi.po: Likewise.
1386 * po/fr.po: Likewise.
1387 * po/gl.po: Likewise.
1388 * po/hr.po: Likewise.
1389 * po/hu.po: Likewise.
1390 * po/ia.po: Likewise.
1391 * po/id.po: Likewise.
1392 * po/it.po: Likewise.
1393 * po/ja.po: Likewise.
1394 * po/ko.po: Likewise.
1395 * po/lt.po: Likewise.
1396 * po/nb.po: Likewise.
1397 * po/nl.po: Likewise.
1398 * po/pl.po: Likewise.
1399 * po/pt_BR.po: Likewise.
1400 * po/ru.po: Likewise.
1401 * po/rw.po: Likewise.
1402 * po/sk.po: Likewise.
1403 * po/sl.po: Likewise.
1404 * po/sv.po: Likewise.
1405 * po/tr.po: Likewise.
1406 * po/uk.po: Likewise.
1407 * po/vi.po: Likewise.
1408 * po/zh_CN.po: Likewise.
1409 * po/zh_TW.po: Likewise.
1410
8d016826
UB
14112019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1412
1413 [BZ #24130]
1414 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1415 of $f3 register on $y_is_neg path.
1416
a0bb5abd
ST
14172019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1418
b96e22d0 1419 [BZ #24110]
a0bb5abd
ST
1420 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1421 sigaltstack.ss_flags.
1422
b22eed37
TS
14232019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1424
1425 [BZ #23758]
1426 * manual/time.texi (strftime): Document "%Ey".
1427 * time/strftime_l.c (__strftime_internal): Set the default width
1428 padding with zero of "%Ey" to 2.
1429
32f600a2
TS
1430 [BZ #24096]
1431 * manual/time.texi (strftime): Document "%EC" and "%EY".
1432 * time/Makefile (tests): Add tst-strftime2.
1433 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1434 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1435 override padding for "%Ey".
1436 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1437 "%Ey" in the subformat as if decorated with that flag.
1438 * time/tst-strftime2.c: New file.
1439
8e889c5d
AZ
14402019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1441
3367acdb
AZ
1442 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1443 are not defined.
1444
8e889c5d
AZ
1445 [BZ #24122]
1446 * elf/Makefile (tests): Add tst-audit13.
1447 (modules-names): Add tst-audit13mod1.
1448 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1449 rule.
1450 * elf/rtld.c (dl_main): Handle invalid audit module version.
1451 * elf/tst-audit13.c: New file.
1452 * elf/tst-audit13mod1.c: Likewise.
1453
a95dc01c
ST
14542019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1455
1456 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1457 returned by __hurd_at_flags.
ee4d7902
ST
1458 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1459 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1460 directly instead of __hurd_file_name_lookup.
a95dc01c 1461
712f1167
JM
14622019-01-21 Joseph Myers <joseph@codesourcery.com>
1463
1464 * scripts/build-many-glibcs.py (Context.checkout): Default
1465 binutils version to 2.32 branch.
1466
108bc404
FW
14672019-01-21 Florian Weimer <fweimer@redhat.com>
1468
1469 [BZ #20018]
1470 CVE-2016-10739
1471 resolv: Reject trailing characters in host names
1472 * include/arpa/inet.h (__inet_aton_exact): Declare.
1473 (inet_aton): Remove hidden prototype. No longer used internally.
1474 * nscd/gai.c (__inet_aton): Do not define.
1475 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1476 * nss/digits_dots.c (__inet_aton): Likewise.
1477 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1478 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1479 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1480 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1481 (tst-resolv-trailing): Likewise.
1482 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1483 libc.
1484 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1485 Make static. Add endp parameter.
1486 (__inet_aton_exact): New function.
1487 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1488 (__inet_addr): Call inet_aton_end.
1489 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1490 not just IPv6. Call __inet_aton_exact.
1491 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1492 (tests): Make const. Add additional test cases with trailing
1493 characters.
1494 (do_test): Use array_length.
1495 * resolv/tst-inet_aton_exact.c: New file.
1496 * resolv/tst-resolv-trailing.c: Likewise.
1497 * resolv/tst-resolv-nondecimal.c: Likewise.
1498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1499
5165de69
L
15002019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1501
1502 [BZ# 24097]
1503 CVE-2019-6488
1504 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1505 Clear the upper 32 bits of RSI register.
1506 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1507 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1508 and tst-size_t-wcsnlen.
1509 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1510 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1511
c7c54f65
L
15122019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1513
1514 [BZ# 24097]
1515 CVE-2019-6488
1516 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1517 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1518 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1519 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1520 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1521
ee915088
L
15222019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 [BZ# 24097]
1525 CVE-2019-6488
1526 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1527 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1528 * sysdeps/x86_64/strcmp.S: Likewise.
1529 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1530 tst-size_t-strncmp and tst-size_t-wcsncmp.
1531 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1532 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1533 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1534
82d0b4a4
L
15352019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1536
1537 [BZ# 24097]
1538 CVE-2019-6488
1539 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1540 RDX_LP for length. Clear the upper 32 bits of RDX register.
1541 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1542 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1543 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1544 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1545
ecd8b842
L
15462019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1547
1548 [BZ# 24097]
1549 CVE-2019-6488
1550 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1551 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1552 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1553 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1554
231c5676
L
15552019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 [BZ# 24097]
1558 CVE-2019-6488
1559 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1560 length. Clear the upper 32 bits of RDX register.
1561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1562 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1563 Likewise.
1564 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1565 Likewise.
1566 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1567 tst-size_t-wmemchr.
1568 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1569
b304fc20
L
15702019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1571
1572 [BZ# 24097]
1573 CVE-2019-6488
1574 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1575 length. Clear the upper 32 bits of RDX register.
1576 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1577 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1578 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1579 tst-size_t-wmemcmp.
1580 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1581 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1582
97700a34
L
15832019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 [BZ# 24097]
1586 CVE-2019-6488
1587 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1588 upper 32 bits of RDX register.
1589 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1590 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1591 tst-size_t-wmemchr.
1592 * sysdeps/x86_64/x32/test-size_t.h: New file.
1593 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1594 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1595
6ca53a24
FW
15962019-01-18 Florian Weimer <fweimer@redhat.com>
1597
1598 [BZ #24112]
1599 resolv: Do not send queries for non-host-names in nss_dns.
1600 * resolv/nss_dns/dns-host.c (check_name): New function.
1601 (_nss_dns_gethostbyname2_r): Use it.
1602 (_nss_dns_gethostbyname_r): Likewise.
1603 (_nss_dns_gethostbyname4_r): Likewise.
1604
5e30b8ef
FW
16052019-01-21 Florian Weimer <fweimer@redhat.com>
1606
1607 * resolv/inet_addr.c: Reformat to GNU style.
1608 (__inet_addr, __inet_aton): Update comment.
1609
71effcea
FW
16102019-01-18 Florian Weimer <fweimer@redhat.com>
1611
1612 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1613 ("malloc: Use current (C11-style) atomics for fastbin access").
1614 This commit introduces a substantial performance regression on
1615 POWER and Aarch64.
1616 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1617 (REMOVE_FB): Define.
1618 (_int_malloc): Use it and reindent.
1619 (_int_free): Use CAS loop with
1620 catomic_compare_and_exchange_val_rel.
1621 (malloc_consolidate): Use atomic_exchange_acq.
1622
1623
562f4362
L
16242019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1625
1626 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1627 -Wl,-z,now.
1628 (LDFLAGS-tst-minsigstksz-2): Likewise.
1629 (LDFLAGS-tst-minsigstksz-3): Likewise.
1630 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1631 (LDFLAGS-tst-minsigstksz-4): Likewise.
1632
80dfa298
TS
16332019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1634
1635 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1636 than "alternate".
1637
008b598e
PC
16382019-01-16 Paul A. Clarke <pc@us.ibm.com>
1639
1640 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1641
fbbc9a4e
ZW
16422019-01-16 Zack Weinberg <zackw@panix.com>
1643
1644 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1645 (xget_sigstack_location): New test support functions.
1646 * support/xsigstack.c: New file, implementing them.
1647 * support/tst-xsigstack.c: New test for them.
1648 * support/Makefile: Update.
1649
1650 * signal/tst-minsigstksz-1.c
1651 * signal/tst-minsigstksz-2.c
1652 * signal/tst-minsigstksz-3.c
1653 * signal/tst-minsigstksz-3a.c
1654 * signal/tst-minsigstksz-4.c: New tests.
1655 * signal/Makefile: Run them.
1656
5f1135e4
SP
16572019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1658
1659 * po/libc.pot: Regenerate.
1660
ecdacd34
TMQMF
16612019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1662
1663 * math/libm-test-fma.inc (fma_test_data): Set
1664 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1665
56054664
RA
16662019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1667
1668 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1669 (do_test): Changed __vector __int128_t to __vector unsigned int.
1670
1a153e47
LS
16712019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1672
1673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1674 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1675 stpcpy-avx2 and stpncpy-avx2.
1676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1677 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1678 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1679 and __stpncpy_avx2.
1680 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1681 ifunc-strcpy.h}: rename header for a more generic name.
1682 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1683 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1684 AVX unaligned load is fast and vzeroupper is preferred.
1685 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1686 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1687 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1688 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1689 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1690 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1691
a1b02ae7
DL
16922019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1693
1694 * argp/argp-help.c: Fix typo in comment.
1695 * misc/sys/cdefs.h: Likewise.
1696 * posix/regexec.c (sift_states_iter_mb): Likewise.
1697 * socket/sockatmark.c: Likewise.
1698 * socket/sys/socket.h: Likewise.
1699 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1700 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1701 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1702 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1703 * sysdeps/unix/sockatmark.c: Likewise.
1704 * time/strptime_l.c: Likewise.
1705
5cbbf01e
TS
17062019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1707
1708 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1709 missing space after the cast of "_NL_CURRENT".
1710
0bc9bdf1
RA
17112019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1712
1713 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1714 ifdef to fix read of VSCR.
1715 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1716 tst-ucontext-ppc64-vscr.c to test list.
1717 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1718
5494af04
AH
17192019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1720
1721 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1722 fall-through.
1723
e17f63ff
JW
17242019-01-09 Jim Wilson <jimw@sifive.com>
1725
1726 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1727
02f440c1
WD
17282019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1729
1730 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1731 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1732 __memcpy_falkor for ares.
1733 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1734 Add new define.
1735 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1736 Add ares cpu.
1737
69da3c9e
L
17382019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1739
1740 [BZ #24066]
1741 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1742 4_FP_W_TYPEs are used for IEEE quad precision.
1743 * soft-fp/extendhftf2.c: Likewise.
1744 * soft-fp/extendsftf2.c: Likewise.
1745 * soft-fp/extendxftf2.c: Likewise.
1746 * soft-fp/trunctfdf2.c: Likewise.
1747 * soft-fp/trunctfhf2.c: Likewise.
1748 * soft-fp/trunctfsf2.c: Likewise.
1749 * soft-fp/trunctfxf2.c: Likewise.
1750 * sysdeps/alpha/ots_cvttx.c: Likewise.
1751 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1752 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1753 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1754 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1755 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1756 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1757 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1758 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1759 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1760 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1761 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1762 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1763 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1764 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1765 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1766 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1767 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1768
2ef42716
AJ
17692019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1770
1771 [BZ #24024]
1772 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1773 code with -fmath-errno.
1774 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1775 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1776 * string/test-strerror-errno.c: New file.
1777
7395f3a0
AJ
17782019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1779
1780 [BZ #24046]
1781 * localedata/locales/en_US (date_fmt): Add, set to
1782 "%a %d %b %Y %r %Z".
1783
010fe231
FW
17842019-01-07 Florian Weimer <fweimer@redhat.com>
1785
1786 [BZ #24063]
1787 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1788 instead of @var{errno}.
1789 (Parsing of Integers): Likewise.
1790 (Parsing of Floats): Likewise.
1791 * manual/filesys.texi (Working with Directory Trees): Likewise.
1792 (Temporary Files): Likewise.
1793 * manual/job.texi (Terminal Access Functions): Likewise.
1794 * manual/llio.texi (Synchronizing I/O): Likewise.
1795 * manual/math.texi (SVID Random): Likewise.
1796 * manual/message.texi (The catgets Functions): Likewise.
1797 (Translation with gettext): Likewise.
1798 (Locating gettext catalog): Likewise.
1799 (Charset conversion in gettext): Likewise.
1800 * manual/nss.texi (NSS Module Function Internals): Likewise.
1801 * manual/search.texi (Hash Search Function): Likewise.
1802 * manual/setjmp.texi (System V contexts): Likewise.
1803 * manual/time.texi (Sleeping): Likewise.
1804 * manual/users.texi (Lookup User): Likewise.
1805 (Lookup Group): Likewise.
1806
b79dc8d0
AZ
18072019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1808
1809 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1810 fix typo.
1811
890461fe 18122019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
1813
1814 [BZ #19444]
1815 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1816 __builtin_unreachable for default case in switch.
1817 (__ieee754_yn): Likewise.
1818 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1819 (__ieee754_ynl): Likewise.
1820 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1821 (__ieee754_ynl): Likewise.
1822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1823 (__ieee754_ynl): Likewise.
1824
8b18d418
SN
18252019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1826
1827 * manual/maint.texi: Use @{ and @}.
1828
4392898d
FW
18292019-01-04 Florian Weimer <fweimer@redhat.com>
1830
1831 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1832 function.
1833 (do_in_chroot_1): Call it.
1834 (run_chroot_tests):
1835 Improve error reporting in case it is not possible to create a
1836 collision for the PTY name required by the test.
1837
17cc27d5
AZ
18382019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1839
ce7eb0e9
AZ
1840 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1841 lll_wait_tid with timeout.
1842 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1843 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1844 futex_reltimed_wait_cancelable for cancelabla mode.
1845 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1846 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1847 macros.
1848 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1849 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1850 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1851 SYSCALL_CANCEL_NCS): New macro.
1852 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1853 (lll_timedwait_tid): Remove macro.
1854 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1855 Likewise.
1856 (lll_timedwait_tid): Likewise.
1857 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1858 Likewise.
1859 (lll_timedwait_tid): Likewise.
1860 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1861 Likewise.
1862 (lll_timedwait_tid): Likewise.
1863 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1864 Use INTERNAL_SYSCALL_CANCEL.
1865 * sysdeps/unix/sysv/linux/futex-internal.h
1866 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1867 instead of __pthread_{enable,disable}_asynccancel.
1868 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1869 (lll_futex_wait_cancel): New macro.
1870
0b13e255
AZ
1871 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1872 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1873
85c828a4
AZ
1874 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1875 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1876
d0d7f85f
AZ
1877 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1878 in backtrace analysis.
1879 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1880 side-effects.
1881 (tf_send): Likewise.
1882
17cc27d5
AZ
1883 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1884 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1885 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1886 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1887 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1888 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1889 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1890 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1891 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1892 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1893 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1894 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1895 Likewise.
1896 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1897 tst-cancel-wrappers.sh.
1898 (generated): Remove tst-cancel-wrappers.out.
1899 (tst-cancel-wrappers.out): Remove rule.
1900 * nptl/tst-cancel-wrappers.sh: Remove file.
1901
7d7af8f1
SN
19022019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1903
1904 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1905 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1906 Update.
1907
805334b2
AZ
19082019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1909
1910 [BZ #23640]
1911 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1912 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1913 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1914 close-on-exec reset for adddup2 file action.
1915 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1916
03992356
ZW
19172019-01-03 Zack Weinberg <zackw@panix.com>
1918
1919 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1920 parameter. Only use deprecated scanf when __USE_GNU is defined
1921 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1922 than 201103L, whichever is relevant for the language being compiled.
1923
1924 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1925 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1926 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1927 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1928 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1929
1930 * libio/iovsscanf.c
1931 * libio/fwscanf.c
1932 * libio/iovswscanf.c
1933 * libio/swscanf.c
1934 * libio/vscanf.c
1935 * libio/vwscanf.c
1936 * libio/wscanf.c
1937 * stdio-common/fscanf.c
1938 * stdio-common/scanf.c
1939 * stdio-common/vfscanf.c
1940 * stdio-common/vfwscanf.c
1941 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1942 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1943 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1944 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1945 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1946 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1947 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1948 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1949 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1950 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1951 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1952 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1953 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1954 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1955 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1956
1957 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1958 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1959 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1960 not sscanf.
1961 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1962 with a preprocessor macro.
1963
1964 * stdio-common/bug21.c, stdio-common/scanf14.c:
1965 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1966 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1967 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1968 to xscanf, xfscanf, xsscanf.
1969
1970 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1971 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1972 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1973 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1974 xfscanf, xsscanf.
1975 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1976 override feature selection macros or provide definitions of u_char etc.
1977 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1978 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1979 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1980 with -std=gnu89.
1981
8083afa5
AZ
19822019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1983
6f343c1f
AZ
1984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1985 bits/termios-misc.h.
1986 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1987 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1988 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1989 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1990 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1991 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1992
51f4beb0
AZ
1993 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1994 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1995 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1996 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1997 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1998 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1999 termios-misc.h.
2000 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2001 (sysdep_headers): Add termios-misc.h.
2002
f69c5cb2
AZ
2003 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2004 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2005 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2006
3aa4a07e
AZ
2007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2008 termios-tcflow.h.
2009 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2010 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2011 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2012 TCSAFLUSH): Move to termios-tcflow.h.
2013 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2014 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2015 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2016 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2017
22679ddf
AZ
2018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2019 termios-c_lflag.h.
2020 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2021 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2022 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2023 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2024 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2025 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2026 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2027 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2028 Likewise.
2029 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2030 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2031 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2032 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2033
72eb6ecc
AZ
2034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2035 termios-c_cflag.h.
2036 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2037 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2038 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2039 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2040 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2041 termios-c_cflag.h.
2042 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2043 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2044 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2045 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2046
9c5d0d02
AZ
2047 [BZ #23783]
2048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2049 termios-baud.h.
2050 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2051 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2053 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2054 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2055 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2056 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2057 __MAX_BAUD): Move to termios-baud.h.
2058 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2059 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2060 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2061 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2062 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2063
7b832018
AZ
2064 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2065 termios-c_oflag.h.
2066 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2067 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2068 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2070 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2071 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2072 termios-c_oflag.h.
2073 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2074 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2075 FFR1): Likewise.
2076 [USE_MISC] (XTABS): Likewise.
2077 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2078 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2079 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2080 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2081
3127003e
AZ
2082 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2083 termios-c_iflag.h.
2084 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2085 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2086 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2087 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2088 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2089 IUTF8): Move to termios-c_iflag.h.
2090 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2091 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2092 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2093 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2094
48c1dd96
AZ
2095 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2096 termios-cc.h.
2097 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2098 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2099 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2100 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2101 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2102 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2103 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2104 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2105 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2106 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2107 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2108 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2109
e5a50db3
AZ
2110 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2111 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2112 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2113 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2115 termios-struct.h.
2116 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2117 termios-struct.h.
2118 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2119 Likewise.
2120 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2121 Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2123 Likewise.
2124 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2125 Likewise.
2126 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2127 _HAVE_C_OSPEED): Define.
2128 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2129 _HAVE_C_OSPEED): Likewise.
2130 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2131 _HAVE_C_OSPEED): Likewise.
2132 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2133 (cfsetospeed): Check for define value instead of existence.
2134 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2135 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2136 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2137 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2138 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2139
8083afa5
AZ
2140 [BZ #17783]
2141 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2142 Define.
2143 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2144 (TIOCSER_TEMT): Likewise.
2145 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2146 (TEOCSER_TEMT): Likewise.
2147
4d7d7dc6
P
21482019-01-02 PanderMusubi <pander@users.sourceforge.net>
2149
2150 [BZ #24011]
2151 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2152
8e291a29
JM
21532019-01-02 Joseph Myers <joseph@codesourcery.com>
2154
2155 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2156
55137f7d
ST
21572019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2158
2159 * sysdeps/htl/pt-barrierattr-setpshared.c
2160 (pthread_barrierattr_setpshared): Add stub warning.
2161 * sysdeps/htl/pt-condattr-setpshared.c
2162 (pthread_condattr_setpshared): Likewise.
2163 * sysdeps/htl/pt-mutexattr-setpshared.c
2164 (pthread_mutexattr_setpshared): Likewise.
2165 * sysdeps/htl/pt-rwlockattr-setpshared.c
2166 (pthread_rwlockattr_setpshared): Likewise.
2167 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2168 (pthread_mutexattr_setpshared): Likewise.
2169
2ce09e01
JM
21702019-01-02 Joseph Myers <joseph@codesourcery.com>
2171
acb55dcb
JM
2172 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2173 constants to match with Linux 4.20.
2174
2ce09e01
JM
2175 * sysdeps/mips/mips32/libm-test-ulps: Update.
2176 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2177
fe20bb1d
AJ
21782019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2179
2180 [BZ #24034]
2181 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2182 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2183 than __typeof (...) for the a_ptr variable.
2184
2d9837c1
GG
21852019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2186
2187 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2188 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2189 * libio/Makefile (tests): Add tst-sprintf-ub and
2190 tst-sprintf-chk-ub.
2191 (CFLAGS-tst-sprintf-ub.c): New variable.
2192 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2193 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2194 destination buffer and check for overflows in fortified mode.
2195 * libio/libioP.h (PRINTF_CHK): New macro.
2196 * libio/tst-sprintf-chk-ub.c: New file.
2197 * libio/tst-sprintf-ub.c: Likewise.
2198
d5c6df0b 21992019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
2200
2201 [BZ #24018]
2202 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2203 failure.
2204
66081e38
FW
22052019-01-02 Florian Weimer <fweimer@redhat.com>
2206
2207 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2208
04277e02
JM
22092019-01-01 Joseph Myers <joseph@codesourcery.com>
2210
6ef3d225
JM
2211 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2212 macro.
2213
e3d4e292
JM
2214 * sysdeps/unix/sysv/linux/netpacket/packet.h
2215 (PACKET_IGNORE_OUTGOING): New macro.
2216
f4507797
JM
2217 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2218 macro.
2219
47ad5e1a
JM
2220 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2221 version to 4.20.
2222 (riscv_flush_icache): New syscall.
2223
7628a1b0
JM
2224 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2225 trailing whitespace removed.
2226 * scripts/config.guess: Update to version 2019-01-01.
2227 * scripts/config.sub: Update to version 2019-01-01.
2228 * scripts/move-if-change: Update from gnulib.
2229
c9123888
JM
2230 * NEWS: Update copyright dates.
2231 * catgets/gencat.c (print_version): Likewise.
2232 * csu/version.c (banner): Likewise.
2233 * debug/catchsegv.sh: Likewise.
2234 * debug/pcprofiledump.c (print_version): Likewise.
2235 * debug/xtrace.sh (do_version): Likewise.
2236 * elf/ldconfig.c (print_version): Likewise.
2237 * elf/ldd.bash.in: Likewise.
2238 * elf/pldd.c (print_version): Likewise.
2239 * elf/sotruss.sh: Likewise.
2240 * elf/sprof.c (print_version): Likewise.
2241 * iconv/iconv_prog.c (print_version): Likewise.
2242 * iconv/iconvconfig.c (print_version): Likewise.
2243 * locale/programs/locale.c (print_version): Likewise.
2244 * locale/programs/localedef.c (print_version): Likewise.
2245 * login/programs/pt_chown.c (print_version): Likewise.
2246 * malloc/memusage.sh (do_version): Likewise.
2247 * malloc/memusagestat.c (print_version): Likewise.
2248 * malloc/mtrace.pl: Likewise.
2249 * manual/libc.texinfo: Likewise.
2250 * nptl/version.c (banner): Likewise.
2251 * nscd/nscd.c (print_version): Likewise.
2252 * nss/getent.c (print_version): Likewise.
2253 * nss/makedb.c (print_version): Likewise.
2254 * posix/getconf.c (main): Likewise.
2255 * scripts/test-installation.pl: Likewise.
2256 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2257
04277e02
JM
2258 * All files with FSF copyright notices: Update copyright dates
2259 using scripts/update-copyrights.
2260 * locale/programs/charmap-kw.h: Regenerated.
2261 * locale/programs/locfile-kw.h: Likewise.
2262
e740e5b1
JM
22632018-12-31 Joseph Myers <joseph@codesourcery.com>
2264
2265 * timezone/zdump.c: Update from tzcode 2018i.
2266 * timezone/zic.c: Likewise.
2267
9b7f98b3
PE
22682018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2269
2270 regex: improve Gnulib port to AIX
2271 From the glibc point of view, this removes duplicate macro
2272 definitions and is obviously safe.
2273 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2274 * posix/regex_internal.h:
2275 (__attribute__, __attribute_warn_unused_result__):
2276 Remove; already defined elsewhere.
2277
b50dd3bc
FW
22782018-12-31 Florian Weimer <fw@deneb.enyo.de>
2279
2280 [BZ #24027]
2281 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2282 copying operation. (ncopies had the wrong type, resulting in an
2283 integer wraparound and too few elements being copied.)
2284
0b9c8490
L
22852018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2286
2287 [BZ #24022]
2288 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2289 <asm/syscalls.h> exists with __has_include__ before including it.
2290
01047fa6
JM
22912018-12-31 Joseph Myers <joseph@codesourcery.com>
2292
2293 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2294 version to 4.20.
2295
065957a3
JW
22962018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2297
2298 * hurd/lookup-retry: Include <unistd.h>.
2299 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2300 Release it on return. Handle "pid" magical lookup retry.
2301
989182c4
RL
23022018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2303
2304 [BZ #10496]
2305 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2306 (t_fmt_ampm): Likewise.
2307 * localedata/locales/aa_ER (t_fmt): Likewise.
2308 (t_fmt_ampm): Likewise.
2309 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2310 (t_fmt_ampm): Likewise.
2311 * localedata/locales/aa_ET (t_fmt): Likewise.
2312 (t_fmt_ampm): Likewise.
2313 * localedata/locales/am_ET (t_fmt): Likewise.
2314 (t_fmt_ampm): Likewise.
2315 * localedata/locales/byn_ER (t_fmt): Likewise.
2316 (t_fmt_ampm): Likewise.
2317 * localedata/locales/om_ET (t_fmt): Likewise.
2318 (t_fmt_ampm): Likewise.
2319 * localedata/locales/sid_ET (t_fmt): Likewise.
2320 (t_fmt_ampm): Likewise.
2321 * localedata/locales/so_DJ (t_fmt): Likewise.
2322 (t_fmt_ampm): Likewise.
2323 * localedata/locales/so_ET (t_fmt): Likewise.
2324 (t_fmt_ampm): Likewise.
2325 * localedata/locales/so_SO (t_fmt): Likewise.
2326 (t_fmt_ampm): Likewise.
2327 * localedata/locales/ti_ER (t_fmt): Likewise.
2328 (t_fmt_ampm): Likewise.
2329 * localedata/locales/ti_ET (t_fmt): Likewise.
2330 (t_fmt_ampm): Likewise.
2331 * localedata/locales/tig_ER (t_fmt): Likewise.
2332 (t_fmt_ampm): Likewise.
2333 * localedata/locales/wal_ET (t_fmt): Likewise.
2334 (t_fmt_ampm): Likewise.
2335
2336 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2337 * localedata/locales/ar_IN (t_fmt): Likewise.
2338 * localedata/locales/bhb_IN (t_fmt): Likewise.
2339 * localedata/locales/bho_IN (t_fmt): Likewise.
2340 * localedata/locales/bi_VU (t_fmt): Likewise.
2341 * localedata/locales/bn_BD (t_fmt): Likewise.
2342 * localedata/locales/bn_IN (t_fmt): Likewise.
2343 * localedata/locales/brx_IN (t_fmt): Likewise.
2344 * localedata/locales/doi_IN (t_fmt): Likewise.
2345 * localedata/locales/en_HK (t_fmt): Likewise.
2346 (t_fmt_ampm): Likewise.
2347 * localedata/locales/en_IN (t_fmt): Likewise.
2348 * localedata/locales/en_PH (t_fmt): Likewise.
2349 * localedata/locales/gu_IN (t_fmt): Likewise.
2350 * localedata/locales/hi_IN (t_fmt): Likewise.
2351 * localedata/locales/hif_FJ (t_fmt): Likewise.
2352 * localedata/locales/hne_IN (t_fmt): Likewise.
2353 * localedata/locales/kn_IN (t_fmt): Likewise.
2354 * localedata/locales/kok_IN (t_fmt): Likewise.
2355 * localedata/locales/ks_IN (t_fmt): Likewise.
2356 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2357 * localedata/locales/mag_IN (t_fmt): Likewise.
2358 * localedata/locales/mai_IN (t_fmt): Likewise.
2359 * localedata/locales/mjw_IN (t_fmt): Likewise.
2360 * localedata/locales/ml_IN (t_fmt): Likewise.
2361 * localedata/locales/mni_IN (t_fmt): Likewise.
2362 * localedata/locales/mr_IN (t_fmt): Likewise.
2363 * localedata/locales/ms_MY (t_fmt): Likewise.
2364 * localedata/locales/pa_IN (t_fmt): Likewise.
2365 * localedata/locales/raj_IN (t_fmt): Likewise.
2366 * localedata/locales/sa_IN (t_fmt): Likewise.
2367 * localedata/locales/sat_IN (t_fmt): Likewise.
2368 * localedata/locales/sd_IN (t_fmt): Likewise.
2369 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2370 * localedata/locales/tcy_IN (t_fmt): Likewise.
2371 * localedata/locales/the_NP (t_fmt): Likewise.
2372 * localedata/locales/to_TO (t_fmt): Likewise.
2373 * localedata/locales/ur_IN (t_fmt): Likewise.
2374
2375 * localedata/locales/hif_FJ (d_t_fmt): Set to
2376 "%A %d %b %Y %I:%M:%S %p".
2377 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2378
2379 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2380 * localedata/locales/ar_BH (t_fmt): Likewise.
2381 * localedata/locales/ar_DZ (t_fmt): Likewise.
2382 * localedata/locales/ar_EG (t_fmt): Likewise.
2383 * localedata/locales/ar_IQ (t_fmt): Likewise.
2384 * localedata/locales/ar_JO (t_fmt): Likewise.
2385 * localedata/locales/ar_KW (t_fmt): Likewise.
2386 * localedata/locales/ar_LB (t_fmt): Likewise.
2387 * localedata/locales/ar_LY (t_fmt): Likewise.
2388 * localedata/locales/ar_OM (t_fmt): Likewise.
2389 * localedata/locales/ar_QA (t_fmt): Likewise.
2390 * localedata/locales/ar_SD (t_fmt): Likewise.
2391 * localedata/locales/ar_SS (t_fmt): Likewise.
2392 * localedata/locales/ar_SY (t_fmt): Likewise.
2393 * localedata/locales/ar_TN (t_fmt): Likewise.
2394 * localedata/locales/ar_YE (t_fmt): Likewise.
2395
2396 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2397 (t_fmt_ampm): Likewise.
2398 * localedata/locales/gez_ET (t_fmt): Likewise.
2399 (t_fmt_ampm): Likewise.
2400
2401 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2402 (t_fmt_ampm): Likewise.
2403 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2404
2405 * localedata/locales/zh_HK (t_fmt):
2406 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2407
2408 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2409 because this locale does not use the 12-hour clock.
2410 (t_fmt): Set to "%Z %H:%M:%S".
2411 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2412
2413 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2414 because this locale does not use the 12-hour clock.
2415 (t_fmt): Set to "%H:%M:%S %Z".
2416 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2417
2418 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2419 because this locale does not use the 12-hour clock.
2420 (t_fmt): Set to "%T".
2421 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2422 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2423
2424 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2425 because this locale does not use the 12-hour clock.
2426 (t_fmt): Set to "%H:%M:%S %Z".
2427 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2428
2429 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2430 because this locale does not use the 12-hour clock.
2431 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2432 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2433
27841a7d
RL
24342018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2435
2436 [BZ #10496]
2437 [BZ #23724]
2438 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2439 (t_fmt_ampm): Likewise.
2440 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2441 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2442 (d_fmt): Set to "%-d.%-m.%y".
2443
0253580a
AZ
24442018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2445
2446 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2447 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2448 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2449 Likewise.
2450 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2451 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2452 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2453 function.
2454 * support/blob_repeat.c (check_mul_overflow_size_t,
2455 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2456
09104e5b
AJ
24572018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2458
2459 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2460
c0feb731
PE
24612018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2462
2463 regex: simplify Gnulib port
2464 This simplifies the code, by removing stuff intended for porting
2465 to Gnulib but no longer needed there.
2466 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2467 uses of libc_hidden_def, weak_alias.
2468 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2469 _Restrict_ except for public-facing headers.
2470 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2471 Remove; already defined elsewhere.
2472 * posix/regex.c, posix/regex_internal.h:
2473 Use __GNUC_PREREQ instead of rolling our own.
2474 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2475
5289f1f5
WD
24762018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2477
2478 * benchtests/bench-strlen.c (generic_strlen): New function.
2479 (memchr_strlen): New function.
2480
ba4b8fab
L
24812018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2482
2483 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2484 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2485 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2486
9412979a
L
24872018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2490
8700a785
L
24912018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2492
2493 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2494 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2495 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2496 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2497 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2498 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2499 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2500
57b3ff8e
JM
25012018-12-21 Joseph Myers <joseph@codesourcery.com>
2502
2503 [BZ #24023]
2504 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2505 PLT reference in libc.so.
2506 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2507 _Q_lltoq and _Q_qtod PLT references in libc.so.
2508
90d3320d
WD
25092018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2510
2511 * benchtests/bench-memchr.c: Cleanup defines.
2512 * benchtests/bench-memcmp.c: Likewise.
2513 * benchtests/bench-memset.c: Likewise.
2514 * benchtests/bench-memset-large.c: Likewise.
2515 * benchtests/bench-memset-walk.c: Likewise.
2516 * benchtests/bench-stpcpy.c: Likewise.
2517 * benchtests/bench-stpncpy.c: Likewise.
2518 * benchtests/bench-strcat.c: Likewise.
2519 * benchtests/bench-strchr.c: Likewise.
2520 * benchtests/bench-strcmp.c: Likewise.
2521 * benchtests/bench-strcpy.c: Likewise.
2522 * benchtests/bench-strcspn.c: Likewise.
2523 * benchtests/bench-string.h: Likewise.
2524 * benchtests/bench-strlen.c: Likewise.
2525 * benchtests/bench-strncat.c: Likewise.
2526 * benchtests/bench-strncmp.c: Likewise.
2527 * benchtests/bench-strncpy.c: Likewise.
2528 * benchtests/bench-strnlen.c: Likewise.
2529 * benchtests/bench-strpbrk.c: Likewise.
2530 * benchtests/bench-strrchr.c: Likewise.
2531 * benchtests/bench-strspn.c: Likewise.
2532
192963be
JM
25332018-12-21 Joseph Myers <joseph@codesourcery.com>
2534
5d025ea6
JM
2535 * stdlib/longlong.h: Update from GCC.
2536
192963be
JM
2537 [BZ #23993]
2538 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2539 * configure: Regenerated.
2540 * manual/install.texi (Tools for Compilation): Update minimum GCC
2541 version.
2542 * INSTALL: Regenerated.
2543
c0e82f11
IK
25442018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2545
2546 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2547
ebe544bf
IK
25482018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2549
2550 * malloc/malloc.c (mremap_chunk): Additional checks.
2551
5f72b005
MH
25522018-12-21 Mao Han <han_mao@c-sky.com>
2553
2554 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2555 * scripts/build-many-glibcs.py: Add C-SKY targets.
2556 * sysdeps/csky/Implies: New file.
2557 * sysdeps/csky/Makefile: Likewise.
2558 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2559 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2560 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2561 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2562 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2563 * sysdeps/csky/abiv2/memmove.S: Likewise.
2564 * sysdeps/csky/abiv2/memset.S: Likewise.
2565 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2566 * sysdeps/csky/abiv2/start.S: Likewise.
2567 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2568 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2569 * sysdeps/csky/abiv2/strlen.S: Likewise.
2570 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2571 * sysdeps/csky/abort-instr.h: Likewise.
2572 * sysdeps/csky/atomic-machine.h: Likewise.
2573 * sysdeps/csky/bits/endian.h: Likewise.
2574 * sysdeps/csky/bits/fenv.h: Likewise.
2575 * sysdeps/csky/bits/link.h: Likewise.
2576 * sysdeps/csky/bits/setjmp.h: Likewise.
2577 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2578 * sysdeps/csky/bsd-setjmp.S: Likewise.
2579 * sysdeps/csky/configure: Likewise.
2580 * sysdeps/csky/configure.ac: Likewise.
2581 * sysdeps/csky/dl-machine.h: Likewise.
2582 * sysdeps/csky/dl-procinfo.c: Likewise.
2583 * sysdeps/csky/dl-procinfo.h: Likewise.
2584 * sysdeps/csky/dl-sysdep.h: Likewise.
2585 * sysdeps/csky/dl-tls.h: Likewise.
2586 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2587 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2588 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2589 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2590 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2591 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2592 * sysdeps/csky/fpu/fegetround.c: Likewise.
2593 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2594 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2595 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2596 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2597 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2598 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2599 * sysdeps/csky/fpu/fesetround.c: Likewise.
2600 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2601 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2602 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2603 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2604 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2605 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2606 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2607 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2608 * sysdeps/csky/fpu_control.h: Likewise.
2609 * sysdeps/csky/gccframe.h: Likewise.
2610 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2611 * sysdeps/csky/ldsodefs.h: Likewise.
2612 * sysdeps/csky/libc-tls.c: Likewise.
2613 * sysdeps/csky/linkmap.h: Likewise.
2614 * sysdeps/csky/machine-gmon.h: Likewise.
2615 * sysdeps/csky/memusage.h: Likewise.
2616 * sysdeps/csky/nofpu/Implies: Likewise.
2617 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2618 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2619 * sysdeps/csky/nptl/Makefile: Likewise.
2620 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2621 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2622 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2623 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2624 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2625 * sysdeps/csky/nptl/tls.h: Likewise.
2626 * sysdeps/csky/preconfigure: Likewise.
2627 * sysdeps/csky/sfp-machine.h: Likewise.
2628 * sysdeps/csky/sotruss-lib.c: Likewise.
2629 * sysdeps/csky/stackinfo.h: Likewise.
2630 * sysdeps/csky/sysdep.h: Likewise.
2631 * sysdeps/csky/tininess.h: Likewise.
2632 * sysdeps/csky/tst-audit.h: Likewise.
2633 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2634 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2635 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2636 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2637 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2638 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2639 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2640 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2641 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2642 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2643 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2644 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2645 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2646 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2647 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2648 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2649 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2650 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2651 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2652 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2653 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2654 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2655 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2656 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2657 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2658 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2659 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2660 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2661 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2662 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2663 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2664 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2665 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2666 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2667 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2668 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2669 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2670 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2671 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2672 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2673 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2674 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2675 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2676 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2677
ac253355
AA
26782018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2679
2680 * include/time.h (__difftime64): Add.
2681 * time/difftime.c (subtract): convert to 64-bit time.
2682 * time/difftime.c (__difftime64): Add.
2683 * time/difftime.c (__difftime): Wrap around __difftime64.
2684
ab416931
L
26852018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2686
2687 * manual/examples/add.c: Remove redundant "if not".
2688 * manual/examples/argp-ex1.c: Likewise.
2689 * manual/examples/argp-ex2.c: Likewise.
2690 * manual/examples/argp-ex3.c: Likewise.
2691 * manual/examples/argp-ex4.c: Likewise.
2692 * manual/examples/atexit.c: Likewise.
2693 * manual/examples/db.c: Likewise.
2694 * manual/examples/dir.c: Likewise.
2695 * manual/examples/dir2.c: Likewise.
2696 * manual/examples/execinfo.c: Likewise.
2697 * manual/examples/filecli.c: Likewise.
2698 * manual/examples/filesrv.c: Likewise.
2699 * manual/examples/fmtmsgexpl.c: Likewise.
2700 * manual/examples/genpass.c: Likewise.
2701 * manual/examples/inetcli.c: Likewise.
2702 * manual/examples/inetsrv.c: Likewise.
2703 * manual/examples/isockad.c: Likewise.
2704 * manual/examples/longopt.c: Likewise.
2705 * manual/examples/memopen.c: Likewise.
2706 * manual/examples/memstrm.c: Likewise.
2707 * manual/examples/mkdirent.c: Likewise.
2708 * manual/examples/mkfsock.c: Likewise.
2709 * manual/examples/mkisock.c: Likewise.
2710 * manual/examples/mygetpass.c: Likewise.
2711 * manual/examples/pipe.c: Likewise.
2712 * manual/examples/popen.c: Likewise.
2713 * manual/examples/rprintf.c: Likewise.
2714 * manual/examples/search.c: Likewise.
2715 * manual/examples/select.c: Likewise.
2716 * manual/examples/setjmp.c: Likewise.
2717 * manual/examples/sigh1.c: Likewise.
2718 * manual/examples/sigusr.c: Likewise.
2719 * manual/examples/stpcpy.c: Likewise.
2720 * manual/examples/strdupa.c: Likewise.
2721 * manual/examples/strftim.c: Likewise.
2722 * manual/examples/subopt.c: Likewise.
2723 * manual/examples/swapcontext.c: Likewise.
2724 * manual/examples/termios.c: Likewise.
2725 * manual/examples/testopt.c: Likewise.
2726 * manual/examples/testpass.c: Likewise.
2727 * manual/examples/timeval_subtract.c: Likewise.
2728
515f463f
JM
27292018-12-19 Joseph Myers <joseph@codesourcery.com>
2730
da75c1b1
JM
2731 * sysdeps/x86/fpu/math_private.h: New file.
2732 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2733
515f463f
JM
2734 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2735 definition.
2736 (cosh): Likewise.
2737 (tanh): Likewise.
2738
1616d034
TMQMF
27392018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2740
2741 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2742 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2743 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2744 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2745 fields.
2746 (_dl_show_auxv): Give a special treatment to
2747 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2748 and AT_L3_CACHEGEOMETRY.
2749 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2750 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2751 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2752 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2753
61595e3d
AS
27542018-12-19 Andreas Schwab <schwab@suse.de>
2755
2756 * nscd/connections.c (check_use): Don't abort on invalid len.
2757
bbb7dc84
ST
27582018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2759
2760 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2761 values in the 64bit value cases.
2762
64c2277d
AA
27632018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2764
c4c2836a
AA
2765 * include/time.h
2766 (__ctime64_r): Add.
2767 * time/ctime_r.c
2768 (__ctime64_r): Add.
2769 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2770
7755e504
AA
2771 * include/time.h
2772 (__ctime64): Add.
2773 * time/gmtime.c
2774 (__ctime64): Add.
2775 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2776
a1d346ce
AA
2777 * include/time.h
2778 (__gmtime64_r): Add.
2779 * time/gmtime.c
2780 (__gmtime64_r): Add.
2781 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2782
131db8b0
AA
2783 * include/time.h
2784 (__gmtime64): Add.
2785 * time/gmtime.c
2786 (__gmtime64): Add.
2787 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2788
64c2277d
AA
2789 * include/time.h
2790 (__localtime64_r): Add.
2791 * time/localtime.c
2792 (__localtime64_r): Add.
2793 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2794
56b98bf1
AZ
27952018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2796
64dd7a16
AZ
2797 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2798 kernel_sigction definition.
2799
8b1d5da5
AZ
2800 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2801
f9eabb19
AZ
2802 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2803
56b98bf1
AZ
2804 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2805 __syscall_rt_sigaction.
2806 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2807 (kernel_sigaction): Use Linux generic defintion.
2808 (STUB): Define.
2809 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2810 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2811 (__syscall_rt_sigaction): Remove implementation.
2812 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2813 hidden.
2814 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2815 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2816 INTERNAL_SYSCALL): Remove definitions.
2817 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2818 action and signal set size.
2819 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2820 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2821
43a45c2d
AZ
28222018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2823 James Clarke <jrtc27@jrtc27.com>
2824
dfa6216f 2825 [BZ #23967]
43a45c2d
AZ
2826 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2827 Define if SA_RESTORER is defined.
2828 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2829 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2830 already defined.
2831 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2832 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2833 definitions.
2834 (HAS_SA_RESTORER): Define.
2835 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2836 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2837 (HAS_SA_RESTORER): Define.
2838 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2839 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2840 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2841 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2842 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2843
646ce7e0
JM
28442018-12-18 Joseph Myers <joseph@codesourcery.com>
2845
2846 * sysdeps/unix/sysv/linux/kernel-features.h
2847 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2848 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2849 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2850 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2851 (__ASSUME_ST_INO_64_BIT): Likewise.
2852 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2853 <kernel-features.h>.
2854 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2855 Remove conditional code.
2856 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2857 <kernel-features.h>.
2858 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2859 Remove conditional code.
2860 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2861 <kernel-features.h>.
2862 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2863 Remove conditional code.
2864 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2865 <kernel-features.h>.
2866 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2867 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2868
80190d2b
SL
28692018-12-18 Stefan Liebler <stli@linux.ibm.com>
2870
2871 * sysdeps/s390/multiarch/ifunc-resolve.h
2872 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2873 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2874 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2875 Delete macro definition.
2876 (s390_libc_ifunc_init): Rename to
2877 s390_libc_ifunc_expr_stfle_init.
2878 * sysdeps/s390/bzero: Use
2879 s390_libc_ifunc_expr_stfle_init instead of
2880 s390_libc_ifunc_init.
2881 * sysdeps/s390/memcmp.c: Likewise.
2882 * sysdeps/s390/memcpy.c: Likewise.
2883 * sysdeps/s390/mempcpy.c: Likewise.
2884 * sysdeps/s390/memset.c: Likewise.
2885
12f0dcb8
SL
28862018-12-18 Stefan Liebler <stli@linux.ibm.com>
2887
2888 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2889 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2890
25654a8c
SL
28912018-12-18 Stefan Liebler <stli@linux.ibm.com>
2892
2893 * sysdeps/s390/multiarch/Makefile
2894 (sysdep_routines): Remove wmemcmp variants.
2895 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2896 * sysdeps/s390/multiarch/ifunc-impl-list.c
2897 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2898 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2899 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2900 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2901 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2902 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2903 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2904 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2905
d2a7436c
SL
29062018-12-18 Stefan Liebler <stli@linux.ibm.com>
2907
2908 * sysdeps/s390/multiarch/Makefile
2909 (sysdep_routines): Remove wmemset variants.
2910 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2911 * sysdeps/s390/multiarch/ifunc-impl-list.c
2912 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2913 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2914 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2915 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2916 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2917 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2918 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2919 * sysdeps/s390/ifunc-wmemset.h: New file.
2920
c62534ae
SL
29212018-12-18 Stefan Liebler <stli@linux.ibm.com>
2922
2923 * sysdeps/s390/multiarch/Makefile
2924 (sysdep_routines): Remove wmemchr variants.
2925 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2926 * sysdeps/s390/multiarch/ifunc-impl-list.c
2927 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2928 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2929 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2930 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2931 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2932 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2933 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2934 * sysdeps/s390/ifunc-wmemchr.h: New file.
2935
79b44cf6
SL
29362018-12-18 Stefan Liebler <stli@linux.ibm.com>
2937
2938 * sysdeps/s390/multiarch/Makefile
2939 (sysdep_routines): Remove wcscspn variants.
2940 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2941 * sysdeps/s390/multiarch/ifunc-impl-list.c
2942 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2943 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2944 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2945 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2946 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2947 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2948 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2949 * sysdeps/s390/ifunc-wcscspn.h: New file.
2950
8e87c1f6
SL
29512018-12-18 Stefan Liebler <stli@linux.ibm.com>
2952
2953 * sysdeps/s390/multiarch/Makefile
2954 (sysdep_routines): Remove wcspbrk variants.
2955 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2956 * sysdeps/s390/multiarch/ifunc-impl-list.c
2957 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2958 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2959 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2960 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2961 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2962 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2963 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2964 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2965
8507e831
SL
29662018-12-18 Stefan Liebler <stli@linux.ibm.com>
2967
2968 * sysdeps/s390/multiarch/Makefile
2969 (sysdep_routines): Remove wcsspn variants.
2970 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2971 * sysdeps/s390/multiarch/ifunc-impl-list.c
2972 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2973 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2974 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2975 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2976 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2977 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2978 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2979 * sysdeps/s390/ifunc-wcsspn.h: New file.
2980
4753713a
SL
29812018-12-18 Stefan Liebler <stli@linux.ibm.com>
2982
2983 * sysdeps/s390/multiarch/Makefile
2984 (sysdep_routines): Remove wcsrchr variants.
2985 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2986 * sysdeps/s390/multiarch/ifunc-impl-list.c
2987 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2988 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2989 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2990 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2991 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2992 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2993 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2994 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2995
c09c1b6f
SL
29962018-12-18 Stefan Liebler <stli@linux.ibm.com>
2997
2998 * sysdeps/s390/multiarch/Makefile
2999 (sysdep_routines): Remove wcschrnul variants.
3000 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3001 * sysdeps/s390/multiarch/ifunc-impl-list.c
3002 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3003 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3004 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3005 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3006 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3007 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3008 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3009 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3010
cf3ccc31
SL
30112018-12-18 Stefan Liebler <stli@linux.ibm.com>
3012
3013 * sysdeps/s390/multiarch/Makefile
3014 (sysdep_routines): Remove wcschr variants.
3015 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3016 * sysdeps/s390/multiarch/ifunc-impl-list.c
3017 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3018 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3019 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3020 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3021 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3022 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3023 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3024 * sysdeps/s390/ifunc-wcschr.h: New file.
3025
e9873e1d
SL
30262018-12-18 Stefan Liebler <stli@linux.ibm.com>
3027
3028 * sysdeps/s390/multiarch/Makefile
3029 (sysdep_routines): Remove wcsncmp variants.
3030 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3031 * sysdeps/s390/multiarch/ifunc-impl-list.c
3032 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3033 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3034 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3035 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3036 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3037 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3038 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3039 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3040
3459e23d
SL
30412018-12-18 Stefan Liebler <stli@linux.ibm.com>
3042
3043 * sysdeps/s390/multiarch/Makefile
3044 (sysdep_routines): Remove wcscmp variants.
3045 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3046 * sysdeps/s390/multiarch/ifunc-impl-list.c
3047 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3048 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3049 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3050 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3051 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3052 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3053 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3054 * sysdeps/s390/ifunc-wcscmp.h: New file.
3055
814a76e1
SL
30562018-12-18 Stefan Liebler <stli@linux.ibm.com>
3057
3058 * sysdeps/s390/multiarch/Makefile
3059 (sysdep_routines): Remove wcsncat variants.
3060 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3061 * sysdeps/s390/multiarch/ifunc-impl-list.c
3062 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3063 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3064 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3065 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3066 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3067 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3068 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3069 * sysdeps/s390/ifunc-wcsncat.h: New file.
3070
3389cae4
SL
30712018-12-18 Stefan Liebler <stli@linux.ibm.com>
3072
3073 * sysdeps/s390/multiarch/Makefile
3074 (sysdep_routines): Remove wcscat variants.
3075 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3076 * sysdeps/s390/multiarch/ifunc-impl-list.c
3077 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3078 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3079 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3080 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3081 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3082 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3083 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3084 * sysdeps/s390/ifunc-wcscat.h: New file.
3085
c3081bcb
SL
30862018-12-18 Stefan Liebler <stli@linux.ibm.com>
3087
3088 * sysdeps/s390/multiarch/Makefile
3089 (sysdep_routines): Remove wcpncpy variants.
3090 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3091 * sysdeps/s390/multiarch/ifunc-impl-list.c
3092 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3093 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3094 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3095 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3096 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3097 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3098 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3099 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3100
0966dd86
SL
31012018-12-18 Stefan Liebler <stli@linux.ibm.com>
3102
3103 * sysdeps/s390/multiarch/Makefile
3104 (sysdep_routines): Remove wcsncpy variants.
3105 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3106 * sysdeps/s390/multiarch/ifunc-impl-list.c
3107 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3108 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3109 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3110 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3111 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3112 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3113 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3114 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3115
0582e428
SL
31162018-12-18 Stefan Liebler <stli@linux.ibm.com>
3117
3118 * sysdeps/s390/multiarch/Makefile
3119 (sysdep_routines): Remove wcpcpy variants.
3120 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3121 * sysdeps/s390/multiarch/ifunc-impl-list.c
3122 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3123 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3124 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3125 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3126 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3127 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3128 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3129 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3130
804f2e5c
SL
31312018-12-18 Stefan Liebler <stli@linux.ibm.com>
3132
3133 * sysdeps/s390/multiarch/Makefile
3134 (sysdep_routines): Remove wcscpy variants.
3135 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3136 * sysdeps/s390/multiarch/ifunc-impl-list.c
3137 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3138 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3139 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3140 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3141 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3142 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3143 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3144 * sysdeps/s390/ifunc-wcscpy.h: New file.
3145
c7e7cd26
SL
31462018-12-18 Stefan Liebler <stli@linux.ibm.com>
3147
3148 * sysdeps/s390/multiarch/Makefile
3149 (sysdep_routines): Remove wcsnlen variants.
3150 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3151 * sysdeps/s390/multiarch/ifunc-impl-list.c
3152 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3153 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3154 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3155 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3156 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3157 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3158 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3159 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3160
2e02d0b7
SL
31612018-12-18 Stefan Liebler <stli@linux.ibm.com>
3162
3163 * sysdeps/s390/multiarch/Makefile
3164 (sysdep_routines): Remove wcslen variants.
3165 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3166 * sysdeps/s390/multiarch/ifunc-impl-list.c
3167 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3168 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3169 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3170 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3171 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3172 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3173 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3174 * sysdeps/s390/ifunc-wcslen.h: New file.
3175
89bfcbdf
SL
31762018-12-18 Stefan Liebler <stli@linux.ibm.com>
3177
3178 * sysdeps/s390/multiarch/Makefile
3179 (sysdep_routines): Remove memrchr variants.
3180 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3181 * sysdeps/s390/multiarch/ifunc-impl-list.c
3182 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3183 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3184 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3185 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3186 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3187 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3188 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3189 * sysdeps/s390/ifunc-memrchr.h: New file.
3190
196655ba
SL
31912018-12-18 Stefan Liebler <stli@linux.ibm.com>
3192
3193 * sysdeps/s390/multiarch/Makefile
3194 (sysdep_routines): Remove memccpy variants.
3195 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3196 * sysdeps/s390/multiarch/ifunc-impl-list.c
3197 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3198 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3199 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3200 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3201 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3202 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3203 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3204 * sysdeps/s390/ifunc-memccpy.h: New file.
3205
4c7b3cec
SL
32062018-12-18 Stefan Liebler <stli@linux.ibm.com>
3207
3208 * sysdeps/s390/multiarch/Makefile
3209 (sysdep_routines): Remove rawmemchr variants.
3210 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3211 * sysdeps/s390/multiarch/ifunc-impl-list.c
3212 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3213 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3214 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3215 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3216 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3217 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3218 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3219 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3220
581a051c
SL
32212018-12-18 Stefan Liebler <stli@linux.ibm.com>
3222
3223 * sysdeps/s390/multiarch/Makefile
3224 (sysdep_routines): Remove memchr variants.
3225 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3226 * sysdeps/s390/multiarch/ifunc-impl-list.c
3227 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3228 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3229 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3230 * sysdeps/s390/multiarch/memchr.c: Move to ...
3231 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3232 * sysdeps/s390/ifunc-memchr.h: New file.
3233 * sysdeps/s390/s390-64/memchr.S: Move to ...
3234 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3235 for 31/64bit and ifunc handling.
3236 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3237 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3238 * sysdeps/s390/s390-32/memchr.S: Likewise.
3239
5d2ec20a
SL
32402018-12-18 Stefan Liebler <stli@linux.ibm.com>
3241
3242 * sysdeps/s390/multiarch/Makefile
3243 (sysdep_routines): Remove strcspn variants.
3244 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3245 * sysdeps/s390/multiarch/ifunc-impl-list.c
3246 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3247 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3248 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3249 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3250 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3251 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3252 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3253 * sysdeps/s390/ifunc-strcspn.h: New file.
3254
572cca93
SL
32552018-12-18 Stefan Liebler <stli@linux.ibm.com>
3256
3257 * sysdeps/s390/multiarch/Makefile
3258 (sysdep_routines): Remove strpbrk variants.
3259 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3260 * sysdeps/s390/multiarch/ifunc-impl-list.c
3261 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3262 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3263 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3264 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3265 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3266 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3267 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3268 * sysdeps/s390/ifunc-strpbrk.h: New file.
3269
483fc569
SL
32702018-12-18 Stefan Liebler <stli@linux.ibm.com>
3271
3272 * sysdeps/s390/multiarch/Makefile
3273 (sysdep_routines): Remove strspn variants.
3274 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3275 * sysdeps/s390/multiarch/ifunc-impl-list.c
3276 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3277 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3278 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3279 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3280 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3281 * sysdeps/s390/multiarch/strspn.c: Move to ...
3282 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3283 * sysdeps/s390/ifunc-strspn.h: New file.
3284
26ea8760
SL
32852018-12-18 Stefan Liebler <stli@linux.ibm.com>
3286
3287 * sysdeps/s390/multiarch/Makefile
3288 (sysdep_routines): Remove strrchr variants.
3289 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3290 * sysdeps/s390/multiarch/ifunc-impl-list.c
3291 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3292 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3293 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3294 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3295 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3296 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3297 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3298 * sysdeps/s390/ifunc-strrchr.h: New file.
3299
a1361e65
SL
33002018-12-18 Stefan Liebler <stli@linux.ibm.com>
3301
3302 * sysdeps/s390/multiarch/Makefile
3303 (sysdep_routines): Remove strchrnul variants.
3304 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3305 * sysdeps/s390/multiarch/ifunc-impl-list.c
3306 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3307 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3308 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3309 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3310 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3311 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3312 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3313 * sysdeps/s390/ifunc-strchrnul.h: New file.
3314
32f12653
SL
33152018-12-18 Stefan Liebler <stli@linux.ibm.com>
3316
3317 * sysdeps/s390/multiarch/Makefile
3318 (sysdep_routines): Remove strchr variants.
3319 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3320 * sysdeps/s390/multiarch/ifunc-impl-list.c
3321 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3322 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3323 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3324 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3325 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3326 * sysdeps/s390/multiarch/strchr.c: Move to ...
3327 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3328 * sysdeps/s390/ifunc-strchr.h: New file.
3329
316b8842
SL
33302018-12-18 Stefan Liebler <stli@linux.ibm.com>
3331
3332 * sysdeps/s390/multiarch/Makefile
3333 (sysdep_routines): Remove strncmp variants.
3334 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3335 * sysdeps/s390/multiarch/ifunc-impl-list.c
3336 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3337 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3338 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3339 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3340 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3341 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3342 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3343 * sysdeps/s390/ifunc-strncmp.h: New file.
3344
cdab85fe
SL
33452018-12-18 Stefan Liebler <stli@linux.ibm.com>
3346
3347 * sysdeps/s390/multiarch/Makefile
3348 (sysdep_routines): Remove strcmp variants.
3349 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3350 * sysdeps/s390/multiarch/ifunc-impl-list.c
3351 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3352 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3353 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3354 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3355 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3356 * sysdeps/s390/ifunc-strcmp.h: New file.
3357 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3358 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3359 for 31/64bit and ifunc handling.
3360 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3361 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3362 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3363
b9353351
SL
33642018-12-18 Stefan Liebler <stli@linux.ibm.com>
3365
3366 * sysdeps/s390/multiarch/Makefile
3367 (sysdep_routines): Remove strncat variants.
3368 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3369 * sysdeps/s390/multiarch/ifunc-impl-list.c
3370 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3371 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3372 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3373 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3374 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3375 * sysdeps/s390/multiarch/strncat.c: Move to ...
3376 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3377 * sysdeps/s390/ifunc-strncat.h: New file.
3378
8e5a0afb
SL
33792018-12-18 Stefan Liebler <stli@linux.ibm.com>
3380
3381 * sysdeps/s390/multiarch/Makefile
3382 (sysdep_routines): Remove strcat variants.
3383 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3384 * sysdeps/s390/multiarch/ifunc-impl-list.c
3385 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3386 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3387 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3388 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3389 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3390 * sysdeps/s390/multiarch/strcat.c: Move to ...
3391 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3392 * sysdeps/s390/ifunc-strcat.h: New file.
3393
25218822
SL
33942018-12-18 Stefan Liebler <stli@linux.ibm.com>
3395
3396 * sysdeps/s390/multiarch/Makefile
3397 (sysdep_routines): Remove stpncpy variants.
3398 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3399 * sysdeps/s390/multiarch/ifunc-impl-list.c
3400 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3401 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3402 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3403 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3404 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3405 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3406 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3407 * sysdeps/s390/ifunc-stpncpy.h: New file.
3408
d1bdbf38
SL
34092018-12-18 Stefan Liebler <stli@linux.ibm.com>
3410
3411 * sysdeps/s390/multiarch/Makefile
3412 (sysdep_routines): Remove strncpy variants.
3413 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3414 * sysdeps/s390/multiarch/ifunc-impl-list.c
3415 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3416 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3417 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3418 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3419 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3420 * sysdeps/s390/ifunc-strncpy.h: New file.
3421 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3422 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3423 and adjust ifunc handling.
3424 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3425 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3426 and adjust ifunc handling.
3427 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3428 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3429
97044931
SL
34302018-12-18 Stefan Liebler <stli@linux.ibm.com>
3431
3432 * sysdeps/s390/multiarch/Makefile
3433 (sysdep_routines): Remove stpcpy variants.
3434 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3435 * sysdeps/s390/multiarch/ifunc-impl-list.c
3436 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3437 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3438 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3439 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3440 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3441 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3442 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3443 * sysdeps/s390/ifunc-stpcpy.h: New file.
3444
914a4e05
SL
34452018-12-18 Stefan Liebler <stli@linux.ibm.com>
3446
3447 * sysdeps/s390/multiarch/Makefile
3448 (sysdep_routines): Remove strcpy variants.
3449 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3450 * sysdeps/s390/multiarch/ifunc-impl-list.c
3451 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3452 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3453 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3454 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3455 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3456 * sysdeps/s390/ifunc-strcpy.h: New file.
3457 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3458 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3459 for 31/64bit and ifunc handling.
3460 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3461 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3462 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3463
de10e44d
SL
34642018-12-18 Stefan Liebler <stli@linux.ibm.com>
3465
3466 * sysdeps/s390/multiarch/Makefile
3467 (sysdep_routines): Remove strnlen variants.
3468 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3469 * sysdeps/s390/multiarch/ifunc-impl-list.c
3470 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3471 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3472 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3473 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3474 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3475 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3476 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3477 * sysdeps/s390/ifunc-strnlen.h: New file.
3478
ff3ca374
SL
34792018-12-18 Stefan Liebler <stli@linux.ibm.com>
3480
3481 * sysdeps/s390/multiarch/Makefile
3482 (sysdep_routines): Remove strlen variants.
3483 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3484 * sysdeps/s390/multiarch/ifunc-impl-list.c
3485 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3486 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3487 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3488 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3489 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3490 * sysdeps/s390/multiarch/strlen.c: Move to ...
3491 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3492 * sysdeps/s390/ifunc-strlen.h: New file.
3493
d2c4c403
SL
34942018-12-18 Stefan Liebler <stli@linux.ibm.com>
3495
3496 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3497 * sysdeps/s390/multiarch/ifunc-impl-list.c
3498 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3499 * sysdeps/s390/ifunc-memmem.h: New file.
3500 * sysdeps/s390/memmem.c: Likewise.
3501 * sysdeps/s390/memmem-c.c: Likewise.
3502 * sysdeps/s390/memmem-vx.c: Likewise.
3503
8c25dddd
SL
35042018-12-18 Stefan Liebler <stli@linux.ibm.com>
3505
3506 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3507 * sysdeps/s390/multiarch/ifunc-impl-list.c
3508 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3509 * sysdeps/s390/ifunc-strstr.h: New file.
3510 * sysdeps/s390/strstr.c: Likewise.
3511 * sysdeps/s390/strstr-c.c: Likewise.
3512 * sysdeps/s390/strstr-vx.c: Likewise.
3513
cdd927d9
SL
35142018-12-18 Stefan Liebler <stli@linux.ibm.com>
3515
3516 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3517 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3518 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3519 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3520 New defines.
3521 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3522 * sysdeps/s390/memmove-c.c: New file.
3523 * sysdeps/s390/memmove.c: Likewise.
3524 * sysdeps/s390/multiarch/ifunc-impl-list.c
3525 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3526
2ee1bc57
SL
35272018-12-18 Stefan Liebler <stli@linux.ibm.com>
3528
3529 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3530 * sysdeps/s390/configure.ac: Add check for z13 support.
3531 * sysdeps/s390/configure: Regenerated.
3532
d097d976
SL
35332018-12-18 Stefan Liebler <stli@linux.ibm.com>
3534
3535 * sysdeps/s390/memcopy.h: New file.
3536
e099aab0
SL
35372018-12-18 Stefan Liebler <stli@linux.ibm.com>
3538
3539 * sysdeps/s390/s390-32/bcopy.S: Remove.
3540 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3541
18eb862d
SL
35422018-12-18 Stefan Liebler <stli@linux.ibm.com>
3543
3544 * sysdeps/s390/ifunc-memcpy.h: New File.
3545 * sysdeps/s390/memcpy.S: Move to ...
3546 * sysdeps/s390/memcpy-z900.S ... here.
3547 Move implementations from memcpy-s390x.s to here.
3548 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3549 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3550 Remove memcpy/mempcpy variants.
3551 * sysdeps/s390/Makefile (sysdep_routines):
3552 Add memcpy/mempcpy variants.
3553 * sysdeps/s390/multiarch/ifunc-impl-list.c
3554 (__libc_ifunc_impl_list): Adjust ifunc variants for
3555 memcpy and mempcpy.
3556 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3557 to ...
3558 * sysdeps/s390/memcpy.c: ... here.
3559 Adjust ifunc variants for memcpy.
3560 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3561 * sysdeps/s390/mempcpy.c: ... here.
3562 Adjust ifunc variants for mempcpy.
3563 * sysdeps/s390/mempcpy.S: Delete file.
3564
df3eb8de
SL
35652018-12-18 Stefan Liebler <stli@linux.ibm.com>
3566
3567 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3568 * sysdeps/s390/memcpy.S: ... here.
3569 Adjust to be usable for 31/64bit.
3570 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3571 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3572 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3573 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3574 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3575 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3576 Adjust to be usable for 31/64bit.
3577 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3578 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3579 * sysdeps/s390/multiarch/memcpy.c: ... here.
3580 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3581
b7e024a8
SL
35822018-12-18 Stefan Liebler <stli@linux.ibm.com>
3583
3584 * sysdeps/s390/ifunc-memcmp.h: New File.
3585 * sysdeps/s390/memcmp.S: Move to ...
3586 * sysdeps/s390/memcmp-z900.S ... here.
3587 Move implementations from memcmp-s390x.s to here.
3588 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3589 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3590 Remove memcmp variants.
3591 * sysdeps/s390/Makefile (sysdep_routines):
3592 Add memcmp variants.
3593 * sysdeps/s390/multiarch/ifunc-impl-list.c
3594 (__libc_ifunc_impl_list): Adjust ifunc variants for
3595 memcmp.
3596 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3597 to ...
3598 * sysdeps/s390/memcmp.c: ... here.
3599 Adjust ifunc variants for memcmp.
3600
6c6b8c74
SL
36012018-12-18 Stefan Liebler <stli@linux.ibm.com>
3602
3603 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3604 * sysdeps/s390/memcmp.S: ... here.
3605 Adjust to be usable for 31/64bit.
3606 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3607 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3608 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3609 Remove memcmp.
3610 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3611 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3612 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3613 Adjust to be usable for 31/64bit.
3614 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3615 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3616 * sysdeps/s390/multiarch/memcmp.c: ... here.
3617 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3618
07be3928
SL
36192018-12-18 Stefan Liebler <stli@linux.ibm.com>
3620
3621 * sysdeps/s390/s390-32/bzero.S: Delete file.
3622 * sysdeps/s390/s390-64/bzero.S: Likewise.
3623 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3624 * sysdeps/s390/bzero.c: New file.
3625 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3626 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3627 * sysdeps/s390/multiarch/ifunc-impl-list.c
3628 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3629
712a254a
SL
36302018-12-18 Stefan Liebler <stli@linux.ibm.com>
3631
3632 * sysdeps/s390/ifunc-memset.h: New File.
3633 * sysdeps/s390/memset.S: Move to ...
3634 * sysdeps/s390/memset-z900.S ... here.
3635 Move implementations from memset-s390x.s to here.
3636 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3637 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3638 Remove memset variants.
3639 * sysdeps/s390/Makefile (sysdep_routines):
3640 Add memset variants.
3641 * sysdeps/s390/multiarch/ifunc-impl-list.c
3642 (__libc_ifunc_impl_list): Adjust ifunc variants for
3643 memset.
3644 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3645 to ...
3646 * sysdeps/s390/memset.c: ... here.
3647 Adjust ifunc variants for memset.
3648
5f1743d1
SL
36492018-12-18 Stefan Liebler <stli@linux.ibm.com>
3650
3651 * sysdeps/s390/s390-64/memset.S: Move to ...
3652 * sysdeps/s390/memset.S: ... here.
3653 Adjust to be usable for 31/64bit.
3654 * sysdeps/s390/s390-32/memset.S: Delete File.
3655 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3656 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3657 Remove memset.
3658 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3659 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3660 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3661 Adjust to be usable for 31/64bit.
3662 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3663 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3664 * sysdeps/s390/multiarch/memset.c: ... here.
3665 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3666
e8023f26
SL
36672018-12-18 Stefan Liebler <stli@linux.ibm.com>
3668
3669 * sysdeps/s390/multiarch/ifunc-resolve.h
3670 (s390_libc_ifunc_init, s390_libc_ifunc,
3671 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3672
b8686c0d
SL
36732018-12-18 Stefan Liebler <stli@linux.ibm.com>
3674
3675 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3676 * sysdeps/s390/configure.ac: Add check for z10 support.
3677 * sysdeps/s390/configure: Regenerated.
3678
cd815050
L
36792018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 * sysdeps/i386/atomic-machine.h: Merged with ...
3682 * sysdeps/x86_64/atomic-machine.h: To ...
3683 * sysdeps/x86/atomic-machine.h: This. New file.
3684
053c52b1
FW
36852018-12-18 Florian Weimer <fweimer@redhat.com>
3686
3687 Rewrite locale/gen-translit.pl in Python.
3688 * locale/Makefile (generated): Add C-translit.h.
3689 (before-compile): Add $(objpfx)C-translit.h.
3690 (C-translit.h): Move to $(objpfx). Create target directory.
3691 Build using Python script.
3692 * locale/gen-translit.py: New file.
3693 * locale/gen-translit.pl: Remove file.
3694 * locale/C-translit.h.in: Change comment character to '#' for
3695 easier parsing without a C preprocessor.
3696 * locale/C-translit.h: Remove generated file.
3697 * manual/install.texi (Tools for Compilation): Do not mention
3698 C-translit.h.
3699 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3700 Remove locale/C-translit.h.
3701 * scripts/update-copyrights: Likewise.
3702 * INSTALL: Regenerate.
3703
40e6c1ec
FW
37042018-12-18 Florian Weimer <fweimer@redhat.com>
3705
3706 [BZ #23995]
3707 * localedata/locales/bi_VU: Remove executable bit from file.
3708
6e15f3e2
AA
37092018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3710
3711 * include/time.h
3712 (__localtime64): Add.
3713 * manual/maint.texi: Document Y2038 symbol handling.
3714 * time/localtime.c
3715 (__localtime64): Add.
bfb79db4 3716 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 3717
df648905
JM
37182018-12-17 Joseph Myers <joseph@codesourcery.com>
3719
551e81d9
JM
3720 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3721 Do not clobber r12.
3722
df648905
JM
3723 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3724 to allow extra macros from first or second sources.
3725 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3726 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3727 (tests-special): Add $(objpfx)tst-mman-consts.out.
3728 ($(objpfx)tst-mman-consts.out): New makefile target.
3729
6bbfc5c0
MH
37302018-12-17 Mao Han <han_mao@c-sky.com>
3731
3732 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3733 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3734 without stat64 system call support.
3735 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3736 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3737 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3738 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3739 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3740 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3741 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3742 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3743 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3744 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3745 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3746
ef202e53
PE
37472018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3748
3749 regex: fix storage-exhaustion error
3750 [BZ #18040]
3751 * posix/regexec.c (get_subexp):
3752 Do not continue if storage is exhausted.
3753
077caf61
AG
37542018-12-15 Assaf Gordon <assafgordon@gmail.com>
3755
3756 regex: fix heap-use-after-free error
3757 [BZ #18040]
3758 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3759 https://debbugs.gnu.org/32592
3760 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3761 call extend_buffers which reallocates the re_string_t internal buffer.
3762 Local variable 'buf' was not updated in such case, resulting in
3763 use-after-free.
3764 * posix/regexec.c (get_subexp): Update 'buf' after call to
3765 get_subexp_sub.
3766
0c1719e6
FW
37672018-12-15 Florian Weimer <fweimer@redhat.com>
3768
3769 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3770 (minimum_stride_size): Use it.
3771 (support_blob_repeat_allocate): Likewise.
3772
033a2c0a
JM
37732018-12-14 Joseph Myers <joseph@codesourcery.com>
3774
3775 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3776 definition.
3777 (acosh): Likewise.
3778 (atanh): Likewise.
3779
e361dc04
FW
37802018-12-14 Florian Weimer <fweimer@redhat.com>
3781
3782 * manual/process.texi (Process Creation Concepts): Remove
3783 documentation of process (ID) lifetime. List more process
3784 creation functions. Reference Process Identification section.
3785 (Process Identification): Add information about process ID
3786 lifetime. Describe Linux thread/task IDs.
3787 * manual/signal.texi (Signaling Another Process): Mention that the
3788 signal is always sent to the process.
3789
bd51ff5e
GG
37902018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3791
3792 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3793 and tst-ldbl-efgcvt.
3794 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3795 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3796 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3797 (fcvt_tests, output_error, output_r_error, do_test): Use the
3798 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3799 select the type of floating-point variables and arguments; to
3800 produce extra tests for double and conversion specifiers for
3801 printf; and to set the names of called functions.
3802 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3803 in tst-efgcvt-template.c.
3804 * misc/tst-ldbl-efgcvt.c: Likewise.
3805
268bb71e
SL
38062018-12-14 Stefan Liebler <stli@linux.ibm.com>
3807
3808 * nss/Makefile (tst-nss-test3.out): New rule.
3809
db6df070
JM
38102018-12-13 Joseph Myers <joseph@codesourcery.com>
3811
3812 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3813 clobber sp.
3814
ade8b817
CD
38152018-12-13 fanjinke <fanjinke@hygon.cn>
3816
3817 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3818 "HygonGenuine".
3819
3d265911
AS
38202018-12-13 Andreas Schwab <schwab@suse.de>
3821
f21e8f8c 3822 [BZ #23861]
3d265911 3823 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
3824 (__pthread_rwlock_rdlock_full): Update expected value for
3825 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3826 * nptl/tst-rwlock-pwn.c: New file.
3827 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 3828
bf8ae8c0
JM
38292018-12-12 Joseph Myers <joseph@codesourcery.com>
3830
3831 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3832 definition.
3833
de099757
LS
38342018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3835
3836 * benchtests/scripts/compare_bench.py (do_compare): write to
3837 stderr in casestat is not present.
3838 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3839 stderr in case timings field is not present. Also string showing
3840 the output filename goes into the stderr.
3841
1990185f
LS
38422018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3843
3844 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3845 and ZeroDivisorError exceptions.
3846 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3847 argument to loop through user provided statistics.
3848 * benchtests/scripts/compare_bench.py (main): Include the --stats
3849 argument.
3850
587426d4
LS
38512018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3852
3853 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3854 instead of return.
3855
46703efa
FW
38562018-12-12 Florian Weimer <fweimer@redhat.com>
3857
3858 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3859 clause to copyright header.
3860
1d880d4a
TMQMF
38612018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3862
3863 [BZ #23614]
3864 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3865 registers saved in the stack frame.
3866 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3867 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3868
1a502f52
GG
38692018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3870
3871 * include/bits/monetary-ldbl.h: New file.
3872 * include/bits/printf-ldbl.h: Likewise.
3873 * include/bits/stdio-ldbl.h: Likewise.
3874 * include/bits/stdlib-ldbl.h: Likewise.
3875 * include/bits/syslog-ldbl.h: Likewise.
3876 * include/bits/wchar-ldbl.h: Likewise.
3877
df682d1d
GG
38782018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3879
3880 * libio/libio.h: Remove redirection for _IO_vfprintf.
3881
c2c082c1
AS
38822018-12-11 Andreas Schwab <schwab@suse.de>
3883
3884 * Makerules: Remove all references to abilist-pattern.
3885 (update-all-abi): Simplify find expression.
3886
505b5b29
SN
38872018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3888
3889 [BZ #23961]
3890 * math/auto-libm-test-in: Add new test case.
3891 * math/auto-libm-test-out-pow: Regenerated.
3892 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3893
304c61a2
DD
38942018-12-10 DJ Delorie <dj@redhat.com>
3895
3896 [BZ #23948]
3897 * support/test-container.c: Move postclean step to before we
3898 change namespaces.
3899
a8110b72
JM
39002018-12-10 Joseph Myers <joseph@codesourcery.com>
3901
cb7be159
JM
3902 * scripts/gen-as-const.py (main): Handle --python option.
3903 * scripts/gen-py-const.awk: Remove.
3904 * Makerules (py-const-script): Use gen-as-const.py.
3905 ($(py-const)): Likewise.
3906 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3907 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3908 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3909 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3910 ~PTHREAD_MUTEX_NO_ELISION_NP.
3911 * manual/README.pretty-printers: Update reference to
3912 gen-py-const.awk.
3913
a8110b72
JM
3914 * scripts/glibcextract.py: New file.
3915 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3916 or tempfile. Import glibcexctract.
3917 (compute_c_consts): Remove. Moved to glibcextract.py.
3918 (gen_test): Update reference to compute_c_consts.
3919 (main): Likewise.
3920 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3921 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3922 * sysdeps/unix/sysv/linux/Makefile
3923 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3924 Redirect stderr as well as stdout.
3925
f9ba9eb8
RÁE
39262018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3927
3928 [BZ #19767]
3929 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3930 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3931 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3932 ALWAYS_USE_VSYSCALL.
3933 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3934 ALWAYS_USE_VSYSCALL.
3935 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3936 ALWAYS_USE_VSYSCALL.
3937
8d20a2f4
FW
39382018-12-10 Florian Weimer <fweimer@redhat.com>
3939
3940 [BZ #23972]
3941 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3942 offset instead of count for clarity. Fix typo in comment.
3943 (__old_getdents64): Keep track of previous offset. Use it to call
3944 handle_overflow.
3945 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3946 that d_off is never zero.
3947
80472e2f
AS
39482018-12-10 Andreas Schwab <schwab@suse.de>
3949
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3951 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3953 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3954 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3955
0afcb29d
JM
39562018-12-10 Joseph Myers <joseph@codesourcery.com>
3957
3958 * timezone/private.h: Update from tzcode 2018g.
3959 * timezone/tzfile.h: Likewise.
3960 * timezone/tzselect.ksh: Likewise.
3961 * timezone/zdump.c: Likewise.
3962 * timezone/zic.c: Likewise.
3963
b93f4052
PP
39642018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3965
3966 [BZ #23490]
3967 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3968 (do_test): Adjust buffer size and fix format.
3969
7c9a7c68
DD
39702018-12-07 DJ Delorie <dj@redhat.com>
3971
3972 [BZ #23907]
3973 * malloc/tst-tcfree3.c: New.
3974 * malloc/Makefile: Add it.
3975
37caec3a
L
39762018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3977
3978 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3979
10446f5d
GG
39802018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3981
3982 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3983 used as a mask for the mode argument of __vfscanf_internal and
3984 __vfwscanf_internal.
3985 * stdio-common/vfscanf-internal.c
3986 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3987 (__strtof128_internal): Define to __wcstof128_internal.
3988 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3989 __strtof128_internal or __wcstof128_internal when the format of
3990 long double is the same as _Float128.
3991
45f33aac
ST
39922018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3993
3994 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3995 * posix/confstr.c (confstr): Rename to __confstr.
3996 (__confstr): Add hidden def.
3997 (confstr): Add weak alias for __confstr.
3998 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3999 confstr.
4000
a092ca94
L
40012018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * NEWS: Mention getcpu.
4004 * include/sched.h (__getcpu): New libc_hidden_proto.
4005 * manual/resource.texi: Document getcpu.
4006 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4007 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4008 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4009 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4010 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4011 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4012 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4013 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4014 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4015 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4016 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4017 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4018 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4019 Likewise.
4020 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4021 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4022 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4024 Likewise.
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4026 Likewise.
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4028 Likewise.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4030 Likewise.
4031 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4032 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4033 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4034 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4035 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4036 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4037 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4038 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4039 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4040 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4041 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4042 Also check getcpu.
4043
7c857b6f
ST
40442018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4045
4046 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4047 functions.
4048 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4049
3a3fb755
FW
40502018-12-07 Florian Weimer <fweimer@redhat.com>
4051
4052 [BZ #17405]
4053 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4054 * posix/Versions (GLIBC_2.29): Export
4055 posix_spawn_file_actions_addfchdir_np.
4056 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4057 * posix/spawn_faction_destroy.c
4058 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4059 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4060 and the field action.fchdir_action.
4061 * posix/tst-spawn-chdir.c (add_chdir): New function.
4062 (do_test): Add do_fchdir loop. Call add_chdir.
4063 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4064 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4065 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4066 posix_spawn_file_actions_addfchdir_np.
4067 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4068 Likewise.
4069 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4070 Likewise.
4071 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4072 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4073 Likewise.
4074 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4075 Likewise.
4076 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4077 Likewise.
4078 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4079 Likewise.
4080 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4081 Likewise.
4082 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4083 Likewise.
4084 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4085 (GLIBC_2.29): Likewise.
4086 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4087 (GLIBC_2.29): Likewise.
4088 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4089 (GLIBC_2.29): Likewise.
4090 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4091 (GLIBC_2.29): Likewise.
4092 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4093 Likewise.
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4095 (GLIBC_2.29): Likewise.
4096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4097 (GLIBC_2.29): Likewise.
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4099 (GLIBC_2.29): Likewise.
4100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4101 (GLIBC_2.29): Likewise.
4102 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4103 Likewise.
4104 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4105 Likewise.
4106 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4107 Likewise.
4108 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4109 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4110 Likewise.
4111 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4112 Likewise.
4113 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4114 Likewise.
4115 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4116 Likewise.
4117
c37cd439
JM
41182018-12-06 Joseph Myers <joseph@codesourcery.com>
4119
4120 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4121 trailing whitespace removed.
4122 * scripts/config.guess: Update to version 2018-11-28.
4123 * scripts/config.sub: Update to version 2018-11-28.
4124 * scripts/install-sh: Update to version 2018-03-11.20.
4125 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4126 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4127
899478c2
FW
41282018-12-07 Florian Weimer <fweimer@redhat.com>
4129
4130 [BZ #23927]
4131 CVE-2018-19591
4132 * inet/tst-if_index-long.c: New file.
4133 * inet/Makefile (tests): Add tst-if_index-long.
4134
f255336a
FW
41352018-12-07 Florian Weimer <fweimer@redhat.com>
4136
4137 * support/check.h (support_record_failure_is_failed): Declare.
4138 * support/descriptors.h: New file.
4139 * support/support_descriptors.c: Likewise.
4140 * support/tst-support_descriptors.c: Likewise.
4141 * support/support_record_failure.c
4142 (support_record_failure_is_failed): New function.
4143 * support/Makefile (libsupport-routines): Add support_descriptors.
4144 (tests): Add tst-support_descriptors.
4145
35caceb1
ZW
41462018-12-05 Zack Weinberg <zackw@panix.com>
4147 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4148
4149 * stdio-common/vfprintf-internal.c
4150 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4151 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4152 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4153 and __no_long_double.
4154 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4155 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4156 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4157 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4158 and __nldbl_*syslog* functions.
4159 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4160 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4161 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4162 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4163 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4164 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4165 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4166 (__nldbl_vwprintf, __nldbl_wprintf):
4167 Directly call the appropriate __v*printf_internal routine, passing
4168 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4169 variable names.
4170 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4171 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4172 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4173 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4174 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4175 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4176 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4177 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4178 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4179 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4180 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4181 (__nldbl_syslog, __nldbl_vsyslog):
4182 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4183 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4184 appropriate.
4185 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4186 appropriate.
4187
4e2f43f8
ZW
41882018-12-05 Zack Weinberg <zackw@panix.com>
4189 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4190
4191 [BZ #11319]
4192 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4193 Moved here from debug/vsprintf_chk.c.
4194 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4195 and completion logic for the strfile to match exactly what
4196 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4197 _IO_str_init_static_internal instead of maxlen-1.
4198 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4199 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4200 __vsprintf_internal.
4201
4202 * debug/vsprintf_chk.c (__vsprintf_chk)
4203 * debug/sprintf_chk.c (__sprintf_chk):
4204 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4205 'flags' argument is positive, and slen as maxlen. No need to lock
4206 the FILE and/or construct a temporary FILE. Minimize and normalize
4207 header inclusions and variable names. Do not libc_hidden_def anything.
4208
4209 * debug/asprintf_chk.c (__asprintf_chk)
4210 * debug/dprintf_chk.c (__dprintf_chk)
4211 * debug/fprintf_chk.c (__fprintf_chk)
4212 * debug/fwprintf_chk.c (__fwprintf_chk)
4213 * debug/printf_chk.c (__printf_chk)
4214 * debug/snprintf_chk.c (__snprintf_chk)
4215 * debug/swprintf_chk.c (__swprintf_chk)
4216 * debug/vasprintf_chk.c (__vasprintf_chk)
4217 * debug/vdprintf_chk.c (__vdprintf_chk)
4218 * debug/vfprintf_chk.c (__vfprintf_chk)
4219 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4220 * debug/vprintf_chk.c (__vprintf_chk)
4221 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4222 * debug/vswprintf_chk.c (__vswprintf_chk)
4223 * debug/vwprintf_chk.c (__vwprintf_chk)
4224 * debug/wprintf_chk.c (__wprintf_chk):
4225 Directly call the corresponding vxxprintf_internal function, passing
4226 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4227 the FILE and/or construct a temporary FILE. Minimize and normalize
4228 header inclusions and variable names. Do not libc_hidden_def anything.
4229
4230 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4231 __obstack_vprintf_internal.
4232 (__obstack_vprintf_chk): Convert into a wrapper that calls
4233 __obstack_vprintf_internal (these two functions already had the
4234 same code) and move to new file...
4235 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4236 file.
4237 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4238 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4239 * debug/Makefile (routines): Add vobprintf_chk.
4240
4241 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4242 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4243 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4244 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4245 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4246 (__nldbl___obstack_vfprintf_chk):
4247 Directly call the corresponding vxxprintf_internal function,
4248 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4249 duplicate comparison of slen with 0 or maxlen from the corresponding
4250 non-__nldbl function.
4251
4252 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4253 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4254 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4255 Remove libc_hidden_proto.
4256
4257 * stdio-common/vfprintf-internal.c
4258 (__vfprintf_internal, __vfwprintf_internal):
4259 Do not check _IO_FLAGS2_FORTIFY.
4260 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4261 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4262 a comment explaining why it has the maxlen argument.
4263 (_IO_acquire_lock_clear_flags2_fct): Remove.
4264 (_IO_acquire_lock_clear_flags2): Remove.
4265 (_IO_release_lock): Remove conditional statement which will
4266 now never execute.
4267 (_IO_acquire_lock): Remove variable which is now unused.
4268 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4269 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4270
4271 * stdio-common/Makefile (tests): Add tst-bz11319 and
4272 tst-bz11319-fortify2.
4273 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4274 * stdio-common/tst-bz11319-fortify2.c: New file.
4275 * stdio-common/tst-bz11319.c: Likewise.
4276
124fc732
ZW
42772018-12-05 Zack Weinberg <zackw@panix.com>
4278 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4279
4280 * misc/syslog.c: Include libioP.h, not iolibio.h.
4281 (__vsyslog_internal): New function with the former body of
4282 __vsyslog_chk; takes mode_flags argument same as
4283 __v*printf_internal. Call __vfprintf_internal directly.
4284
4285 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4286 Remove libc_hidden_def.
4287 (__syslog, __syslog_chk): Use __vsyslog_internal.
4288 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4289
4290 * include/sys/syslog.h: Add multiple inclusion guard.
4291 Add prototype for __vsyslog_internal.
4292 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4293
4294 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4295 Use __vsyslog_internal.
4296
698fb75b
ZW
42972018-12-05 Zack Weinberg <zackw@panix.com>
4298 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4299
4300 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4301 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4302 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4303 New functions.
4304 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4305 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4306
4307 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4308 Include wctype.h here if COMPILE_WPRINTF is defined.
4309 Define __vfprintf_internal or __vfwprintf_internal, depending
4310 on COMPILE_WPRINTF.
4311 Temporarily, on entry to this function, update mode_flags
4312 according to the environmental settings corresponding to
4313 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4314 Throughout, check mode_flags instead of __ldbl_is_dbl and
4315 _IO_FLAGS2_FORTIFY on the destination FILE.
4316 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4317 Include vfprintf-internal.c. Don't include wctype.h.
4318 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4319 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4320 and vfprintf.
4321 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4322 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4323 and vfwprintf.
4324 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4325
4326 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4327 and add mode_flags argument; use __vfprintf_internal.
4328 (__vdprintf): New function. Alias vdprintf to this.
4329 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4330 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4331 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4332 (__obstack_printf): Use __obstack_printf_internal.
4333 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4334 public aliases __vsnprintf and vsnprintf.
4335 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4336 called internally.
4337 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4338 public aliases _IO_vsprintf and vsprintf.
4339 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4340 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4341 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4342 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4343 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4344
4345 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4346 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4347 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4348 * stdio-common/printf.c: Use __vfprintf_internal.
4349
4350 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4351 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4352 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4353
4354 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4355 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4356 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4357 __vfwprintf_internal.
4358
4359 * libio/libio.h: Remove libc_hidden_proto and declaration for
4360 _IO_vfprintf.
4361 Remove declaration of _IO_vfwprintf.
4362 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4363 _IO_vsprintf.
4364 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4365 _IO_obstack_printf.
4366 * include/stdio.h: Add prototype for __vasprintf.
4367 (__vsnprintf): Remove declaration, because there are no more
4368 internal calls.
4369 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4370 declaration, because there are no more internal calls.
4371
4372 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4373 __vsnprintf_internal, instead of _IO_vsnprintf.
4374 * argp/argp-help.c (__argp_error, __argp_failure): Use
4375 __vasprintf_internal, instead of _IO_vasprintf.
4376 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4377 redefine, because there are no more internal calls.
4378
d91798b3
ZW
43792018-12-05 Zack Weinberg <zackw@panix.com>
4380 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4381
4382 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4383 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4384 Include libio/strfile.h instead of libioP.h.
4385 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4386 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4387 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4388 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4389 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4390 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4391 necessary. Do not set __no_long_double. Normalize variable names.
4392 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4393 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4394 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4395 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4396 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4397 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4398 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4399 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4400 Do not set __no_long_double. Normalize variable names.
4401
b87eb3f8
ZW
44022018-12-05 Zack Weinberg <zackw@panix.com>
4403 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4404
4405 * stdio-common/isoc99_scanf.c
4406 * stdio-common/isoc99_fscanf.c
4407 * stdio-common/isoc99_sscanf.c
4408 * stdio-common/isoc99_vscanf.c
4409 * stdio-common/isoc99_vfscanf.c
4410 * stdio-common/isoc99_vsscanf.c
4411 * wcsmbs/isoc99_wscanf.c
4412 * wcsmbs/isoc99_fwscanf.c
4413 * wcsmbs/isoc99_swscanf.c
4414 * wcsmbs/isoc99_vwscanf.c
4415 * wcsmbs/isoc99_vfwscanf.c
4416 * wcsmbs/isoc99_vswscanf.c:
4417 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4418 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4419 No need to lock and unlock the FILE passed to that function.
4420
4421 * stdio-common/vfscanf-internal.c
4422 (__vfscanf_internal, __vfwscanf_internal):
4423 Don't look at _IO_FLAGS2_SCANF_STD.
4424 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4425 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4426 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4427
349718d4
ZW
44282018-12-05 Zack Weinberg <zackw@panix.com>
4429 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4430
4431 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4432 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4433 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4434 * libio/strfile.h: Add multiple inclusion guard.
4435 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4436
4437 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4438 consistency with the other version of this file.
4439 (ldbl_compat_symbol): New macro.
4440 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4441 New macro.
4442
4443 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4444 Define __vfscanf_internal or __vfwscanf_internal, depending on
4445 COMPILE_WSCANF; don't define any other public symbols.
4446 Remove errval and code to set errp.
4447 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4448 as the mode_flags argument.
4449 (encode_error, conv_error, input_error): Don't set errval.
4450 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4451 Include vfscanf-internal.c.
4452 * stdio-common/vfscanf.c: New file defining the public entry
4453 point vfscanf, which calls __vfscanf_internal.
4454 * stdio-common/vfwscanf.c: New file defining the public entry
4455 point vfwscanf, which calls __vfwscanf_internal.
4456
4457 * stdio-common/iovfscanf.c: New file.
4458 * stdio-common/iovfwscanf.c: Likewise.
4459
4460 * stdio-common/Makefile (routines): Add vfscanf-internal,
4461 vfwscanf-internal, iovfscanf, iovfwscanf.
4462 * stdio-common/Versions: Mention GLIBC_2.29, so that
4463 it can be used in SHLIB_COMPAT expressions.
4464 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4465 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4466 Call __vfscanf_internal, instead of _IO_vfscanf.
4467 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4468 _IO_vfscanf.
4469 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4470 _IO_vfwscanf.
4471
4472 * libio/iovsscanf.c: Clean up includes, when possible. Use
4473 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4474 __vfscanf_internal or __vfwscanf_internal directly.
4475 * libio/iovswscanf.c: Likewise.
4476 * libio/swscanf.c: Likewise.
4477 * libio/vscanf.c: Likewise.
4478 * libio/vwscanf.c: Likewise.
4479 * libio/wscanf.c: Likewise.
4480 * stdio-common/isoc99_fscanf.c: Likewise.
4481 * stdio-common/isoc99_scanf.c: Likewise.
4482 * stdio-common/isoc99_sscanf.c: Likewise.
4483 * stdio-common/isoc99_vfscanf.c: Likewise.
4484 * stdio-common/isoc99_vscanf.c: Likewise.
4485 * stdio-common/isoc99_vsscanf.c: Likewise.
4486 * stdio-common/scanf.c: Likewise.
4487 * stdio-common/sscanf.c: Likewise.
4488 * wcsmbs/isoc99_fwscanf.c: Likewise.
4489 * wcsmbs/isoc99_swscanf.c: Likewise.
4490 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4491 * wcsmbs/isoc99_vswscanf.c: Likewise.
4492 * wcsmbs/isoc99_vwscanf.c: Likewise.
4493 * wcsmbs/isoc99_wscanf.c: Likewise.
4494
72b8692d
AA
44952018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4496
4497 * include/time.h
4498 (__tz_compute): Replace time_t with __time64_t.
4499 (__tz_convert): Replace time_t* with __time64_t.
4500 (__offtime): Replace time_t* with __time64_t.
4501 * time/gmtime.c
4502 (__gmtime_r): Adjust call to __tz_convert.
4503 (gmtime): Likewise.
4504 * time/localtime.c
4505 (__localtime_r): Likewise.
4506 (localtime): Likewise.
4507 * time/offtime.c: Replace time_t with __time64_t.
4508 * time/tzset.c: Likewise.
4509
bd598da9
JM
45102018-12-04 Joseph Myers <joseph@codesourcery.com>
4511
4512 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4513 dynamic linker unless [$(run-built-tests) = yes].
4514
b2e93de0
DD
45152018-12-03 DJ Delorie <dj@delorie.com>
4516
4517 * support/test-container.c (check_for_unshare_hints): New.
4518 (main): Call it if unshare fails. Add support for "su" scriptlet
4519 command.
4520
477a02f6
JM
45212018-12-03 Joseph Myers <joseph@codesourcery.com>
4522
4523 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4524 'START' to indicate that start text should be output.
4525 (gen_test): Likewise.
4526 (main): Generate 'START' for first symbol or '--' line, or at end
4527 of input if not previously generated.
4528
6af956e5
RÁE
45292018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4530
4531 [BZ #19767]
4532 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4533 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4534 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4535 ALWAYS_USE_VSYSCALL.
4536
f5ec0ea9
AZ
45372018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4538
4539 [BZ #23913]
4540 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4541 new_argv by one.
4542
8cebd4ff
CD
45432018-12-03 Carlos O'Donell <carlos@redhat.com>
4544
4545 [BZ #23923]
4546 * locale/programs/localedef.c: Declare boolean hard_links default true.
4547 (options): Add --no-hard-links option.
4548 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4549 * locale/programs/localedef.h: Declare prototype for hard_links.
4550 * locale/programs/locfile.c (write_locale_data): Don't use hard
4551 links if hard_links is false.
4552
c22e4c2a
L
45532018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4554
4555 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4556 cpu_features_basic.
4557 (__cache_sysconf): Likewise.
4558 (init_cacheinfo): Likewise.
4559 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4560 populate COMMON_CPUID_INDEX_80000007 and
4561 COMMON_CPUID_INDEX_80000008.
4562 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4563 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4564 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4565 (init_cpu_features): Use _Static_assert on
4566 index_arch_Fast_Unaligned_Load.
4567 __get_cpuid_registers and __get_arch_feature. Updated for
4568 cpu_features_basic. Set stepping in cpu_features.
4569 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4570 (FEATURE_INDEX_2): New.
4571 (FEATURE_INDEX_MAX): Changed to enum.
4572 (COMMON_CPUID_INDEX_D_ECX_1): New.
4573 (COMMON_CPUID_INDEX_80000007): Likewise.
4574 (COMMON_CPUID_INDEX_80000008): Likewise.
4575 (cpuid_registers): Likewise.
4576 (cpu_features_basic): Likewise.
4577 (CPU_FEATURE_USABLE): Likewise.
4578 (bit_arch_XXX_Usable): Likewise.
4579 (cpu_features): Use cpuid_registers and cpu_features_basic.
4580 (bit_arch_XXX): Reweritten.
4581 (bit_cpu_XXX): Likewise.
4582 (index_cpu_XXX): Likewise.
4583 (reg_XXX): Likewise.
4584 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4585 <support/check.h>.
4586 (CHECK_CPU_FEATURE): New.
4587 (CHECK_CPU_FEATURE_USABLE): Likewise.
4588 (cpu_kinds): Likewise.
4589 (do_test): Print vendor, family, model and stepping. Check
4590 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4591 (TEST_FUNCTION): Removed.
4592 Include <support/test-driver.c> instead of
4593 "../../test-skeleton.c".
4594 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4595 Check POPCNT instead of POPCOUNT.
4596 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4597
7b36d26b
ST
45982018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4599
4600 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4601 there is no element in `consts'.
4602
02cd5c1a
FW
46032018-12-01 Florian Weimer <fweimer@redhat.com>
4604
4605 * support/support_capture_subprocess.c
4606 (support_capture_subprocess): Check that pipe descriptors have
4607 expected values. Close original pipe descriptors in subprocess.
4608
fc493bc9
ST
46092018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4610
4611 [BZ #23032]
4612 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4613 attr with __pthread_default_barrierattr.
4614 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4615 attr with __pthread_default_condattr.
4616 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4617 attr with __pthread_default_mutexattr.
4618 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4619 attr with __pthread_default_rwlockattr.
4620
6310e6be
KW
46212018-12-01 Kemi Wang <kemi.wang@intel.com>
4622
4623 * manual/tunables.texi (POSIX Thread Tunables): New node.
4624 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4625 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4626 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4627 __pthread_tunables_init.
4628 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4629 (max_adaptive_count): Define.
4630 * nptl/pthread_mutex_conf.c: New file.
4631 * nptl/pthread_mutex_conf.h: New file.
4632 * sysdeps/generic/adaptive_spin_count.h: New file.
4633 * sysdeps/nptl/dl-tunables.list: New file.
4634 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4635 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4636 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4637 Likewise.
4638
8e67b39e
PP
46392018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4640
4641 [BZ #20544]
4642 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4643 * stdlib/on_exit.c (__on_exit): Likewise.
4644 * stdlib/Makefile (tests): Add tst-bz20544.
4645 * stdlib/tst-bz20544.c: New test.
4646
15b8d67e
RÁE
46472018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4648
4649 [BZ #19767]
4650 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4651 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4652 New.
4653
5e63c240
FW
46542018-11-30 Florian Weimer <fweimer@redhat.com>
4655
4656 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4657 Extend error logging.
4658 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4659 symbol.
4660
71058602 46612018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 4662
5fb7fc96
AZ
4663 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4664 __sigismember instead of sigismember.
4665 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4666 cancel_handler): New definitions.
4667 (do_system): Use posix_spawn instead of fork and execl and remove
4668 reentracy code.
4669 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4670 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4671 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4672 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4673 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4674 * sysdeps/unix/sysv/linux/system.c: Likewise.
4675
14d0e87d
AZ
4676 [BZ #22834]
4677 [BZ #17490]
4678 * NEWS: Add new semantic for atfork with popen and system.
4679 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4680 fork and execl.
4681
e5d262ef
TMQMF
46822018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4683
4684 [BZ #23690]
4685 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4686 modification order when accessing reloc_result->addr.
4687 * include/link.h (reloc_result): Add field init.
4688 * nptl/Makefile (tests): Add tst-audit-threads.
4689 (modules-names): Add tst-audit-threads-mod1 and
4690 tst-audit-threads-mod2.
4691 Add rules to build tst-audit-threads.
4692 * nptl/tst-audit-threads-mod1.c: New file.
4693 * nptl/tst-audit-threads-mod2.c: Likewise.
4694 * nptl/tst-audit-threads.c: Likewise.
4695 * nptl/tst-audit-threads.h: Likewise.
4696
7e1d4240
JM
46972018-11-30 Joseph Myers <joseph@codesourcery.com>
4698
4699 * scripts/gen-as-const.py: New file.
4700 * scripts/gen-as-const.awk: Remove.
4701 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4702 gen-as-const.py.
4703 ($(objpfx)test-as-const-%.c): Likewise.
4704
ce7387cc
L
47052018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4706
4707 * elf/dl-exception.c: Include <_itoa.h>.
4708
c6a5bdc1
ST
47092018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4710
4711 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4712 returned by __f_setlk.
4713
a5275ba5
L
47142018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4715 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4716
4717 * elf/Makefile (tests-internal): Add tst-create_format1.
4718 * elf/dl-exception.c (_dl_exception_create_format): Support
4719 %x, %lx and %zx.
4720 * elf/tst-create_format1.c: New file.
4721
3a67e81d
CAC
47222018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4723
4724 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4725 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4726 gnulib.)
4727 * argp/argp-help.c (__argp_failure): Likewise.
4728
4975f0c3
MH
47292018-11-29 Mao Han <han_mao@c-sky.com>
4730
4731 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4732 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4733 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4734 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4735 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4736 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4737 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4738 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4739 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4740 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4741 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4742 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4743 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4744 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4745 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4746 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4747 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4748 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4749 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4750 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4751 (R_CKCORE_TLS_TPOFF32): New defines.
4752
250102c8
FW
47532018-11-29 Florian Weimer <fweimer@redhat.com>
4754
4755 * posix/Makefile (before-compile): Remove testcases.h and
4756 ptestcases.h.
4757 (generated): Add testcases.h and ptestcases.h.
4758 (testcases.h, ptestcases.h): Move to $(objpfx).
4759 (runtests.o): Add dependency on testcases.h.
4760 (runptests.o): Add dependency on ptestcases.h.
4761 * posix/testcases.h, posix/ptestcases.h: Remove files.
4762 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4763 not touch posix/testcases.h and posix/ptestcases.h.
4764
96cd0558
FW
47652018-11-28 Florian Weimer <fweimer@redhat.com>
4766
4767 support: Add signal support to support_capture_subprocess_check.
4768 * support/capture_subprocess.h (support_capture_subprocess_check):
4769 Adjust comment and rename parameter.
4770 * support/support_capture_subprocess_check.c
4771 (print_actual_status): New function.
4772 (support_capture_subprocess_check): Support negative
4773 status_or_signal. Call print_actual_status.
4774 * support/tst-support_capture_subprocess.c (do_test): Call
4775 support_capture_subprocess_check.
4776 * libio/tst-vtables-common.c (termination_status)
4777 (init_termination_status): Remove.
4778 (check_for_termination): Adjust support_capture_subprocess_check
4779 call.
4780 (do_test): Remove call to init_termination_status.
4781
530504e3
JM
47822018-11-28 Joseph Myers <joseph@codesourcery.com>
4783
4784 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4785 source directory instead of a copy.
4786 (CommandList.create_copy_dir): Remove.
4787
9a0b6970
SL
47882018-11-28 Stefan Liebler <stli@linux.ibm.com>
4789
4790 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4791
47d8d9a2
FW
47922018-11-28 Florian Weimer <fweimer@redhat.com>
4793
4794 * support/support.h (support_quote_string): Do not use str
4795 parameter name.
4796
b473b7d8
JM
47972018-11-27 Joseph Myers <joseph@codesourcery.com>
4798
4799 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4800 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4801
c74a91de
FW
48022018-11-27 Florian Weimer <fweimer@redhat.com>
4803
4804 * support/support.h (support_quote_string): Declare.
4805 * support/support_quote_string.c: New file.
4806 * support/tst-support_quote_string.c: Likewise.
4807 * support/Makefile (libsupport-routines): Add
4808 support_quote_string.
4809 (tests): Add tst-support_quote_string.
4810
d527c860
FW
48112018-11-27 Florian Weimer <fweimer@redhat.com>
4812
4813 [BZ #23927]
4814 CVE-2018-19591
4815 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4816 descriptor leak in case of ENODEV error.
4817
979cfed0
RÁE
48182018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4819
4820 [BZ #19767]
4821 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4822 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4823 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4824
ce035c6e
CD
48252018-11-26 Carlos O'Donell <carlos@redhat.com>
4826
4827 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4828 Error for unknown lines.
4829
2bd0bfcc
JM
48302018-11-26 Joseph Myers <joseph@codesourcery.com>
4831
4832 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4833 Touch additional files.
4834
affec03b
FW
48352018-11-26 Florian Weimer <fweimer@redhat.com>
4836
4837 [BZ #23907]
4838 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4839 double-frees.
4840
8ae74ead
RÁE
48412018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4842
4843 [BZ #19767]
4844 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4845 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4846 SHARED. Include sysdep.h.
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4848 ALWAYS_USE_VSYSCALL.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4850 ALWAYS_USE_VSYSCALL.
4851
1e8bdc3a
RÁE
48522018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4853
4854 [BZ #19767]
4855 * nptl/Makefile (tests-static): Add tst-cond11-static.
4856 (tests): Likewise.
4857 * nptl/tst-cond11-static.c: New File.
4858 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4859 tst-affinity-static.
4860 (tests): Likewise.
4861 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4862 instead of SHARED.
4863 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4864 (USE_VSYSCALL): Likewise.
4865 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4866 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4867 instead of SHARED.
4868 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4869 SHARED.
4870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4871 New.
4872
1283c478
JM
48732018-11-23 Joseph Myers <joseph@codesourcery.com>
4874
4875 [BZ #23915]
4876 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4877 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4878 Undefine.
4879
c089fd80
L
48802018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4881
4882 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4883 (tst-cet-legacy-1a-ARGS): New.
4884 ($(objpfx)tst-cet-legacy-1a): New target.
4885 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4886
cc6c89fa
JM
48872018-11-22 Joseph Myers <joseph@codesourcery.com>
4888
95edd05c
JM
4889 * conform/conformtest.py (CompileSubTest.__init__): Set
4890 self.run_early to False.
4891 (ExecuteSubTest.__init__): Likewise.
4892 (HeaderTests.run): Try running all non-optional, non-XFAILed
4893 compilation tests in a single execution of the compiler.
4894
cc6c89fa
JM
4895 * conform/conformtest.py (CompileSubTest): New class.
4896 (ExecuteSubTest): Likewise.
4897 (ElementTest.run): Rename to gen_subtests. Append tests to
4898 self.subtests instead of running them.
4899 (ConstantTest.run): Likewise.
4900 (SymbolTest.run): Likewise.
4901 (TypeTest.run): Likewise.
4902 (TagTest.run): Likewise.
4903 (FunctionTest.run): Likewise.
4904 (VariableTest.run): Likewise.
4905 (MacroFunctionTest.run): Likewise.
4906 (MacroStrTest.run): Likewise.
4907 (HeaderTests.handle_test_line): Generate subtests for tests.
4908 (HeaderTests.run): Run subtests for tests.
4909
a502c529
SN
49102018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4911
4912 * math/Versions (GLIBC_2.29): Add pow.
4913 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4914 symbol.
4915 * math/w_pow.c: New file.
4916 * sysdeps/i386/fpu/w_pow.c: New file.
4917 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4919 and add necessary aliases.
4920 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4921 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4922 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4923 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4924 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4925 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4926 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4927 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4928 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4929 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4930 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4931 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4932 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4933 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4934 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4939 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4940 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4941 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4942 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4943 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4944 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4945 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4946 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4947 __pow.
4948 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4949 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4950 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4951
718d6542
SN
49522018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4953
4954 * math/Versions (GLIBC_2.29): Add log2.
4955 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4956 symbol.
4957 * math/w_log2.c: New file.
4958 * sysdeps/i386/fpu/w_log2.c: New file.
4959 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4960 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4961 and add necessary aliases.
4962 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4963 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4964 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4965 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4966 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4967 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4968 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4969 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4970 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4971 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4972 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4973 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4974 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4975 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4976 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4981 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4982 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4983 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4984 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4985 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4986 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4987 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4988
f29b7c49
SN
49892018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4990
4991 * math/Versions (GLIBC_2.29): Add log.
4992 * math/w_log_compat.c (__log_compat): Change to versioned compat
4993 symbol.
4994 * math/w_log.c: New file.
4995 * sysdeps/i386/fpu/w_log.c: New file.
4996 * sysdeps/ia64/fpu/e_log.S: Update.
4997 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4998 and add necessary aliases.
4999 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5000 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5001 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5002 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5003 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5004 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5005 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5006 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5007 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5008 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5009 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5010 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5011 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5012 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5013 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5018 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5019 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5020 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5021 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5022 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5023 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5024 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5025 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5026 __log.
5027 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5028 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5029 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5030 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5031
c20a1056
SN
50322018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5033
5034 * math/Versions (GLIBC_2.29): Add exp and exp2.
5035 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5036 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5037 * math/w_exp_compat.c (__exp_compat): Likewise.
5038 * math/w_exp.c: New file.
5039 * math/w_exp2.c: New file.
5040 * sysdeps/i386/fpu/w_exp.c: New file.
5041 * sysdeps/i386/fpu/w_exp2.c: New file.
5042 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5043 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5044 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5045 and add necessary aliases.
5046 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5047 and add necessary aliases.
5048 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5049 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5050 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5051 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5052 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5053 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5054 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5055 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5056 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5057 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5058 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5059 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5060 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5061 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5062 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5063 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5064 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5069 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5070 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5071 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5072 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5073 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5074 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5075 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5076 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5077 (__ieee754_exp): Rename to __exp.
5078 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5079 (__ieee754_exp): Rename to __exp.
5080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5081 (__ieee754_exp): Rename to __exp.
5082 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5083 __exp.
5084 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5085
bcdaad21
DD
50862018-11-20 DJ Delorie <dj@redhat.com>
5087
5088 * malloc/malloc.c (tcache_entry): Add key field.
5089 (tcache_put): Set it.
5090 (tcache_get): Likewise.
5091 (_int_free): Check for double free in tcache.
5092 * malloc/tst-tcfree1.c: New.
5093 * malloc/tst-tcfree2.c: New.
5094 * malloc/Makefile: Run the new tests.
5095 * manual/probes.texi: Document memory_tcache_double_free probe.
5096
5097 * dlfcn/dlerror.c (check_free): Prevent double frees.
5098
5770c0ad
WD
50992018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5100
5101 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5102
9a62a939
JM
51032018-11-20 Joseph Myers <joseph@codesourcery.com>
5104
5105 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5106 in tests. Use names for format arguments.
5107 (ConstantTest.run): Likewise.
5108 (SymbolTest.run): Likewise.
5109 (TypeTest.run): Likewise.
5110 (TagTest.run): Likewise.
5111 (FunctionTest.run): Likewise.
5112 (VariableTest.run): Likewise.
5113 (MacroFunctionTest.run): Likewise.
5114 (MacroStrTest.run): Likewise.
5115 (HeaderTests.__init__): Set self.num_tests.
5116 (HeaderTests.handle_test_line): Set test.num. Increment
5117 self.num_tests.
5118
b15b1a95
ST
51192018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5120
5121 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5122 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5123 SEEK_SET.
5124
0c7f97ae
MH
51252018-11-19 Mao Han <han_mao@c-sky.com>
5126
5127 * scripts/config.guess: Update to version 2018-08-29.
5128 * scripts/config.sub: Update to version 2018-08-29.
5129
35e3fbc4
FW
51302018-11-19 Florian Weimer <fweimer@redhat.com>
5131
5132 support: Print timestamps in timeout handler.
5133 * support/support_test_main.c (print_timestamp): New function.
5134 (signal_handler): Use it to print the termination time and the
5135 time of the last write to standard output.
5136
c75772e3
ZW
51372018-11-16 Zack Weinberg <zackw@panix.com>
5138 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5139
5140 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5141 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5142 argument.
5143 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5144 and add flags argument. Check flags instead of __ldbl_is_dbl when
5145 deciding whether to set is_long_double.
5146 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5147 passing zero for flags argument.
5148 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5149
5150 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5151 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5152 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5153 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5154 variable names. Remove libc_hidden_def/libc_hidden_proto from
5155 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5156 longer called from within the library.
5157 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5158 for __nldbl___vstrfmon_l, declare it explicitly.
5159
5160 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5161
346ef23f
ST
51622018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5163
5164 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5165 macros
5166 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5167 F_SETLK64, F_SETLKW64, respectively.
5168 * sysdeps/mach/hurd/f_setlk.c: New file.
5169 * sysdeps/mach/hurd/f_setlk.h: New file.
5170 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5171 f_setlk.
5172 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5173 (__libc_fcntl): Move non-flock operations to...
5174 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5175 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5176
de20b81a
PE
51772018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5178
5d8af156
PE
5179 mktime: DEBUG_MKTIME cleanup
5180 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5181 And it’s no longer needed now that glibc and Gnulib both have
5182 their own testing mechanisms for mktime.
5183 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5184
86aece3b
PE
5185 mktime: fix non-EOVERFLOW errno handling
5186 [BZ#23789]
5187 mktime was not properly reporting failures when the underlying
5188 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5189 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5190 The problem could happen on non-glibc platforms, with Gnulib.
5191 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5192 (tm_diff): ... this simpler function, which does not change errno.
5193 All callers changed to deal with errno themselves.
5194 (ranged_convert, __mktime_internal): Return failure immediately if
5195 the underlying function reports any failure other than EOVERFLOW.
5196 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5197 gap code fails.
5198
f6b3331b
PE
5199 mktime: fix bug with Y2038 DST transition
5200 [BZ#23789]
5201 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5202 mishandle a DST transition that jumps over the Y2038 boundary.
5203 No such DST transitions are known so this is only a theoretical
5204 bug, but we might as well do things right.
5205
efbdddc3
PE
5206 mktime: make more room for overflow
5207 [BZ#23789]
5208 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5209 This is so that we can add tm_diff results to a previous guess,
5210 which will be useful in a later patch.
5211
6c90d759
PE
5212 mktime: simplify offset guess
5213 [BZ#23789]
5214 * time/mktime.c (__mktime_internal): Omit excess precision.
5215
32c12f3f
PE
5216 mktime: new test for mktime failure
5217 [BZ#23789]
5218 Based on a test suggested by Albert Aribaud in:
5219 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5220 * time/Makefile (tests): Add bug-mktime4.
5221 * time/bug-mktime4.c: New file.
5222
de20b81a
PE
5223 mktime: fix EOVERFLOW bug
5224 [BZ#23789]
5225 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5226 Include libc-config.h, not config.h, for __set_errno.
5227 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5228
8c6c3fb0
ST
52292018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5230
5231 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5232 __attribute_copy__ to copy attributes from name. Drop static qualifier
5233 to avoid warnings about leaf attribute not having effect on static
5234 functions.
5235
6923f6db
FW
52362018-11-13 Florian Weimer <fweimer@redhat.com>
5237
5238 * malloc/malloc.c (fastbin_push_entry): New function.
5239 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5240 (REMOVE_FB): Remove macro.
5241 (_int_malloc): Use fastbin_pop_entry and reindent.
5242 (_int_free): Use fastbin_push_entry.
5243 (malloc_consolidate): Use atomic_exchange_acquire.
5244
53f5c659
JM
52452018-11-13 Joseph Myers <joseph@codesourcery.com>
5246
0c096dcf
JM
5247 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5248 alias attribute, not with strong_alias.
5249
9c4b457e
JM
5250 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5251 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5252 with additional parameter thread.
5253 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5254 in terms of __hidden_ver2.
5255 (hidden_tls_def): New macro.
5256 (libc_hidden_tls_def): Likewise.
5257 (rtld_hidden_tls_def): Likewise.
5258 (libm_hidden_tls_def): Likewise.
5259 (libmvec_hidden_tls_def): Likewise.
5260 (libresolv_hidden_tls_def): Likewise.
5261 (librt_hidden_tls_def): Likewise.
5262 (libdl_hidden_tls_def): Likewise.
5263 (libnss_files_hidden_tls_def): Likewise.
5264 (libnsl_hidden_tls_def): Likewise.
5265 (libnss_nisplus_hidden_tls_def): Likewise.
5266 (libutil_hidden_tls_def): Likewise.
5267 (libutil_hidden_tls_def): Likweise.
5268 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5269 libc_hidden_tls_def.
5270 (__sim_disabled_exceptions_thread): Likewise.
5271 (__sim_round_mode_thread): Likewise.
5272
53f5c659
JM
5273 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5274 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5275 copy attributes from name.
5276
092dfde6
JM
52772018-11-12 Joseph Myers <joseph@codesourcery.com>
5278
f578f97b
JM
5279 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5280 Use __attribute_copy__ to copy attributes from name.
5281
9a7c643a
JM
5282 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5283 with __hidden_ver1 call.
5284 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5285 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5286 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5287 (__cosf): Do not declare here.
5288 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5289 (__sincosf): Do not declare here.
5290 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5291 (__sinf): Do not declare here.
5292
092dfde6
JM
5293 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5294 (__BIG_ENDIAN): Likewise.
5295 (__BYTE_ORDER): Likewise.
5296 (strong_alias): Likewise.
5297 (_strong_alias): Likewise.
5298
1ecba1fa
FW
52992018-11-12 Florian Weimer <fweimer@redhat.com>
5300
5301 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5302 function. Move after the definition of in_smallbin_range. Do not
5303 use __builtin_expect for paths that lead to a noreturn function.
5304 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5305 because it is unclear whether this is in fact an unlikely
5306 condition.
5307 (_int_malloc, _int_free): Adjust.
5308 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5309 variables.
5310 * malloc/arena.c (heap_trim): Likewise.
5311
434c34bd
ST
53122018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5313
5314 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5315 it, free it if needed.
5316 (reauthenticate): Test and use ccwdir.
5317 (child_init_port): In non-resetids case, test and use ccwdir.
5318 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
5319 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5320 * hurd/hurd/port.h (_hurd_port_move): New function.
5321 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5322 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
5323 * hurd/Versions (_hurd_port_move): Export function.
5324 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5325 symbol.
58bb655a
ST
5326 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5327 of dtablesize for allocating dtable_cloexec.
434c34bd 5328
1626a1cf
MS
53292018-11-09 Martin Sebor <msebor@redhat.com>
5330
5331 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5332 it's already defined.
5333 (_strong_alias): Use __attribute_copy__.
5334 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5335 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5336 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5337 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5338 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5339 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5340 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5341 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5342 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5343 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5344 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5345 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5346 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5347 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5348 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5349 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5350 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5351 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5352 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5353
968ed530
GG
53542018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5355
5356 * misc/tst-efgcvt.c: Include support/check.h and
5357 support/test-driver.c. Do not include test-skeleton.c.
5358 (error_count): Remove.
5359 (output_error): Replace increments to error_count with calls to
5360 support_record_failure.
5361 (output_r_error): Likewise.
5362 (special): Likewise.
5363 (do_test): Unconditionally return zero.
5364 (TEST_FUNCTION): Remove.
5365
c3ec0972
JM
53662018-11-09 Joseph Myers <joseph@codesourcery.com>
5367
91faaa93
JM
5368 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5369 not $(@D)/scratch.
5370 ($(linknamespace-header-tests)): Likewise.
5371
c3ec0972
JM
5372 * conform/conformtest.py: New file.
5373 * conform/conformtest.pl: Remove.
5374 * conform/GlibcConform.pm: Likewise.
5375 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5376 (KEYWORDS_C99): Likewise.
5377 (KEYWORDS): Likewise.
5378 * conform/Makefile ($(conformtest-header-tests)): Use
5379 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5380 option. Use --header instead of --headers.
5381 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5382 function entries.
5383 * conform/data/spawn.h-data: Likewise.
5384 * conform/data/fcntl.h-data (openat): Add space after function
5385 name.
5386 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5387 (wcscasecmp_l): Likewise.
5388 * conform/data/termios.h-data (c_cc): Add space after element
5389 name.
5390
43257c33
GG
53912018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5392
5393 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5394 instead of manually comparing and reporting mismatching strings.
5395 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5396 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5397
e5de3b5b
JM
53982018-11-08 Joseph Myers <joseph@codesourcery.com>
5399
5400 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5401 __ASSUME_SOCKETCALL.
5402 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5403 (__ASSUME_SOCKETCALL): Remove.
5404 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5405 (__ASSUME_SOCKETCALL): Likewise.
5406 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5407 (__ASSUME_SOCKETCALL): Likewise.
5408 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5409 (__ASSUME_SOCKETCALL): Likewise.
5410 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5411 (__ASSUME_SOCKETCALL): Likewise.
5412 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5413 (__ASSUME_SOCKETCALL): Likewise.
5414 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5415 (__ASSUME_SOCKETCALL): Likewise.
5416
d524fa6c
L
54172018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5418
5419 [BZ #23509]
5420 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5421 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5422 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5423 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5424 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5425 lc_unknown.
5426
ac806026
AH
54272018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5428
5429 [BZ #17630]
5430 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5431
596cc360
JM
54322018-11-07 Joseph Myers <joseph@codesourcery.com>
5433
5434 [BZ #23867]
5435 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5436 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5437 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5438 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5439
00c86a37
AZ
54402018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5441
5442 * support/support_test_compare_string.c
5443 (support_test_compare_string): Fix printf format.
5444
1df872fd
FW
54452018-11-07 Florian Weimer <fweimer@redhat.com>
5446
5447 Implement TEST_COMPARE_STRING.
5448 * support/check.h (TEST_COMPARE_STRING): Define.
5449 (support_test_compare_string): Declare.
5450 * support/Makefile (libsupport-routines): Add
5451 support_test_compare_string.
5452 (tests): Add tst-test_compare_string.
5453 * support/support_test_compare_string.c: New file.
5454 * support/tst-test_compare_string.c: Likewise.
5455
295132ff
AS
54562018-11-07 Andreas Schwab <schwab@suse.de>
5457
5458 [BZ #23864]
5459 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5460 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5461 Undef.
5462
e143ceba
JM
54632018-11-06 Joseph Myers <joseph@codesourcery.com>
5464
5465 [BZ #23862]
5466 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5467 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5468 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5469 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5470 Likewise.
5471
4a938cb2
FW
54722018-11-06 Florian Weimer <fweimer@redhat.com>
5473
5474 [BZ #17405]
5475 * posix/Makefile (routines): Add spawn_faction_addchdir.
5476 (tests): Add tst-spawn-chdir.
5477 * posix/Versions (GLIBC_2.29): Add
5478 posix_spawn_file_actions_addchdir_np.
5479 * posix/spawn_faction_addchdir.c: New file.
5480 * posix/spawn_faction_destroy.c
5481 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5482 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5483 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5484 chdir_action.
5485 * posix/tst-spawn-chdir.c: New file.
5486 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5487 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5488 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5489 posix_spawn_file_actions_addchdir_np.
5490 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5491 Likewise.
5492 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5493 Likewise.
5494 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5495 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5496 Likewise.
5497 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5498 Likewise.
5499 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5500 Likewise.
5501 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5502 Likewise.
5503 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5504 Likewise.
5505 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5506 Likewise.
5507 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5508 (GLIBC_2.29): Likewise.
5509 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5510 (GLIBC_2.29): Likewise.
5511 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5512 (GLIBC_2.29): Likewise.
5513 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5514 (GLIBC_2.29): Likewise.
5515 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5516 Likewise.
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5518 (GLIBC_2.29): Likewise.
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5520 (GLIBC_2.29): Likewise.
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5522 (GLIBC_2.29): Likewise.
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5524 (GLIBC_2.29): Likewise.
5525 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5526 Likewise.
5527 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5528 Likewise.
5529 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5530 Likewise.
5531 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5532 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5533 Likewise.
5534 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5535 Likewise.
5536 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5537 Likewise.
5538 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5539 Likewise.
5540
7597b0c7
GG
55412018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5542
5543 * misc/Makefile (tests): Add tst-ldbl-error.
5544 * misc/tst-ldbl-error.c: New file.
5545
9771e6cb
GG
55462018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5547
5548 * misc/Makefile (tests): Add tst-ldbl-warn.
5549 * misc/tst-ldbl-warn.c: New file.
5550
2c03961f
GG
55512018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5552
5553 * argp/Makefile (tests): Add tst-ldbl-argp.
5554 * argp/tst-ldbl-argp.c: New file.
5555
6d6ee046
AS
55562018-11-05 Arjun Shankar <arjun@redhat.com>
5557
5558 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5559 __gconv_path_elem and call __gconv_get_path unconditionally.
5560
bd3b0fba
AS
55612018-11-05 Andreas Schwab <schwab@suse.de>
5562
5563 [BZ #22927]
5564 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5565 creating the first helper thread failed.
5566
2e96e980
ST
55672018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5568
5569 * sysdeps/mach/hurd/msync.c: New file.
5570
6e36266c
FW
55712018-11-02 Florian Weimer <fweimer@redhat.com>
5572
5573 * support/shell-container.c (copy_func): Call
5574 support_copy_file_range instead of copy_file_range to support
5575 cross-device copies.
5576
599f7bee
FW
55772018-11-02 Florian Weimer <fweimer@redhat.com>
5578
5579 * support/test-container.c: Include <libc-pointer-arith.h> for
5580 ALIGN_UP.
5581
ff48ea67
ZL
55822018-11-01 Zong Li <zong@andestech.com>
5583
af1d5782
ZL
5584 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5585 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5586 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5587 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5588
ff48ea67
ZL
5589 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5590 variable to avoid overlap arguments.
5591
daea71c2
JM
55922018-11-01 Joseph Myers <joseph@codesourcery.com>
5593
eac4405a
JM
5594 * posix/bug-regex22.c (main): Use puts with distinct error
5595 messages for unexpected success of re_compile_pattern, not printf
5596 with NULL argument to %s.
5597
6f30e59f
JM
5598 * stdio-common/bug22.c: Include <libc-diag.h>.
5599 (do_test): Disable -Wformat-overflow= warnings around fprintf
5600 calls outputting more than INT_MAX characters.
5601 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5602 around printf call with NULL %s argument.
5603
daea71c2
JM
5604 [BZ #23848]
5605 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5606 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5607 Undefine.
5608 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5609 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5610 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5611 (__ASSUME_SENDTO_SYSCALL): Likewise.
5612 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5613 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5614 [!__arch64__].
5615 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5616 (__ASSUME_CONNECT_SYSCALL): Likewise.
5617 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5618 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5619 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5620 Define.
5621 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5622 Likewise.
5623 [__LINUX_KERNEL_VERSION >= 0x040400]
5624 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5625 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5626 Remove.
5627 (listen): Likewise.
5628 (setsockopt): Likewise.
5629
8e3c00db
FN
56302018-11-01 Fredrik Noring <noring@nocrew.org>
5631
5632 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5633 with the ISA override.
5634
9c3dbdbe
RAE
56352018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5636
5637 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5638 #endif.
5639
e3a88b3e
ST
56402018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5641
a67377e7 5642 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 5643 translate the error message.
a67377e7
ST
5644 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5645 printing trailing whitespaces refused by git.
5646 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5647 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 5648 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 5649
3ca235ed
JM
56502018-10-30 Joseph Myers <joseph@codesourcery.com>
5651
5652 * conform/linknamespace.py: New file.
5653 * conform/linknamespace.pl: Remove file.
5654 * conform/Makefile ($(linknamespace-header-tests)): Use
5655 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5656 option.
5657
60708030
FW
56582018-10-30 Florian Weimer <fweimer@redhat.com>
5659
5660 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5661 memory leaks.
5662
a91e9301
FW
56632018-10-30 Florian Weimer <fweimer@redhat.com>
5664
5665 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5666
07da99aa
FW
56672018-10-30 Florian Weimer <fweimer@redhat.com>
5668
5669 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5670 support_blob_repeat.
5671
f5e7e959
FW
56722018-10-30 Florian Weimer <fweimer@redhat.com>
5673
5674 Avoid spurious test failures in stdlib/test-bz22786.
5675 * support/Makefile (libsupport-routines): Add blob_repeat.
5676 (tests): Add tst-support_blob_repeat.
5677 * support/blob_repeat.h: New file.
5678 * support/blob_repeat.c: Likewise.
5679 * support/tst-support_blob_repeat.c: Likewise.
5680 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5681 support_blob_repeat_allocate.
5682
2dd12baa
AS
56832018-10-30 Andreas Schwab <schwab@suse.de>
5684
5685 [BZ #23125]
5686 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5687 Don't use tail call.
5688 * elf/tst-unwind-main.c: New file.
5689 * elf/Makefile (tests): Add tst-unwind-main.
5690 (CFLAGS-tst-unwind-main.c): Define.
5691
fec8bb7c
SAA
56922018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5693
5694 [BZ #23791]
5695 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5696 n_cs_precedes to 0.
5697 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5698
c6982f7e
JM
56992018-10-29 Joseph Myers <joseph@codesourcery.com>
5700
954cf3c2
JM
5701 * conform/glibcconform.py: Do not import shutil.
5702 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5703 of mkdtemp.
5704
c6982f7e
JM
5705 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5706 critic_missing for versions before 3.4.
5707 * configure: Regenerated.
5708 * manual/install.texi (Tools for Compilation): Document
5709 requirement for Python to build glibc.
5710 * INSTALL: Regenerated.
5711 * Rules [PYTHON]: Make code unconditional.
5712 * benchtests/Makefile [PYTHON]: Likewise.
5713 * conform/Makefile [PYTHON]: Likewise.
5714 * manual/Makefile [PYTHON]: Likewise.
5715 * math/Makefile [PYTHON]: Likewise.
5716
46a7f24c
ST
57172018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5718
5719 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 5720 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 5721 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
5722 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5723 _hurd_intr_rpc_msg_about_to global point to start of controlled
5724 assembly snippet. Make it check canceled flag.
5725 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5726 the _hurd_intr_rpc_msg_about_to point.
5727 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5728 issue, remove cancel flag check.
46a7f24c 5729
e5b8756d
JM
57302018-10-26 Joseph Myers <joseph@codesourcery.com>
5731
5732 * scripts/build-many-glibcs.py: Remove compatibility for missing
5733 os.cpu_count and re.fullmatch.
5734
ba5b14c7
SN
57352018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5736
5737 [BZ #23822]
5738 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5739 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5740 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5741
fe61f17c
JM
57422018-10-25 Joseph Myers <joseph@codesourcery.com>
5743
5744 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5745 macro.
5746
7c5e34d7
FW
57472018-10-25 Florian Weimer <fweimer@redhat.com>
5748
5749 [BZ #23562]
5750 [BZ #23821]
5751 XFAIL siginfo_t si_band conform test on sparc64.
5752 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5753 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5754 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5755 (conformtest-xfail-conds): Add sparc64-linux.
5756 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5757 sparc64.
5758 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5759
5b784e88
JM
57602018-10-25 Joseph Myers <joseph@codesourcery.com>
5761
5762 * elf/elf.h (NT_MIPS_DSP): New macro.
5763 (NT_MIPS_FP_MODE): Likewise.
5764
41432ebe
ZL
57652018-10-25 Zong Li <zong@andestech.com>
5766
5767 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5768 name by adding the file extension (.so).
5769
d026efea
ST
57702018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5771
5772 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5773 (test-xfail-ISO11/threads.h/linknamespace,
5774 test-xfail-ISO11/threads.h/conform): Add.
5775
b71ac2b9
JM
57762018-10-24 Joseph Myers <joseph@codesourcery.com>
5777
5778 * math/gen-libm-test.py: Import os.
5779 (ALL_FLOATS_MANUAL): New constant.
5780 (ALL_FLOATS_SUFFIX): Likewise.
5781 (Ulps.all_functions): New function.
5782 (real_all_ulps): Likewise.
5783 (generate_err_table_sub): Likewise.
5784 (generate_err_table): Likewise.
5785 (main): Handle -s and -m options.
5786 * manual/libm-err-tab.pl: Remove.
5787 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5788 instead of libm-err-tab.pl.
5789 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5790 != no].
5791 * manual/install.texi (Tools for Compilation): Document
5792 requirement for Python to build manual.
5793 * INSTALL: Regenerated.
5794
d51f99ce
AA
57952018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5796
5797 * bits/time64.h: New file.
5798 * include/time.h: Replace internal_time_t with __time64_t.
5799 * posix/bits/types (__time64_t): Add.
5800 * stdlib/Makefile: Add bits/time64.h to includes.
5801 * time/tzfile.c: Replace internal_time_t with __time64_t.
5802
97d91fcc 58032018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
5804
5805 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5806 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5807 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5808 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5809 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5810 prototype.
5811 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5812 * posix/spawn_faction_addclose.c
5813 (__posix_spawn_file_actions_addclose): Add hidden definition.
5814 * posix/spawn_faction_adddup2.c
5815 (__posix_spawn_file_actions_adddup2): Likewise.
5816 * posix/spawn_faction_destroy.c
5817 (__posix_spawn_file_actions_destroy): Likewise.
5818 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5819 Likewise.
5820 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5821 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5822 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5823 Likewise.
5824 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5825 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5826 Likewise.
5827
2954daf0
AS
58282018-10-24 Andreas Schwab <schwab@suse.de>
5829
5830 [BZ #18093]
5831 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5832 format cache.
5833 * elf/cache.c (print_cache): Likewise.
5834
a27a4f47
AA
58352018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5836
5837 * bits/timesize.h: New file.
5838 * stdlib/Makefile (headers): Add bits/timesize.h.
5839 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5840 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5841 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5842 (__SEM_PAD_AFTER_TIME): Likewise.
5843 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5844 (__SHM_PAD_AFTER_TIME): Likewise.
5845 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5846 (__MSQ_PAD_BEFORE_TIME): Likewise.
5847 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5848 (__SEM_PAD_BEFORE_TIME): Likewise.
5849 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5850 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5851 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5852 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5853 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5854 (__MSQ_PAD_BEFORE_TIME): Likewise.
5855 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5856 (__SEM_PAD_BEFORE_TIME): Likewise.
5857 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5858 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5859 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5860 (__MSQ_PAD_BEFORE_TIME): Likewise.
5861 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5862 (__SEM_PAD_BEFORE_TIME): Likewise.
5863 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5864 (__SHM_PAD_BEFORE_TIME): Likewise.
5865 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5866 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5867 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5868
7cc65773
L
58692018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5870
5871 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5872 USE_RDTSCP is defined.
5873 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5874 USE_RDTSCP is defined.
5875
c3d8dc45
AZ
58762018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5877
18ad0de6
AZ
5878 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5879 defined.
5880
c3d8dc45
AZ
5881 [BZ #23709]
5882 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5883 independently of other flags.
5884
f1034472
FW
58852018-10-23 Florian Weimer <fweimer@redhat.com>
5886
5887 * time/tst-mktime2.c (N_STRINGS): Remove.
5888 (set_timezone): New function.
5889 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5890 (mktime_test1): Report localtime failure and check errno value.
5891 Use TEST_COMPARE.
5892 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5893 (do_test): Remove alarm call. Use set_timezone and array_length.
5894
367d7cc2
AS
58952018-10-23 Andreas Schwab <schwab@suse.de>
5896
5897 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5898 (__start_context): Use END instead of PSEUDO_END.
5899
be8ff03f
JM
59002018-10-22 Joseph Myers <joseph@codesourcery.com>
5901
029ad711
JM
5902 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5903 version to 4.19.
5904
8190520f
JM
5905 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5906 version to 4.19.
5907
be8ff03f
JM
5908 [BZ #23793]
5909 * wcsmbs/c32rtomb.c: New file.
5910 * wcsmbs/mbrtoc32.c: Likewise.
5911 * wcsmbs/tst-c32-state.c: Likewise.
5912 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5913 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5914 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5915 (tests): Add tst-c32-state.
5916 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5917 $(gen-locales).
5918
2dd8e58c
L
59192018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5920
5921 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5922 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5923
d0a74159
JM
59242018-10-19 Joseph Myers <joseph@codesourcery.com>
5925
5926 [BZ #23794]
5927 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5928 pair and return 0 in that case, and use saved character to
5929 interpret following character.
5930 * wcsmbs/tst-c16-surrogate.c: New file.
5931 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5932 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5933 Depend on $(gen-locales)
5934
f997b4be
IYM
59352018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5936
5937 [BZ #23562]
5938 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5939 (struct siginfo_t): Use correct type for si_band.
5940
53b2bb87
FW
59412018-10-19 Florian Weimer <fweimer@redhat.com>
5942
5943 [BZ #23689]
5944 * resource/bits/types/struct_rusage.h (struct rusage): Update
5945 comment on struct. Remove extraneous field comment.
5946
0a271c8f
DM
59472018-10-18 David S. Miller <davem@davemloft.net>
5948
94a3a27f
DM
5949 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5950 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5951 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5952 sysdep_routines in subdir elf.
5953 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5954 version for __vdso_clock_gettime.
5955 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5956 Define.
5957 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5958 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5959
0a271c8f
DM
5960 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5961
72771e53
L
59622018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5963
5964 * sysdeps/i386/init-arch.h: Removed.
5965 * sysdeps/i386/i586/init-arch.h: Likewise.
5966 * sysdeps/i386/i686/init-arch.h: Likewise.
5967 * sysdeps/i386/i686/hp-timing.h: Likewise.
5968 * sysdeps/x86_64/hp-timing.h: Likewise.
5969 * sysdeps/i386/isa.h: New file.
5970 * sysdeps/i386/i586/isa.h: Likewise.
5971 * sysdeps/i386/i686/isa.h: Likewise.
5972 * sysdeps/x86_64/isa.h: Likewise.
5973 * sysdeps/x86/hp-timing.h: New file.
5974 * sysdeps/x86/init-arch.h: Include <isa.h>.
5975
c2b7ccad
JM
59762018-10-17 Joseph Myers <joseph@codesourcery.com>
5977
5978 * math/libm-test-pow.inc (pow_test_data): Do not allow
5979 divide-by-zero exception for pow(+/- 0, -Inf).
5980
26756e57
ZW
59812018-10-17 Zack Weinberg <zackw@panix.com>
5982
5983 * manual/job.texi (Job Control is Optional): Remove node, as
5984 job control has not been optional in quite some time.
5985 (Job Control): Mention briefly that systems older than
5986 POSIX.1-2001 might not support job control.
5987 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5988 defined on systems conforming to POSIX.1-2001.
5989
c5288d37
AS
59902018-10-17 Arjun Shankar <arjun@redhat.com>
5991
5992 [BZ #22062]
5993 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5994 indentation.
5995 * (__gconv_read_conf): Mark function static.
5996 * (once): New static variable.
5997 * (__gconv_load_conf): New function.
5998 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5999 * iconv/gconv_db.c (once): Remove static variable.
6000 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6001 __gconv_read_conf.
6002 * (__gconv_find_transform): Likewise.
6003 * iconv/tst-iconv-mt.c: New test.
6004 * iconv/Makefile: Add tst-iconv_mt.
6005
8c8d2a8a
JM
60062018-10-17 Joseph Myers <joseph@codesourcery.com>
6007
6008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
6009 bits/shm-pad.h.
6010 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6011 (shmatt_t): Define as __syscall_ulong_t.
6012 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6013 and [__SHM_PAD_AFTER_TIME].
6014 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6015 Define shm_segsz and associated padding based on
6016 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6017 Use __syscall_ulong_t instead of unsigned long int.
6018 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6019 unsigned long int.
6020 [__USE_MISC] (struct shm_info): Likewise.
6021 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6022 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6023 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6024 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6025 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6026 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6027 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6028 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6029 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6030 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6031 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6032
6033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
6034 bits/shmlba.h.
6035 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6036 (SHMLBA): Remove macro.
6037 (__getpagesize): Remove function declaration.
6038 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6039 <bits/shmlba.h>.
6040 (SHMLBA): Remove macro.
6041 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6042 <bits/shmlba.h>.
6043 (SHMLBA): Remove macro.
6044 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6045 <bits/shmlba.h>.
6046 (SHMLBA): Remove macro.
6047 (__getpagesize): Remove function declaration.
6048 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6049 <bits/shmlba.h>.
6050 (SHMLBA): Remove macro.
6051 (__getshmlba): Remove function declaration.
6052 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6053 (SHMLBA): Remove macro.
6054 (__getpagesize): Remove function declaration.
6055 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6056 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6057 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6058 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6059 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6060 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6061 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6062 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6063 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6064 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6065
403b4feb
SL
60662018-10-17 Stefan Liebler <stli@linux.ibm.com>
6067
6068 [BZ #23275]
6069 * nptl/tst-mutex10.c: New File.
6070 * nptl/Makefile (tests): Add tst-mutex10.
6071 (tst-mutex10-ENV): New variable.
6072 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6073 Ensure that elision path is used if elision is available.
6074 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6075 Likewise.
6076 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6077 Likewise.
6078 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6079 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6080 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6081 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6082 Likewise.
6083 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6084 (__pthread_mutex_cond_lock_adjust): Likewise.
6085 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6086 Likewise.
6087 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6088 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6089 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6090 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6091 Add comments.
6092 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6093 Use atomic_load_relaxed and atomic_store_relaxed.
6094 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6095 Use atomic_store_relaxed.
6096
ce5a7de6
AS
60972018-10-17 Andreas Schwab <schwab@suse.de>
6098
6099 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6100 * crypt/badsalttest.c (TIMEOUT): Likewise.
6101 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6102 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6103 * io/test-lfs.c (TIMEOUT): Likewise.
6104 * libio/tst-atime.c (TIMEOUT): Likewise.
6105 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6106 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6107 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6108 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6109 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6110 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6111 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6112 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6113 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6114 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6115 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6116 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6117 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6118 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6119 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6120 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6121 * nptl/tst-once2.c (TIMEOUT): Likewise.
6122 * nptl/tst-once3.c (TIMEOUT): Likewise.
6123 * nptl/tst-once4.c (TIMEOUT): Likewise.
6124 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6125 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6126 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6127 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6128 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6129 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6130 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6131 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6132 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6133 * posix/tst-chmod.c (TIMEOUT): Likewise.
6134 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6135 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6136 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6137 * posix/tst-regex2.c (TIMEOUT): Likewise.
6138 * posix/tst-waitid.c (TIMEOUT): Likewise.
6139 * rt/tst-aio.c (TIMEOUT): Likewise.
6140 * rt/tst-aio10.c (TIMEOUT): Likewise.
6141 * rt/tst-aio4.c (TIMEOUT): Likewise.
6142 * rt/tst-aio5.c (TIMEOUT): Likewise.
6143 * rt/tst-aio6.c (TIMEOUT): Likewise.
6144 * rt/tst-aio64.c (TIMEOUT): Likewise.
6145 * rt/tst-aio7.c (TIMEOUT): Likewise.
6146 * rt/tst-aio9.c (TIMEOUT): Likewise.
6147 * rt/tst-clock.c (TIMEOUT): Likewise.
6148 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6149 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6150 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6151 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6152 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6153 * rt/tst-timer4.c (TIMEOUT): Likewise.
6154 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6155 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6156 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6157 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6158 * time/tst-ftime.c (TIMEOUT): Likewise.
6159 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6160
75c1aee5
AY
61612018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6162
6163 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6164 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6165 for thunderX2.
6166
bcdb1bfa
JM
61672018-10-15 Joseph Myers <joseph@codesourcery.com>
6168
6169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6170 bits/sem-pad.h.
6171 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6172 instead of <bits/wordsize.h>.
6173 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6174 and [__SEM_PAD_AFTER_TIME].
6175 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6176 __syscall_ulong_t instead of unsigned long int.
6177 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6178 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6179 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6180 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6181 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6182 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6183 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6184 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6185 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6186 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6187 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6188
f4efbdfb
PE
61892018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6190
620a5d4c
PE
6191 regex: simplify by using intprops.h
6192 [BZ#23744]
6193 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6194 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6195 intprops.h defines them.
6196
f4efbdfb
PE
6197 regex: __builtin_expect → __glibc_unlikely
6198 [BZ#23744]
6199 This refactoring was prompted by a problem when the regex code is
6200 used as part of Gnulib and when the builder’s compiler does not grok
6201 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6202 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6203 Although this refactoring does not fix the problem directly,
6204 we might as well have Gawk use the now-preferred glibc style for when
6205 __builtin_expect is unavailable.
6206 * posix/regex_internal.h (BE): Remove.
6207 All uses replaced by __glibc_unlikely or __glibc_likely.
6208
9f9feb6d
JM
62092018-10-11 Joseph Myers <joseph@codesourcery.com>
6210
6211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6212 bits/msq-pad.h.
6213 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6214 instead of <bits/wordsize.h>.
6215 (msgqnum_t): Define as __syscall_ulong_t.
6216 (msglen_t): Likewise.
6217 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6218 and [__MSQ_PAD_AFTER_TIME].
6219 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6220 __syscall_ulong_t instead of unsigned long int.
6221 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6222 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6223 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6224 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6225 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6226 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6227 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6228 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6229 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6230 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6231 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6232
b9c0f6c1
JM
62332018-10-10 Joseph Myers <joseph@codesourcery.com>
6234
2a4b25fa
JM
6235 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6236 (struct shmid_ds): Condition padding after time fields on
6237 [__WORDSIZE == 32].
6238 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6239 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6240 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6241
19e62f26
JM
6242 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6243 (struct semid_ds): Condition padding after time fields on
6244 [__WORDSIZE == 32].
6245 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6246 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6247 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6248 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6249
b9c0f6c1
JM
6250 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6251 (struct msqid_ds): Condition padding after time fields on
6252 [__WORDSIZE == 32].
6253 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6254 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6255 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6256 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6257
97785a61
SN
62582018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6259
6260 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6261
ed643089
SN
62622018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6263
6264 * libio/tst-readline.c (TIMEOUT): Define.
6265
5a580643
PE
62662018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6267
6268 mktime fix for Gnulib + coreutils
6269 [BZ#23745]
6270 This fix affects only Gnulib. Problem discovered when
6271 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6272 * time/mktime.c:
6273 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6274 Do not define since it is not used. Defining an unused static
6275 function prompts a warning from GCC when Coreutils is configured
6276 with --enable-gcc-warnings.
6277
c892ae04
LS
62782018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6279
6280 * benchtests/scripts/compare_bench.py (main): set float type on
6281 threshold argument.
6282
a68ec8ea
RL
62832018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6284
6285 [BZ #23740]
6286 * localedata/locales/kl_GL (mon): Update, the relative case.
6287 (alt_mon): Add, fill with month names in the nominative case.
6288 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6289 (d_fmt): Set to "%b %d %Y".
6290
a1987621
JM
62912018-10-04 Joseph Myers <joseph@codesourcery.com>
6292
47c49251
JM
6293 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6294 <bits/mman-linux.h>.
6295 (PROT_READ): Don't define here.
6296 (PROT_WRITE): Likewise.
6297 (PROT_EXEC): Likewise.
6298 (PROT_NONE): Likewise.
6299 (PROT_GROWSDOWN): Likewise.
6300 (PROT_GROWSUP): Likewise.
6301 (MAP_SHARED): Likewise.
6302 (MAP_PRIVATE): Likewise.
6303 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6304 [__USE_MISC] (MAP_FILE): Likewise.
6305 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6306 [__USE_MISC] (MAP_ANON): Likewise.
6307 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6308 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6309 (MCL_CURRENT): Likewise.
6310 (MCL_FUTURE): Likewise.
6311 (MCL_ONFAULT): Likewise.
6312 [__USE_MISC] (MADV_NORMAL): Likewise.
6313 [__USE_MISC] (MADV_RANDOM): Likewise.
6314 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6315 [__USE_MISC] (MADV_WILLNEED): Likewise.
6316 [__USE_MISC] (MADV_DONTNEED): Likewise.
6317 [__USE_MISC] (MADV_FREE): Likewise.
6318 [__USE_MISC] (MADV_REMOVE): Likewise.
6319 [__USE_MISC] (MADV_DONTFORK): Likewise.
6320 [__USE_MISC] (MADV_DOFORK): Likewise.
6321 [__USE_MISC] (MADV_HWPOISON): Likewise.
6322 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6323 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6324 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6325 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6326 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6327 (__MAP_ANONYMOUS): New macro.
6328 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6329 <bits/mman-linux.h> inclusion.
6330 (MAP_FIXED): Likewise.
6331 (MS_SYNC): Likewise.
6332 (MS_ASYNC): Likewise.
6333 (MS_INVALIDATE): Likewise.
6334 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6335 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6336 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6337 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6338 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6339 [__USE_MISC] (MADV_DODUMP): Likewise.
6340 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6341 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6342
a1987621
JM
6343 [BZ #23735]
6344 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6345 Define.
6346 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6347 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6348 Add test-nldbl-redirect.
6349 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6350 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6351 $(objpfx)libnldbl_nonshared.a.
6352
e7624d70
SL
63532018-10-04 Stefan Liebler <stli@linux.ibm.com>
6354
6355 * support/support.h (support_objdir_elf_ldso): New variable.
6356 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6357 * support/Makefile (CFLAGS-support_paths.c): Add definition
6358 for OBJDIR_ELF_LDSO_PATH.
6359 * support/test-container.c (main): Search for the ld.so
6360 which is also used by the testsuite.
6361
dae3ed95
RL
63622018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6363
6364 [BZ #20209]
6365 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6366 should be "sap" rather than "sab".
6367 (day): Fix spelling of Sunday, should be "sapaat" rather than
6368 "sabaat".
6369
f346b5b3
JM
63702018-10-02 Joseph Myers <joseph@codesourcery.com>
6371
6372 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6373
4a06ceea
MJ
63742018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6375
6376 [BZ #19444]
6377 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6378 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6379 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6380
a06fc4a5
AZ
63812018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6382
6383 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6384
a1ccc065
L
63852018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6386
6387 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6388 Add -mrtm.
6389 (CFLAGS-elision-unlock.c): Likewise.
6390 (CFLAGS-elision-timed.c): Likewise.
6391 (CFLAGS-elision-trylock.c): Likewise.
6392 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6393
0b727ed4
AZ
63942018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6395
6396 [BZ #21037]
6397 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6398 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6399 new fd_to_filename interface.
6400 * libio/freopen64.c (freopen64): Likewise.
6401 * libio/tst-memstream.h: New file.
6402 * libio/tst-memstream4.c: Likewise.
6403 * libio/tst-wmemstream4.c: Likewise.
6404 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6405 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6406 and remove internal dynamic allocation.
6407
d0e91e8c
JM
64082018-10-01 Joseph Myers <joseph@codesourcery.com>
6409
6410 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6411 (MREMAP_MAYMOVE): Do not define here.
6412 [__USE_GNU] (MREMAP_FIXED): Likewise.
6413 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6414 (MREMAP_MAYMOVE): Define here instead.
6415 [__USE_GNU] (MREMAP_FIXED): Likewise.
6416 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6417 (MREMAP_MAYMOVE): Remove.
6418 [__USE_GNU] (MREMAP_FIXED): Likewise.
6419
c52944e8
JM
64202018-09-28 Joseph Myers <joseph@codesourcery.com>
6421
6422 * math/fromfp.h: Do not include <math_private.h>.
6423 * math/s_cacosh_template.c: Likewise.
6424 * math/s_casin_template.c: Likewise.
6425 * math/s_casinh_template.c: Likewise.
6426 * math/s_ccos_template.c: Likewise.
6427 * math/s_cproj_template.c: Likewise.
6428 * math/s_fdim_template.c: Likewise.
6429 * math/s_fmaxmag_template.c: Likewise.
6430 * math/s_fminmag_template.c: Likewise.
6431 * math/s_iseqsig_template.c: Likewise.
6432 * math/s_ldexp_template.c: Likewise.
6433 * math/s_nextdown_template.c: Likewise.
6434 * math/w_log1p_template.c: Likewise.
6435 * math/w_scalbln_template.c: Likewise.
6436 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6437 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6438 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6439 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6440 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6441 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6442 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6443 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6444 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6445 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6446 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6447 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6448 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6449 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6450 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6451 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6452 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6455 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6456 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6457 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6458 * sysdeps/ieee754/k_standardf.c: Likewise.
6459 * sysdeps/ieee754/k_standardl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6462 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6468 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6469 * sysdeps/ieee754/s_signgam.c: Likewise.
6470 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6471 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6472 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6473 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6474 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6475 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6476 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6477 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6478 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6479 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6480 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6481 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6482 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6483 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6484 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6485 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6486 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6487 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6488 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6489 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6490 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6491 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6492 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6493 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6494 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6495 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6496 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6497 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6498 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6499 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6500 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6501 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6502 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6503 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6504 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6505 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6506 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6507 <math_private.h>.
6508 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6509
7b1f9406
L
65102018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6511
6512 [BZ #23716]
6513 * sysdeps/i386/dl-cet.c: Removed.
6514 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6515 prototype.
6516 (_dl_runtime_profile_shstk): Likewise.
6517 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6518 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6519
7a16bdbb
AZ
65202018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6521
6522 [BZ #23579]
6523 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6524 do_test_with_invalid_iov): New tests.
6525 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6526 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6527 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6528 errno is ENOSYS.
6529 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6530 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6531 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6532
9755bc46
JM
65332018-09-27 Joseph Myers <joseph@codesourcery.com>
6534
81dca813
JM
6535 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6536 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6537 (MATH_REDIRECT_BINARY_ARGS): New macro.
6538 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6539 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6540 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6541 header inclusion.
6542 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6544 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6545 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6546 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6550 Likewise.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6552 Likewise.
6553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6555 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6556 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6558 Likewise.
6559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6560 Likewise.
6561 * sysdeps/generic/math_private_calls.h
6562 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6563 Do not declare and define as an inline function.
6564 * math/divtc3.c (__divtc3): Use copysign functions instead of
6565 __copysign variants.
6566 * math/multc3.c (__multc3): Likewise.
6567 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6568 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6569 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6570 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6571 Likewise.
6572 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6573 (__ieee754_yn): Likewise.
6574 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6575 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6576 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6577 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6578 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6579 (__sin): Likewise.
6580 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6581 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6582 Likewise.
6583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6584 Likewise.
6585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6586 Likewise.
6587 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6588 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6589 Likewise.
6590 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6591 (__ieee754_ynf): Likewise.
6592 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6593 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6595 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6596 Likewise.
6597 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6598 (__ieee754_ynl): Likewise.
6599 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6600 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6601 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6602 Likewise.
6603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6604 (__ieee754_ynl): Likewise.
6605 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6606 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6607 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6608 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6609 Likewise.
6610 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6611 (__ieee754_ynl)
6612 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6613 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6614 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6615 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6616 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6617
9755bc46
JM
6618 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6619 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6620 using MATH_REDIRECT.
6621 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6622 header inclusion.
6623 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6624 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6626 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6627 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6634 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6635 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6637 (round): Redirect to __round.
6638 (__roundl): Call round instead of __round.
6639 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6640 Remove macro.
6641 [_ARCH_PWR5X] (__roundf): Likewise.
6642 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6643 functions instead of __round variants.
6644 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6645 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6646 Likewise.
6647 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6648 Likewise.
6649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6650 Likewise.
6651 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6652 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6653 __lroundl.
6654 (__ieee754_expl): Call roundl instead of __roundl.
6655
f841c97e
AS
66562018-09-27 Andreas Schwab <schwab@suse.de>
6657
6658 [BZ #23717]
6659 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6660 (do_test): Make st1 static.
6661
6ca8284e
AS
66622018-09-26 Andreas Schwab <schwab@suse.de>
6663
6664 [BZ #23707]
6665 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6666 * elf/Makefile (tests): Add tst-unwind-ctor.
6667 (modules-names): Add tst-unwind-ctor-lib.
6668 ($(objpfx)tst-unwind-ctor): Depend on
6669 $(objpfx)tst-unwind-ctor-lib.so.
6670
61d8b5fe
JM
66712018-09-26 Joseph Myers <joseph@codesourcery.com>
6672
6673 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6674 file. Most contents moved from ....
6675 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6676 and include <bits/mman-map-flags-generic.h>.
6677 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6678 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6679 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6680 <bits/mman-map-flags-generic.h>.
6681 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6682 macros defined in <bits/mman-map-flags-generic.h>.
6683 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6684 <bits/mman-map-flags-generic.h>.
6685 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6686 defined in <bits/mman-map-flags-generic.h>.
6687
46341286
AS
66882018-09-26 Andreas Schwab <schwab@suse.de>
6689
6690 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6691 output.
6692
b5c45e83
AZ
66932018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6694 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6695 Fangrui Song <maskray@google.com>
6696
6697 [BZ #20480]
6698 * config.make.in (have-textrel_ifunc): New define.
6699 * configure.ac: Add check if linker supports textrel relocation with
6700 ifunc.
6701 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6702 tst-ifunc-textrel.
6703 (CFLAGS-tst-ifunc-textrel.c): New rule.
6704 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6705 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6706 * elf/tst-ifunc-textrel.c: New file.
6707
8ea4d2b7
JM
67082018-09-25 Joseph Myers <joseph@codesourcery.com>
6709
d62f9ec0
JM
6710 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6711 <bits/procfs-prregset.h>.
6712 (prgregset_t): Define using __prgregset_t.
6713 (prfpregset_t): Define using __prfpregset_t.
6714 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6715 (sysdep_headers): Add bits/procfs-prregset.h.
6716 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6717 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6718 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6719 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6720
d0d8eb43
JM
6721 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6722 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6723 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6724 pr_uid and pr_gid.
6725 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6726 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6727 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6728 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6729 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6730 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6731 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6732 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6733 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6734 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6735 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6736 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6737 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6738 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6739 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6740 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6741 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6742 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6743 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6744 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6745 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6746 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6747 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6748 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6749
8ea4d2b7
JM
6750 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6751 AArch64 version. Include <bits/procfs.h>.
6752 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6753 (sysdep_headers): Add bits/procfs.h.
6754 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6755 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6756 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6757 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6758 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6759 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6760 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6761 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6762 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6763 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6764 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6765 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6766 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6767 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6768 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6769 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6770 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6771
c7027166
AZ
67722018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6773
6774 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6775 Use libsupport.
6776
335a3b0a
AS
67772018-09-25 Arjun Shankar <arjun@redhat.com>
6778
6779 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6780 (__gconv_max_path_elem_len): Likewise.
6781 (__gconv_nmodules): Likewise.
6782 (__gconv_get_path): Likewise.
6783 (path_elem): Move to ...
6784 * iconv/gconv_conf.c: ... here.
6785 (__gconv_get_path): Mark function static.
6786 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6787 * iconv/gconv_open.c: ... here.
6788
462d348c
AS
67892018-09-24 Andreas Schwab <schwab@suse.de>
6790
6791 * scripts/haveversions.awk: New file.
6792 * Makerules ($(common-objpfx)Versions.def)
6793 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6794 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6795 Move rules ...
6796 * Makeconfig ($(common-objpfx)Versions.def)
6797 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6798 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6799 ... here.
6800 ($(common-objpfx)Versions.mk): New rule. Include it.
6801 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6802 Emit error if build-obsolete-nsl = yes.
6803 * manual/install.texi (Configuring and compiling): Describe
6804 --enable-obsolete-nsl as unavaiable after version 2.28.
6805 * INSTALL: Regenerate.
6806
f0458cf4
AZ
68072018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6808
6809 * NEWS: Add note about new TLE support on powerpc64le.
6810 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6811 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6812 __ununsed1.
6813 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6814 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6815 * sysdeps/powerpc/powerpc32/sysdep.h,
6816 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6817 ABORT_TRANSACTION): Remove macros.
6818 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6819 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6820 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6822 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6823 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6824 usage.
6825 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6826
434d45fd
RL
68272018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6828
6829 [BZ #10425]
6830 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6831 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6832 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6833 which is the same as in it_IT.
6834 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6835 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6836
d90c9b1a
JM
68372018-09-20 Joseph Myers <joseph@codesourcery.com>
6838
7abf97be
JM
6839 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6840 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6841 using MATH_REDIRECT.
6842 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6843 header inclusion.
6844 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6846 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6847 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6848 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6854 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6855 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6856 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6857 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6858 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6859 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6860 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6862 (ceil): Redirect to __ceil.
6863 (floor): Redirect to __floor.
6864 (trunc): Redirect to __trunc.
6865 (__truncl): Call trunc instead of __trunc.
6866 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6867 Remove macro.
6868 [_ARCH_PWR5X] (__truncf): Likewise.
6869 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6870 trunc functions instead of __trunc variants.
6871 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6872 Likewise.
6873 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6874 Likewise.
6875 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6876 Likewise.
6877 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6878 Likewise.
6879
d90c9b1a
JM
6880 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6881 [__i586__ || __pentium__].
6882 [__i486__]: Handle explicitly.
6883 (HAS_CPUID): Define to 1 if above macros are undefined.
6884 (HAS_I586): Likewise.
6885 (HAS_I686): Likewise.
6886
db9a8ad4
FW
68872018-09-20 Florian Weimer <fweimer@redhat.com>
6888
6889 * misc/tst-gethostid.c: New file.
6890 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6891 (tst-gethostid): Link with -ldl.
6892
1214ba06
MY
68932018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6894
6895 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6896 value from gethostbyname_r.
6897
791b350d
CD
68982018-09-19 Carlos O'Donell <carlos@redhat.com>
6899
6900 * stdlib/tst-setcontext9.c (f1): Rename to...
6901 (f1a): ... this.
6902 (f1b): New function implementing lower half of f1 in alternate stack.
6903
8e6fd2bd
PE
69042018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6905
e1080e7e
PE
6906 Fix mktime localtime offset confusion
6907 [BZ #23603]
6908 * include/time.h (__mktime_internal): The localtime offset is now
6909 of type long int instead of time_t. This is the longstanding type
6910 in glibc, and it is more than enough to represent difference
6911 between localtime and gmtime even if it is 32 bits and time_t is
6912 64. Changing it now will let us avoid an unnecessary change when
6913 time_t is widened to 64 bits on 32-bit platforms.
6914 * time/mktime-internal.h (mktime_offset_t): Now long int.
6915
8e6fd2bd
PE
6916 Merge mktime, timegm from upstream Gnulib
6917 [BZ #23603][BZ #16346]
6918 This fixes some obscure problems with integer overflow.
6919 Although it looks scary, it is almost all a byte-for-byte copy
6920 from Gnulib, and the Gnulib code has been tested reasonably well.
6921 * include/intprops.h: New file, copied from Gnulib.
6922 * include/verify.h, time/mktime-internal.h:
6923 New tiny files, simplified from Gnulib.
6924 * time/mktime.c: Copy from Gnulib. This has the following changes:
6925 Do not include config.h if DEBUG_MKTIME is nonzero.
6926 Include stdbool.h, intprops.h, verify.h.
6927 Include string.h only if needed.
6928 Include stdlib.h on MS-Windows.
6929 Include mktime-internal.h.
6930 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6931 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6932 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6933 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6934 simplify later conditionals; default the others to zero. Use
6935 these conditionals to express only the code needed on the current
6936 platform. In uses of these conditionals, explicitly spell out how
6937 _LIBC affects things, so it’s easier to review from a glibc
6938 viewpoint.
6939 (WRAPV): Remove; no longer needed now that we have
6940 systematic overflow checking.
6941 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6942 compartmentalize tzset issues. Move system-dependent tzsettish
6943 code here from mktime.
6944 (verify): Remove; now done by verify.h. All uses changed.
6945 (long_int): Use a more-conservative definition, to avoid
6946 integer overflow.
6947 (SHR): Remove, replacing with ...
6948 (shr): New function, which means we needn’t worry about side
6949 effects in args, and conversion analysis is simpler.
6950 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6951 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6952 (time_t_avg, time_t_add_ok): Remove.
6953 (mktime_min, mktime_max): New constants.
6954 (leapyear, isdst_differ): Use bool for booleans.
6955 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6956 Use long_int, not time_t, for mktime differences.
6957 (long_int_avg): New function, replacing time_t_avg.
6958 INT_ADD_WRAPV replaces time_t_add_ok.
6959 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6960 All uses changed.
6961 (convert_time): New function.
6962 (ranged_convert): Use it.
6963 (__mktime_internal): Last arg now points to mktime_offset_t, not
6964 time_t. All uses changed. This is a no-op on glibc, where
6965 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6966 offset guess. Directly check for integer overflow instead of
6967 using a heuristic that works only 99.9...% of the time.
6968 Access *OFFSET only once, to avoid an unlikely race if the
6969 compiler delays a load and if this cascades into a signed integer
6970 overflow.
6971 (mktime): Move tzsettish code to my_tzset, and move
6972 localtime_offset to within mktime so that it doesn’t
6973 need a separate ifdef.
6974 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6975 instead of localtime.
6976 * time/timegm.c: Copy from Gnulib. This has the following changes:
6977 Include mktime-internal.h.
6978 [!_LIBC]: Include config.h and time.h. Do not include
6979 timegm.h or time_r.h. Make __mktime_internal a macro,
6980 and include mktime-internal.h to get its declaration.
6981 (timegm): Temporary is now mktime_offset_t, not time_t.
6982 This affects only Gnulib.
6983
83a552b0
WD
69842018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6985
6986 [BZ #23637]
6987 * string/test-strstr.c (pr23637): New function.
6988 (test_main): Add tests with longer needles.
6989 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6990 * string/strstr.c (AVAILABLE): Likewise.
6991
d7347278
SN
69922018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6993
6994 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6995
424c4f60
SN
69962018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6997
6998 * NEWS: Mention pow improvements.
6999 * math/Makefile (type-double-routines): Add e_pow_log_data.
7000 * sysdeps/generic/math_private.h (__exp1): Remove.
7001 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7002 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7003 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7004 contraction.
7005 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7006 (exp_inline): Remove.
7007 (__ieee754_exp): Only single double input is handled.
7008 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7009 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7010 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7011 (__pow_log_data): Define.
7012 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7013 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7014 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7015 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7016 contraction.
7017 (CFLAGS-e_pow-fma4.c): Likewise.
7018
e4e4fde5
PE
70192018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7020
dab9c348
PE
7021 Simplify tzfile fstat failure code
7022 [BZ #21716]
7023 * time/tzfile.c (__tzfile_read): Simplify slightly.
7024
e4e4fde5
PE
7025 Fix tzfile low-memory assertion failure
7026 [BZ #21716]
7027 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7028 when registering time zone abbreviations.
7029
50bc59ca
JM
70302018-09-18 Joseph Myers <joseph@codesourcery.com>
7031
d3a43e49
JM
7032 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7033 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7034 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7035 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7036 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7037 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7038 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7039 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7040 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7041
50bc59ca
JM
7042 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7043 __ceil.
7044 (__ceill): Call ceil instead of __ceil.
7045 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7046 __floor.
7047 (__floorl): Call floor instead of __floor.
7048
89983cb3
JM
70492018-09-17 Joseph Myers <joseph@codesourcery.com>
7050
71223ef9
JM
7051 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7052 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7053 using MATH_REDIRECT.
7054 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7055 header inclusion.
7056 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7059 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7060 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7061 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7063 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7068 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7069 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7072 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7073 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7074 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7075 Remove macro.
7076 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7077 functions instead of __ceil variants.
7078 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7080 Likewise.
7081 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7082 Likewise.
7083 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7084 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7085 Likewise.
7086 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7087 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7088
89983cb3
JM
7089 [BZ #21286]
7090 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7091 constant.
7092 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7093 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7094 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7095 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7096 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7097 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7098 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7099 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7100 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7101 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7102 (ILL_BADIADDR): Remove constant.
7103 (TRAP_BRANCH): Likewise.
7104 (TRAP_HWBKPT): Likewise.
7105
e44acb20
JM
71062018-09-14 Joseph Myers <joseph@codesourcery.com>
7107
3f7f1d18
JM
7108 [BZ #23656]
7109 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7110 Remove [_MIPS_SIM = _ABIN32] conditional case.
7111 (struct elf_prpsinfo): Likewise.
7112
d59f3e5e
JM
7113 [BZ #23649]
7114 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7115 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7116 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7117 Likewise.
7118 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7119 elf_prpsinfo): Likewise.
7120 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7121 elf_prpsinfo): Likewise.
7122 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7123 Likewise.
7124
f29b6f17
JM
7125 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7126 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7127 using MATH_REDIRECT.
7128 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7129 header inclusion.
7130 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7131 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7132 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7133 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7134 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7135 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7136 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7137 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7140 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7141 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7142 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7143 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7144 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7145 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7146 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7147 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7148 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7151 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7152 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7153 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7154 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7155 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7156 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7157 __rint variants.
7158 * math/e_scalbf.c (invalid_fn): Likewise.
7159 * math/e_scalbl.c (invalid_fn): Likewise.
7160 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7161 Likewise.
7162 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7163 Likewise.
7164 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7165 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7166 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7167 Likewise.
7168 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7169 Likewise.
7170 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7171 Likewise.
7172 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7173 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7174
e44acb20
JM
7175 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7176 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7177 New macro.
7178 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7179 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7180 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7181 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7182 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7183 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7184 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7185 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7186 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7187 && !NO_MATH_REDIRECT] (floor): Likewise.
7188 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7189 header inclusion.
7190 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7191 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7192 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7193 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7194 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7197 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7202 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7203 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7206 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7207 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7208 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7209 Remove macro.
7210 [_ARCH_PWR5X] (__floorf): Likewise.
7211 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7212 inline function.
7213 [__SSE4_1__] (__floorf): Likewise.
7214 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7215 instead of __floor variants.
7216 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7217 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7218 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7219 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7220 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7221 * math/w_tgamma_compat.c (__tgamma): Likewise.
7222 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7223 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7224 * math/w_tgammal_compat.c (__tgammal): Likewise.
7225 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7226 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7227 Likewise.
7228 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7229 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7230 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7232 Likewise.
7233 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7234 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7235 Likewise.
7236 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7237 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7238 Likewise.
7239 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7240 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7241 Likewise.
7242 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7243 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7244 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7245 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7246 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7247 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7248
221e4bab
JM
72492018-09-12 Joseph Myers <joseph@codesourcery.com>
7250
7251 * elf/Makefile (modules-names-tests): New variable.
7252
3e08ff54
SN
72532018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7254
7255 * NEWS: Mention log2 improvements.
7256 * math/Makefile (type-double-routines): Add e_log2_data.
7257 * sysdeps/i386/fpu/e_log2_data.c: New file.
7258 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7259 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7260 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7261 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7262 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7263 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7264
f41b0a43
SN
72652018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7266
7267 * NEWS: Mention log improvement.
7268 * math/Makefile (type-double-routines): Add e_log_data.
7269 * sysdeps/i386/fpu/e_log_data.c: New file.
7270 * sysdeps/ia64/fpu/e_log_data.c: New file.
7271 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7272 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7273 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7274 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7275 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7276 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7277
5a274db4
L
72782018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7279 Xuepeng Guo <xuepeng.guo@intel.com>
7280
7281 [BZ #23606]
7282 * sysdeps/i386/start.S: Include <sysdep.h>
7283 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7284 enabled. Add cfi_undefined (eip).
7285
b1176270
JM
72862018-09-11 Joseph Myers <joseph@codesourcery.com>
7287
4e7fbdd7
JM
7288 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7289 (MOVQ): Likewise.
7290 (EXTRACT_WORDS64): Likewise.
7291 (INSERT_WORDS64): Likewise.
7292 (GET_FLOAT_WORD): Likewise.
7293 (SET_FLOAT_WORD): Likewise.
7294
b1176270
JM
7295 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7296 argument.
7297 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7298 build, but not for second build if --full-gcc. Use
7299 --enable-languages=all for second build if --full-gcc.
7300 (get_parser): Add --full-gcc option.
7301 (main): Update call to Context.
7302
527f355e
RL
73032018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7304
7305 [BZ #10797]
7306 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7307 Single Quotation Mark).
7308 (thousands_sep): Likewise.
7309 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7310 * localedata/locales/it_IT (thousands_sep): Use ".".
7311 (grouping): Use "3;3".
7312
7244f13d
JM
73132018-09-10 Joseph Myers <joseph@codesourcery.com>
7314
7315 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7316 x86_64 and i686 configs using --enable-obsolete-rpc
7317 --enable-obsolete-nsl.
7318
38245425
SL
73192018-09-06 Stefan Liebler <stli@linux.ibm.com>
7320
7321 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7322
28669f86
SL
73232018-09-06 Stefan Liebler <stli@linux.ibm.com>
7324
7325 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7326 Increment size of new_argv by one.
7327
a33650d1
RL
73282018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7329
7330 [BZ #17426]
7331 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7332 * localedata/locales/ar_IN (d_fmt): Likewise.
7333 * localedata/locales/bhb_IN (d_fmt): Likewise.
7334 * localedata/locales/bho_IN (d_fmt): Likewise.
7335 * localedata/locales/bn_BD (d_fmt): Likewise.
7336 * localedata/locales/bn_IN (d_fmt): Likewise.
7337 * localedata/locales/doi_IN (d_fmt): Likewise.
7338 * localedata/locales/gu_IN (d_fmt): Likewise.
7339 * localedata/locales/hi_IN (d_fmt): Likewise.
7340 * localedata/locales/hne_IN (d_fmt): Likewise.
7341 * localedata/locales/kn_IN (d_fmt): Likewise.
7342 * localedata/locales/mag_IN (d_fmt): Likewise.
7343 * localedata/locales/mai_IN (d_fmt): Likewise.
7344 * localedata/locales/mjw_IN (d_fmt): Likewise.
7345 * localedata/locales/ml_IN (d_fmt): Likewise.
7346 * localedata/locales/mni_IN (d_fmt): Likewise.
7347 * localedata/locales/mr_IN (d_fmt): Likewise.
7348 * localedata/locales/pa_IN (d_fmt): Likewise.
7349 * localedata/locales/raj_IN (d_fmt): Likewise.
7350 * localedata/locales/sat_IN (d_fmt): Likewise.
7351 * localedata/locales/sd_IN (d_fmt): Likewise.
7352 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7353 * localedata/locales/ta_IN (d_fmt): Likewise.
7354 * localedata/locales/ta_LK (d_fmt): Likewise.
7355 * localedata/locales/tcy_IN (d_fmt): Likewise.
7356 * localedata/locales/ur_IN (d_fmt): Likewise.
7357
7358 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7359 * localedata/locales/ks_IN (d_fmt): Likewise.
7360 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7361
7362 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7363 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7364 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7365 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7366
d114e6a7
SN
73672018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7368
7369 * NEWS: Mention exp and exp2 improvements.
7370 * math/Makefile (libm-support): Remove t_exp.
7371 (type-double-routines): Add math_err and e_exp_data.
7372 * sysdeps/aarch64/libm-test-ulps: Update.
7373 * sysdeps/arm/libm-test-ulps: Update.
7374 * sysdeps/i386/fpu/e_exp_data.c: New file.
7375 * sysdeps/i386/fpu/math_err.c: New file.
7376 * sysdeps/i386/fpu/t_exp.c: Remove.
7377 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7378 * sysdeps/ia64/fpu/math_err.c: New file.
7379 * sysdeps/ia64/fpu/t_exp.c: Remove.
7380 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7381 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7382 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7383 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7384 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7385 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7386 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7387 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7388 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7389 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7390 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7391 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7392 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7393 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7396
b9d8c474
JM
73972018-09-05 Joseph Myers <joseph@codesourcery.com>
7398
b7cdc2ae
JM
7399 * sysdeps/alpha/fpu/math_private.h: Remove.
7400
b9d8c474
JM
7401 * sysdeps/generic/math_private.h
7402 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7403 Move this inline function ....
7404 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7405 * include/math.h [!_ISOMAC]: To here....
7406
418d99e6
JM
74072018-09-04 Joseph Myers <joseph@codesourcery.com>
7408
7409 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7410 code ....
7411 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7412 * include/fenv.h [!_ISOMAC]: ... to here.
7413 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7414 (feraiseexcept): Likewise.
7415 * math/fromfp.h: Do not include <fenv_private.h>.
7416 * math/s_cexp_template.c: Likewise.
7417 * math/s_csin_template.c: Likewise.
7418 * math/s_csinh_template.c: Likewise.
7419 * math/s_ctan_template.c: Likewise.
7420 * math/s_ctanh_template.c: Likewise.
7421 * math/s_iseqsig_template.c: Likewise.
7422 * math/w_acos_compat.c: Likewise.
7423 * math/w_acosf_compat.c: Likewise.
7424 * math/w_acosl_compat.c: Likewise.
7425 * math/w_asin_compat.c: Likewise.
7426 * math/w_asinf_compat.c: Likewise.
7427 * math/w_asinl_compat.c: Likewise.
7428 * math/w_j0_compat.c: Likewise.
7429 * math/w_j0f_compat.c: Likewise.
7430 * math/w_j0l_compat.c: Likewise.
7431 * math/w_j1_compat.c: Likewise.
7432 * math/w_j1f_compat.c: Likewise.
7433 * math/w_j1l_compat.c: Likewise.
7434 * math/w_jn_compat.c: Likewise.
7435 * math/w_jnf_compat.c: Likewise.
7436 * math/w_log10_compat.c: Likewise.
7437 * math/w_log10f_compat.c: Likewise.
7438 * math/w_log10l_compat.c: Likewise.
7439 * math/w_log2_compat.c: Likewise.
7440 * math/w_log2f_compat.c: Likewise.
7441 * math/w_log2l_compat.c: Likewise.
7442 * math/w_log_compat.c: Likewise.
7443 * math/w_logf_compat.c: Likewise.
7444 * math/w_logl_compat.c: Likewise.
7445 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7446 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7447 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7448 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7449 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7450 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7451 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7452 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7453 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7454 * sysdeps/ieee754/k_standardl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7467 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7472 * math/w_ilogb_template.c: Include <fenv.h> instead of
7473 <fenv_private.h>.
7474 * math/w_llogb_template.c: Likewise.
7475 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7476 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7477
70e2ba33
JM
74782018-09-03 Joseph Myers <joseph@codesourcery.com>
7479
7480 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7481 * math/fromfp.h: Include <fenv_private.h>.
7482 * math/math-narrow.h: Likewise.
7483 * math/s_cexp_template.c: Likewise.
7484 * math/s_csin_template.c: Likewise.
7485 * math/s_csinh_template.c: Likewise.
7486 * math/s_ctan_template.c: Likewise.
7487 * math/s_ctanh_template.c: Likewise.
7488 * math/s_iseqsig_template.c: Likewise.
7489 * math/w_acos_compat.c: Likewise.
7490 * math/w_acosf_compat.c: Likewise.
7491 * math/w_acosl_compat.c: Likewise.
7492 * math/w_asin_compat.c: Likewise.
7493 * math/w_asinf_compat.c: Likewise.
7494 * math/w_asinl_compat.c: Likewise.
7495 * math/w_ilogb_template.c: Likewise.
7496 * math/w_j0_compat.c: Likewise.
7497 * math/w_j0f_compat.c: Likewise.
7498 * math/w_j0l_compat.c: Likewise.
7499 * math/w_j1_compat.c: Likewise.
7500 * math/w_j1f_compat.c: Likewise.
7501 * math/w_j1l_compat.c: Likewise.
7502 * math/w_jn_compat.c: Likewise.
7503 * math/w_jnf_compat.c: Likewise.
7504 * math/w_llogb_template.c: Likewise.
7505 * math/w_log10_compat.c: Likewise.
7506 * math/w_log10f_compat.c: Likewise.
7507 * math/w_log10l_compat.c: Likewise.
7508 * math/w_log2_compat.c: Likewise.
7509 * math/w_log2f_compat.c: Likewise.
7510 * math/w_log2l_compat.c: Likewise.
7511 * math/w_log_compat.c: Likewise.
7512 * math/w_logf_compat.c: Likewise.
7513 * math/w_logl_compat.c: Likewise.
7514 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7515 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7516 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7517 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7520 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7521 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7522 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7524 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7525 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7526 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7527 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7529 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7530 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7531 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7542 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7543 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7544 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7545 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7546 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7547 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7548 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7549 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7550 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7551 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7552 * sysdeps/ieee754/k_standardl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7578 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7579 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7584 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7589 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7590 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7591 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7592 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7593 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7594 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7595 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7596 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7597 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7598 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7599 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7600 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7601 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7602 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7603 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7604 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7605 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7606 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7607 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7608 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7609 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7610 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7611 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7612 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7613 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7614 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7615 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7616 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7617 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7618 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7619 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7620 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7621 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7622 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7623 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7624
a6e8926f
PP
76252018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7626
7627 [BZ #20271]
7628 * include/stdio.h (__libc_fatal): Mention newline in comment.
7629 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7630 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7631 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7632 * nss/nsswitch.c (__nss_next2): Likewise.
7633 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7634 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7635 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7636 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7637 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7638 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7639 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7640 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7641 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7642 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7643 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7644 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7645 (__netlink_assert_response): Likewise.
7646
2bbd06bc
JM
76472018-08-31 Joseph Myers <joseph@codesourcery.com>
7648
7649 * conform/glibcconform.py: New file.
7650 * conform/list-header-symbols.py: Likewise.
7651 * conform/list-header-symbols.pl: Remove.
7652 * conform/Makefile (tests-special): Only add linknamespace tests
7653 if [PYTHON].
7654 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7655
81b9d87b
L
76562018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7657
7658 [BZ #23597]
7659 * support/Makefile (libsupport-routines): Add
7660 support_copy_file_range and xcopy_file_range.
7661 * support/support.h: Include <sys/types.h>.
7662 (support_copy_file_range): New prototype.
7663 * support/support_copy_file_range.c: New file. Copied and
7664 modified from io/copy_file_range-compat.c.
7665 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7666 instead of copy_file_range.
7667 * support/xcopy_file_range.c: New file.
7668 * support/xunistd.h (xcopy_file_range): New prototype.
7669
d330f31a
CD
76702018-08-30 Carlos O'Donell <carlos@redhat.com>
7671
7672 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7673 xpthread_create and xpthread_join.
7674
2bda273a
FW
76752018-08-30 Florian Weimer <fweimer@redhat.com>
7676
7677 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7678
3bad2358
SL
76792018-08-30 Stefan Liebler <stli@linux.ibm.com>
7680
7681 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7682 if malloc fails.
7683
09c12efc
JM
76842018-08-29 Joseph Myers <joseph@codesourcery.com>
7685
7686 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7687 and minus_oflow as non-finite.
7688
ff6b2450
JM
76892018-08-28 Joseph Myers <joseph@codesourcery.com>
7690
7691 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7692 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7693 moved to fenv_private.h except for ...
7694 (TOINT_INTRINSICS): Kept in math_private.h.
7695 (roundtoint): Likewise.
7696 (converttoint): Likewise.
7697 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7698 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7699 * sysdeps/arm/math_private.h: Remove.
7700 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7701 ....
7702 * sysdeps/generic/math_private.h: ... this file. Include
7703 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7704 Include <fenv_private.h>. Remove functions and macros moved to
7705 fenv_private.h.
7706 * sysdeps/i386/fpu/math_private.h: Remove.
7707 * sysdeps/mips/math_private.h: Move to ....
7708 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7709 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7710 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7711 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7712 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7713 * sysdeps/powerpc/fpu/math_private.h: Do not include
7714 <fenv_private.h>.
7715 * sysdeps/riscv/rvf/math_private.h: Move to ....
7716 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7717 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7718 <fenv_private.h>.
7719 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7720 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7721 * sysdeps/sparc/fpu/math_private.h: Remove.
7722 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7723 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7724 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7725 <fenv_private.h>.
7726 * sysdeps/x86_64/fpu/math_private.h: Do not include
7727 <sysdeps/i386/fpu/fenv_private.h>.
7728
761404b7
FW
77292018-08-28 Florian Weimer <fweimer@redhat.com>
7730
7731 [BZ #23578]
7732 * posix/tst-regcomp-truncated.c: New file.
7733 * posix/Makefile (tests): Add it.
7734 (tst-regcomp-truncated.out): Depend on generated locales.
7735
d6c44c3d
FW
77362018-08-28 Florian Weimer <fweimer@redhat.com>
7737
7738 * support/test-container.c (main): Treat unshare failure with
7739 EPERM as an unsupported test.
7740
745664bd
FW
77412018-08-28 Florian Weimer <fweimer@redhat.com>
7742
7743 [BZ #23520]
7744 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7745 * nscd/netgroupcache.c
7746 (addgetnetgrentX): Add tofreep parameter. Do not free
7747 heap-allocated buffer.
7748 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7749 (addgetnetgrentX_ignore): New function.
7750 (addgetnetgrent): Call it.
7751 (readdgetnetgrent): Likewise.
7752
c8dd67e7
RS
77532018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7754
7755 * string/memmem.c: Use memcmp for first match.
7756
5abedf97
RL
77572018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7758
7759 [BZ #17426]
7760 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7761
86de0499
DD
77622018-08-27 DJ Delorie <dj@redhat.com>
7763
7764 * support/Makefile (others): Don't list programs explicitly as a
7765 dependency of "others".
7766
c3ab2110
JM
77672018-08-27 Joseph Myers <joseph@codesourcery.com>
7768
7769 * sysdeps/generic/math-tests-trap-force.h: New file.
7770 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7771 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7772 * sysdeps/powerpc/math-tests.h: Remove file.
7773 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7774
99ea93ca
MK
77752018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7776 Torvald Riegel <triegel@redhat.com>
7777
7778 [BZ #23538]
7779 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7780 Update r to include the set wake-request flag if waiters are
7781 remaining after spinning.
7782
4061791f
JM
77832018-08-27 Joseph Myers <joseph@codesourcery.com>
7784
7785 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7786
bc680b33
PE
77872018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7788
761404b7 7789 [BZ #23578]
bc680b33
PE
7790 regex: fix uninitialized memory access
7791 I introduced this bug into gnulib in commit
7792 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7793 eventually it was merged into glibc. The bug was found by
7794 project-repo <bugs@feusi.co> and reported here:
7795 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7796 Diagnosis and draft fix reported by Assaf Gordon here:
7797 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7798 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7799 * posix/regex_internal.c (build_wcs_upper_buffer):
7800 Fix bug when mbrtowc returns 0.
7801
02458a52
CD
78022018-08-24 Carlos O'Donell <carlos@redhat.com>
7803
7804 * po/be.po: Update translation.
7805
acc2842a
DD
78062018-08-24 DJ Delorie <dj@delorie.com>
7807
7808 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7809 $(libunwind).
7810
6c3a8a9d
PP
78112018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7812
7813 [BZ #23400]
7814 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7815 create temporary files in source tree.
7816
895ef79e
JM
78172018-08-24 Joseph Myers <joseph@codesourcery.com>
7818
7819 * sysdeps/generic/math-tests-trap.h: New file.
7820 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7821 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7822 * sysdeps/aarch64/math-tests.h: Remove file.
7823 * sysdeps/arm/math-tests.h: Likewise.
7824 * sysdeps/riscv/math-tests.h: Likewise.
7825 * sysdeps/aarch64/math-tests-trap.h: New file.
7826 * sysdeps/arm/math-tests-trap.h: Likewise.
7827 * sysdeps/riscv/math-tests-trap.h: Likewise.
7828
ca3aac57
WD
78292018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7830
7831 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7832 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7833 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7834 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7835 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7836 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7837 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7838 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7839 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7840 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7841 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7842 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7843 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7844 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7845 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7846 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7847 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7848 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7849
60bcac09
JM
78502018-08-23 Joseph Myers <joseph@codesourcery.com>
7851
7852 * sysdeps/generic/math-tests-exceptions.h: New file.
7853 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7854 (EXCEPTION_TESTS_float): Do not define here.
7855 (EXCEPTION_TESTS_double): Likewise.
7856 (EXCEPTION_TESTS_long_double): Likewise.
7857 (EXCEPTION_TESTS_float128): Likewise.
7858 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7859 Likewise.
7860 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7861 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7862 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7863 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7864 * sysdeps/mips/math-tests.h: Likewise.
7865 * sysdeps/nios2/math-tests.h: Likewise.
7866 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7867 (EXCEPTION_TESTS_float): Do not define here.
7868 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7869 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7870 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7871
3bded567
WD
78722018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7873
7874 * NEWS: Move optimized sinf entry to 2.29.
7875
900fb446
WD
78762018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7877
7878 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7879
561b0bec
DD
78802018-08-22 DJ Delorie <dj@redhat.com>
7881
7882 * Makefile (testroot.pristine): New rules to initialize the
7883 test-in-container "testroot".
7884 * Makerules (all-testsuite): Add tests-container.
7885 * Rules (tests-expected): Add tests-container.
7886 (binaries-all-tests): Likewise.
7887 (tests-container): New, run these tests in the testroot container.
7888 * support/Makefile (others): Add *-container, support_paths.c,
7889 xmkdirp, and links-dso-program.
7890 * support/links-dso-program-c.c: New.
7891 * support/links-dso-program.cc: New.
7892 * support/test-container.c: New.
7893 * support/shell-container.c: New.
7894 * support/echo-container.c: New.
7895 * support/true-container.c: New.
7896 * support/xmkdirp.c: New.
7897 * support/xsymlink.c: New.
7898 * support/support_paths.c: New.
7899 * support/support.h: Add support paths prototypes.
7900 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7901
7902 * nss/tst-nss-test3.c: Convert to test-in-container.
7903 * nss/tst-nss-test3.root/: New.
7904
b35d3509
PE
79052018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7906
7907 regex: port Gnulib code to z/OS POSIX environment
7908 Problem reported by Arnold Robbins in:
7909 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7910 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7911 Undef.
7912
16a25138
JM
79132018-08-22 Joseph Myers <joseph@codesourcery.com>
7914
debc4c98
JM
7915 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7916 (ROUNDING_TESTS_double): Remove.
7917 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7918 (ROUNDING_TESTS_double): Remove.
7919 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7920 (ROUNDING_TESTS_double): Remove.
7921 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7922 (ROUNDING_TESTS_float): Remove.
7923 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7924 (ROUNDING_TESTS_float): Remove.
7925 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7926 (ROUNDING_TESTS_float): Remove.
7927 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7928 !TEST_MATHVEC here.
7929 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7930 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7931
16a25138
JM
7932 * sysdeps/generic/math-tests-rounding.h: New file.
7933 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7934 (ROUNDING_TESTS_float): Do not define here.
7935 (ROUNDING_TESTS_double): Likewise.
7936 (ROUNDING_TESTS_long_double): Likewise.
7937 (ROUNDING_TESTS_float128): Likewise.
7938 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7939 (ROUNDING_TESTS_double): Undefine before defining.
7940 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7941 (ROUNDING_TESTS_double): Undefine before defining.
7942 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7943 (ROUNDING_TESTS_double): Undefine before defining.
7944 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7945 (ROUNDING_TESTS_float): Undefine before defining.
7946 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7947 (ROUNDING_TESTS_float): Undefine before defining.
7948 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7949 (ROUNDING_TESTS_float): Undefine before defining.
7950 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7951 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7952 not define here.
7953 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7954 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7955 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7956 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7957 (ROUNDING_TESTS_float): Do not define here.
7958 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7959 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7960 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7961 (ROUNDING_TESTS_float): Likewise.
7962 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7963 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7964 * sysdeps/mips/math-tests.h [__mips_soft_float]
7965 (ROUNDING_TESTS_float): Likewise.
7966 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7967 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7968 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7969 (ROUNDING_TESTS_double): Likewise.
7970 (ROUNDING_TESTS_long_double): Likewise.
7971
38b0593e
TK
79722018-08-21 Tobias Klauser <tklauser@distanz.ch>
7973
7974 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7975 (PF_XDP): New macro.
7976 (AF_XDP): New macro.
7977 (SOL_XDP): New macro.
7978
5cd7dbde
JM
79792018-08-21 Joseph Myers <joseph@codesourcery.com>
7980
7981 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7982 (TCP_INQ): Likewise.
7983 (TCP_CM_INQ): Likewise.
7984 (TCP_REPAIR_ON): Likewise.
7985 (TCP_REPAIR_OFF): Likewise.
7986 (TCP_REPAIR_OFF_NO_WP): Likewise.
7987 (struct tcp_zerocopy_receive): New type.
7988
aa42b3db
FW
79892018-08-21 Florian Weimer <fweimer@redhat.com>
7990
7991 * support/support.h (support_descriptor_supports_holes): Declare.
7992 * support/Makefile (libsupport-routines): Add
7993 support_descriptor_supports_holes.
7994 * support/support_descriptor_supports_holes.c: New file.
7995 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7996 and stop testing if holes are not supported.
7997 * io/test-lfs.c (do_prepare): Likewise.
7998 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7999 Likewise.
8000 * timezone/tst-tzset.c (create_tz_file): Likewise.
8001 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8002 variable.
8003 (do_prepare): Set it.
8004 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8005
c7627f41
FW
80062018-08-21 Florian Weimer <fweimer@redhat.com>
8007
8008 [BZ #17248]
8009 * Makeconfig (+cflags): Do not sort (and deduplicate).
8010
ef939d92
FW
80112018-08-21 Florian Weimer <fweimer@redhat.com>
8012
8013 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8014 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8015
88ffb39d
FW
80162018-08-20 Florian Weimer <fweimer@redhat.com>
8017
8018 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8019 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8020
17419540
JM
80212018-08-20 Joseph Myers <joseph@codesourcery.com>
8022
e6edd40d
JM
8023 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8024 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8025 and ssi_arch members.
8026
17419540
JM
8027 * elf/elf.c (NT_VMCOREDD): New macro.
8028 (AT_MINSIGSTKSZ): Likewise.
8029
fa78896b
RS
80302018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8031
8032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8033 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8034 s_cosf-ppc64 and s_cosf-power8.
8035 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8036 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8037 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8038 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8045 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8046 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8047
86a6c75a
FW
80482018-08-17 Florian Weimer <fweimer@redhat.com>
8049
8050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8051
35cfefd9
FW
80522018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8053
8054 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8055
6413fcde
FW
80562018-08-16 Florian Weimer <fweimer@redhat.com>
8057
8058 * configure.ac: Add --with-nonshared-cflags option.
8059 * config.make.in (extra-nonshared-cflags): Set variable.
8060 * Makeconfig (CFLAGS-.oS): Use it.
8061 * manual/install.texi (Configuring and compiling): Document
8062 --with-nonshared-cflags.
8063 * configure: Regenerate.
8064 * INSTALL: Likewise.
8065
93a2584c
FW
80662018-08-16 Florian Weimer <fweimer@redhat.com>
8067
8068 * Makeconfig (ASFLAGS): Always append required assembler flags.
8069
f6f275d2 80702018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
8071
8072 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8073 (malloc_consolidate): Likewise.
8074
30a17d8c
PC
80752018-08-16 Pochang Chen <johnchen902@gmail.com>
8076
8077 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8078
953a5a4a
SP
80792018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8080
34f86d61
SP
8081 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8082 every strlen call.
8083
953a5a4a
SP
8084 * benchtests/bench-strlen.c: Print performance numbers in json.
8085
7793ad7a
RS
80862018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8087
8088 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8089 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8090 only for little endian.
8091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8092 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8093 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8094 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8095 Add check for little endian.
8096 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8097 (__strcmp_power9): Add check for little endian.
8098 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8099 Add check for little endian.
8100 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8101 (__strncmp_power9): Add check for little endian.
8102 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8103 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8104 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8105 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8106 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8107
436e4d5b
SP
81082018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8109
8110 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8111 [!STRLEN](STRLEN): Set to __strlen.
8112 * sysdeps/aarch64/multiarch/strlen.c: New file.
8113 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8114 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8115 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8116 (__libc_ifunc_impl_list): Add strlen.
8117 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8118 strlen_generic and strlen_asimd.
8119
126c4e3f
WD
81202018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8121
8122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8123 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8124 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8125
49acec17
WD
81262018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8127
8128 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8129
fdb16de3
FW
81302018-08-14 Florian Weimer <fweimer@redhat.com>
8131
8132 [BZ #23519]
8133 * include/stdio.h (__vfxprintf): Declare.
8134 * stdio-common/fxprintf.c (__vfxprintf): New function.
8135 (__fxprintf): Call it.
8136 * misc/err.c (convert_and_print): Remove function.
8137 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8138 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8139 * misc/Makefile (tests): Add tst-warn-wide.
8140 * misc/tst-warn-wide.c: New file.
8141
599cf397
WD
81422018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8143 Szabolcs Nagy <szabolcs.nagy@arm.com>
8144
8145 * NEWS: Mention sinf, cosf, sincosf.
8146 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8147 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8148 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8149 constants rather than including generic sincosf.h.
8150 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8151 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8152 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8153 (reduced_cos): Remove.
8154 (sinf_poly): New function.
8155 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8156
e95c6f61
FW
81572018-08-14 Florian Weimer <fweimer@redhat.com>
8158
8159 [BZ #23521]
8160 [BZ #23522]
8161 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8162 processing, bail out if no room, and close the stream before
8163 returning ERANGE.
8164 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8165 (tst-nss-files-alias-leak): Link with libdl.
8166 (tst-nss-files-alias-leak.out): Depend on nss_files.
8167
8168 * nss/tst-nss-files-alias-leak.c: New file.
8169
2d7acfac
FW
81702018-08-14 Florian Weimer <fweimer@redhat.com>
8171
8172 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8173 server_user, stat_user.
8174
f3cd0904
JM
81752018-08-13 Joseph Myers <joseph@codesourcery.com>
8176
17b26500
JM
8177 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8178 version to 4.18.
8179 (io_pgetevents): New syscall.
8180 (rseq): Likewise.
8181
3c1622eb
JM
8182 * manual/install.texi (Configuring and compiling): Do not list
8183 tools used for testing pretty printers here.
8184 (Tools for Compilation): List Python, PExpect and GDB here.
8185 Update descriptions of uses of Perl and Python.
8186 * INSTALL: Regenerate.
8187
f3cd0904
JM
8188 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8189 version to 4.18.
8190
b7b52b9d
FW
81912018-08-13 Florian Weimer <fweimer@redhat.com>
8192
8193 * misc/error.c (error): Add missing va_end call.
8194 (error_at_line): Likewise.
8195
01780188
FW
81962018-08-13 Florian Weimer <fweimer@redhat.com>
8197
8198 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8199
44727aec
SP
82002018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8201
8cac1f26
SP
8202 * benchtests/scripts/benchout.schema.json (properties): Add
8203 new properties.
8204
44727aec
SP
8205 * benchtests/bench-skeleton.c (main): Add duration and
8206 iterations attributes.
8207
c77bf91b
PE
82082018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8209
8210 regex: Gnulib unibyte RRI uses bytes not chars
8211 Adjust the non-glibc code to agree with what Gawk needs for
8212 rational range interpretation (RRI) for regular expression ranges.
8213 In unibyte locales, Gawk wants ranges to use the underlying byte
8214 rather than the character code point. This change does not affect
8215 glibc proper.
8216 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8217 In unibyte locales, use the byte value rather than
8218 running it through btowc.
8219
2ce7ba7d
JM
82202018-08-10 Joseph Myers <joseph@codesourcery.com>
8221
8222 * sysdeps/generic/math-tests-snan.h: New file.
8223 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8224 (SNAN_TESTS_float): Do not define here.
8225 (SNAN_TESTS_double): Likewise.
8226 (SNAN_TESTS_long_double): Likewise.
8227 (SNAN_TESTS_float128): Likewise.
8228 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8229 * sysdeps/i386/fpu/math-tests.h: Remove file.
8230 * sysdeps/ia64/math-tests-snan.h: New file.
8231 * sysdeps/ia64/math-tests.h: Remove file.
8232 * sysdeps/x86/math-tests.h: Likewise.
8233 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8234
ea5c662c
WD
82352018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8236 Szabolcs Nagy <szabolcs.nagy@arm.com>
8237
8238 * math/Makefile: Add s_sincosf_data.c.
8239 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8240 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8241 (sincosf_poly): Likewise.
8242 (reduce_small): Likewise.
8243 (reduce_large): Likewise.
8244 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8245 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8246 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8247 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8248
43cfdf8f
SN
82492018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8250 Szabolcs Nagy <szabolcs.nagy@arm.com>
8251
8252 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8253 (converttoint): Use lround.
8254 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8255 document the semantics when TOINT_INTRINSICS is set.
8256 (converttoint): Likewise.
8257 (TOINT_RINT): Remove.
8258 (TOINT_SHIFT): Remove.
8259 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8260 path.
8261
69065288
FW
82622018-08-10 Florian Weimer <fweimer@redhat.com>
8263
8264 [BZ #23497]
8265 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8266 function.
8267 (__old_getdents64): Use getdents64. Convert entries without
8268 moving them.
8269 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8270 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8271 tst-readdir64-compat.
8272
8f135efc
IL
82732018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8274
8275 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8276 Fix unwind.
8277
71c01af5
IL
82782018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8279
8280 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8281 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8282 code to s390x-mcount.h and #include it.
8283 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8284 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8285 (__fentry__): Add.
8286
8d997d22
IL
82872018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8288
8289 * stdlib/Versions: Remove __fentry__.
8290 * sysdeps/i386/Versions: Add __fentry__.
8291 * sysdeps/x86_64/Versions: Add __fentry__.
8292
69e2444a
IL
82932018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8294
8295 * sysdeps/s390/Makefile: Register the new tests.
8296 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8297 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8298 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8299 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8300 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8301 * sysdeps/s390/tst-dl-runtime.c: New file.
8302
bde6320f
IL
83032018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8304
8305 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8306 Do not clobber R0.
8307
5755f5e4
IL
83082018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8309
8310 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8311 Do not clobber R0.
8312
c8ad8522
IL
83132018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8314
8315 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8316 Do not clobber R0.
8317
b215eee1
IL
83182018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8319
8320 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8321 Do not clobber R0.
8322
329c6fec
IL
83232018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8324
8325 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8326 Use symbolic offsets for stack variables.
8327
0fb7afa2
IL
83282018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8329
8330 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8331 Use symbolic offsets for stack variables.
8332
6954059a
IL
83332018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8334
8335 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8336 Use symbolic offsets for stack variables.
8337
c7099673
IL
83382018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8339
8340 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8341 Use symbolic offsets for stack variables.
8342
2813e41e
JM
83432018-08-09 Joseph Myers <joseph@codesourcery.com>
8344
8345 * math/gen-libm-test.py: New file.
8346 * math/gen-libm-test.pl: Remove.
8347 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8348 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8349 gen-libm-test.pl.
8350 ($(libm-test-c-noauto-obj)): Likewise.
8351 ($(libm-test-c-auto-obj)): Likewise.
8352 ($(libm-test-c-narrow-obj)): Likewise.
8353 (regen-ulps): Likewise.
8354 * math/README.libm-test: Update references to gen-libm-test.pl.
8355 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8356 referencing gen-libm-test.pl.
8357 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8358 * math/libm-test-support.c: Likewise.
8359 * math/libm-test-support.h: Likewise.
8360 * sysdeps/generic/libm-test-ulps: Likewise.
8361
be64b194
SP
83622018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8363
8364 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8365 Fix value.
8366
140137fb
JM
83672018-08-08 Joseph Myers <joseph@codesourcery.com>
8368
8369 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8370 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8371
b5403eca
ST
83722018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8373
8374 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8375 symbols.
8ac0f9e6
ST
8376 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8377 __pthread_setspecific): Add hidden proto.
8378 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8379 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 8380
014efdd7
SP
83812018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8382
8383 * benchtests/bench-string.h (buf1_size, buf2_size): New
8384 variables.
8385 (init_sizes): New function.
8386 (test_init): Use it.
8387 (alloc_buf, exit_error): New functions.
8388 (alloc_bufs): Use ALLOC_BUF.
8389 (realloc_bufs): Remove.
8390 * benchtests/bench-memcmp.c (do_test): Adjust.
8391 * benchtests/bench-memset-large.c (do_test): Likewise.
8392 * benchtests/bench-memset-walk.c (do_test): Likewise.
8393 * benchtests/bench-memset.c (do_test): Likewise.
8394 * benchtests/bench-strncmp.c (do_test): Likewise.
8395
92a4cba7
AS
83962018-08-06 Andreas Schwab <schwab@suse.de>
8397
8398 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8399 of CONST_THREAD_AREA.
8400
fb4c32ae
L
84012018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8402
8403 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8404 (STATE_SAVE_MASK): Likewise.
8405 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8406 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8407 (STATE_SAVE_MASK): Likewise.
8408 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8409 instead of <cpu-features.h>.
8410
bf418187
DD
84112018-08-03 DJ Delorie <dj@redhat.com>
8412
8413 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 8414 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 8415
bb17621a
DD
8416 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8417
ea705eb5
JM
84182018-08-03 Joseph Myers <joseph@codesourcery.com>
8419
8420 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8421 after TEST_* calls.
8422 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8423 * math/libm-test-logb.inc (logb_test_data): Likewise.
8424
284f42bc
WD
84252018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8426
8427 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8428 * string/strstr.c (AVAILABLE): Likewise.
8429
430388d5
L
84302018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8431
8432 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8433 <init-arch.h>.
8434 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8435 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8436 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8437
c5760aa9
CD
84382018-08-03 Carlos O'Donell <carlos@redhat.com>
8439
8440 * po/be.po: Update translation.
8441
6b535b84
CD
8442 * po/be.po: Update translation.
8443
ae67f2e5
L
84442018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8445
8446 * sysdeps/x86/cpu-features-offsets.sym
8447 (rtld_global_ro_offsetof): Removed.
8448 (CPU_FEATURES_SIZE): Likewise.
8449 (CPUID_OFFSET): Likewise.
8450 (CPUID_SIZE): Likewise.
8451 (CPUID_EAX_OFFSET): Likewise.
8452 (CPUID_EBX_OFFSET): Likewise.
8453 (CPUID_ECX_OFFSET): Likewise.
8454 (CPUID_EDX_OFFSET): Likewise.
8455 (FAMILY_OFFSET): Likewise.
8456 (MODEL_OFFSET): Likewise.
8457 (FEATURE_OFFSET): Likewise.
8458 (FEATURE_SIZ): Likewise.
8459 (COMMON_CPUID_INDEX_1): Likewise.
8460 (COMMON_CPUID_INDEX_7): Likewise.
8461 (FEATURE_INDEX_1): Likewise.
8462 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8463
cfb0ff93 84642018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
8465
8466 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8467 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8468 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8469 (install-locales): Depend on install-locale-archive.
8470 (install-locale-archive): Define.
7b7adbd8 8471 (install-locale-files): Define.
08a5ee14
CD
8472 (build-one-locale): Define macro.
8473 * manual/install.texi (Running make install): Document.
8474 * manual/INSTALL: Regenerate.
8475
525691bd
SP
84762018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8477
d67d634b
SP
8478 * benchtests/scripts/compare_strings.py: Import traceback.
8479 (parse_file): Pretty-print error.
8480
525691bd
SP
8481 * NEWS: Mention the change.
8482 * elf/dl-tunables.list: Rename tune namespace to cpu.
8483 * sysdeps/powerpc/dl-tunables.list: Likewise.
8484 * sysdeps/x86/dl-tunables.list: Likewise.
8485 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8486 cpu.name.
8487 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8488 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8489 * manual/README.tunables: Likewise.
8490 * manual/tunables.texi: Likewise.
8491 * sysdeps/powerpc/cpu-features.c: Likewise.
8492 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8493 (init_cpu_features): Likewise.
8494 * sysdeps/x86/cpu-features.c: Likewise.
8495 * sysdeps/x86/cpu-features.h: Likewise.
8496 * sysdeps/x86/cpu-tunables.c: Likewise.
8497 * sysdeps/x86_64/Makefile: Likewise.
8498 * sysdeps/x86/dl-cet.c: Likewise.
8499
506d7fb1
JM
85002018-08-02 Joseph Myers <joseph@codesourcery.com>
8501
8502 [BZ #23479]
8503 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8504 [__mips_hard_float].
8505 (FE_UNDERFLOW): Likewise.
8506 (FE_OVERFLOW): Likewise.
8507 (FE_DIVBYZERO): Likewise.
8508 (FE_INVALID): Likewise.
8509 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8510 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8511 (FE_UPWARD): Likewise.
8512 (FE_DOWNWARD): Likewise.
8513 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8514 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8515 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8516 [__mips_hard_float].
8517 (FP_ROUNDMODE): Likewise.
8518 (FP_RND_NEAREST): Likewise.
8519 (FP_RND_ZERO): Likewise.
8520 (FP_RND_PINF): Likewise.
8521 (FP_RND_MINF): Likewise.
8522 (FP_EX_INVALID): Likewise.
8523 (FP_EX_OVERFLOW): Likewise.
8524 (FP_EX_UNDERFLOW): Likewise.
8525 (FP_EX_DIVZERO): Likewise.
8526 (FP_EX_INEXACT): Likewise.
8527 (FP_INIT_ROUNDMODE): Likewise.
8528 * sysdeps/mips/nofpu/fesetenv.c: New file.
8529 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8530
f6dcefbe
JM
85312018-08-01 Joseph Myers <joseph@codesourcery.com>
8532
8533 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8534 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8535 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8536 conditional on [FE_UPWARD].
8537
fa67ba06
PE
85382018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8539
8540 regex: fix memory leak in Gnulib
8541 Problem and fix reported by Assaf Gordon in:
8542 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8543 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8544 range_ends members too, as they are defined in 'struct
8545 re_charset_t' even if not _LIBC. This affects only Gnulib.
8546
82c80ac2
L
85472018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8550 ...
8551 (get_common_indices): This.
8552 (init_cpu_features): Updated.
8553
c0e7e2c1
JM
85542018-08-01 Joseph Myers <joseph@codesourcery.com>
8555
46f8cf57
JM
8556 * sysdeps/generic/math-tests-snan-payload.h: New file.
8557 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8558 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8559 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8560 * sysdeps/generic/math-tests.h: Include
8561 <math-tests-snan-payload.h>.
8562 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8563 * sysdeps/hppa/math-tests.h: Remove file.
8564 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8565 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8566 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8567 Likewise.
8568
c0e7e2c1
JM
8569 * sysdeps/generic/math-tests-snan-cast.h: New file.
8570 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8571 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8572 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8573 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8574
74939c83
CD
85752018-08-01 Carlos O'Donel <carlos@redhat.com>
8576
b029723b
CD
8577 * version.h (RELEASE): Set to "development".
8578 (VERSION): Set to "2.28.9000".
8579 * NEWS (2.29): New section.
8580
3c03baca
CD
8581 * version.h (RELEASE): Set to "stable".
8582 (VERSION): Set to "2.28".
8583 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8584 * NEWS: Add the list of bugs fixed in 2.28.
8585
74939c83
CD
8586 * po/ca.po: Update to latest version.
8587 * po/cs.po: Likewise
8588 * po/da.po: Likewise
8589 * po/el.po: Likewise
8590 * po/eo.po: Likewise
8591 * po/es.po: Likewise
8592 * po/fi.po: Likewise
8593 * po/fr.po: Likewise
8594 * po/gl.po: Likewise
8595 * po/hu.po: Likewise
8596 * po/ia.po: Likewise
8597 * po/id.po: Likewise
8598 * po/it.po: Likewise
8599 * po/ja.po: Likewise
8600 * po/ko.po: Likewise
8601 * po/lt.po: Likewise
8602 * po/nb.po: Likewise
8603 * po/nl.po: Likewise
8604 * po/pt_BR.po: Likewise
8605 * po/ru.po: Likewise
8606 * po/rw.po: Likewise
8607 * po/sk.po: Likewise
8608 * po/sl.po: Likewise
8609 * po/tr.po: Likewise
8610 * po/zh_CN.po: Likewise
8611 * po/zh_TW.po: Likewise
8612
d4b54bdf
ST
86132018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8614
8615 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8616 initialization...
8617 (init): ... before initializing libpthread.
8618
42fc12ef
ST
8619 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8620 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8621 (__mach_setup_tls): ... new function.
8622 (mach_setup_tls): New alias.
8623 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8624 __mach_setup_thread.
8625 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8626 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8627 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8628 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8629
6cca855e
CD
86302018-07-31 Carlos O'Donell <carlos@redhat.com>
8631
f650932b
CD
8632 * manual/install.texi: Update versions.
8633 * INSTALL: Regenerate.
8634
6cca855e
CD
8635 * manual/contrib.texi (Contributors): Update contributions.
8636
07fdea47
CD
86372018-07-31 Carlos O'Donell <carlos@redhat.com>
8638
8639 * po/be.po: Update translations.
8640
63d5fad4
AZ
86412018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8642
8643 * sysdeps/sh/libm-test-ulps: Update.
8644
1ff712a6
CD
86452018-07-30 Carlos O'Donell <carlos@redhat.com>
8646
8647 * po/bg.po: Update translations.
8648 * po/de.po: Likewise.
8649 * po/hr.po: Likewise.
8650 * po/pt_BR.po: Likewise.
8651 * po/sv.po: Likewise.
8652 * po/vi.po: Likewise.
8653
98864ed0
L
86542018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8655
8656 [BZ #23467]
8657 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8658 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8659 (CFLAGS-tst-cet-property-1.o): New.
8660 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8661 ($(objpfx)tst-cet-property-2): Likewise.
8662 ($(objpfx)tst-cet-property-2.out): Likewise.
8663 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8664 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8665 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8666 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8667 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8668
c92a00d8
L
86692018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8670
8671 [BZ #23458]
8672 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8673
99bc6241
ST
86742018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8675
8676 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8677 __sbrk): Do not set attribute_hidden.
af86087f 8678 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
8679 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8680 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8681
bcb1c4af
CD
86822018-07-27 Carlos O'Donell <carlos@redhat.com>
8683
8684 * po/uk.po: Update translations.
8685 * po/cs.po: Likewise.
8686 * po/pl.po: Likewise.
8687
4591b7db
L
86882018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8689
8690 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8691 parse beyond the note end.
8692
2c6da2f4
AZ
86932018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8694
8695 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8696 kernel does not support OFD locks.
8697 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8698
20365a31
ST
86992018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8700
8701 * sysdeps/mach/hurd/Versions (libc): Make __access and
8702 __access_noerrno external so they can override the ld symbols.
8703 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8704 __writev, __open64, __access_noerrno extern so they can be overrided.
8705 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8706 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8707
cb1a43db
CD
87082018-07-26 Carlos O'Donell <carlos@redhat.com>
8709
8710 * po/libc.pot: Regenerate.
8711
74759ae5
JM
87122018-07-26 Joseph Myers <joseph@codesourcery.com>
8713
8714 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8715
da80612d
L
87162018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8717
8718 [BZ #23459]
8719 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8720 function.
8721 (init_cpu_features): Call get_extended_indices for both Intel
8722 and AMD CPUs.
8723 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8724 Remove "for AMD" comment.
8725
65d87ade
L
87262018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8727
8728 [BZ # 23456]
8729 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8730 COMMON_CPUID_INDEX_80000001.
8731
c9dc4d51
SL
87322018-07-26 Stefan Liebler <stli@linux.ibm.com>
8733
8734 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8735 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8736
cfba5dbb
FW
87372018-07-26 Florian Weimer <fweimer@redhat.com>
8738
8739 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8740 aliases for symbols not in the implementation namespace.
8741
7cd7d36f
CD
87422018-07-25 Carlos O'Donell <carlos@redhat.com>
8743
8744 [BZ #23393]
8745 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8746 lowercase in LATIN script.
8747 * localedata/Makefile (test-input): Add en_US.UTF-8.
8748 * localedata/en_US.UTF-8.in: New file.
8749 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8750 and restore old tests.
8751 * posix/tst-regexloc.c (do_test): Add back range expression test.
8752
3fb455b3
L
87532018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8754
8755 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8756
d6499b70
AZ
87572018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8758
8759 * nptl/threads.h: Move to ...
8760 * sysdeps/nptl/threads.h: ... here.
8761 * sysdeps/hurd/stdc-predef.h: New file.
8762
08ac6bed
L
87632018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8764
8765 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8766 tst-cet-setcontext-1 if CET is enabled.
8767 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8768 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8769
9faaf938
AZ
87702018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8771
8772 * include/threads.h: Move to ...
8773 * sysdeps/nptl/threads.h: ... here.
8774 * sysdeps/htl/threads.h: New file.
8775 * conform/Makefile (linknamespace-libs-ISO11): Use
8776 static-thread-library instead of linking libpthread.
8777 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8778
d6b8f847
FW
87792018-07-25 Florian Weimer <fweimer@redhat.com>
8780
8781 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8782 nanoseconds into seconds.
8783 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8784 (do_test): Likewise.
8785 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8786 (do_test): Likewise. Avoid nanosecond overflow and spurious
8787 timeouts due to system load.
8788 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8789 (child_wait): Increment it.
8790 (do_test): Wait as long as necessary until all expected threads
8791 have arrived.
8792
25123a1c
L
87932018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8794 H.J. Lu <hongjiu.lu@intel.com>
8795
8796 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8797 __ssp.
8798 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8799 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8800 (__push___start_context): New.
8801 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8802 <asm/prctl.h>.
8803 (__getcontext): Record the current shadow stack base. Save the
8804 caller's shadow stack pointer and base.
8805 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8806 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8807 (__push___start_context): New prototype.
8808 (__makecontext): Call __push___start_context to allocate a new
8809 shadow stack, push __start_context onto the new stack as well
8810 as the new shadow stack.
8811 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8812 <asm/prctl.h>.
8813 (__setcontext): Restore the target shadow stack.
8814 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8815 <asm/prctl.h>.
8816 (__swapcontext): Record the current shadow stack base. Save
8817 the caller's shadow stack pointer and base. Restore the target
8818 shadow stack.
8819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8820 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8821 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8822
375a4844
L
88232018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8824
8825 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8826 tst-setcontext8 and tst-setcontext9.
8827 * stdlib/tst-setcontext6.c: New file.
8828 * stdlib/tst-setcontext7.c: Likewise.
8829 * stdlib/tst-setcontext8.c: Likewise.
8830 * stdlib/tst-setcontext9.c: Likewise.
8831
bd4f7903
L
88322018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8833
8834 * stdlib/Makefile ((tests): Add tst-setcontext5.
8835 * stdlib/tst-setcontext5.c: New file.
8836
7e28f203
L
88372018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8838
8839 * stdlib/Makefile (tests): Add tst-setcontext4.
8840 * stdlib/tst-setcontext4.c: New file.
8841
8516ad2d
L
88422018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8843
8844 * stdlib/Makefile (tests): Add tst-swapcontext1.
8845 * stdlib/tst-swapcontext1.c: New test.
8846
fddcd003
L
88472018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8848
8849 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8850 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8851 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8852 and tst-cet-legacy-4c.
8853 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8854 and tst-cet-legacy-mod-4.
8855 (CFLAGS-tst-cet-legacy-2.c): New.
8856 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8857 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8858 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8859 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8860 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8861 ($(objpfx)tst-cet-legacy-1): Likewise.
8862 ($(objpfx)tst-cet-legacy-2): Likewise.
8863 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8864 ($(objpfx)tst-cet-legacy-2a): Likewise.
8865 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8866 ($(objpfx)tst-cet-legacy-4): Likewise.
8867 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8868 ($(objpfx)tst-cet-legacy-4a): Likewise.
8869 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8870 (tst-cet-legacy-4a-ENV): Likewise.
8871 ($(objpfx)tst-cet-legacy-4b): Likewise.
8872 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8873 (tst-cet-legacy-4b-ENV): Likewise.
8874 ($(objpfx)tst-cet-legacy-4c): Likewise.
8875 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8876 (tst-cet-legacy-4c-ENV): Likewise.
8877 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8878 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8879 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8880 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8881 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8882 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8883 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8884 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8885 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8886 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8887 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8888
9aa3113a
L
88892018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8890
8891 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8892 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8893 with ssp_base.
8894 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8895 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8896 with ssp_base.
8897
9c79cec8
AS
88982018-07-25 Andreas Schwab <schwab@suse.de>
8899
8900 [BZ #23442]
8901 * locale/weightwc.h (findidx): Handle the case where usrc is a
8902 prefix of cp but one character too short.
8903
969c3355
AZ
89042018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8905
8906 * NEWS: Add ISO C threads addition.
8907
e0f9c462
FW
89082018-07-24 Florian Weimer <fweimer@redhat.com>
8909
8910 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8911 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8912 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8913 4.13.
8914
394df381
L
89152018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8916
8917 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8918 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8919 <sys/prctl.h> and <asm/prctl.h>.
8920 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8921 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8922 and <asm/prctl.h>.
8923 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8924 ARCH_CET_LEGACY_BITMAP.
8925 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8926 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8927 * sysdeps/x86/libc-start.c: Include <startup.h>.
8928
46545530
FW
89292018-07-24 Florian Weimer <fweimer@redhat.com>
8930
8931 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8932 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8933
9d0a979e
RJ
89342018-07-24 Rical Jasan <rj@2c3t.io>
8935 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
8936 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8937
8938 [BZ #14092]
9d0a979e
RJ
8939 * manual/debug.texi: Update adjacent chapter name.
8940 * manual/probes.texi: Likewise.
8941 * manual/threads.texi (ISO C Threads): New section.
8942 (POSIX Threads): Convert to a section.
8943
89442018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8945 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8946
8947 [BZ# 14092]
0a07288b
AZ
8948 * nptl/Makefile (tests): Add new test files.
8949 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8950 * nptl/tst-cnd-basic.c: Likewise.
8951 * nptl/tst-cnd-broadcast.c: Likewise.
8952 * nptl/tst-cnd-timedwait.c: Likewise.
8953 * nptl/tst-mtx-basic.c: Likewise.
8954 * nptl/tst-mtx-recursive.c: Likewise.
8955 * nptl/tst-mtx-timedlock.c: Likewise.
8956 * nptl/tst-mtx-trylock.c: Likewise.
8957 * nptl/tst-thrd-basic.c: Likewise.
8958 * nptl/tst-thrd-detach.c: Likewise.
8959 * nptl/tst-thrd-sleep.c: Likewise.
8960 * nptl/tst-tss-basic.c: Likewise.
8961
ce7528f6
AZ
89622018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8963
c6dd669b
AZ
8964 [BZ #14092]
8965 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8966 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8967 symbols.
8968 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8969 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8970 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8971 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8972 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8973 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8974 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8975 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8976 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8977 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8978 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8979 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8981 Likewise.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8983 Likewise.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8985 Likewise.
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8987 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8988 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8989 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8990 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8991 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8992 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8993 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8994 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8995 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8996 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8997 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8998 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8999 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9000 Likewise.
9001 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9002 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9003 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9004 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9005 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9006 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9007 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9008 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9009 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9010 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9011 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9012 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9013 ikewise.
9014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9016 Likewise.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9018 Likewise.
9019 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9020 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9021 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9022 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9023 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9024 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9025 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9026 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9027
78d40132
AZ
9028 [BZ #14092]
9029 * conform/data/threads.h-data (thread_local): New macro.
9030 (TSS_DTOR_ITERATIONS): Likewise.
9031 (tss_t): New type.
9032 (tss_dtor_t): Likewise.
9033 (tss_create): New function.
9034 (tss_get): Likewise.
9035 (tss_set): Likewise.
9036 (tss_delete): Likewise.
9037 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9038 tss_get, and tss_set objects.
9039 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9040 * nptl/tss_create.c: New file.
9041 * nptl/tss_delete.c: Likewise.
9042 * nptl/tss_get.c: Likewise.
9043 * nptl/tss_set.c: Likewise.
9044 * sysdeps/nptl/threads.h (thread_local): New define.
9045 (TSS_DTOR_ITERATIONS): Likewise.
9046 (tss_t): New typedef.
9047 (tss_dtor_t): Likewise.
9048 (tss_create): New prototype.
9049 (tss_get): Likewise.
9050 (tss_set): Likewise.
9051 (tss_delete): Likewise.
9052
918311a3
AZ
9053 [BZ #14092]
9054 * conform/data/threads.h-data (cnd_t): New type.
9055 (cnd_init): New function.
9056 (cnd_signal): Likewise.
9057 (cnd_broadcast): Likewise.
9058 (cnd_wait): Likewise.
9059 (cnd_timedwait): Likewise.
9060 (cnd_destroy): Likewise.
9061 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9062 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9063 object.
9064 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9065 * nptl/cnd_broadcast.c: New file.
9066 * nptl/cnd_destroy.c: Likewise.
9067 * nptl/cnd_init.c: Likewise.
9068 * nptl/cnd_signal.c: Likewise.
9069 * nptl/cnd_timedwait.c: Likewise.
9070 * nptl/cnd_wait.c: Likewise.
9071 * sysdeps/nptl/threads.h (cnd_t): New type.
9072 (cnd_init): New prototype.
9073 (cnd_signa): Likewise.
9074 (cnd_broadcast): Likewise.
9075 (cnd_wait): Likewise.
9076 (cnd_timedwait): Likewise.
9077 (cnd_destroy): Likewise.
9078
3c20a679
AZ
9079 [BZ #14092]
9080 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9081 (once_flag): New type.
9082 (call_once): New function.
9083 * nptl/Makefile (libpthread-routines): Add call_once object.
9084 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9085 * nptl/call_once.c: New file.
9086 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9087 (once_flag): New type.
9088 (call_once): New prototype.
9089
18d59c1b
AZ
9090 [BZ #14092]
9091 * conform/data/threads.h-data (mtx_plain): New constant.
9092 (mtx_recursive): Likewise.
9093 (mtx_timed): Likewise.
9094 (mtx_t): New type.
9095 (mtx_init): New function.
9096 (mtx_lock): Likewise.
9097 (mtx_timedlock): Likewise.
9098 (mtx_trylock): Likewise.
9099 (mtx_unlock): Likewise.
9100 (mtx_destroy): Likewise.
9101 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9102 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9103 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9104 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9105 * nptl/mtx_destroy.c: New file.
9106 * nptl/mtx_init.c: Likewise.
9107 * nptl/mtx_lock.c: Likewise.
9108 * nptl/mtx_timedlock.c: Likewise.
9109 * nptl/mtx_trylock.c: Likewise.
9110 * nptl/mtx_unlock.c: Likewise.
9111 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9112 (mtx_recursive): Likewise.
9113 (mtx_timed): Likewise.
9114 (mtx_t): New type.
9115 (mtx_init): New prototype.
9116 (mtx_lock): Likewise.
9117 (mtx_timedlock): Likewise.
9118 (mtx_trylock): Likewise.
9119 (mtx_unlock): Likewise.
9120 (mtx_destroy): Likewise.
9121
ce7528f6
AZ
9122 [BZ #14092]
9123 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9124 (linknamespace-libs-ISO11): Add libpthread.a.
9125 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9126 functions.
9127 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9128 * nptl/Makefile (headers): Add threads.h.
9129 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9130 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9131 thrd_yield.
9132 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9133 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9134 thrd_join, thrd_sleep, and thrd_yield symbols.
9135 * nptl/descr.h (struct pthread): Add c11 field.
9136 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9137 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9138 routine with expected function prototype.
9139 (__pthread_create_2_1): Add C11 threads check based on attribute
9140 value.
9141 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9142 * nptl/thrd_create.c: New file.
9143 * nptl/thrd_current.c: Likewise.
9144 * nptl/thrd_detach.c: Likewise.
9145 * nptl/thrd_equal.c: Likewise.
9146 * nptl/thrd_exit.c: Likewise.
9147 * nptl/thrd_join.c: Likewise.
9148 * nptl/thrd_priv.h: Likewise.
9149 * nptl/thrd_sleep.c: Likewise.
9150 * nptl/thrd_yield.c: Likewise.
9151 * include/threads.h: Likewise.
9152
e27f41ba
L
91532018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9154
9155 * bits/indirect-return.h: New file.
9156 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9157 * sysdeps/x86/bits/indirect-return.h: Likewise.
9158 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9159 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9160 (swapcontext): Add __INDIRECT_RETURN.
9161 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9162 (prepare_test_buffer): Use it.
9163
21526a50
AS
91642018-07-24 Andreas Schwab <schwab@suse.de>
9165
9166 [BZ #23448]
9167 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9168 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9169
3650e1d9
L
91702018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9171
9172 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9173 Redefine if shadow stack is enabled.
9174 (SYSCALL_ERROR_LABEL): Likewise.
9175 (__vfork): Pop shadow stack and jump back to to caller directly
9176 when shadow stack is in use.
9177 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9178 Redefine if shadow stack is enabled.
9179 (SYSCALL_ERROR_LABEL): Likewise.
9180 (__vfork): Pop shadow stack and jump back to to caller directly
9181 when shadow stack is in use.
9182
ca027e0f
L
91832018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9184
9185 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9186 enabled.
9187 (foo): Likewise.
9188 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9189 (foo): Likewise.
9190
b99f1c95
JM
91912018-07-20 Joseph Myers <joseph@codesourcery.com>
9192
9193 * scripts/build-many-glibcs.py (Context.checkout): Default
9194 binutils version to 2.31 branch.
9195
c8fabb84
ZL
91962018-07-20 Zong Li <zong@andestech.com>
9197
9198 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9199 URL of gcc's tarball.
9200
786658a0
FW
92012018-07-20 Florian Weimer <fweimer@redhat.com>
9202
9203 [BZ #23396]
9204 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9205 not compare an extra byte after the end of the weights.
9206
46f2474e
ST
92072018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9208
9209 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9210 to 1.
8ba1520e
ST
9211 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9212 hidden prototypes.
9213 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9214 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
9215 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9216 list of libraries whose stack executability is expected.
9217 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9218 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9219 variable.
9220 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9221 libc.so libpthread.so.
46f2474e 9222
60088242
TS
92232018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9224
9225 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9226 SOCK_NONBLOCK.
75d5e4a0
TS
9227 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9228 and SOCK_NONBLOCK.
de195be0
TS
9229 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9230 implement __pipe2.
9231 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 9232
1cf4ae7f
LS
92332018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9234
9235 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9236 library to improve command line parsing.
9237 (__main__): make schema file as optional parameter (--schema),
9238 defaulting to benchtests/scripts/benchout.schema.json.
9239 (main): move out of the parsing stuff to __main_  and leave it
9240 only as caller of main comparison functions.
9241
e84bd851
L
92422018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9243
9244 * NEWS: Add a note for Intel CET status.
9245 * manual/install.texi: Likewise.
9246 * INSTALL: Regenerated.
9247
df467d22
QP
92482018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9249
9250 [BZ #23140]
9251 * localedata/locales/oc_FR (mon): Rename to...
9252 (alt_mon): This, then update October (typo fix).
9253 (mon): New content (genitive case, month names preceded by
9254 "de" or "d’").
9255
9256 [BZ #23422]
9257 * localedata/locales/oc_FR (abday): Update all items.
9258 (day): Update Wednesday and Saturday (typo fixes).
9259 (abmon): Update all items, except May.
9260 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9261 (LC_IDENTIFICATION): Bump the revision number and date.
9262 Keep the "category" entries in alphabetic order.
9263 (LC_ADDRESS): Remove no longer needed comment.
9264 (LC_COLLATE): Use “copy "ca_ES"”.
9265 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9266 "name_mrs".
9267
5c112f1b
JM
92682018-07-18 Joseph Myers <joseph@codesourcery.com>
9269
9270 * grp/tst_fgetgrent.c: Include <unistd.h>.
9271 (main): Use mkstemp instead of tmpnam.
9272 * io/test-utime.c (main): Likewise.
9273 * posix/annexc.c (macrofile): Change to modifiable array.
9274 (main): Remove macrofile here.
9275 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9276 macrofile here.
9277 (check_header): Do not remove macrofile here.
9278 * posix/bug-getopt1.c: Include <stdlib.h>.
9279 (do_test): Use mkstemp instead of tmpnam.
9280 * posix/bug-getopt2.c: Include <stdlib.h>.
9281 (do_test): Use mkstemp instead of tmpnam.
9282 * posix/bug-getopt3.c: Include <stdlib.h>.
9283 (do_test): Use mkstemp instead of tmpnam.
9284 * posix/bug-getopt4.c: Include <stdlib.h>.
9285 (do_test): Use mkstemp instead of tmpnam.
9286 * posix/bug-getopt5.c: Include <stdlib.h>.
9287 (do_test): Use mkstemp instead of tmpnam.
9288 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9289 (main): Use mkstemp instead of tmpnam.
9290 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9291 (main): Use mkstemp instead of tmpnam.
9292 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9293 (main): use mkstemp instead of tmpnam.
9294 * stdlib/isomac.c (macrofile): Change to modifiable array.
9295 (main): Remove macrofile here.
9296 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9297 macrofile here.
9298 (check_header): Do not remove macrofile here.
9299
6d90776d
L
93002018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9301
9302 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9303 glibc.tune.x86_shstk.
9304
e6c69509
L
93052018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9306
9307 * NEWS: Mention --enable-cet.
9308 * manual/install.texi: Document --enable-cet.
9309 * INSTALL: Regenerated.
9310
e2d40a88
L
93112018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9312
9313 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9314 Add _CET_NOTRACK before indirect jump to jump table.
9315
77a8ae09
L
93162018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9317
9318 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9319 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9320 to jump table.
9321
90d15dc5
L
93222018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9323
9324 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9325 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9326 to jump table.
9327
f1574581
L
93282018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9329
9330 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9331 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9332 to jump table.
9333
7fb61336
L
93342018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9335
9336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9337 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9338 to jump table.
9339
0a899af0
L
93402018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9341
9342 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9343 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9344 to jump table.
9345 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9346
177824e2
L
93472018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9348
9349 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9350 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9351 to jump table.
9352
00e7b76a
L
93532018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9354
9355 * sysdeps/i386/i686/multiarch/memset-sse2.S
9356 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9357 to jump table.
9358
7e119cd5
L
93592018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9360
9361 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9362 indirect jump to jump table.
9363
03aaf49b
L
93642018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9365
9366 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9367 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9368 to jump table.
9369 (MEMCPY): Likewise.
9370
811e9e52
L
93712018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9372
9373 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9374 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9375 to jump table.
9376 (MEMCPY): Likewise.
9377
8817df42
L
93782018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9379
9380 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9381 _CET_NOTRACK before indirect jump to jump table.
9382
921595d1
L
93832018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9384
9385 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9386 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9387 to jump table.
9388
4ef60d95
L
93892018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9390
9391 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9392 indirect jump to jump table.
9393
61c4aad7
VT
93942018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9395
9396 [BZ #22241]
9397 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9398 (LOCALES): Likewise.
9399 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9400 * localedata/locales/sah_RU: New file.
9401 * localedata/sah_RU.UTF-8.in: New file.
9402
be9ccd27
L
94032018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9404
9405 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9406 "sysdep.h".
9407 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9408 _CET_ENDBR to indirect jump targets and adjust jump destination
9409 for _CET_ENDBR.
9410 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9411 "sysdep.h".
9412 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9413 _CET_ENDBR to indirect jump targets and adjust jump destination
9414 for _CET_ENDBR.
9415 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9416 "sysdep.h".
9417 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9418 _CET_ENDBR to indirect jump targets and adjust jump destination
9419 for _CET_ENDBR.
9420
5efc6777
L
94212018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9422
9423 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9424 _CET_ENDBR.
9425
562837c0
L
94262018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9427
9428 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9429 _CET_ENDBR.
9430 (_dl_tlsdesc_undefweak): Likewise.
9431 (_dl_tlsdesc_dynamic): Likewise.
9432 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9433 (_dl_tlsdesc_resolve_rel): Likewise.
9434 (_dl_tlsdesc_resolve_rela): Likewise.
9435 (_dl_tlsdesc_resolve_hold): Likewise.
9436 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9437 (_dl_tlsdesc_undefweak): Likewise.
9438 (_dl_tlsdesc_dynamic): Likewise.
9439 (_dl_tlsdesc_resolve_rela): Likewise.
9440 (_dl_tlsdesc_resolve_hold): Likewise.
9441
124bcde6
L
94422018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9443
9444 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9445 (_fini): Likewise.
9446 * sysdeps/x86_64/crti.S (_init): Likewise.
9447 (_fini): Likewise.
9448
9145f033
RL
94492018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9450
9451 [BZ #23140]
9452 * localedata/locales/os_RU (mon): Rename to...
9453 (alt_mon): This.
9454 (mon): Import from CLDR (genitive case).
9455
ba2ea23d
L
94562018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9457
9458 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9459 cet-tunables.h> when CET is enabled.
9460
f753fa7d
L
94612018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9462
9463 [BZ #21598]
9464 * configure.ac: Add --enable-cet.
9465 * configure: Regenerated.
9466 * elf/Makefille (all-built-dso): Add a comment.
9467 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9468 Include <dl-prop.h>.
9469 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9470 segment.
9471 * elf/dl-open.c: Include <dl-prop.h>.
9472 (dl_open_worker): Call _dl_open_check.
9473 * elf/rtld.c: Include <dl-prop.h>.
9474 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9475 _rtld_main_check.
9476 * sysdeps/generic/dl-prop.h: New file.
9477 * sysdeps/i386/dl-cet.c: Likewise.
9478 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9479 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9480 * sysdeps/x86/cet-tunables.h: Likewise.
9481 * sysdeps/x86/check-cet.awk: Likewise.
9482 * sysdeps/x86/configure: Likewise.
9483 * sysdeps/x86/configure.ac: Likewise.
9484 * sysdeps/x86/dl-cet.c: Likewise.
9485 * sysdeps/x86/dl-procruntime.c: Likewise.
9486 * sysdeps/x86/dl-prop.h: Likewise.
9487 * sysdeps/x86/libc-start.h: Likewise.
9488 * sysdeps/x86/link_map.h: Likewise.
9489 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9490 _CET_ENDBR.
9491 (_dl_runtime_profile): Likewise.
9492 (_dl_runtime_resolve_shstk): New.
9493 (_dl_runtime_profile_shstk): Likewise.
9494 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9495 if CET is enabled.
9496 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9497 (CFLAGS-.os): Likewise.
9498 (CFLAGS-.op): Likewise.
9499 (CFLAGS-.oS): Likewise.
9500 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9501 is enabled.
9502 (tests-special): Add $(objpfx)check-cet.out.
9503 (cet-built-dso): New.
9504 (+$(cet-built-dso:=.note)): Likewise.
9505 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9506 ($(objpfx)check-cet.out): New.
9507 (generated): Add check-cet.out.
9508 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9509 <cet-tunables.h>.
9510 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9511 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9512 (init_cpu_features): Call get_cet_status to check CET status
9513 and update dl_x86_feature_1 with CET status. Call
9514 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9515 (set_x86_shstk). Disable and lock CET in libc.a.
9516 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9517 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9518 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9519 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9520 (_CET_ENDBR): Define if not defined.
9521 (ENTRY): Add _CET_ENDBR.
9522 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9523 x86_shstk.
9524 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9525 _CET_ENDBR.
9526 (_dl_runtime_profile): Likewise.
9527
52b2a80f
RA
95282018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9529
9530 [BZ #21895]
9531 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9532 restore r2 on longjmp.
9533 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9534 test list.
9535 Added rules to build test tst-setjmp-bug21895-static.
9536 Added module setjmp-bug21895 and rules to build a shared object from it.
9537 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9538 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9539
3ae725df
WD
95402018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9541
9542 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9543 * benchtests/bench-strstr.c: Likewise.
9544 * string/memmem.c (FASTSEARCH): Define.
9545 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9546 Add support for FASTSEARCH.
9547 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9548 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9549 (FASTSEARCH): Define.
9550 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9551 * string/test-strstr.c: Likewise.
9552
31e422ca
L
95532018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9554
9555 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9556 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9557
faaee1f0
L
95582018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9559 H.J. Lu <hongjiu.lu@intel.com>
9560
9561 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9562 (__longjmp): Restore shadow stack pointer if shadow stack is
9563 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9564 isn't defined for __longjmp_cancel.
9565 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9566 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9567 and SHADOW_STACK_POINTER_OFFSET is defined.
9568 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9569 (setjmp): Save shadow stack pointer if shadow stack is enabled
9570 and SHADOW_STACK_POINTER_OFFSET is defined.
9571 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9572 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9573 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9574 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9575 <jmp_buf-ssp.h>.
9576 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9577 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9578 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9579 Remove jmp_buf-ssp.sym.
9580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9581 <jmp_buf-ssp.h>.
9582 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9583 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9584 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9585 jmp_buf-ssp.sym.
9586 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9587 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9588 (__longjmp): Restore shadow stack pointer if shadow stack is
9589 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9590 isn't defined for __longjmp_cancel.
9591 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9592 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9593 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9594
ebff9c5c
L
95952018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9596
9597 [BZ #22563]
9598 * nptl/pthread_create.c: Include <tls-setup.h>.
9599 (__pthread_create_2_1): Call tls_setup_tcbhead.
9600 * sysdeps/generic/tls-setup.h: New file.
9601 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9602 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9603 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9604 Likewise.
9605 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9606 to feature_1.
9607 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9608 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9609 (X86_FEATURE_1_SHSTK): Likewise.
9610 (CET_ENABLED): Likewise.
9611 (IBT_ENABLED): Likewise.
9612 (SHSTK_ENABLED): Likewise.
9613
0a83bad2
RL
96142018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9615
9616 [BZ #23208]
9617 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9618 (LOCALES): Likewise.
9619 * localedata/dsb_DE.UTF-8.in: New file.
9620 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9621
046bfed9
FW
96222018-07-12 Florian Weimer <fweimer@redhat.com>
9623
9624 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9625 __mprotect, not mprotect.
9626
93304f5f
FW
96272018-07-11 Florian Weimer <fweimer@redhat.com>
9628
9629 * io/Makefile (headers): Add bits/statx.h.
9630
4beefeeb
MF
96312018-07-10 Mike FABIAN <mfabian@redhat.com>
9632
9633 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9634 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9635 and headers.
9636 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9637 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9638 for utf8_gen.py
9639
fd70af45
FW
96402018-07-10 Florian Weimer <fweimer@redhat.com>
9641
9642 * io/Makefile (routines): Add statx.
9643 (tests-internal): Add tst-statx.
9644 * io/Versions (GLIBC_2.28): Export statx.
9645 * io/bits/statx.h: New file.
9646 * io/sys/stat.h [__USE_GNU]: Include it.
9647 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9648 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9649 Define.
9650 * io/statx.c: New file.
9651 * io/statx_generic.: Likewise.
9652 * io/tst-statx.: Likewise.
9653 * include/bits/statx.h: Likewise.
9654 * sysdeps/unix/sysv/linux/kernel-features.h
9655 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9656 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9657 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9658 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9659 Undefine.
9660 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9661 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9662 * sysdeps/unix/sysv/linux/statx.c: New file.
9663 * manual/filesys.texi: Note that statx is undocumented.
9664 * sysdeps/**/libc*.abilist: Update.
9665
b444e8f7
AZ
96662018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9667
9668 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9669 a kernel issue which lead to test failure in some cases.
9670
7b2f4ced
FW
96712018-07-10 Florian Weimer <fweimer@redhat.com>
9672
9673 [BZ #23036]
9674 * posix/regexec.c (check_node_accept_bytes): When comparing
9675 weights, do not compare an extra byte after the end of the
9676 weights.
9677
4fa34da6
FW
96782018-07-10 Florian Weimer <fweimer@redhat.com>
9679
9680 * libio/readline.c: Fix copyright year.
9681 * libio/tst-readline.c Likewise.
9682 * nss/tst-nss-files-hosts-getent.c: Likewise.
9683
916124ed
FW
96842018-07-06 Florian Weimer <fweimer@redhat.com>
9685
9686 [BZ #18991]
9687 * nss/nss_files/files-XXX.c (internal_getent): Use
9688 __libc_readline_unlocked. Seek back to the start of the line if
9689 parsing failes with ERANGE.
9690 (get_contents_ret, get_contents): Remove.
9691 * nss/tst-nss-files-hosts-getent.c: New file.
9692 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9693 (tst-nss-files-hosts-getent): Link with -ldl.
9694
3f5e3f5d
FW
96952018-07-06 Florian Weimer <fweimer@redhat.com>
9696
9697 * include/stdio.h (__libc_readline_unlocked): Declare.
9698 (__ftello64, __fseeko64): Declare aliases.
9699 * libio/readline.c: New file.
9700 * libio/tst-readline.c: Likewise.
9701 (routines): Add readline.
9702 (tests-internal): Add tst-readlime.
9703 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9704 __libc_readline_unlocked.
9705 * libio/fseeko.c (__fseeko): Rename from fseeko.
9706 (fseeko): Add alias.
9707 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9708 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9709 (fseeko64): Add alias.
9710 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9711 * libio/ftello64.c (__ftello64): Rename from ftello64.
9712 (ftello64): Add alias.
9713
397c54c1
SN
97142018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9715
9716 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9717 HWCAP_ATOMICS.
9718
d0cd7980
SN
97192018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9720
9721 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9722 Use dl_hwcap without masking.
9723 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9724 Remove HWCAP_CPUID.
9725
ddb3c626
FW
97262018-07-06 Florian Weimer <fweimer@redhat.com>
9727
9728 * conform/conformtest.pl (checknamespace): Escape literal braces
9729 in regular expressions.
9730
bce5911b
AP
97312018-07-06 Amit Pawar <amit.pawar@amd.com>
9732
9733 * sysdeps/x86/cpu-features.c (get_common_indeces):
9734 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9735 * sysdeps/x86/cpu-features.c (init_cpu_features):
9736 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9737
3a885c1f
FW
97382018-07-05 Florian Weimer <fweimer@redhat.com>
9739
9740 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9741 protector.
9742 (CFLAGS-elf-init.oS): Likewise.
9743
38cade0c
FW
97442018-07-05 Florian Weimer <fweimer@redhat.com>
9745 Carlos O'Donell <carlos@redhat.com>
9746
9747 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9748 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9749 with stack protector enabled because there is no risk of infinite
9750 recursion.
9751
9449a295
MR
97522018-07-05 Maciej W. Rozycki <macro@mips.com>
9753
9754 [BZ #19818]
9755 [BZ #23307]
9756 * libc-abis (ABSOLUTE): New ABI.
9757 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9758 * NEWS: Mention the new ABI.
9759
d6da5cb6
FW
97602018-07-05 Florian Weimer <fweimer@redhat.com>
9761
9762 [BZ # 17662]
9763 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9764 (RENAME_WHITEOUT): Define.
9765 [__USE_GNU] (renameat2): Declare.
9766 * stdio-common/Makefile (routines): Add renameat2.
9767 (tests): Add tst-renameat2.
9768 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9769 * stdio-common/renameat2.c: New file.
9770 * stdio-common/tst-renameat2.c: Likewise.
9771 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9772 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9773 undocumented.
9774 * sysdeps/unix/sysv/linux/kernel-features.h
9775 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9776 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9777 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9778 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9779 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9780 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9781 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9782 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9783 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9784 * include/stdio.h (__renameat): Add alias for renameat.
9785 * stdio-common/renameat.c (__renameat): Rename from renameat.
9786 Add hidden definition and alias.
9787 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9788 * sysdeps/mach/hurd/renameat.c: Likewise.
9789 * sysdeps/**/libc*.abilist: Add renameat2.
9790
1002d708
AZ
97912018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9792
9793 * posix/bug-regex33.c: Fix build after regex sync.
9794
34fdb893
CD
97952018-07-04 Carlos O'Donell <carlos@redhat.com>
9796
9797 [BZ #23164]
9798 * localedata/tst-langinfo-setlocale.c: New file.
9799 * localedata/tst-langinfo-setlocale-static.c: New file.
9800 * localedata/tst-langinfo-newlocale.c: New file.
9801 * localedata/tst-langinfo-newlocale-static.c: New file.
9802 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9803 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9804 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9805 (tests-static): Remove tst-langinfo-static. Add
9806 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9807 (tests-special): Remove $(objpfx)tst-langinfo.out,
9808 $(objpfx)tst-langinfo-static.out. Add
9809 $(objpfx)tst-langinfo-setlocale.out,
9810 $(objpfx)tst-langinfo-newlocale.out,
9811 $(objpfx)tst-langinfo-setlocale-static.out,
9812 $(objpfx)tst-langinfo-newlocale-static.out.
9813 ($(objpfx)tst-langinfo.out): Remove.
9814 ($(objpfx)tst-langinfo-static.out): Remove.
9815 ($(objpfx)tst-langinfo-newlocale.out): New target.
9816 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9817 (test-xfail-tst-langinfo-newlocale-static): Add.
9818 ($(objpfx)tst-langinfo-setlocale.out): New target.
9819 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9820 * localedata/tst-langinfo.c: Call test_locale.
9821 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9822 data.
9823
f2873d2d
FW
98242018-07-04 Florian Weimer <fweimer@redhat.com>
9825
9826 testrun.sh: Implement --tool=strace, --tool=valgrind
9827 * Makefile (testrun-script): Define variable.
9828 (testrun.sh): Use variable.
9829 * manual/install.texi (Tools for Compilation): make 4.0 or later
9830 is required.
9831 * configure.ac: Check for make 4.0 or later.
9832 * INSTALL: Regenerate.
9833 * configure: Likewise.
9834
eb04c213
AZ
98352018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9836
9837 [BZ #23233]
9838 [BZ #21163]
9839 [BZ #18986]
9840 [BZ #13762]
9841 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9842 * posix/PCRE.tests: Remove invalid test.
9843 * posix/bug-regex28.c: Fix expected values for used syntax.
9844 * posix/bug-regex37.c: New file.
9845 * posix/bug-regex38.c: Likewise.
9846 * posix/regcomp.c: Sync with gnulib.
9847 * posix/regex.c: Likewise.
9848 * posix/regex.h: Likewise.
9849 * posix/regex_internal.c: Likewise.
9850 * posix/regex_internal.h: Likewise.
9851 * posix/regexec.c: Likewise.
9852
b11643c2
MF
98532018-06-26 Mike FABIAN <mfabian@redhat.com>
9854
9855 [BZ #23308]
9856 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9857 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9858 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9859 * localedata/unicode-gen/PropList.txt: likewise.
9860 * localedata/unicode-gen/UnicodeData.txt: likewise.
9861 * localedata/charmaps/UTF-8: Regenerate.
9862 * localedata/locales/i18n_ctype: likewise.
9863 * localedata/locales/tr_TR: likewise.
9864 * localedata/locales/translit_circle: likewise.
9865 * localedata/locales/translit_cjk_compat: likewise.
9866 * localedata/locales/translit_combining: likewise.
9867 * localedata/locales/translit_compat: likewise.
9868 * localedata/locales/translit_font: likewise.
9869 * localedata/locales/translit_fraction: likewise.
9870
5a357506
FW
98712018-07-03 Florian Weimer <fweimer@redhat.com>
9872
9873 [BZ #23363]
9874 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9875 * stdio-common/tst-printf.sh: Adjust expected output.
9876 * LICENSES: Update.
9877
7279af00
AZ
98782018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9879
9880 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9881 symbol.
9882
b7b88cea
GG
98832018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9884
9885 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9886 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9887 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9888 * stdio-common/tst-printfsz-islongdouble.c: New file.
9889 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9891 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9892 [subdir == stdio-common] (tests-internal): Add
9893 test-printf-size-ieee128, and test-printf-size-ibm128.
9894 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9895 (CFLAGS-test-printf-size-ibm128.c): New variables.
9896 [subdir == stdio-common] (tests-special): Add
9897 $(objpfx)test-printf-size-ieee128.out and
9898 $(objpfx)test-printf-size-ibm128.out.
9899 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9900 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9901 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9902 __printf_sizeieee128.
9903 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9904 New file.
9905 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9906 Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9908 Likewise.
9909
2b445206
SN
99102018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9911
9912 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9913 (exp2f_inline): Likewise.
9914 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9915 (__math_uflowf): Likewise.
9916 (__math_may_uflowf): Likewise.
9917 (__math_divzerof): Likewise.
9918 (__math_invalidf): Likewise.
9919 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9920 (__math_oflowf): Likewise.
9921 (__math_uflowf): Likewise.
9922 (__math_may_uflowf): Likewise.
9923 (__math_divzerof): Likewise.
9924 (__math_invalidf): Likewise.
9925
2827ab99
CD
99262018-06-29 DJ Delorie <dj@redhat.com>
9927 Carlos O'Donell <carlos@redhat.com>
9928
9929 [BZ #23329]
9930 * include/libc-symbols.h: Comment the freeres framework.
9931 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9932 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9933 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9934 * dlfcn/dlerror.c: Include libc-symbols.h
9935 (__dlerror_main_freeres): New function.
9936 * dlfcn/dlfreeres.c: New file.
9937 * dlfcn/sdlfreeres.c: New file.
9938 * include/dlfcn.h: Declare __dlerror_main_freeres.
9939 * malloc/set-freeres.c: Declare __libdl_freeres, and
9940 __libpthread_freeres.
9941 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9942 the releavant libraries are loaded.
9943 * malloc/thread-freeres.c: Add comments.
9944 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9945 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9946 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9947 (__free_stacks): Rename to...
9948 (free_stacks): ...this. Mark static.
9949 (queue_stack): Call free_stacks.
9950 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9951 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9952 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9953 ptr_freeres element from struct.
9954 (pthread_functions): Remove .ptr_freeres from struct initializer.
9955 [SHARED] (nptl_freeres): Remove.
9956 * nptl/nptlfreeres.c: New file.
9957 * nptl/pthreadP.h
9958 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9959 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9960 attribute_hidden.
9961 (__free_stacks): Rename to...
9962 (__nptl_stacks_freeres): ...this.
9963 (__shm_directory_freeres): Declare.
9964 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9965 (__nptl_unwind_freeres): ...this.
9966 * resolv/res-close.c: Add comment.
9967 * resolv/resolv_conf.c: Include libc-symbols.h.
9968 * string/strerror_l.c: Include libc-symbols.h.
9969 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9970 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9971 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9972 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9973
37d3d244
RS
99742018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9975
9976 * stdlib/tst-strfmon_l.c: Add tests for long double.
9977
a1e0c5fa
MW
99782018-06-29 Michael Wolf <milupo@sorbzilla.de>
9979
9980 [BZ #23208]
9981 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9982 * localedata/locales/dsb_DE: New file.
9983
2e0c5de6
RL
99842018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9985
9986 [BZ #23140]
9987 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9988 genitive case).
9989 (alt_mon): New entry, import from CLDR (nominative case).
9990
cdb52c71
SL
99912018-06-29 Sylvain Lesage <severo@rednegra.net>
9992
9993 [BZ #22996]
9994 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9995
ce76a5cb
SP
99962018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9997
0aec4c1d
SP
9998 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9999 Use vector registers.
10000
ce76a5cb
SP
10001 * sysdeps/aarch64/multiarch/memmove_falkor.S
10002 (__memcpy_falkor): Use vector registers.
10003
7e8989d0
MS
100042018-06-29 Martin Sebor <msebor@redhat.com>
10005
10006 * manual/stdio.texi (Customizing Printf): Mention interaction
10007 with GCC built-ins.
10008
bac15a72
MR
100092018-06-29 Maciej W. Rozycki <macro@mips.com>
10010
10011 [BZ #23307]
10012 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10013 `st_value' is 0 if `st_shndx' is SHN_ABS.
10014 * elf/tst-absolute-zero.c: New file.
10015 * elf/tst-absolute-zero-lib.c: New file.
10016 * elf/tst-absolute-zero-lib.lds: New file.
10017 * elf/Makefile (tests): Add `tst-absolute-zero'.
10018 (modules-names): Add `tst-absolute-zero-lib'.
10019 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10020 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10021 ($(objpfx)tst-absolute-zero: New dependency.
10022
e69d994a
ZW
100232018-06-29 Zack Weinberg <zackw@panix.com>
10024
10025 * configure.ac: New command-line option --disable-crypt.
10026 Force --disable-nss-crypt when --disable-crypt is given, with a
10027 warning if it was explicitly enabled.
10028 * configure: Regenerate.
10029 * config.make.in: New boolean substitution variable $(build-crypt).
10030 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10031 when $(build-crypt).
10032 * manual/install.texi: Document --disable-crypt.
10033 * INSTALL: Regenerate.
10034
10035 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10036 which is never set.
10037 * conform/Makefile: Only include libcrypt.a in
10038 linknamespace-libs-xsi and linknamespace-libs-XPG4
10039 when $(build-crypt).
10040 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10041 USE_CRYPT to 1 when $(build-crypt).
10042 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10043 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10044 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10045
841785ba
ZW
100462018-06-29 Zack Weinberg <zackw@panix.com>
10047
10048 * crypt/crypt.h, posix/unistd.h: Update comments and
10049 prototypes for crypt and crypt_r.
10050
10051 * manual/crypt.texi (Cryptographic Functions): New initial
10052 exposition.
10053 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10054 (Unpredictable Bytes): Improve initial exposition. Clarify error
10055 behavior of getentropy and getrandom.
10056 * manual/examples/genpass.c: Generate a salt using getentropy
10057 instead of the current time. Use hash $5$ (SHA-2-256).
10058 * manual/examples/testpass.c: Demonstrate validation against
10059 hashes generated with three different one-way functions.
10060
10061 * manual/intro.texi: crypt.texi does not need an overview
10062 anymore.
10063
10064 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10065 * manual/terminal.texi: Consistently refer to "passphrases"
10066 * instead of "passwords", and to the "user database" instead
10067 * of the "password database".
10068 * manual/users.texi: Similarly. Add notes about how actual
10069 passphrase hashes are now stored in the shadow database.
10070 Remove 20-year-old junk todo note.
10071
6ab902e4
ZW
100722018-06-29 Zack Weinberg <zackw@panix.com>
10073
10074 * manual/crypt.texi: Use a normal top-level @node declaration.
10075 Move most of the introductory text to the 'crypt' section.
10076 Move the example programs below the @deftypefun for 'crypt_r'.
10077 Move the 'getpass' section...
10078 * manual/terminal.texi: ...here.
10079
b10a0acc
ZW
100802018-06-29 Zack Weinberg <zackw@panix.com>
10081 Florian Weimer <fweimer@redhat.com>
10082
10083 * posix/unistd.h: Do not declare encrypt.
10084 (_XOPEN_CRYPT): Remove macro definition.
10085 (crypt): Declare only for _USE_MISC.
10086 * stdlib/stdlib.h: Do not declare setkey.
10087 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10088 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10089
10090 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10091 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10092 into compat symbols. Don't define initial_perm if it's not
10093 going to be used.
10094 * crypt/cert.c: Link explicitly with the expected versions for
10095 setkey and encrypt. If they are not available at all, mark
10096 the test as unsupported.
10097
10098 * sunrpc/des_crypt.c: Unconditionally block linkage with
10099 cbc_crypt and ecb_crypt for new binaries.
10100 * sunrpc/des_soft.c: Unconditionally block linkage with
10101 des_setparity for new binaries.
10102
10103 * manual/crypt.texi: Remove the entire "DES Encryption"
10104 section. Also remove the paragraph talking about FIPS 140-2
10105 from the introduction.
10106 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10107 of libgcrypt for "real" encryption, not DES.
10108 * manual/conf.texi (Constants for Sysconf): Mention that
10109 _XOPEN_CRYPT is no longer impelemented.
10110
10111 * conform/data/unistd.h-data: Remove crypt function declaration.
10112
524d796d
FW
101132018-06-29 Florian Weimer <fweimer@redhat.com>
10114
10115 [BZ #23351]
10116 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10117 (disallow_malloc_check): Remove variable.
10118 (__malloc_check_init): Adjust.
10119 (malloc_set_state): Update comment.
10120 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10121 declarations.
10122
339124ab
RL
101232018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10124
10125 [BZ #23140]
10126 * localedata/locales/ast_ES (mon): Rename to...
10127 (alt_mon): This.
10128 (mon): Import from CLDR (genitive case).
10129
c1f86a33
DA
101302018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10131 Jakub Sitnicki <jkbs@redhat.com>
10132
10133 [BZ #21812]
10134 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10135 on NLM_F_DUMP_INTR.
10136
0b11b649
SN
101372018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10138
10139 * manual/llio.texi: Remove spurious space.
10140
c1c2848b
FW
101412018-06-28 Florian Weimer <fweimer@redhat.com>
10142
10143 [BZ #23349]
10144 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10145 _STRUCT_TIMESPEC.
10146
86a0f561
RS
101472018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10148
10149 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10150 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10151 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10152 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10153 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10154 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10155 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10156
780684eb
MR
101572018-06-27 Maciej W. Rozycki <macro@mips.com>
10158
10159 [BZ #23266]
10160 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10161 Copy and null-terminate entries that are not terminated, in
10162 addition to empty ones.
10163
c49e1822
FW
101642018-06-27 Florian Weimer <fweimer@redhat.com>
10165
10166 [BZ #18023]
10167 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10168 (extend_alloca_account): Remove.
10169 * manual/stdio.texi (Variable Arguments Output): Update comment.
10170
a833e627
JM
101712018-06-27 Joseph Myers <joseph@codesourcery.com>
10172
10173 * nptl/sockperf.c: Remove file.
10174
92d6aa85
FW
101752018-06-27 Florian Weimer <fweimer@redhat.com>
10176
10177 [BZ #18023]
10178 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10179 scratch_buffer instead of extend_alloca.
10180
890c2ced
FW
101812018-06-27 Florian Weimer <fweimer@redhat.com>
10182
10183 [BZ #18023]
10184 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10185 scratch_buffer instead of extend_alloca. Update comments.
10186
4272059d
FW
101872018-06-27 Florian Weimer <fweimer@redhat.com>
10188
10189 [BZ #18023]
10190 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10191 instead of extend_alloca.
10192
27f10a09
JM
101932018-06-26 Joseph Myers <joseph@codesourcery.com>
10194
10195 [BZ #13888]
10196 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10197 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10198 /tmp.
10199 * scripts/test-installation.pl: Put temporary files in build
10200 directory, not /tmp.
10201 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10202 (CFLAGS-bug4.c): Likewise.
10203 (CFLAGS-bug5.c): Likewise.
10204 (CFLAGS-test-fseek.c): Likewise.
10205 (CFLAGS-test-popen.c): Likewise.
10206 (CFLAGS-test_rdwr.c): Likewise.
10207 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10208 /tmp.
10209 * stdio-common/bug4.c (main): Likewise.
10210 * stdio-common/bug5.c (main): Likewise.
10211 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10212 * stdio-common/test-popen.c (do_test): Likewise.
10213 * stdio-common/test_rdwr.c (main): Likewise.
10214
05598a09
PF
102152018-06-26 Patsy Franklin <pfrankli@redhat.com>
10216
10217 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10218 (sem_open): Set sem.newsem.pad to zero for valgrind.
10219
06ab719d
AZ
102202018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10221
10222 [BZ #20251]
10223 * NEWS: Mention fcntl64 addition.
10224 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10225 * login/utmp_file.c: Likewise.
10226 * sysdeps/posix/fdopendir.c: Likewise.
10227 * sysdeps/posix/opendir.c: Likewise.
10228 * sysdeps/unix/pt-fcntl.c: Likewise.
10229 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10230 __fcntl64_nocancel_adjusted): New prototype.
10231 (__fcntl_nocancel_adjusted): Remove prototype.
10232 * io/Makefile (routines): Add fcntl64.
10233 (CFLAGS-fcntl64.c): New rule.
10234 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10235 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10236 * io/fcntl.h (fcntl64): Add prototype and redirect if
10237 __USE_FILE_OFFSET64 is defined.
10238 * io/fcntl64.c: New file.
10239 * manual/llio.text: Add a note for which commands fcntl acts a
10240 cancellation point.
10241 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10242 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10243 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10244 New symbols.
10245 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10246 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10247 non-LFS case.
10248 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10249 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10250 to __fcntl64_nocancel.
10251 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10252 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10253 to __fcntl64_nocancel.
10254 * sysdeps/generic/not-cancel.h: Likewise.
10255 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10256 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10257 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10258 (fcntl64): New symbol.
10259 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10260 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10261 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10264 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10265 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10266 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10267 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10268 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10269 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10270 fcntl64): Likewise.
10271 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10272 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10273 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10274 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10275 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10276 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10277 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10278 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10279 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10281 Likewise.
10282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10283 Likewise.
10284 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10285 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10286 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10287
124e0258
FW
102882018-06-26 Florian Weimer <fweimer@redhat.com>
10289
10290 Run thread shutdown functions in an explicit order.
10291 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10292 definition.
10293 (__libc_thread_freeres): Call thread shutdown functions
10294 explicitly.
10295 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10296 * include/string.h (__strerror_thread_freeres): Declare.
10297 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10298 arena_thread_freeres. No longer static. Remove thread shutdown
10299 hook registration.
10300 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10301 Declare.
10302 * resolv/res-close.c (__res_thread_freeres): Renamed from
10303 res_thread_freeres. No longer static. Remove thread shutdown
10304 hook registration.
10305 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10306 * resolv/resolv_conf.c (freeres): Remove incorrect section
10307 attribute and use libc_freeres_fn.
10308 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10309 strerror_thread_freeres. No longer static. Remove thread
10310 shutdown hook registration.
10311 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10312 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10313 shutdown hook registration.
10314 * Makerules (shlib.lds): Do not provide section boundary symbols
10315 for __libc_thread_subfreeres.
10316 * manual/memory.texi (Basic Allocation): Update comment.
10317
935d920e
FW
103182018-06-26 Florian Weimer <fweimer@redhat.com>
10319
10320 Remove always-defined _RPC_THREAD_SAFE_ macro.
10321 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10322 Do not define _RPC_THREAD_SAFE_.
10323 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10324 conditional.
10325 * sunrpc/clnt_perr.c: Likewise.
10326 * sunrpc/clnt_raw.c: Likewise.
10327 * sunrpc/clnt_simp.c: Likewise.
10328 * sunrpc/key_call.c: Likewise.
10329 * sunrpc/rpc_common.c: Likewise.
10330 * sunrpc/rpc_main.c: Likewise.
10331 * sunrpc/rpc_thread.c: Likewise.
10332 * sunrpc/svc.c: Likewise.
10333 * sunrpc/svc_raw.c: Likewise.
10334 * sunrpc/svc_simple.c: Likewise.
10335 * sumrpc/svcauth_des.c: Likewise.
10336
29055464
FW
103372018-06-26 Florian Weimer <fweimer@redhat.com>
10338
10339 * libio/Makefile (tests-internal): Add tst-vtables,
10340 tst-vtables-interposed.
10341 * libio/tst-vtables.c: New file.
10342 * libio/tst-vtables-common.c: Likewise.
10343 * libio/tst-vtables-interposed.c: Likewise.
10344
5c0202af
FW
103452018-06-26 Florian Weimer <fweimer@redhat.com>
10346
10347 * support/support_test_main.c (support_test_main): Only call
10348 setvbuf if not disables.
10349 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10350 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10351
c402355d
FW
103522018-06-26 Florian Weimer <fweimer@redhat.com>
10353
10354 [BZ #23313]
10355 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10356
43b1048a
FW
103572018-06-25 Florian Weimer <fweimer@redhat.com>
10358
10359 [BZ #18023]
10360 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10361 Use struct scratch_buffer instead of extend_alloca.
10362
1599ed4e
FW
103632018-06-25 Florian Weimer <fweimer@redhat.com>
10364
10365 [BZ #18023]
10366 * nss/getent.c (initgroups_keys): Use dynarray instead of
10367 extend_alloca.
10368
a26fe163
FW
103692018-06-25 Florian Weimer <fweimer@redhat.com>
10370
10371 [BZ #18023]
10372 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10373 Use struct scratch_buffer instead of extend_alloca.
10374
90d9d9ce
FW
103752018-06-25 Florian Weimer <fweimer@redhat.com>
10376
10377 [BZ #18023]
10378 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10379 back to malloc directly, without stack allocations.
10380
6b7b2aba
FW
103812018-06-25 Florian Weimer <fweimer@redhat.com>
10382
10383 [BZ #18023]
10384 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10385 of extend_alloca.
10386
2f9f0d18
FW
103872018-06-25 Florian Weimer <fweimer@redhat.com>
10388
10389 [BZ #18023]
10390 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10391 of extend_alloca.
10392 * nscd/hstcache.c (addhstbyX): Likewise.
10393 * nscd/pwdcache.c (addpwbyX): Likewise.
10394 * nscd/servicescache.c (addservbyX): Likewise.
10395
318bad78
FW
103962018-06-25 Florian Weimer <fweimer@redhat.com>
10397
10398 [BZ #18023]
10399 * nscd/connections.c (read_cmdline): New function.
10400 (restart): Use it. Update comment.
10401
189699ab
RL
104022018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10403
10404 [BZ #23140]
10405 * localedata/locales/csb_PL (mon): Rename to...
10406 (alt_mon): This.
10407 (abmon): Rename to...
10408 (ab_alt_mon): This.
10409 (mon): Add with proper genitive forms, copy from Wikipedia.
10410 (abmon): Likewise.
10411
0ea3f13c
RL
104122018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10413
10414 [BZ #19485]
10415 * localedata/locales/csb_PL (mon): Fix typos:
10416 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10417 (yesstr): Add, value is "jo".
10418 (nostr): Add, value is "nié".
10419
d93f4ff1
TMQMF
104202018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10421
10422 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10423 all log1p and significand functions on m680x0.
10424 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10425 of s_significand.c..
10426 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10427 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10428 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10429 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10430 s_log1p.c and include it..
10431
f6299d2a
VC
104322018-06-21 Vincent Chen <vincentc@andestech.com>
10433
10434 * elf/elf.h (R_NDS32_NONE): New define.
10435 (R_NDS32_32_RELA): Likewise.
10436 (R_NDS32_COPY): Likewise.
10437 (R_NDS32_GLOB_DAT): Likewise.
10438 (R_NDS32_JUMP_SLOT): Likewise.
10439 (R_NDS32_RELATIVE): Likewise.
10440 (R_NDS32_TLS_TPOFF): Likewise.
10441 (R_NDS32_TLS_DESC): Likewise.
10442
61ab61c2
MW
104432018-06-21 Mark Wielaard <mark@klomp.org>
10444
10445 * elf/elf.h (R_BPF_MAP_FD): Removed.
10446 (R_BPF_64_64, R_BPF_64_32): New.
10447
f496b28e
FW
104482018-06-21 Florian Weimer <fweimer@redhat.com>
10449
10450 [BZ #23253]
10451 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10452 Renamed from libc_feholdsetround_ctx.
10453 (default_libc_feresetround_ctx): Renamed from
10454 libc_feresetround_ctx.
10455 (default_libc_feholdsetround_noex_ctx): Renamed from
10456 libc_feholdsetround_noex_ctx.
10457 (default_libc_feresetround_noex_ctx): Renamed from
10458 libc_feresetround_noex_ctx.
10459 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10460 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10461 forwardning to the old implementations under the new names.
10462 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10463 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10464 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10465 (libc_feresetround_ctx): Forward to default implements for i386
10466 and MATH_SET_BOTH_ROUNDING_MODES.
10467 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10468 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10469
1760daad
JM
104702018-06-20 Joseph Myers <joseph@codesourcery.com>
10471
99c7adf9
JM
10472 * string/tst-cmp.c: Include <libc-diag.h>.
10473 (strncmp_max): Disable -Wstringop-overflow= around call to
10474 strncmp.
10475 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10476 strncasecmp.
10477
1760daad
JM
10478 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10479 (main): Disable -Wunused-value around call to strpbrk.
10480 * string/bug-strspn1.c: Include <libc-diag.h>.
10481 (main): Disable -Wunused-value around call to strspn.
10482
209ae17c
TMQMF
104832018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10484 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10485
10486 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10487 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10488
badba23c
TMQMF
104892018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10490
5e79e029
TMQMF
10491 * math/Makefile (libm-calls): Move s_significandF to...
10492 (gen-libm-calls): ... here.
10493 * math/s_significand_template.c: New file.
10494 * math/s_significand.c: Removed.
10495 * math/s_significandf.c: Removed.
10496 * math/s_significandl.c: Removed.
10497 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10498 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10499
badba23c
TMQMF
10500 * math/e_exp2_template.c (declare_mgen_finite_alias,
10501 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10502 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10503 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10504
2d1c89a5
FW
105052018-06-20 Florian Weimer <fweimer@redhat.com>
10506
10507 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10508
646c2833
JM
105092018-06-19 Joseph Myers <joseph@codesourcery.com>
10510
10511 [BZ #23280]
10512 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10513 floating-point number to strtod functions rather than possibly
10514 negating result of those functions.
10515 * stdio-common/tst-scanf-round.c: New file.
10516 * stdio-common/Makefile (tests): Add tst-scanf-round.
10517 ($(objpfx)tst-scanf-round): Depend on $(libm).
10518
c77e4dc0
ST
105192018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10520
10521 * sysdeps/mach/hurd/localplt.data: Move to...
10522 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10523 R_386_GLOB_DAT like on Linux i386.
10524
91b2f3e5
JM
105252018-06-18 Joseph Myers <joseph@codesourcery.com>
10526
f2857da7
JM
10527 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10528 (SHM_STAT_ANY): New macro.
10529 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10530 (SHM_STAT_ANY): Likewise.
10531 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10532 (SHM_STAT_ANY): Likewise.
10533 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10534 (SHM_STAT_ANY): Likewise.
10535 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10536 (SHM_STAT_ANY): Likewise.
10537 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10538 (SHM_STAT_ANY): Likewise.
10539 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10540 (SHM_STAT_ANY): Likewise.
10541 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10542 (SHM_STAT_ANY): Likewise.
10543 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10544 (SHM_STAT_ANY): Likewise.
10545 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10546 (SHM_STAT_ANY): Likewise.
10547 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10548 (SHM_STAT_ANY): Likewise.
10549 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10550 (SHM_STAT_ANY): Likewise.
10551
176c7fee
JM
10552 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10553 (SEM_STAT_ANY): New macro.
10554 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10555 (SEM_STAT_ANY): Likewise.
10556 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10557 (SEM_STAT_ANY): Likewise.
10558 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10559 (SEM_STAT_ANY): Likewise.
10560 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10561 (SEM_STAT_ANY): Likewise.
10562 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10563 (SEM_STAT_ANY): Likewise.
10564 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10565 (SEM_STAT_ANY): Likewise.
10566 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10567 (SEM_STAT_ANY): Likewise.
10568 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10569 (SEM_STAT_ANY): Likewise.
10570 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10571 (SEM_STAT_ANY): Likewise.
10572
86bf0019
JM
10573 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10574 (MSG_STAT_ANY): New macro.
10575 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10576 (MSG_STAT_ANY): Likewise.
10577 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10578 (MSG_STAT_ANY): Likewise.
10579 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10580 (MSG_STAT_ANY): Likewise.
10581 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10582 (MSG_STAT_ANY): Likewise.
10583 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10584 (MSG_STAT_ANY): Likewise.
10585 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10586 (MSG_STAT_ANY): Likewise.
10587 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10588 (MSG_STAT_ANY): Likewise.
10589 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10590 (MSG_STAT_ANY): Likewise.
10591 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10592 (MSG_STAT_ANY): Likewise.
10593
91b2f3e5
JM
10594 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10595 (MAP_TYPE): Change value to 0x2b.
10596
3fe8fc79
FW
105972018-06-18 Florian Weimer <fweimer@redhat.com>
10598
10599 [BZ #15722]
10600 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10601 socket with SOCK_CLOEXEC.
10602
809dc95d
JM
106032018-06-18 Joseph Myers <joseph@codesourcery.com>
10604
10605 [BZ #23303]
10606 * sysdeps/powerpc/powerpc64/le/Makefile
10607 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10608 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10609 (gnulib-tests): Also add $(f128-loader-link) for
10610 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10611
298a8b59
ST
106122018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10613
10614 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10615 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10616 of sendfile.
10617 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10618 (sendfile64): New strong alias.
faf7bbc2
ST
10619 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10620 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10621 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
10622 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10623 attribute.
10624 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10625 ___pthread_get_cleanup_stack.
932d05f0 10626 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
10627 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10628 * mach/shortcut.awk: Make syscall stubs include
10629 <mach-shortcuts-hidden.h> and add hidden definition.
10630 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
10631 (__mach_msg): Add hidden prototype.
10632 * mach/msg.c: Include <mach.h>.
10633 (__mach_msg): Add hidden definition.
b0344cf5
ST
10634 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10635 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10636 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10637 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
10638 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10639 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
10640 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10641 prototype and definition.
10642 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10643 hidden target for _hurd_self_sigstate.
298a8b59 10644
b12c1e79
JM
106452018-06-15 Joseph Myers <joseph@codesourcery.com>
10646
10647 [BZ #23007]
10648 * stdlib/tst-strtod-nan-sign-main.c: New file.
10649 * stdlib/tst-strtod-nan-sign.c: Likewise.
10650 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10651 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10652 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10653 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10654 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10655
b0debe14
HB
106562018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10657
10658 [BZ #23007]
10659 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10660 appropriate sign.
10661
14beef75
FW
106622018-06-14 Florian Weimer <fweimer@redhat.com>
10663
10664 [BZ #23290]
10665 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10666 that the result stays within the ISO-8859-1 range.
10667 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10668 characters are defined in IBM273.
10669
c596630b
ST
106702018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10671
10672 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10673 __mach_task_self): Remove attribute_hidden.
10674
35ebb6b0
JM
106752018-06-14 Joseph Myers <joseph@codesourcery.com>
10676
10677 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10678 ignore -Wrestrict for one test.
10679
3c7b9f1f
SE
106802018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10681 Szabolcs Nagy <szabolcs.nagy@arm.com>
10682
10683 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10684
c59ee916
FW
106852018-06-14 Florian Weimer <fweimer@redhat.com>
10686
10687 * scripts/update-abilist.sh: Accept empty list of files to patch.
10688
43b5ff50
ST
106892018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10690
10691 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10692 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
10693 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10694 __libc_read and __libc_write to __read and __write.
c8c6e6d6 10695 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
10696 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10697 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10698 __thread_switch, __evc_wait): Move declarations to...
10699 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10700 attribute_hidden.
06d1a826
ST
10701 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10702 use PLT to call _hurd_self_sigstate.
43b5ff50 10703
fcd6b5ac
JM
107042018-06-13 Joseph Myers <joseph@codesourcery.com>
10705
10706 [BZ #23279]
10707 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10708 MAX_EXP as overflowing.
10709 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10710 overflow flag.
10711 (round_str): Output also whether result overflows in each rounding
10712 mode.
10713 * stdlib/tst-strtod-round-data: Add more tests.
10714 * stdlib/tst-strtod-round-data.h: Regenerated.
10715 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10716 (TEST): Handle extra arguments for overflow flags.
10717 (struct test_overflow): New type.
10718 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10719 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10720 (test_in_one_mode): Take argument with overflow information.
10721 (do_test): Update calls to test_in_one_mode.
10722
35df5a77
CD
107232018-06-12 Carlos O'Donell <carlos@redhat.com>
10724
a745c837
CD
10725 * elf/dl-load (_dl_dst_substitute): Correct comment.
10726 (_dl_dst_count): Likewise.
10727
35df5a77
CD
10728 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10729 lll_futex_timed_wait.
10730
48b12ed5
JM
107312018-06-12 Joseph Myers <joseph@codesourcery.com>
10732
10733 [BZ #23277]
10734 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10735 attribute.
10736 * math/test-nan-const.c: New file.
10737 * math/Makefile (tests): Add test-nan-const.
10738 (CFLAGS-test-nan-const.c): New variable.
10739
cb8f6aff
L
107402018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10741
10742 * benchtests/scripts/compare_strings.py (process_results): Add
10743 funcs argument. Compare only functions which are selected.
10744 (main): Check if base function is among selected functions.
10745 Pass selected functions to process_results.
10746 (__main__): Add -f/--functions argument.
10747
fc2ba803
HZ
107482018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10749 Hongbo Zhang <hongbo.zhang@linaro.org>
10750
10751 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10752 __memcpy_falkor for phecda core.
10753 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10754 __memmove_falkor for phecda core.
10755 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10756 __memset_falkor for phecda core.
10757 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10758 for phecda core.
10759 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10760 macro to identify phecda core.
10761
5aad5f61
CD
107622018-06-12 Carlos O'Donell <carlos@redhat.com>
10763 Andreas Schwab <schwab@suse.de>
10764 Dmitry V. Levin <ldv@altlinux.org>
10765 Florian Weimer <fweimer@redhat.com>
10766
10767 [BZ #23102]
10768 [BZ #21942]
10769 [BZ #18018]
10770 [BZ #23259]
10771 CVE-2011-0536
10772 * elf/dl-dst.h: Remove DL_DST_COUNT.
10773 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10774 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10775 (is_dst): Comment. Support ELF gABI.
10776 (_dl_dst_count): Comment. Simplify and count DSTs.
10777 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10778 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10779 locals.
10780
329ea513
ZW
107812018-06-12 Zack Weinberg <zackw@panix.com>
10782
10783 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10784 * sysdeps/unix/sysv/linux/dl-sysdep.c
10785 Include not-cancel.h. Use __close_nocancel instead of __close,
10786 __open64_nocancel instead of __open, __read_nocancel instead of
10787 __libc_read, and __write_nocancel instead of __libc_write.
10788
10789 * csu/check_fds.c (check_one_fd)
10790 * sysdeps/posix/fdopendir.c (__fdopendir)
10791 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10792 instead of __fcntl and/or __libc_fcntl.
10793
10794 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10795 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10796 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10797 Use __open64_nocancel instead of __open_nocancel.
10798
10799 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10800 hidden_proto declarations to the end and issue them if either
10801 IS_IN(libc) or IS_IN(rtld).
10802 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10803 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10804 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10805 read_nocancel, waitpid_nocancel, write_nocancel.
10806
10807 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10808 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10809 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10810
10811 * nptl/pt-fcntl.c: New file.
10812 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10813 (libpthread-routines): Add pt-fcntl.
10814 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10815 (__libc_fcntl): Remove attribute_hidden.
10816 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10817 __fcntl_nocancel_adjusted, not fcntl_common.
10818 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10819 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10820 to fcntl_nocancel.c.
10821 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10824 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10825
10826 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10827 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10828 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10829 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10830 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10831 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10832 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10833 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10834 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10835 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10836 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10837 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10838 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10839 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10840 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10841 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10842 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10843 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10844 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10845 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10846
10847 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10848 libpthread-routines.
10849 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10850 defines nothing.
10851
10852 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10853 __libc_read, and __write instead of __libc_write. Define
10854 __open64 in addition to __open.
10855
0221ce2a
L
108562018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10857
10858 [BZ #23250]
10859 [BZ #10686]
10860 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10861 to _private_tm[3] and add __glibc_reserved2.
10862 Add _Static_assert of offset of __private_ss == 0x30.
10863 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10864 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10865
e826574c
FW
108662018-06-12 Florian Weimer <fweimer@redhat.com>
10867
10868 x86: Make strncmp usable from rtld.
10869 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10870 __strncmp_ia32 if in libc (and not in rtld).
10871 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10872 strncmp if not in libc (and not to __strncmp_sse2).
10873
c4ad5782
RL
108742018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10875
10876 [BZ #23140]
10877 * localedata/locales/gd_GB (mon): Rename to...
10878 (alt_mon): This.
10879 (mon): Import from CLDR (genitive case).
10880 * localedata/locales/hsb_DE (mon): Rename to...
10881 (alt_mon): This.
10882 (mon): Import from CLDR (genitive case).
10883 * localedata/locales/wa_BE (mon): Rename to...
10884 (alt_mon): This.
10885 (mon): Add, fill with the proper genitive forms, but CLDR data
10886 is incomplete; completed according to the comments in this file.
10887 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10888
10889 * localedata/locales/wa_BE (country_name): Reword
10890 "Beljike" -> "Beldjike".
10891
ca121b11
JM
108922018-06-11 Joseph Myers <joseph@codesourcery.com>
10893
10894 [BZ #23272]
10895 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10896 cases of non-finite arguments.
10897 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10898
2b69fecb
JDA
108992018-06-10 John David Anglin <danglin@gcc.gnu.org>
10900
10901 [BZ #23174]
10902 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10903
283d9851
AZ
109042018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10905
10906 [BZ #23264]
10907 * include/unistd.h (__execvpex): New prototype.
10908 * posix/Makefile (tests): Add tst-spawn4.
10909 (tests-internal): Add tst-spawn4-compat.
10910 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10911 * posix/tst-spawn4-compat.c: New file.
10912 * posix/tst-spawn4.c: Likewise.
10913 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10914 binaries as shell scripts.
10915 * sysdeps/posix/spawni.c (__spawni): Likewise.
10916
67c05796
L
109172018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10918
10919 [BZ #23145]
10920 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10921 ($(all-built-dso:=.dynsym): New target.
10922 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10923 ($(objpfx)check-initfini.out): New target.
10924 (generated): Add check-initfini.out.
10925 * scripts/check-initfini.awk: New file.
10926 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10927 (_fini): Likewise.
10928 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10929 (_fini): Likewise.
10930 * sysdeps/arm/crti.S (_init): Mark as hidden.
10931 (_fini): Likewise.
10932 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10933 (_fini): Likewise.
10934 * sysdeps/i386/crti.S (_init): Mark as hidden.
10935 (_fini): Likewise.
10936 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10937 (_fini): Likewise.
10938 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10939 (_fini): Likewise.
10940 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10941 (_fini): Likewise.
10942 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10943 (_fini): Likewise.
10944 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10945 (_fini): Likewise.
10946 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10947 (_fini): Likewise.
10948 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10949 (_fini): Likewise.
10950 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10951 (_fini): Likewise.
10952 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10953 (_fini): Likewise.
10954 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10955 (_fini): Likewise.
10956 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10957 (_fini): Likewise.
10958 * sysdeps/sh/crti.S (_init): Mark as hidden.
10959 (_fini): Likewise.
10960 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10961 (_fini): Likewise.
10962 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10963 (_fini): Likewise.
10964
1c09524e
TMQMF
109652018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10966
10967 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10968 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10969 and TF redirection to KFtype and KF only when the default
10970 long double type is not the IEEE 128-bit floating point type.
10971
0e0577c9
JM
109722018-06-05 Joseph Myers <joseph@codesourcery.com>
10973
0c1c33b2
JM
10974 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10975 macro.
10976 (HWCAP_USCAT): Likewise.
10977 (HWCAP_ILRCPC): Likewise.
10978 (HWCAP_FLAGM): Likewise.
10979 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10980 Increase to 28.
10981 (_dl_aarch64_cap_flags): Add new flag names.
10982
bef1cbf4
JM
10983 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10984 (MAP_FIXED_NOREPLACE): New macro.
10985 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10986 (MAP_FIXED_NOREPLACE): Likewise.
10987 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10988 (MAP_FIXED_NOREPLACE): Likewise.
10989 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10990 (MAP_FIXED_NOREPLACE): Likewise.
10991 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10992 (MAP_FIXED_NOREPLACE): Likewise.
10993 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10994 (MAP_FIXED_NOREPLACE): Likewise.
10995 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10996 (MAP_FIXED_NOREPLACE): Likewise.
10997 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10998 (MAP_FIXED_NOREPLACE): Likewise.
10999 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11000 (MAP_FIXED_NOREPLACE): Likewise.
11001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11002 (MAP_FIXED_NOREPLACE): Likewise.
11003 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11004 (MAP_FIXED_NOREPLACE): Likewise.
11005 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11006 (MAP_FIXED_NOREPLACE): Likewise.
11007 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11008 (MAP_FIXED_NOREPLACE): Likewise.
11009 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11010 (MAP_FIXED_NOREPLACE): Likewise.
11011 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11012 (MAP_FIXED_NOREPLACE): Likewise.
11013
0e0577c9
JM
11014 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11015 version to 4.17.
11016
ab3a0da0
JM
110172018-06-04 Joseph Myers <joseph@codesourcery.com>
11018
11019 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11020 version to 4.17
11021
d2d9dfb6
ST
110222018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11023
11024 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11025 int.
11026 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11027
a650b05e
LS
110282018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11029
11030 * benchtests/scripts/compare_string.py: (process_results) Catch
11031 exception in non-existent base_func and catch exception in
11032 non-existent attribute.
11033 (parse_file) Catch exception if input file does not exist.
11034
195abbf4
LS
110352018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11036
11037 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11038 options to avoid diff calculation and omit header, respectively.
11039 (main): process --no-diff and --no-header
11040
14570163
LS
110412018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11042 H.J. Lu <hongjiu.lu@intel.com>
11043
11044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11045 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11046 wcsncmp-sse2.
11047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11048 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11049 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11050 and __wcsncmp_sse2.
11051 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11052 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11053 AVX unaligned load is fast and vzeroupper is preferred.
11054 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11055 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11056 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11057 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11058 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11059 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11060 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11061 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11062 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11063 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11064 is undefined.
11065
e02c026f
FW
110662018-06-01 Florian Weimer <fweimer@redhat.com>
11067
11068 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11069 configuring with --disable-multi-arch, building with
11070 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11071 Haswell-era CPU.
11072
d8c19275
FW
110732018-06-01 Florian Weimer <fweimer@redhat.com>
11074
11075 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11076 results from building with “-march=x86-64 -mtune=generic
11077 -mfpmath=sse” and running on a Haswell-era CPU.
11078
0d2163eb
JM
110792018-06-01 Joseph Myers <joseph@codesourcery.com>
11080
11081 [BZ #18473]
11082 * soft-fp/sqrttf2.c: Remove file.
11083 * soft-fp/sqrtdf2.c: Move to ....
11084 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11085 <shlib-compat.h>.
11086 (__sqrtdf2): Make conditional on
11087 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11088 symbol.
11089 * soft-fp/sqrtsf2.c: Move to ....
11090 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11091 <shlib-compat.h>.
11092 (__sqrtsf2): Make conditional on
11093 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11094 symbol.
11095 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11096 (gcc-double-routines): Remove sqrtdf2.
11097 (gcc-quad-routines): Remove sqrttf2.
11098 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11099 Do not filter out sqrtsf2 and sqrtdf2.
11100 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11101 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11102
10450210
FW
111032018-06-01 Florian Weimer <fweimer@redhat.com>
11104
11105 * sysdeps/generic/libcidn.abilist: Remove file.
11106
4e8a6346
FW
111072018-06-01 Florian Weimer <fweimer@redhat.com>
11108
11109 [BZ #23236]
11110 * libio/strfile.h (struct _IO_str_fields): Rename members to
11111 discourage their use and add comment.
11112 (_IO_STR_DYNAMIC): Remove unused macro.
11113 * libio/strops.c (_IO_str_init_static_internal): Do not use
11114 callback pointers. Call malloc and free.
11115 (_IO_str_overflow): Do not use callback pointers. Call malloc
11116 and free.
11117 (enlarge_userbuf): Likewise.
11118 (_IO_str_finish): Call free.
11119 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11120 _allocate_buffer_unused.
11121 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11122 and free.
11123 (enlarge_userbuf): Likewise.
11124 (_IO_wstr_finish): Call free.
11125 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11126 _allocate_buffer_unused, _free_buffer_unused.
11127 * libio/memstream.c (__open_memstream): Likewise.
11128 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11129 * libio/wmemstream.c (open_wmemstream): Likewise.
11130
50d004c9
PP
111312018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11132
11133 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11134 AMD Ryzen 7 1800X.
11135
2c93fce7
RS
111362018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11137
11138 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11139 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11140 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11141 New file.
11142 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11143 Likewise.
11144 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11145
0ce2fa69
FW
111462018-05-29 Florian Weimer <fweimer@redhat.com>
11147
11148 * support/Makefile (libsupport-routines): Add
11149 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11150 xpthread_barrierattr_setpshared.
11151 * support/xpthread_barrierattr_destroy.c: New file.
11152 * support/xpthread_barrierattr_init.c: Likewise.
11153 * support/xpthread_barrierattr_setpshared.c: Likewise.
11154
7f7b5d8d
L
111552018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11156
11157 [BZ #23206]
11158 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11159 _r_debug and update DT_DEBUG for debugger.
11160
e4890300
FW
111612018-05-29 Florian Weimer <fweimer@redhat.com>
11162
11163 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11164 (tst-strtod5i.out): Likewise.
11165
2c753f3e
JM
111662018-05-25 Joseph Myers <joseph@codesourcery.com>
11167
b5453d9f
JM
11168 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11169 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11170 (sparc64-quad-routines): New variable. Moved from ....
11171 [$(subdir) = soft-fp] (sysdep_routines): Add
11172 $(sparc64-quad-routines). Moved from ....
11173 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11174 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11175 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11176 moved from ....
11177 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11178 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11179 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11180 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11181 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11182 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11183 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11184 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11185 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11186 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11187 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11188 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11189 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11190 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11191 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11192 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11193 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11194 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11195 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11196 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11197 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11198 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11199 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11200 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11201 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11202 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11203 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11204 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11205 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11206 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11207 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11208 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11209 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11210 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11211 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11212 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11213 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11214 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11215 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11216 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11217 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11218 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11219 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11220 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11221 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11222 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11223 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11224 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11225 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11226 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11227 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11228 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11229 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11230 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11231 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11232 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11233 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11234 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11235
2c753f3e
JM
11236 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11237 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11238 (sparc32-quad-routines): New variable. Moved from ....
11239 [$(subdir) = soft-fp] (sysdep_routines): Add
11240 $(sparc32-quad-routines). Moved from ....
11241 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11242 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11243 moved from ....
11244 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11245 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11246 * sysdeps/sparc/sparc32/q_add.c: ... here.
11247 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11248 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11249 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11250 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11251 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11252 * sysdeps/sparc/sparc32/q_div.c: ... here.
11253 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11254 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11255 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11256 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11257 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11258 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11259 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11260 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11261 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11262 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11263 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11264 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11265 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11266 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11267 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11268 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11269 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11270 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11271 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11272 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11273 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11274 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11275 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11276 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11277 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11278 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11279 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11280 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11281 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11282 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11283 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11284 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11285 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11286 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11287 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11288 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11289 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11290 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11291 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11292 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11293 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11294 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11295 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11296 * sysdeps/sparc/sparc32/q_util.c: ... here.
11297 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11298 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11299 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11300 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11301
c1dc1e1b
TMQMF
113022018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11303 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11304
11305 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11306 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11307 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11308 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11309
14186e8d
JM
113102018-05-24 Joseph Myers <joseph@codesourcery.com>
11311
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11313 powerpc/soft-fp.
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11315 Likewise.
11316 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11317 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11318
fb0e10b8
GG
113192018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11320
11321 [BZ #23171]
11322 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11323 double version.
11324
1dfeb17e
JM
113252018-05-23 Joseph Myers <joseph@codesourcery.com>
11326
11327 * sysdeps/sh/Implies: Remove sh/soft-fp.
11328 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11329 * sysdeps/sh/sfp-machine.h: ... here.
11330
727b38df
L
113312018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11332
11333 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11334 (__mempcpy_erms): Skip zero length.
11335 (__memmove_erms): Likewise.
11336 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11337 (__memset_erms): Likewise.
11338
2834fb46
JM
113392018-05-23 Joseph Myers <joseph@codesourcery.com>
11340
11341 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11342 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11343 Add functions moved from ....
11344 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11345 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11346 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11347 from ....
11348 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11349 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11350 * sysdeps/alpha/e_sqrtl.c: ... here.
11351 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11352 * sysdeps/alpha/local-soft-fp.h: ... here.
11353 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11354 * sysdeps/alpha/ots_add.c: ... here.
11355 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11356 * sysdeps/alpha/ots_cmp.c: ... here.
11357 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11358 * sysdeps/alpha/ots_cmpe.c: ... here.
11359 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11360 * sysdeps/alpha/ots_cvtqux.c: ... here.
11361 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11362 * sysdeps/alpha/ots_cvtqx.c: ... here.
11363 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11364 * sysdeps/alpha/ots_cvttx.c: ... here.
11365 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11366 * sysdeps/alpha/ots_cvtxq.c: ... here.
11367 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11368 * sysdeps/alpha/ots_cvtxt.c: ... here.
11369 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11370 * sysdeps/alpha/ots_div.c: ... here.
11371 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11372 * sysdeps/alpha/ots_mul.c: ... here.
11373 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11374 * sysdeps/alpha/ots_nintxq.c: ... here.
11375 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11376 * sysdeps/alpha/ots_sub.c: ... here.
11377 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11378 * sysdeps/alpha/sfp-machine.h: ... here.
11379
7f9f1ecb
FW
113802018-05-23 Florian Weimer <fweimer@redhat.com>
11381
11382 [BZ #19728]
11383 [BZ #19729]
11384 [BZ #22247]
11385 CVE-2016-6261
11386 CVE-2016-6263
11387 CVE-2017-14062
11388 Switch to extern IDNA implementation (libidn2).
11389 * libidn: Remove subdirectory.
11390 * LICENSES: Do not mention licensing conditions for the removed
11391 libidn code.
11392 * config.h.in (HAVE_LIBIDN): Remove.
11393 * include/dlfcn.h (__libc_dlopen): Update comment.
11394 * include/idna.h: Remove file.
11395 * inet/Makefile (routines): Add idna.
11396 (tests-static, tests-internal): Add tst-idna_name_classify.
11397 (LOCALES): Generate locales for tests.
11398 (tst-idna_name_classify.out): Depend on generated locales.
11399 * inet/idna_name_classify.c: New file.
11400 * inet/tst-idna_name_classify.c: Likewise.
11401 * inet/net-internal.h (__idna_to_dns_encoding)
11402 (__idna_from_dns_encoding): Declare.
11403 * inet/net-internal.h (enum idna_name_classification): Define.
11404 (__idna_name_classify): Declare.
11405 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11406 __idna_from_dns_encoding.
11407 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11408 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11409 name as a fallback in case of encoding errors.
11410 (getnameinfo): Use DEPRECATED_NI_IDN.
11411 * inet/idna.c: New file.
11412 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11413 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11414 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11415 (modules-names): Add tst-no-libidn2.
11416 (extra-test-objs): Add tst-no-libidn2.os.
11417 (LDFLAGS-tst-no-libidn2.so): Set soname.
11418 (LOCALES): Set, and generate locales.
11419 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11420 (tst-resolv-ai_idn-latin1): Likewise.
11421 (tst-resolv-ai_idn-nolibidn2): Likewise.
11422 (tst-resolv-ai_idn.out): Depend on locales.
11423 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11424 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11425 tst-no-libidn2.so.
11426 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11427 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11428 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11429 * resolv/tst-resolv-ai_idn.c: New file.
11430 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11431 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11432 * resolv/tst-no-libidn2.c: Likewise.
11433 * support/support_format_addrinfo.c (format_ai_flags): Do not
11434 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11435 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11436 (gaih_inet): Call __idna_to_dns_encoding and
11437 __idna_from_dns_encoding, and use the original (punycode) name if
11438 __idna_from_dns_encoding fails due to an encoding error.
11439 (getaddrinfo): Use DEPRECATED_AI_IDN.
11440 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11441 * sysdeps/unix/inet/configure: Remove file.
11442 * sysdeps/unix/inet/configure.ac: Likewise.
11443
5f7b841d
FW
114442018-05-23 Florian Weimer <fweimer@redhat.com>
11445
11446 Implement allocate_once.
11447 * include/allocate_once.h: New file.
11448 * misc/allocate_once.c: Likewise.
11449 * misc/tst-allocate_once.c: Likewise.
11450 * misc/Makefile (routines): Add allocate_once.
11451 (tests-internal): Add tst-allocate_once.
11452 (generated): Add tst-allocate_once.mtrace,
11453 tst-allocate_once-mem.out.
11454 (tests-special): Add tst-allocate_once-mem.out.
11455 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11456 (tst-allocate_once-mem.out): Call mtrace.
11457 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11458
ed983107
L
114592018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11460
11461 [BZ #23196]
11462 * string/test-memcpy.c (do_test1): New function.
11463 (test_main): Call it.
11464
9aaaab7c
AS
114652018-05-23 Andreas Schwab <schwab@suse.de>
11466
11467 [BZ #23196]
11468 CVE-2018-11237
11469 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11470 (L(preloop_large)): Save initial destination pointer in %r11 and
11471 use it instead of %rax after the loop.
11472 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11473
5c5c0dd7
JM
114742018-05-22 Joseph Myers <joseph@codesourcery.com>
11475
8f145c77
JM
11476 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11477 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11478 -I../soft-fp. Moved from ....
11479 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11480 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11481 * sysdeps/aarch64/e_sqrtl.c: ... here.
11482 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11483 * sysdeps/aarch64/sfp-machine.h: ... here.
11484
3d6302a5
JM
11485 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11486 -Wmaybe-uninitialized around access to fq[0].
11487 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11488 Likewise.
11489
5c5c0dd7
JM
11490 [BZ #18471]
11491 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11492 aliases for non-libc case of versioned symbols.
11493 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11494 (llseek): Define as compat symbol if
11495 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11496 with link warning.
11497 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11498 Make into a compat symbol, disabled for minimum symbol version
11499 GLIBC_2.28 and later.
11500 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11501
ed0d6988
FW
115022018-05-22 Florian Weimer <fweimer@redhat.com>
11503
11504 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11505 not add -mpreferred-stack-boundary=4.
11506 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11507 (stack-align-test-flags): Likewise.
11508 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11509 Likewise.
11510 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11511 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11512 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11513 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11514 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11515 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11516 (CFLAGS-tst-align2.c): Likewise.
11517
e28e9b1e
L
115182018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11519
11520 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11521 (index_arch_Prefer_FSRM): Likewise.
11522 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11523 Also check Prefer_FSRM.
11524 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11525 Also return OPTIMIZE (erms) for Prefer_FSRM.
11526
1af30adc
L
115272018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11528
11529 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11530 (index_cpu_FSRM): Likewise.
11531 (reg_FSRM): Likewise.
11532
78274dc8
JM
115332018-05-18 Joseph Myers <joseph@codesourcery.com>
11534
7c67e6e8
JM
11535 * math/gen-tgmath-tests.py: Import sys.
11536 (Tests.__init__): Initialize macros_seen.
11537 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11538 if requested to do so for this macro.
11539 (Tests.add_all_tests): Take argument for macro for which to
11540 generate tests.
11541 (Tests.check_macro_list): New function.
11542 (main): Handle check-list argument and argument specifying macro
11543 for which to generate tests.
11544 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11545 [PYTHON] (tgmath3-macro-tests): Likewise.
11546 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11547 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11548 not test-tgmath3.c.
11549 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11550 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11551 to CFLAGS.
11552 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11553 [PYTHON] ($(foreach
11554 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11555 rule.
11556 [PYTHON] (tests-special): Add
11557 $(objpfx)test-tgmath3-macro-list.out.
11558 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11559
ebc129fd
JM
11560 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11561 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11562 later.
11563
78274dc8
JM
11564 [BZ #22639]
11565 * time/tzset.c (SECSPERDAY): Cast to time_t.
11566 * time/tst-y2039.c: New file.
11567 * time/Makefile (tests): Add tst-y2039.
11568
6f7fdeeb
LS
115692018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11570
11571 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11572 (PREFETCH_ONE_SET): Remove duplicate line.
11573
e363a91c
FW
115742018-05-17 Florian Weimer <fweimer@redhat.com>
11575
11576 * sysdeps/generic/math-type-macros-double.h: Include
11577 <math-nan-payload-double.h> after <libm-alias-double.h>.
11578 * sysdeps/generic/math-type-macros-float.h: Include
11579 <math-nan-payload-float.h> after <libm-alias-float.h>.
11580 * sysdeps/generic/math-type-macros-float128.h: Include
11581 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11582 * sysdeps/generic/math-type-macros-ldouble.h: Include
11583 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11584
dae6c43c
AS
115852018-05-17 Andreas Schwab <schwab@suse.de>
11586
11587 * resolv/res_send.c (__res_context_send): Don't set errno when
11588 returing error after malloc failure.
11589
0068c085
L
115902018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11591
11592 * nptl/allocatestack.c (allocate_stack): Remove the
11593 !__ASSUME_PRIVATE_FUTEX paths.
11594 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11595 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11596 Likewise.
11597 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11598 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11599 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11600 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11601 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11602 !__ASSUME_PRIVATE_FUTEX path.
11603 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11604 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11605 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11606 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11607 !__ASSUME_PRIVATE_FUTEX macros.
11608 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11609 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11610 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11611 * sysdeps/unix/sysv/linux/kernel-features.h
11612 (__ASSUME_PRIVATE_FUTEX): Removed.
11613
632a6cbe
JM
116142018-05-17 Joseph Myers <joseph@codesourcery.com>
11615
11616 * math/Makefile (libm-narrow-fns): Add div.
11617 (libm-test-funcs-narrow): Likewise.
11618 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11619 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11620 * math/gen-auto-libm-tests.c (test_functions): Add div.
11621 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11622 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11623 (NARROW_DIV_TRIVIAL): Likewise.
11624 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11625 macro.
11626 (__ddivl): Likewise.
11627 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11628 ddiv.
11629 (CFLAGS-nldbl-ddiv.c): New variable.
11630 (CFLAGS-nldbl-fdiv.c): Likewise.
11631 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11632 __nldbl_ddivl.
11633 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11634 prototype.
11635 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11636 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11637 * math/auto-libm-test-in: Add tests of div.
11638 * math/auto-libm-test-out-narrow-div: New generated file.
11639 * math/libm-test-narrow-div.inc: New file.
11640 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11641 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11642 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11643 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11644 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11645 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11654 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11655 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11656 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11657 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11659 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11660 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11661 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11662 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11663 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11664 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11665 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11666 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11667 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11668 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11676 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11677 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11680 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11684
8c78faa9
AZ
116852018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11686
11687 [BZ #23178]
11688 * nscd/nscd-client.h (sendfileall): Remove prototype.
11689 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11690 (handle_request): Use writeall instead of sendfileall.
11691 * nscd/aicache.c (addhstaiX): Likewise.
11692 * nscd/grpcache.c (cache_addgr): Likewise.
11693 * nscd/hstcache.c (cache_addhst): Likewise.
11694 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11695 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11696 * nscd/pwdcache.c (cache_addpw): Likewise.
11697 * nscd/servicescache.c (cache_addserv): Likewise.
11698 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11699 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11700 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11701 Remove define.
11702
04958880
L
117032018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11704
11705 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11706 Include <string/strncat.c>.
11707 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11708 alias.
11709 (__GI___strncat): New hidden alias.
11710
c9992d13
JM
117112018-05-16 Joseph Myers <joseph@codesourcery.com>
11712
11713 * sysdeps/mips/mips32/libm-test-ulps: Update.
11714 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11715
2afece36
FW
117162018-05-16 Florian Weimer <fweimer@redhat.com>
11717
11718 * support/Makefile (libsupport-routines): Add support_quote_blob,
11719 support_test_compare_blob.
11720 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11721 * support/check.h (TEST_COMPARE_BLOB): Define.
11722 (support_test_compare_blob): Declare.
11723 * support/support.h (support_quote_blob): Declare.
11724 * support/support_quote_blob.c: New file.
11725 * support/support_test_compare_blob.c: Likewise.
11726 * support/tst-support_quote_blob.c: Likewise.
11727 * support/tst-test_compare_blob.c: Likewise.
11728
9761bf4d
FW
117292018-05-16 Florian Weimer <fweimer@redhat.com>
11730
11731 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11732 of <strtod_nan_double.h>.
11733 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11734 instead of SET_MANTISSA.
11735 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11736 of include <strtod_nan_float.h>.
11737 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11738 instead of <strtod_nan_ldouble.h>.
11739 * stdlib/strtod_nan_double.h: Move to ...
11740 * sysdeps/generic/math-nan-payload-double.h: ... here.
11741 (FLOAT): Remove definition.
11742 (SET_MANTISSA): Rename to ...
11743 (SET_NAN_PAYLOAD): ... this.
11744 * stdlib/strtod_nan_float.h: Move to ...
11745 * sysdeps/generic/math-nan-payload-float.h: ... here.
11746 (FLOAT): Remove definition.
11747 (SET_MANTISSA): Rename to ...
11748 (SET_NAN_PAYLOAD): ... this.
11749 * sysdeps/generic/math-type-macros-double.h: Include
11750 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11751 instead of <math-svid-compat.h>.
11752 * sysdeps/generic/math-type-macros-float.h: Include
11753 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11754 instead of <math-svid-compat.h>.
11755 * sysdeps/generic/math-type-macros-float128.h: Include
11756 <math-nan-payload-float128.h>.
11757 * sysdeps/generic/math-type-macros-ldouble.h: Include
11758 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11759 instead of <math-svid-compat.h>.
11760 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11761 check for definition.
11762 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11763 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11764 Include <ieee754_float128.h>.
11765 (FLOAT): Remove definition.
11766 (SET_MANTISSA): Rename to ...
11767 (SET_NAN_PAYLOAD): ... this.
11768 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11769 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11770 Do not include <float128_private.h>.
11771 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11773 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11774 (FLOAT): Remove definition.
11775 (SET_MANTISSA): Rename to ...
11776 (SET_NAN_PAYLOAD): ... this.
11777 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11778 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11779 (FLOAT): Remove definition.
11780 (SET_MANTISSA): Rename to ...
11781 (SET_NAN_PAYLOAD): ... this.
11782 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11783 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11784 (FLOAT): Remove definition.
11785 (SET_MANTISSA): Rename to ...
11786 (SET_NAN_PAYLOAD): ... this.
11787 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11788 of "../stdlib/strtod_nan_double.h".
11789 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11790 of "../stdlib/strtod_nan_float.h".
11791 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11792 instead of "../stdlib/strtod_nan_ldouble.h".
11793 * manual/arith.texi (Parsing of Floats): Adjust comment.
11794
69a01461
JM
117952018-05-16 Joseph Myers <joseph@codesourcery.com>
11796
11797 * math/Makefile (libm-narrow-fns): Add mul.
11798 (libm-test-funcs-narrow): Likewise.
11799 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11800 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11801 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11802 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11803 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11804 (NARROW_MUL_TRIVIAL): Likewise.
11805 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11806 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11807 macro.
11808 (__dmull): Likewise.
11809 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11810 dmul.
11811 (CFLAGS-nldbl-dmul.c): New variable.
11812 (CFLAGS-nldbl-fmul.c): Likewise.
11813 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11814 __nldbl_dmull.
11815 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11816 prototype.
11817 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11818 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11819 * math/auto-libm-test-in: Add tests of mul.
11820 * math/auto-libm-test-out-narrow-mul: New generated file.
11821 * math/libm-test-narrow-mul.inc: New file.
11822 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11823 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11824 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11825 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11826 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11827 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11828 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11829 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11830 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11831 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11832 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11833 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11834 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11835 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11836 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11837 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11838 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11839 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11841 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11842 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11843 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11844 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11845 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11846 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11847 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11848 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11849 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11850 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11851 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11852 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11853 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11858 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11859 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11860 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11861 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11862 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11863 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11864 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11865 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11866
a15529fd
L
118672018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11868
11869 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11870 with *%eax in call.
11871
98ee36c7
L
118722018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11873
11874 * sysdeps/i386/ldsodefs.h: Removed.
11875 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11876 * sysdeps/x86/ldsodefs.h: This.
11877 (La_i86_regs): New.
11878 (La_i86_retval): Likewise.
11879 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11880 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11881
e322ec32
L
118822018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11883
11884 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11885 unnecessary testl.
11886
0937e209
AM
118872018-05-13 Alan Modra <amodra@gmail.com>
11888
11889 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11890 R_PARISC_TLS_DTPOFF32 reloc addend.
11891
5db7d705
TMQMF
118922018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11893
11894 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11895 * math/math.h: Restrict the prototype definition for the functions
11896 issignaling(_Float128) and iszero(_Float128); and template
11897 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11898 __HAVE_FLOAT128_UNLIKE_LDBL.
11899 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11900 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11901 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11902 __f128() constants; define the type _Float128 as long double;
11903 and reuse long double in __CFLOAT128.
11904
b4d5b8b0
JM
119052018-05-11 Joseph Myers <joseph@codesourcery.com>
11906
11907 * sysdeps/generic/math_private.h: Do not include
11908 <math-barriers.h>.
11909 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11910 <math_private.h>.
11911 * math/fromfp.h: Include <math-barriers.h>.
11912 * math/math-narrow.h: Likewise.
11913 * math/s_nextafter.c: Likewise.
11914 * math/s_nexttowardf.c: Likewise.
11915 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11916 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11917 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11918 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11919 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11920 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11921 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11923 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11924 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11925 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11926 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11927 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11928 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11929 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11930 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11931 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11932 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11933 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11934 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11935 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11936 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11937 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11938 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11939 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11940 * sysdeps/ieee754/k_standardl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11945 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11946 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11948 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11951 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11952 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11953 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11954 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11955 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11957 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11958 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11959 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11960 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11961 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11962 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11963
fc79706a
FW
119642018-05-11 Florian Weimer <fweimer@redhat.com>
11965
11966 Use 64-bit epoch values in the time zone file parser.
11967 * include/time.h (internal_time_t): Define.
11968 (__tzfile_compute): Use it.
11969 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11970 member.
11971 (transitions): Switch to internal_time_t.
11972 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11973 types.
11974 (__tzfile_compute): Use internal_time_t for timer argument. Check
11975 for truncation before calling __offtime.
11976
89aacb51
FW
119772018-05-11 Florian Weimer <fweimer@redhat.com>
11978
11979 [BZ #23166]
11980 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11981 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11982 Likewise.
11983 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11984 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11985 export without --enable-obsolete-rpc.
11986 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11987 symbol. This should not have been exported, ever.
11988
bb066cb8
RL
119892018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11990
11991 [BZ #23152]
11992 * localedata/locales/gd_GB (abmon): Fix typo in May:
11993 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11994
70c97f84
SP
119952018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11996
db725a45
SP
11997 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11998 Use multiple registers to copy data in loop tail.
11999
70c97f84
SP
12000 * sysdeps/aarch64/multiarch/memmove_falkor.S
12001 (__memmove_falkor): Use multiple registers to move data in
12002 loop tail.
12003
8f5b00d3
JM
120042018-05-10 Joseph Myers <joseph@codesourcery.com>
12005
12006 * math/math-underflow.h: New file.
12007 * sysdeps/generic/math_private.h: Do not include <float.h>.
12008 (fabs_tg): Remove macro. Moved to math-underflow.h.
12009 (min_of_type_f): Likewise.
12010 (min_of_type_): Likewise.
12011 (min_of_type_l): Likewise.
12012 (min_of_type_f128): Likewise.
12013 (min_of_type): Likewise.
12014 (math_check_force_underflow): Likewise.
12015 (math_check_force_underflow_nonneg): Likewise.
12016 (math_check_force_underflow_complex): Likewise.
12017 * math/e_exp2_template.c: Include <math-underflow.h>.
12018 * math/k_casinh_template.c: Likewise.
12019 * math/s_catan_template.c: Likewise.
12020 * math/s_catanh_template.c: Likewise.
12021 * math/s_ccosh_template.c: Likewise.
12022 * math/s_cexp_template.c: Likewise.
12023 * math/s_clog10_template.c: Likewise.
12024 * math/s_clog_template.c: Likewise.
12025 * math/s_csin_template.c: Likewise.
12026 * math/s_csinh_template.c: Likewise.
12027 * math/s_csqrt_template.c: Likewise.
12028 * math/s_ctan_template.c: Likewise.
12029 * math/s_ctanh_template.c: Likewise.
12030 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12031 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12032 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12033 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12034 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12035 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12036 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12037 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12038 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12039 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12040 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12041 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12042 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12044 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12048 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12049 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12050 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12051 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12052 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12053 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12056 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12057 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12058 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12059 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12060 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12061 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12062 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12063 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12064 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12065 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12066 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12067 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12068 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12069 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12070 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12071 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12072 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12073 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12074 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12075 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12076 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12077 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12078 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12079 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12080 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12081 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12082 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12083 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12084 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12085 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12087 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12088 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12089 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12091 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12092 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12093 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12094 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12095 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12097 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12098 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12099 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12100 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12101 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12102 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12103 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12104 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12105 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12106 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12107 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12108 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12109 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12110 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12111 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12113 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12114
9ed2e15f
JM
121152018-05-09 Joseph Myers <joseph@codesourcery.com>
12116
12117 * sysdeps/generic/math-barriers.h: New file.
12118 * sysdeps/generic/math_private.h [!math_opt_barrier]
12119 (math_opt_barrier): Move to math-barriers.h.
12120 [!math_opt_barrier] (math_force_eval): Likewise.
12121 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12122 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12123 math-barriers.h.
12124 (math_force_eval): Likewise.
12125 * sysdeps/alpha/fpu/math-barriers.h: New file.
12126 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12127 math-barriers.h.
12128 (math_force_eval): Likewise.
12129 * sysdeps/x86/fpu/math-barriers.h: New file.
12130 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12131 math-barriers.h.
12132 (math_force_eval): Likewise.
12133 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12134 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12135 multiple-include guard for rename.
12136 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12137 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12138 math-barriers.h.
12139 (math_force_eval): Likewise.
12140
5460617d
PP
121412018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12142
12143 [BZ #22786]
43d4f3d5 12144 CVE-2018-11236
5460617d
PP
12145 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12146 computation.
12147 * stdlib/Makefile (test-bz22786): New test.
12148 * stdlib/test-bz22786.c: New test.
12149
aaee3cd8
JM
121502018-05-09 Joseph Myers <joseph@codesourcery.com>
12151
12152 * include/math-narrow-eval.h: New file. Contents moved from ....
12153 * sysdeps/generic/math_private.h: ... here.
12154 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12155 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12156 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12157 * stdlib/strtod_l.c: Likewise.
12158 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12159 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12160 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12161 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12162 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12163 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12164 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12165 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12166 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12167 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12168 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12169 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12170 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12171 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12172 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12173 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12174 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12175 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12176 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12177 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12178 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12179 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12180 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12181 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12182 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12183 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12184 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12185 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12186 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12187
0555c477
AS
121882018-05-08 Andreas Schwab <schwab@suse.de>
12189
12190 * sysdeps/nptl/internaltypes.h: Fix comment.
12191
50d7d351
L
121922018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12193
12194 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12195 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12196 hidden.
12197
543477f7
SP
121982018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12199
12200 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12201 of I into loop header.
12202 * benchtests/bench-memmove-walk.c
12203 (test_main): Likewise.
12204
122052018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
12206
12207 Revert:
12208 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12209 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12210
0065aaaa
PP
122112018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12212
12213 [BZ #20419]
12214 * elf/dl-load.c (open_verify): Fix stack overflow.
12215 * elf/Makefile (tst-big-note): New test.
12216 * elf/tst-big-note-lib.S: New.
12217 * elf/tst-big-note.c: New.
12218
b289cd9d
JM
122192018-05-04 Joseph Myers <joseph@codesourcery.com>
12220
12221 * scripts/abilist.awk: Ignore absolute symbols.
12222 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12223 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12224 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12225 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12226 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12227 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12228 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12229 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12230 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12231 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12232 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12233 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12241 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12246 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12247 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12248 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12249 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12250 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12252 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12253 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12254 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12255 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12256 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12257 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12258 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12259 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12260 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12261 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12262 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12263 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12264 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12265 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12266 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12267 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12268 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12269 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12270 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12271 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12272 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12273 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12274 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12275 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12277 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12278 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12280 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12281 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12282 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12286 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12293 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12294 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12295 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12300 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12301 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12302 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12308 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12309 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12310 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12311 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12312 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12313 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12314 Likewise.
12315 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12316 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12317 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12318 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12319 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12320 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12321 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12322 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12323 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12324 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12328 Likewise.
12329 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12330 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12343 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12344 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12356 Likewise.
12357 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12358 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12359 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12360 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12367 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12368 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12377 Likewise.
12378 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12382 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12383 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12384 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12385 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12386 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12387 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12388 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12389 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12390 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12391 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12392 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12396 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12397 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12398 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12399 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12400 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12401 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12403 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12404 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12405 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12410 Likewise.
12411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12416 Likewise.
12417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12418 Likewise.
12419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12421 Likewise.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12424 Likewise.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12426 Likewise.
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12430 Likewise.
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12432 Likewise.
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12434 Likewise.
12435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12439 Likewise.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12446 Likewise.
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12449 Likewise.
12450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12451 Likewise.
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12453 Likewise.
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12455 Likewise.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12459 Likewise.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12461 Likewise.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12463 Likewise.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12467 Likewise.
12468 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12469 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12470 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12472 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12473 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12474 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12475 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12478 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12481 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12482 Likewise.
12483 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12484 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12489 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12492 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12495 Likewise.
12496 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12503 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12506 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12507 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12511 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12512 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12513 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12519 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12521 Likewise.
12522 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12528 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12529 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12530 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12531 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12533 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12534 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12535 Likewise.
12536 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12537 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12538 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12539 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12540 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12542 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12543 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12544 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12547 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12548 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12552 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12567 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12574
16609018
SL
125752018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12576
12577 [BZ #23137]
12578 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12579 Use atomic_load_acquire to load __tid.
12580
556f5c46
L
125812018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12582
12583 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12584 Restore the pointer into %rdx, after syscall and use %rdx,
12585 instead of %rsi, to restore context.
12586
8b8f32b2
L
125872018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12588
12589 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12590 Pop the pointer into %rdx after syscall and use %rdx, instead
12591 of %rsi, to restore context.
12592
d6cc1829
L
125932018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12594
12595 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12596 handlers after setjmp.
12597 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12598 defined.
12599 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12600 <libc-pointer-arith.h>.
12601 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12602 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12603 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12604 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12605 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12606 * sysdeps/x86/__longjmp_cancel.S: New file.
12607 * sysdeps/x86/longjmp.c: Likewise.
12608 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12609
cf2478d5
AZ
126102018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12611
12612 * NEWS: Add ustat.h deprecation entry.
12613 * bits/ustat.h: Remove file.
12614 * misc/sys/ustat.h: Likewise.
12615 * misc/ustat.h: Likewise.
12616 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12617 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12618 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12619 compatibility mode.
12620 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12621 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12622 generic Linux implementation.
12623
dc115e1c
TMQMF
126242018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12625
12626 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12627 * math/w_expl_compat.c: Likewise.
12628 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12629
340d9652
RN
126302018-04-30 Raymond Nicholson <rain1@airmail.cc>
12631
12632 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12633
c57bf7c1
AZ
126342018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12635
12636 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12637 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12638 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12639 Remove.
12640 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12642 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12643 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12644 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12645 and SYSCALL_LL64.
12646
06135c33
TMQMF
126472018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12648
33927914
TMQMF
12649 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12650
06135c33
TMQMF
12651 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12652 * math/w_asin_template.c: Likewise.
12653 * math/w_atanh_template.c: Likewise.
12654
3a33b069
GG
126552018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12656
12657 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12658 to powerpc/powerpc64/be for big-endian.
12659 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12660 little-endian.
12661
12662 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12663 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12664 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12665 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12666 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12667 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12668 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12669 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12670 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12671 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12672 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12673 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12674 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12675 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12676 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12677 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12678 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12679 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12680 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12681 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12682 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12683 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12684 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12685 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12686 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12687 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12688 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12689 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12690 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12691 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12692 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12693 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12694
12695 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12696 adjusted to imply powerpc64 and older processors on powerpc64/be.
12697 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12698 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12699 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12700 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12701 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12702 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12703 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12704 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12705 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12706 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12707 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12708 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12709 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12710 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12711 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12712 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12713 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12714 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12715 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12716 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12717 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12718 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12719 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12720 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12721 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12722 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12723 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12724 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12725 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12726 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12727 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12728
12729 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12730 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12731 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12732 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12733
12734 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12735 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12736 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12737 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12738
12739 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12740 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12741 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12742 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12743 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12744 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12745 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12746 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12747 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12748 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12749 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12750
12751 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12752 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12753 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12754 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12755 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12756 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12757 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12758 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12759 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12760 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12761 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12762
12763 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12764 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12765 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12766 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12767 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12768 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12769 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12770 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12771 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12772 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12773 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12774 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12775
12776 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12777 and adjusted to imply olders processors.
12778 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12779 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12780 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12781 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12782 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12783 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12784 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12785 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12786 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12787 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12788 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12789
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12791 powerpc64/le.
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12794
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12796 powerpc64le.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12799
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12801 powerpc64/be.
12802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12805
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12807 powerpc64 and adjusted.
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12811 Likewise.
12812
a3fb6b6b
JM
128132018-04-27 Joseph Myers <joseph@codesourcery.com>
12814
12815 * sysdeps/tile: Remove.
12816 * sysdeps/unix/sysv/linux/tile: Likewise.
12817 * README (tilegx-*-linux-gnu): Remove from list of supported
12818 configurations.
12819 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12820 contribution of support for generic Linux kernel syscall
12821 interface.
12822 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12823 tilegx configurations.
12824 (Config.install_linux_headers): Do not handle tile.
12825 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12826 in comment.
12827 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12828 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12829 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12830 conditional undefine and redefine.
12831 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12832 in comment.
12833 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12834 conditional undefine and redefine.
12835
7a6f7478
AJ
128362018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12837
12838 * signal/tst-sigaction.c: New file to test BZ #23069.
12839 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12840
81b49e96
TMQMF
128412018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12842
12843 [BZ #22766]
12844 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12845 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12846 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12847 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12848
7d80f48e
AZ
128492018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12850
12851 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12852 _DIRENT_MATCHES_DIRENT64 is not defined.
12853 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12854 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12855 is defined.
12856 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12857 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12858
42a2bf58
JM
128592018-04-25 Joseph Myers <joseph@codesourcery.com>
12860
12861 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12862 version to GCC 8 branch.
12863
9320ca88
JM
128642018-04-24 Joseph Myers <joseph@codesourcery.com>
12865
5e14bb97
JM
12866 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12867 (check_no_hidden): Use type of original function when declaring
12868 alias.
12869
9320ca88
JM
12870 * sysdeps/unix/sysv/linux/sys/ptrace.h
12871 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12872 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12873 (struct __ptrace_seccomp_metadata): New type.
12874 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12875 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12876 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12877 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12878 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12879 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12881 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12883 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12884 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12885 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12886 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12887 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12888 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12889 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12890
af7e376b
AZ
128912018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12892
12893 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12894 defined.
12895 * dirent/versionsort.c (versionsort): Likewise.
12896 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12897 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12898 * dirent/versionsort64.c (versionsort64): Likewise.
12899 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12900 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12901 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12902 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12903 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12904 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12905 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12906 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12907 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12908 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12911 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12912 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12913
da5e0361
JM
129142018-04-23 Joseph Myers <joseph@codesourcery.com>
12915
12916 * elf/elf.h (NT_PPC_PKEY): New macro.
12917
ea76691a
DSN
129182018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12919
12920 [BZ #23094]
12921 * localedata/locales/hr_HR: fix thousands_sep and
12922 mon_thousands_sep
12923
573963e3
JM
129242018-04-20 Joseph Myers <joseph@codesourcery.com>
12925
12926 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12927 (XTABS): Define to TAB3.
12928
c0123b3b
AZ
129292018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12930
0900a849
AZ
12931 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12932
c0123b3b
AZ
12933 * dirent/scandir-tail-common.c: New file.
12934 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12935 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12936 * dirent/scandir.c: Use scandir-tail-common.c.
12937 * dirent/scandirat.c: Likewise.
12938 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12939 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12940 if _DIRENT_MATCHES_DIRENT64 is defined.
12941 * dirent/scandirat64.c (scandirat64): Likewise.
12942 * include/dirent.h (__scandir_tail): Only define iff
12943 _DIRENT_MATCHES_DIRENT64 is not defined.
12944 (__scandir64_tail): Define regardless.
12945 (__scandirat, scandirat64): Remove libc_hidden_proto.
12946 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12947 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12949 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12950 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12951 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12952 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12953
458b94f6
JM
129542018-04-20 Joseph Myers <joseph@codesourcery.com>
12955
12956 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12957 New macro.
12958 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12959 Increase to 24.
12960 (_dl_aarch64_cap_flags): Add asimdfhm.
12961
9f0437e8
CLT
129622018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12963
12964 * sysdeps/nios2/libm-test-ulps: Update.
12965
298d0e31
AZ
129662018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12967
50511ca4
AZ
12968 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12969 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12970
298d0e31
AZ
12971 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12972 requirements.
12973 (_DIRENT_MATCHES_DIRENT64): Undef
12974 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12975 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12976 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12977 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12978 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12979 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12980 use getdents64 syscalls as base.
12981 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12982 symbol if required.
12983 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12984 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12985 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12986 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12987 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12988 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12989 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12990 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12992 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12993 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12994
0085be14
SL
129952018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12996
12997 * scripts/test_printers_common.py (init_test): Disable lock elision.
12998
da796524
SL
129992018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13000
13001 * math/test-tgmath.c (count_double, count_float,
13002 count_ldouble, count_cdouble, count_cfloat,
13003 count_cldouble): Use volatile int.
13004
0dd25301
ST
130052018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13006
13007 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13008 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 13009 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
13010 i386-gnu.
13011 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13012 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13013 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13014 msqid_ds.msg_lrpid): Likewise.
13015 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13016 Likewise.
13017 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13018 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
13019 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13020 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13021 unsigned int.
13022 (struct statvfs64): Likewise.
f55a4fde
ST
13023 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13024 Likewise.
77b93390
ST
13025 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13026 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13027 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13028 instead of wait_queue.
13029 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13030 instead of vm_area_struct.
5cd2931a
ST
13031 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13032 struct sched_param definition to it.
e60c3f2b
ST
13033 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13034 * bits/types/struct_sched_param.h: New file.
13035 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13036 <bits/types/struct_sched_param.h> instead of <sched.h>.
13037 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
13038 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13039 generic version but include <bits/pthreadtypes.h> to make struct
13040 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
13041 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13042 non-compliant.
a564872d
ST
13043 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13044 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13045 [__USE_XOPEN] (OFDEL): New macro.
13046 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 13047 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
13048 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13049 prototypes.
13050 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13051 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
13052 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13053 non-compliant.
13054 * sysdeps/i386/sys/ucontext.h: Likewise.
13055 * sysdeps/m68k/sys/ucontext.h: Likewise.
13056 * sysdeps/mips/sys/ucontext.h: Likewise.
13057 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
13058 * sysdeps/mach/hurd/i386/Makefile
13059 (test-xfail-POSIX/fcntl.h/conform): Add.
13060 (test-xfail-POSIX/signal.h/conform): Add.
13061 (test-xfail-POSIX/semaphore.h/conform): Add.
13062 (test-xfail-POSIX/regex.h/conform): Add.
13063 (test-xfail-POSIX/aio.h/conform): Add.
13064 (test-xfail-POSIX/mqueue.h/conform): Add.
13065 (test-xfail-POSIX/sys/types.h/conform): Add.
13066 (test-xfail-UNIX98/fcntl.h/conform): Add.
13067 (test-xfail-UNIX98/netdb.h/conform): Add.
13068 (test-xfail-UNIX98/signal.h/conform): Add.
13069 (test-xfail-UNIX98/semaphore.h/conform): Add.
13070 (test-xfail-UNIX98/regex.h/conform): Add.
13071 (test-xfail-UNIX98/aio.h/conform): Add.
13072 (test-xfail-UNIX98/ftw.h/conform): Add.
13073 (test-xfail-UNIX98/mqueue.h/conform): Add.
13074 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13075 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13076 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13077 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13078 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13079 (test-xfail-UNIX98/sys/types.h/conform): Add.
13080 (test-xfail-UNIX98/stdlib.h/conform): Add.
13081 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13082 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13083 (test-xfail-POSIX2008/netdb.h/conform): Add.
13084 (test-xfail-POSIX2008/signal.h/conform): Add.
13085 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13086 (test-xfail-POSIX2008/regex.h/conform): Add.
13087 (test-xfail-POSIX2008/aio.h/conform): Add.
13088 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13089 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13090 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13091 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13092 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13093 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13094 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13095 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13096 (test-xfail-XOPEN2K/signal.h/conform): Add.
13097 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13098 (test-xfail-XOPEN2K/regex.h/conform): Add.
13099 (test-xfail-XOPEN2K/aio.h/conform): Add.
13100 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13101 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13102 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13103 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13104 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13105 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13106 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13107 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13108 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13109 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13110 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13111 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13112 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13113 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13114 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13115 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13116 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13117 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13118 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13119 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13120 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13121 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13122 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13123 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13124 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13125 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
13126 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13127 i386-gnu.
13128 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13129 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 13130
d6397de3
JM
131312018-04-18 Joseph Myers <joseph@codesourcery.com>
13132
13133 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13134 --enable-obsolete for powerpc-linux-gnuspe.
13135
8323a902
ST
131362018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13137
3dc0814c 13138 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 13139 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 13140 prototypes.
c5896a45
ST
13141 * sysdeps/mach/include/mach.h: Likewise.
13142 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13143 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 13144
743b9c2a
AZ
131452018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13146
13147 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13148 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13149 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13150 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13151
326e74e7
AS
131522018-04-16 Andreas Schwab <schwab@suse.de>
13153
13154 [BZ #19527]
13155 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13156
a14d8acd
PM
131572018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13158
13159 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13160 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13161
a700e7cb
DD
131622018-04-12 DJ Delorie <dj@redhat.com>
13163
13164 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13165 version to 4.16.
13166
d8abfab7
SL
131672018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13168
13169 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13170 (struct kernel_sigaction): Use the same definition on 31bit as is used
13171 on 64bit.
13172
583a27d5
FW
131732018-04-09 Florian Weimer <fweimer@redhat.com>
13174
13175 [BZ #23037]
13176 * resolv/res_send.c (send_dg): Use designated initializers instead
13177 of assignment to zero-initialize other fields of struct mmsghdr.
13178
243f59e5
AZ
131792018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13180
942de61a
AZ
13181 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13182 __READDIR_ALIAS): Undefine after usage.
13183 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13184 __READDIR_R_ALIAS): Likewise.
13185 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13186 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13187 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13188 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13189 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13190 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13191 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13192 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13193 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13194 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13195 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13196 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13197 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13198 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13199 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13200 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13201 * sysdeps/unix/sysv/linux/readdir.c: New file.
13202 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13203 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13204 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13205
243f59e5
AZ
13206 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13207
690c3475
AS
132082018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13209
13210 * manual/charset.texi (Converting a Character): Fix typo.
13211
b4a5d26d
AZ
132122018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13213
bbc2062a
AZ
13214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13215
fa7c6199
AZ
13216 * sysdeps/arm/libm-test-ulps: Update.
13217
b4a5d26d
AZ
13218 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13219 as base implementation.
13220 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13221 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13222 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13223 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13224 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13225 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13226 remove unrequired definitions and update comments.
13227 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13228 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13229 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13230 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13231 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13232 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13233 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13234 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13235 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13236 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13237 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13238 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13239 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13240 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13241 and RESET_SA_RESTORER hooks.
13242
db9e55ff
SL
132432018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13244
13245 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13246
cf138b0c
FW
132472018-04-05 Florian Weimer <fweimer@redhat.com>
13248
13249 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13250 integer overflow, memory leak on error, and indeterminate errno
13251 value. Add a null wide character to terminate the result string.
13252 * manual/charset.texi (Converting a Character): Mention embedded
13253 null bytes in the mbrtowc input string. Explain what happens in
13254 the -2 result case. Do not claim that mbrtowc is simple or
13255 obvious to use. Adjust the description of the code example. Use
13256 @code, not @var, for concrete variables.
13257
0f339252
FW
132582018-04-05 Florian Weimer <fweimer@redhat.com>
13259
13260 * manual/examples/mbstouwcs.c: New file.
13261 * manual/charset.texi (Converting a Character): Include it.
13262
e5f9508a
ST
132632018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13264
c120981d
ST
13265 * include/dirent.h (dirfd): Add hidden proto.
13266 * dirent/dirfd.c (dirfd): Add hidden def.
13267 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13268 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 13269
b2fd61ca
TMQMF
132702018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13271
13272 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13273 sin, cos and sincos to 1 ULP.
13274
10a446dd
MR
132752018-04-04 Maciej W. Rozycki <macro@mips.com>
13276
e7feec37
MR
13277 [BZ #19818]
13278 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13279 symbols.
13280 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13281 * elf/tst-absolute-sym.c: New file.
13282 * elf/tst-absolute-sym-lib.c: New file.
13283 * elf/tst-absolute-sym-lib.lds: New file.
13284 * elf/Makefile (tests): Add `tst-absolute-sym'.
13285 (modules-names): Add `tst-absolute-sym-lib'.
13286 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13287 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13288 ($(objpfx)tst-absolute-sym): New dependency.
13289
10a446dd
MR
13290 [BZ #19818]
13291 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13292 parameter.
13293 (SYMBOL_ADDRESS): New macro.
13294 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13295 SYMBOL_ADDRESS for symbol address calculation.
13296 * elf/dl-runtime.c (_dl_fixup): Likewise.
13297 (_dl_profile_fixup): Likewise.
13298 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13299 * elf/rtld.c (dl_main): Likewise.
13300 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13301 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13302 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13303 (elf_machine_rela): Likewise.
13304 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13305 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13306 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13307 (elf_machine_rela): Likewise.
13308 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13309 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13310 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13311 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13312 Likewise.
13313 (elf_machine_reloc): Likewise.
13314 (elf_machine_got_rel): Likewise.
13315 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13316 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13317 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13318 Likewise.
13319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13320 Likewise.
13321 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13322 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13323 Likewise.
13324 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13325 Likewise.
13326 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13328 Likewise.
13329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13330 Likewise.
13331 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13333
9185f86d
ZW
133342018-04-04 Zack Weinberg <zackw@panix.com>
13335
13336 * sysdeps/generic/internal-signals.h: Include signal.h,
13337 sigsetops.h, and stdbool.h.
13338 (__libc_signal_block_all): Actually block all signals.
13339 (__libc_signal_block_app): Likewise.
13340 (__libc_signal_restore_set): Actually restore the signal mask.
13341
b07367bc
FW
133422018-04-04 Florian Weimer <fweimer@redhat.com>
13343
13344 inet: Actually build and run tst-deadline.
13345 * inet/Makefile (tests-internal): Add tst-deadline and do not
13346 overwrite the variable.
13347 (tests-static-internal): Remove variable.
13348
f2652643
L
133492018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13350
13351 [BZ #22947]
13352 * bits/uio-ext.h (RWF_APPEND): New.
13353 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13354 * manual/llio.texi: Document RWF_APPEND.
13355 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13356 (RWF_SUPPORTED): Add RWF_APPEND.
13357
d2dc5467
AZ
133582018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13359
13360 [BZ #22391]
13361 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13362 check for internal nptl signals.
13363 * nptl/sigaction.c (__sigaction): Likewise.
13364 * signal/sigaddset.c (sigaddset): Likewise.
13365 * signal/sigdelset.c (sigdelset): Likewise.
13366 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13367 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13368 value.
13369 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13370 to filter out internal nptl signals.
13371 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13372 also check realtime signals using standard macros.
13373 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13374 __is_internal_signal, __libc_signal_block_all,
13375 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13376 * sysdeps/nptl/sigfillset.c: Remove file.
13377 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13378 Change return to bool.
13379 (__clear_internal_signals): Remove SIGTIMER clean since it is
13380 equal to SIGCANEL on Linux.
13381 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13382 signal set was constructed using standard functions.
13383
511ed56f
ST
133842018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13385
92846492
ST
13386 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13387 ifname is too long.
e8ef51b1
ST
13388 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13389 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
13390 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13391 hidden def.
13392 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
13393 * signal/sigaddset.c: Include <sigsetopts.h>.
13394 * signal/sigdelset.c: Likewise.
511ed56f 13395
e88ecbbf
WD
133962018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13397
13398 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13399 (__cos): Likewise.
13400 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13401 logic as sin and cos.
13402
aef3e255
WD
134032018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13404
13405 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13406 inputs. Return correct sign.
13407 (do_sincos): Remove small input check before do_sin, let do_sin set
13408 the sign.
13409 (__sin): Likewise.
13410 (__cos): Likewise.
13411
72f6e9a3
WD
134122018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13413
13414 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13415 (do_cos_slow): Likewise.
13416 (do_sin_slow): Likewise.
13417 (reduce_and_compute): Likewise.
13418 (slow): Likewise.
13419 (slow1): Likewise.
13420 (slow2): Likewise.
13421 (sloww): Likewise.
13422 (sloww1): Likewise.
13423 (sloww2): Likewise.
13424 (bslow): Likewise.
13425 (bslow1): Likewise.
13426 (bslow2): Likewise.
13427 (cslow2): Likewise.
13428
64909583
WD
134292018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13430
13431 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13432 (do_cos): Remove corp parameter and calculations.
13433 (do_sin): Likewise.
13434 (do_sincos): Remove cor variable.
13435 (__sin): Use do_sincos for huge inputs.
13436 (__cos): Likewise.
13437 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13438 (reduce_and_compute_sincos): Remove unused function.
13439
d9469deb
WD
134402018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13441
13442 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13443 reduce_sincos, improve accuracy to 136 bits.
13444 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13445 (__sin): Use improved reduction and simplified do_sincos calculation.
13446 (__cos): Likewise.
13447 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13448
7a5640f2
WD
134492018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13450
13451 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13452 (do_sincos_2): Likewise.
13453 (__sin): Remove middle range reduction case.
13454 (__cos): Likewise.
13455 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13456 reduction case.
13457
19a8b9a3
WD
134582018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13459
13460 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13462 inputs.
13463 (__cos): Likewise.
13464 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13465
f72aa11d
JM
134662018-04-03 Joseph Myers <joseph@codesourcery.com>
13467
13468 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 13469 version to 4.16
f72aa11d 13470
8e4754ed
AZ
134712018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13472
13473 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13474 Remove definitions.
13475 (opendir_oflags): Use O_DIRECTORY regardless.
13476 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13477 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13478
8e2666ea
ST
134792018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13480
13481 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13482 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13483 macros.
13484 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13485 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13486 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13487 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
13488 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13489 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 13490
ad2b41bf
ST
13491 * htl/Makefile: Bump licence to LGPL 2.1+.
13492 * htl/alloca_cutoff.c: Likewise.
13493 * htl/cthreads-compat.c: Likewise.
13494 * htl/lockfile.c: Likewise.
13495 * htl/pt-alloc.c: Likewise.
13496 * htl/pt-cancel.c: Likewise.
13497 * htl/pt-cleanup.c: Likewise.
13498 * htl/pt-create.c: Likewise.
13499 * htl/pt-dealloc.c: Likewise.
13500 * htl/pt-detach.c: Likewise.
13501 * htl/pt-exit.c: Likewise.
13502 * htl/pt-getattr.c: Likewise.
13503 * htl/pt-initialize.c: Likewise.
13504 * htl/pt-internal.h: Likewise.
13505 * htl/pt-join.c: Likewise.
13506 * htl/pt-self.c: Likewise.
13507 * htl/pt-setcancelstate.c: Likewise.
13508 * htl/pt-setcanceltype.c: Likewise.
13509 * htl/pt-sigmask.c: Likewise.
13510 * htl/pt-spin-inlines.c: Likewise.
13511 * htl/pt-testcancel.c: Likewise.
13512 * htl/pt-yield.c: Likewise.
13513 * htl/tests/test-1.c: Likewise.
13514 * htl/tests/test-10.c: Likewise.
13515 * htl/tests/test-11.c: Likewise.
13516 * htl/tests/test-12.c: Likewise.
13517 * htl/tests/test-13.c: Likewise.
13518 * htl/tests/test-14.c: Likewise.
13519 * htl/tests/test-15.c: Likewise.
13520 * htl/tests/test-16.c: Likewise.
13521 * htl/tests/test-17.c: Likewise.
13522 * htl/tests/test-2.c: Likewise.
13523 * htl/tests/test-3.c: Likewise.
13524 * htl/tests/test-4.c: Likewise.
13525 * htl/tests/test-5.c: Likewise.
13526 * htl/tests/test-6.c: Likewise.
13527 * htl/tests/test-7.c: Likewise.
13528 * htl/tests/test-8.c: Likewise.
13529 * htl/tests/test-9.c: Likewise.
13530 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13531 * sysdeps/htl/bits/cancelation.h: Likewise.
13532 * sysdeps/htl/bits/pthread-np.h: Likewise.
13533 * sysdeps/htl/bits/pthread.h: Likewise.
13534 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13535 * sysdeps/htl/bits/semaphore.h: Likewise.
13536 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13537 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13538 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13539 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13540 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13541 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13542 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13543 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13544 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13545 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13546 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13547 * sysdeps/htl/old_pt-atfork.c: Likewise.
13548 * sysdeps/htl/pt-atfork.c: Likewise.
13549 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13550 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13551 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13552 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13553 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13554 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13555 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13556 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13557 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13558 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13559 * sysdeps/htl/pt-attr-init.c: Likewise.
13560 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13561 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13562 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13563 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13564 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13565 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13566 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13567 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13568 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13569 * sysdeps/htl/pt-attr.c: Likewise.
13570 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13571 * sysdeps/htl/pt-barrier-init.c: Likewise.
13572 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13573 * sysdeps/htl/pt-barrier.c: Likewise.
13574 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13575 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13576 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13577 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13578 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13579 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13580 * sysdeps/htl/pt-cond-init.c: Likewise.
13581 * sysdeps/htl/pt-cond-signal.c: Likewise.
13582 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13583 * sysdeps/htl/pt-cond-wait.c: Likewise.
13584 * sysdeps/htl/pt-cond.c: Likewise.
13585 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13586 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13587 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13588 * sysdeps/htl/pt-condattr-init.c: Likewise.
13589 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13590 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13591 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13592 * sysdeps/htl/pt-equal.c: Likewise.
13593 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13594 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13595 * sysdeps/htl/pt-getschedparam.c: Likewise.
13596 * sysdeps/htl/pt-getspecific.c: Likewise.
13597 * sysdeps/htl/pt-init-specific.c: Likewise.
13598 * sysdeps/htl/pt-key-create.c: Likewise.
13599 * sysdeps/htl/pt-key-delete.c: Likewise.
13600 * sysdeps/htl/pt-key.h: Likewise.
13601 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13602 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13603 * sysdeps/htl/pt-mutex-init.c: Likewise.
13604 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13605 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13606 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13607 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13608 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13609 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13610 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13611 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13612 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13613 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13614 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13615 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13616 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13617 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13618 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13619 * sysdeps/htl/pt-mutexattr.c: Likewise.
13620 * sysdeps/htl/pt-once.c: Likewise.
13621 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13622 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13623 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13624 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13625 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13626 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13627 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13628 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13629 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13630 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13631 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13632 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13633 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13634 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13635 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13636 * sysdeps/htl/pt-setschedparam.c: Likewise.
13637 * sysdeps/htl/pt-setschedprio.c: Likewise.
13638 * sysdeps/htl/pt-setspecific.c: Likewise.
13639 * sysdeps/htl/pt-spin.c: Likewise.
13640 * sysdeps/htl/pt-startup.c: Likewise.
13641 * sysdeps/htl/pthread.h: Likewise.
13642 * sysdeps/htl/sem-close.c: Likewise.
13643 * sysdeps/htl/sem-destroy.c: Likewise.
13644 * sysdeps/htl/sem-getvalue.c: Likewise.
13645 * sysdeps/htl/sem-init.c: Likewise.
13646 * sysdeps/htl/sem-open.c: Likewise.
13647 * sysdeps/htl/sem-post.c: Likewise.
13648 * sysdeps/htl/sem-timedwait.c: Likewise.
13649 * sysdeps/htl/sem-trywait.c: Likewise.
13650 * sysdeps/htl/sem-unlink.c: Likewise.
13651 * sysdeps/htl/sem-wait.c: Likewise.
13652 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13653 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13654 * sysdeps/mach/htl/pt-block.c: Likewise.
13655 * sysdeps/mach/htl/pt-spin.c: Likewise.
13656 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13657 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13658 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13659 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13660 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13661 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13662 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13663 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13664 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13665 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13666 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13667 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13668 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13669 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13670 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13671 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13672 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13673 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13674 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13675 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13676 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13677 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13678 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13679 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13680 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13681 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13682 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13683 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13684 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13685 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13686 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13687 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13688 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13689 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13690 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13691 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13692 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13693 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13694 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13695 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13696 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13697 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13698 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13699
fb03b04b
ST
13700 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13701 * README: Remove the mention of out-of-tree patches needed for
13702 GNU/Hurd.
13703
fa9e1555
ST
13704 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13705 (UTIME_NOW, UTIME_OMIT): Define macros.
13706
f6fb29d2
ST
13707 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13708 instead of pthread_detach.
13709 (__cthread_fork): Call __pthread_create instead of pthread_create.
13710 (__cthread_keycreate): Call __pthread_key_create instead of
13711 pthread_key_create.
13712 (__cthread_getspecific): Call __pthread_getspecific instead of
13713 pthread_getspecific.
13714 (__cthread_setspecific): Call __pthread_setspecific instead of
13715 pthread_setspecific.
13716 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13717 __pthread_mutex_unlock instead of pthread_mutex_lock and
13718 pthread_mutex_unlock.
13719 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13720 ___pthread_get_cleanup_stack.
13721 (__pthread_get_cleanup_stack): New strong alias.
13722 * htl/pt-create.c: Include <pthreadP.h>.
13723 (entry_point): Call __pthread_exit instead of pthread_exit.
13724 (pthread_create): Rename to __pthread_create.
13725 (pthread_create): New strong alias.
13726 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13727 (pthread_detach): New strong alias.
13728 (__pthread_detach): Call __pthread_cond_broadcast instead of
13729 pthread_cond_broadcast.
fe9748cc
ST
13730 * htl/pt-exit.c: Include <pthreadP.h>.
13731 (__pthread_exit): Call __pthread_setcancelstate and
13732 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13733 __pthread_get_cleanup_stack.
f6fb29d2
ST
13734 * htl/pt-testcancel.c: Include <pthreadP.h>.
13735 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13736 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13737 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13738 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13739 pthread_attr_getstacksize.
13740 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13741 Rename to __pthread_attr_getstackaddr.
13742 (pthread_attr_getstackaddr): New strong alias.
13743 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13744 Rename to __pthread_attr_getstacksize.
13745 (pthread_attr_getstacksize): New strong alias.
13746 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13747 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13748 (pthread_attr_setstack): New strong alias.
13749 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13750 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13751 pthread_attr_getstacksize, pthread_attr_setstacksize and
13752 pthread_attr_setstackaddr.
13753 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13754 Rename to __pthread_attr_setstackaddr.
13755 (pthread_attr_setstackaddr): New strong alias.
13756 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13757 Rename to __pthread_attr_setstacksize.
13758 (pthread_attr_setstacksize): New strong alias.
13759 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13760 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13761 pthread_exit.
13762 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13763 (__pthread_key_create): New hidden def.
13764 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13765 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13766 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13767 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13768 __pthread_setspecific, __pthread_setcancelstate,
13769 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13770 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13771 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13772 declarations.
13773 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13774 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13775 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13776 (pthread_attr_setstackaddr): New strong alias.
13777 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13778 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13779 (pthread_attr_setstacksize): New strong alias.
13780 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13781 (call_exit): Call __pthread_exit instead of pthread_exit.
13782 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13783 (_pthread_mutex_init): New hidden definition.
13784 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13785 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13786 instead of pthread_attr_init and pthread_attr_setstack.
13787
dba2bdbe
ST
13788 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13789 __vm_deallocate instead of vm_allocate and vm_deallocate.
13790 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13791 setenv.
13792 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13793 of geteuid.
13794 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13795 strdup.
13796 * hurd/siginfo.c: Include <libioP.h>.
13797 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13798 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13799 munmap.
dba2bdbe
ST
13800 * mach/devstream.c: Include <libioP.h>.
13801 (dealloc_ref): Call __mach_port_deallocate instead of
13802 mach_port_deallocate.
13803 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13804 Call __mach_port_deallocate instead of mach_port_deallocate.
13805 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13806 pathconf.
13807 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13808 munmap.
13809 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13810 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13811 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13812 of munmap.
13813 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13814 of close.
13815 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13816 instead of sysconf.
13817 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13818 __clock_gettime instead of clock_gettime.
13819 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13820 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13821 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13822 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13823 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13824 tcgetattr.
13825 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13826 __clock_gettime and __nanosleep instead of clock_gettime and
13827 nanosleep.
7a8f45e3
ST
13828 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13829 __hurd_catch_signal.
13830 (hurd_catch_signal): New strong alias.
13831 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13832 __hurd_catch_signal instead of hurd_catch_signal.
13833 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13834 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13835 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13836 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13837 (_hurd_thread_sigstate): Add hidden def.
13838 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13839 mutex_unlock.
13840 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13841 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13842 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13843 __hurd_file_name_path_lookup.
13844 (hurd_file_name_path_lookup): New strong alias.
13845 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13846 hurd_file_name_path_lookup.
13847 * mach/errstring.c (mach_error_type): Add hidden def.
13848 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13849 * mach/mutex-init.c (__mutex_init): Add hidden def.
13850 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13851 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13852 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13853 * sysdeps/mach/hurd/getcwd.c
13854 (_hurd_canonicalize_directory_name_internal): Rename to
13855 __hurd_canonicalize_directory_name_internal.
13856 (_hurd_canonicalize_directory_name_internal): New strong alias.
13857 (__canonicalize_directory_name_internal, __getcwd): Call
13858 __hurd_canonicalize_directory_name_internal instead of
13859 _hurd_canonicalize_directory_name_internal.
13860 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13861 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13862 hidden defs.
13863 * sysdeps/hurd/include/hurd.h: New file.
13864 * sysdeps/hurd/include/hurd/fd.h: New file.
13865 * sysdeps/hurd/include/hurd/signal.h: New file.
13866 * sysdeps/mach/include/lock-intern.h: New file.
13867 * sysdeps/mach/include/mach.h: New file.
13868 * sysdeps/mach/include/mach/mig_support.h: New file.
13869 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
13870 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13871 prototype.
13872 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13873 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13874 _HEADER_H_HIDDEN_DEF macro.
13875 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13876 _hurd_fd_error_signal): Add hidden prototype.
13877 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13878 hidden def.
82dbf555
ST
13879 * libio/iolibio.h (_IO_puts): New hidden prototype.
13880 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
13881 * sysdeps/mach/hurd/localplt.data: New file.
13882
33574c17
ST
138832018-04-02 Agustina Arzille <avarzille@riseup.net>
13884 Amos Jeffries <squid3@treenet.co.nz>
13885 David Michael <fedora.dm0@gmail.com>
13886 Marco Gerards <marco@gnu.org>
13887 Marcus Brinkmann <marcus@gnu.org>
13888 Neal H. Walfield <neal@gnu.org>
13889 Pino Toscano <toscano.pino@tiscali.it>
13890 Richard Braun <rbraun@sceen.net>
13891 Roland McGrath <roland@gnu.org>
13892 Samuel Thibault <samuel.thibault@ens-lyon.org>
13893 Thomas DiModica <ricinwich@yahoo.com>
13894 Thomas Schwinge <tschwinge@gnu.org>
13895
13896 * htl: New directory.
13897 * sysdeps/htl: New directory.
13898 * sysdeps/hurd/htl: New directory.
13899 * sysdeps/i386/htl: New directory.
13900 * sysdeps/mach/htl: New directory.
13901 * sysdeps/mach/hurd/htl: New directory.
13902 * sysdeps/mach/hurd/i386/htl: New directory.
13903 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13904 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13905 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13906
03e2aa50
ST
139072018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13908
13909 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13910 signals in thread created for runing timers.
13911
1aa52ced
FW
139122018-04-01 Florian Weimer <fweimer@redhat.com>
13913
13914 * support/support_format_addrinfo.c (support_format_addrinfo):
13915 Include unknown error number in formatted result.
13916
4d76d3e5
FW
139172018-03-29 Florian Weimer <fweimer@redhat.com>
13918
13919 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13920 capture SIGBUS.
13921
d39c0a45
AZ
139222018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13923
13924 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13925 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13926 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13927 (__ASSUME_CLONE_BACKWARDS): Define.
13928
cc8a1620
JH
139292018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13930
57408435 13931 [BZ #23024]
cc8a1620
JH
13932 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13933 early when linux sentinel value is set.
13934
8bfd94d0
ST
139352018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13936
13937 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13938
f178e59f
AS
139392018-03-27 Andreas Schwab <schwab@suse.de>
13940
13941 [BZ #23005]
13942 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13943 allocation of private copy of nsaddr_list fails.
13944
5f45f96a
JM
139452018-03-26 Joseph Myers <joseph@codesourcery.com>
13946
13947 [BZ #16552]
13948 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13949 * sysdeps/unix/sysv/linux/umount.c: ... here.
13950 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13951 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13952 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13953 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13955 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13956 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13957
3dfd23eb
AS
139582018-03-26 Andreas Schwab <schwab@suse.de>
13959
13960 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13961 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13962 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13963 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13964 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13965 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13966 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13967 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13968 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13969 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13970 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13971 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13972 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13973 (R_RISCV_NUM): Define.
13974
fa97d2ab
ST
139752018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13976
13977 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13978 TLS declaration of errno.
37be82a0
ST
13979 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13980 __libc_setup_tls.
13981 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13982 (ARCH_SETUP_TLS): Likewise.
13983 * sysdeps/mach/hurd/libc-start.h: New file copied from
13984 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
13985 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13986 instead of __libc_setup_tls.
37be82a0 13987 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
13988 __libc_setup_tls before initializing libpthread and running _hurd_init
13989 which starts the signal thread.
13990 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13991 Declare function.
2d813d7b 13992 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 13993
b8114edd
L
139942018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13995
13996 [BZ #22998]
13997 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13998 after it is defined.
13999
cd66c0e5
AS
140002018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14001 Max Horn <max@quendi.de>
14002
14003 [BZ #22644]
43d4f3d5 14004 CVE-2017-18269
cd66c0e5
AS
14005 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14006 branch conditions.
14007 * string/test-memmove.c (do_test2): New testcase.
14008
a4406139
JM
140092018-03-22 Joseph Myers <joseph@codesourcery.com>
14010
14011 * sysdeps/generic/frame.h: Remove file.
14012 * sysdeps/arm/frame.h: Likewise.
14013 * sysdeps/hppa/frame.h: Likewise.
14014 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14015 macro.
14016 (GET_FRAME): Likewise.
14017 (GET_STACK): Likewise.
14018 (CALL_SIGHANDLER): Likewise.
14019 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14020 Likewise.
14021 (GET_FRAME): Likewise.
14022 (GET_STACK): Likewise.
14023 (CALL_SIGHANDLER): Likewise.
14024 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14025 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14026 (GET_FRAME): Likewise.
14027 (GET_STACK): Likewise.
14028 (CALL_SIGHANDLER): Likewise.
14029 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14030 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14031 (GET_FRAME): Likewise.
14032 (GET_STACK): Likewise.
14033 (ADVANCE_STACK_FRAME): Likewise.
14034 (CALL_SIGHANDLER): Likewise.
14035 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14036 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14037 (GET_FRAME): Likewise.
14038 (GET_STACK): Likewise.
14039 (CALL_SIGHANDLER): Likewise.
14040 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14041 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14042 (GET_FRAME): Likewise.
14043 (GET_STACK): Likewise.
14044 (CALL_SIGHANDLER): Likewise.
14045 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14046 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14047 (GET_FRAME): Likewise.
14048 (GET_STACK): Likewise.
14049 (CALL_SIGHANDLER): Likewise.
14050 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14051 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14052 (GET_FRAME): Likewise.
14053 (GET_STACK): Likewise.
14054 (CALL_SIGHANDLER): Likewise.
14055 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14056 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14057 (GET_FRAME): Likewise.
14058 (GET_STACK): Likewise.
14059 (CALL_SIGHANDLER): Likewise.
14060 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14061 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14062 (GET_FRAME): Likewise.
14063 (GET_STACK): Likewise.
14064 (CALL_SIGHANDLER): Likewise.
14065 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14066 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14067 (GET_FRAME): Likewise.
14068 (GET_STACK): Likewise.
14069 (CALL_SIGHANDLER): Likewise.
14070 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14071 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14072 (GET_FRAME): Likewise.
14073 (GET_STACK): Likewise.
14074 (CALL_SIGHANDLER): Likewise.
14075 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14076 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14077 (GET_FRAME): Likewise.
14078 (GET_STACK): Likewise.
14079 (CALL_SIGHANDLER): Likewise.
14080 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14081 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14082 (FIRST_FRAME_POINTER): Likewise.
14083 (ADVANCE_STACK_FRAME): Likewise.
14084 (GET_STACK): Likewise.
14085 (GET_FRAME): Likewise.
14086 (CALL_SIGHANDLER): Likewise.
14087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14088 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14089 (ADVANCE_STACK_FRAME): Likewise.
14090 (GET_STACK): Likewise.
14091 (GET_FRAME): Likewise.
14092 (CALL_SIGHANDLER): Likewise.
14093 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14094 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14095 (GET_FRAME): Likewise.
14096 (GET_STACK): Likewise.
14097 (CALL_SIGHANDLER): Likewise.
14098 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14099 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14100 (GET_FRAME): Likewise.
14101 (GET_STACK): Likewise.
14102 (CALL_SIGHANDLER): Likewise.
14103
ffec7b27
JM
141042018-03-21 Joseph Myers <joseph@codesourcery.com>
14105
14106 * sysdeps/x86_64/backtrace.c: Move to ....
14107 * debug/backtrace.c: ... here.
14108 * sysdeps/aarch64/backtrace.c: Remove file.
14109 * sysdeps/alpha/backtrace.c: Likewise.
14110 * sysdeps/hppa/backtrace.c: Likewise.
14111 * sysdeps/ia64/backtrace.c: Likewise.
14112 * sysdeps/mips/backtrace.c: Likewise.
14113 * sysdeps/nios2/backtrace.c: Likewise.
14114 * sysdeps/riscv/backtrace.c: Likewise.
14115 * sysdeps/sh/backtrace.c: Likewise.
14116 * sysdeps/tile/backtrace.c: Likewise.
14117
8a07b0c4
JM
141182018-03-20 Joseph Myers <joseph@codesourcery.com>
14119
d0c5d731
JM
14120 [BZ #22987]
14121 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14122 function.
14123 (fdimf): Likewise.
14124 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14125
8a07b0c4
JM
14126 [BZ #17343]
14127 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14128 possibly overflowing computations.
14129
ceb54b9b
ST
141302018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14131
14132 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14133 values from Linux-specific section now that it is in the GNU section.
14134 * sysdeps/gnu/errlist.c: Regenerate.
14135
8d3f9e85
JM
141362018-03-20 Joseph Myers <joseph@codesourcery.com>
14137
14138 * math/Makefile (libm-narrow-fns): Add sub.
14139 (libm-test-funcs-narrow): Likewise.
14140 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14141 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14142 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14143 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14144 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14145 (NARROW_SUB_TRIVIAL): Likewise.
14146 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14147 macro.
14148 (__dsubl): Likewise.
14149 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14150 dsub.
14151 (CFLAGS-nldbl-dsub.c): New variable.
14152 (CFLAGS-nldbl-fsub.c): Likewise.
14153 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14154 __nldbl_dsubl.
14155 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14156 prototype.
14157 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14158 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14159 * math/auto-libm-test-in: Add tests of sub.
14160 * math/auto-libm-test-out-narrow-sub: New generated file.
14161 * math/libm-test-narrow-sub.inc: New file.
14162 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14165 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14166 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14167 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14168 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14169 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14170 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14172 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14174 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14175 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14176 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14177 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14178 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14179 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14181 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14208
d473f015
JM
142092018-03-19 Joseph Myers <joseph@codesourcery.com>
14210
14211 [BZ #20079]
14212 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14213
fbce6f72
WD
142142018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14215
14216 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14217
72e7ffc3
RB
142182018-03-18 Richard Braun <rbraun@sceen.net>
14219
14220 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14221 thread reference.
14222
542c20a1
AA
142232018-03-18 Agustina Arzille <avarzille@riseup.net>
14224
14225 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14226 (__libc_cleanup_fct): Define function.
14227 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14228 __libc_cleanup_end): Rewrite implementation using
14229 __attribute__ ((__cleanup__)).
14230 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
14231 * hurd/Makefile (routines): Add hurdlock.
14232 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14233 interface.
14234 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14235 * hurd/hurdpid.c: Include <lowlevellock.h>
14236 (_S_msg_proc_newids): Use lll_wait to synchronize.
14237 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14238 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14239 * mach/Makefile (lock-headers): Remove machine-lock.h.
14240 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14241 <machine-lock.h>.
14242 (__spin_lock_t): New type.
14243 (__SPIN_LOCK_INITIALIZER): New macro.
14244 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14245 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14246 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14247 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14248 (__mutex_init): Initialize with lll.
14249 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14250 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14251 needing lll.
14252 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14253 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14254 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14255 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14256 (__setpgid): Use lll for synchronization.
14257 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14258 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14259 instead of <cthreads.h>.
14260 (_IO_lock_inexpensive): New macro
14261 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14262 (__libc_lock_self0): New declaration.
14263 (__libc_lock_owner_self): New macro.
14264 (__libc_key_t): Remove type.
14265 (_LIBC_LOCK_INITIALIZER): New macro.
14266 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14267 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14268 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14269 __libc_lock_define_initialized_recursive,
14270 __rtld_lock_define_initialized_recursive,
14271 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14272 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14273 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14274 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14275 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14276 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14277 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14278 New macros.
14279 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14280 * hurd/hurdlock.c: New file.
14281 * hurd/hurdlock.h: New file.
14282 * mach/lowlevellock.h: New file
542c20a1 14283
9a37922e
ST
142842018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14285
14286 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
14287 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14288 when opening a symlink with O_NOFOLLOW.
72103e73
ST
14289 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14290 path when flags contains O_NOFOLLOW.
14291 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14292 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
14293 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14294 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
14295 * sysdeps/mach/hurd/mlockall.c: New file.
14296 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 14297
34e6a869
ST
142982018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14299
14300 * hurd/hurdsig.c: Include <pthread.h>.
14301 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14302 get the signal thread stack layout.
dc33bef3
ST
14303 * hurd/Makefile (headers): Remove threadvar.h.
14304 (inline-headers): Remove threadvar.h.
14305 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14306 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14307 __hurd_threadvar_max, __hurd_errno_location.
14308 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14309 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14310 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14311 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14312 unless TLS is not initialized yet, in which case we do not need a
14313 critical section yet anyway.
14314 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14315 <machine-sp.h>.
14316 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14317 declarations.
14318 (__hurd_threadvar_index): Remove enum.
14319 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14320 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14321 inlines.
14322 (__hurd_reply_port0): New variable declaration.
14323 (__hurd_local_reply_port): New macro.
14324 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14325 (interrupted_reply_port_location): Add thread_t parameter. Use it
14326 with THREAD_TCB to access thread-local variables.
14327 (_hurdsig_abort_rpcs): Pass ss->thread to
14328 interrupted_reply_port_location.
14329 (_hurd_internal_post_signal): Likewise.
14330 (_hurdsig_init): Use presence of cthread_fork instead of
14331 __hurd_threadvar_stack_mask to start signal thread by hand.
14332 Remove signal thread threadvar initialization.
14333 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14334 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14335 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14336 of threadvar.
14337 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14338 __libc_lock_self0.
14339 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14340 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14341 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14342 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14343 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14344 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14345 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14346 define variables.
14347 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14348 <hurd/threadvar.h>.
14349 [IS_IN(rtld)] (rtld_errno): New variable.
14350 [IS_IN(rtld)] (__errno_location): New weak function.
14351 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14352 * sysdeps/mach/hurd/errno.c: Remove file.
14353 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14354 (__fork): Remove THREADVAR_SPACE macro and its use.
14355 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14356 variable.
14357 (init): Do not initialize threadvar.
14358 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14359 symbol.
14360 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14361 __hurd_local_reply_port instead of threadvar.
14362 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14363 _hurd_sigstate fields.
14364 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14365 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14366 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14367 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14368 instead of threadvar.
14369 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14370 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14371 (use_threadvar, global_reply_port): Remove variables.
14372 (__hurd_reply_port0): New variable.
14373 (__mig_get_reply_port): Use __hurd_local_reply_port and
14374 __hurd_reply_port0 instead of threadvar.
14375 (__mig_dealloc_reply_port): Likewise.
14376 (__mig_init): Do not initialize threadvar.
14377 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
14378 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14379 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14380 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14381 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14382 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14383 __cthread_setspecific.
14384 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14385 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14386 __cthread_t instead of cthread_fork, cthread_detach,
14387 pthread_getattr_np, pthread_attr_getstack.
14388 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14389 __cthread_keycreate.
14390 (cthread_getspecific): Rename to __cthread_getspecific.
14391 (cthread_setspecific): Rename to __cthread_setspecific.
14392 (__libc_getspecific): Use __cthread_getspecific instead of
14393 cthread_getspecific.
14394 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14395 __cthread_keycreate instead of cthread_keycreate.
14396 (__libc_setspecific): Use __cthread_setspecific instead of
14397 cthread_setspecific.
14398 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14399 Likewise.
dd28d4ba
ST
14400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14401 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14402 testing whether it is defined.
34e6a869 14403
f8baf2a2
ST
144042018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14405
14406 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14407 Define macro.
14408 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14409 * sysdeps/mach/i386/thread_state.h
14410 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14411 i386_THREAD_STATE.
14412 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14413 i386_THREAD_STATE.
14414 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14415
14416 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14417 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14418
14419 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14420 macros.
14421 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14422 descriptor instead of creating a new one.
14423 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14424
14425 * mach/setup-thread.c: Include <ldsodefs.h>.
14426 (__mach_setup_thread): Call _dl_allocate_tls, pass
14427 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14428 MACHINE_THREAD_STATE_FLAVOR, before getting
14429 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14430 MACHINE_THREAD_STATE_FLAVOR with the result.
14431 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14432 MACHINE_THREAD_STATE_FIX_NEW.
14433 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14434 too. Add original thread parameter.
14435
34ba96b8
JM
144362018-03-16 Joseph Myers <joseph@codesourcery.com>
14437
5d75b75f
JM
14438 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14439 Remove inline function.
14440
34ba96b8
JM
14441 * sysdeps/i386/fpu/libm-test-ulps: Update.
14442 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14443
22679b2c
WD
144442018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14445
14446 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14447 commit.
14448
c429a8d8
JM
144492018-03-15 Joseph Myers <joseph@codesourcery.com>
14450
14451 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14452 (__sincos_code): Remove define and undefine.
14453 [__FAST_MATH__] (__sincos): Remove inline function.
14454 [__FAST_MATH__] (__sincosf): Remove inline function.
14455 [__FAST_MATH__] (__sincosl): Remove inline function.
14456 (__atan2l): Remove inline functions.
14457 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14458 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14459 function.
14460 (floor): Remove inline function.
14461 (ceil): Likewise.
14462 [__FAST_MATH__] (__ldexp_code): Remove macro.
14463 [__FAST_MATH__] (ldexp): Remove inline function.
14464 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14465 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14466 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14467 [__USE_ISOC99] (__lrint_code): Remove macro.
14468 [__USE_ISOC99] (__llrint_code): Likewise.
14469 [__USE_ISOC99] (lrintf): Remove inline function.
14470 [__USE_ISOC99] (lrint): Likewise.
14471 [__USE_ISOC99] (lrintl): Likewise.
14472 [__USE_ISOC99] (llrint): Likewise.
14473 [__USE_ISOC99] (llrintf): Likewise.
14474 [__USE_ISOC99] (llrintl): Likewise.
14475
700593fd
WD
144762018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14477
14478 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14479 (__ieee754_sqrtf): Remove.
14480 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14481 (__ieee754_sqrtf): Remove.
14482 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14483 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14484 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14485 (__ieee754_sqrtf): Remove.
14486 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14487 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14488 (sqrtf): Remove.
14489 (sqrtl): Remove.
14490 (__ieee754_sqrt): Remove.
14491 (__ieee754_sqrtf): Remove.
14492 (__ieee754_sqrtl): Remove.
14493 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14494 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14495 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14496 (__ieee754_sqrtf): Remove.
14497 (__ieee754_sqrtl): Remove.
14498
f67a8147
WD
144992018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14500
14501 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14502 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14503 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14504 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14505 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14506 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14507 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14508 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14509 Likewise.
14510 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14511 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14512 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14513 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14514 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14515 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14516 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14517 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14518 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14519 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14520 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14521 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14522 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14523 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14524 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14525 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14526 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14527 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14528 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14532 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14534 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14535 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14539 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14540 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14541 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14542 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14543 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14544 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14545 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14546 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14547 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14548 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14549 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14550
1294b189
WD
145512018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14552
14553 * include/math.h (sqrt): Declare with asm redirect.
14554 (sqrtf): Likewise.
14555 (sqrtl): Likewise.
14556 (sqrtf128): Likewise.
14557 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14558 nonlib and libnldbl with -fmath-errno.
14559 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14560 * math/w_sqrt_template.c: Likewise.
14561 * math/w_sqrtf_compat.c: Likewise.
14562 * math/w_sqrtl_compat.c: Likewise.
14563 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14564 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14565 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14566 complex.h.
14567
f1c8185d
WD
145682018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14569
14570 * benchtests/Makefile: Define _ISOMAC.
14571 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14572 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14573 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14574 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14575 * benchtests/bench-timing.h: Define attribute_hidden.
14576
b47c3e76
SP
145772018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14578
14579 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14580 mov + lsr.
14581
807fee29
RL
145822018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14583
14584 [BZ #22963]
14585 * localedata/locales/cs_CZ (mon): Rename to...
14586 (alt_mon): This.
14587 (mon): Import from CLDR (genitive case).
14588
e7155a28
RL
145892018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14590
14591 [BZ #22937]
14592 * localedata/locales/el_CY (abmon): Rename to...
14593 (ab_alt_mon): This.
14594 (abmon): Import from CLDR (abbreviated genitive case).
14595 * localedata/locales/el_GR (abmon): Rename to...
14596 (ab_alt_mon): This.
14597 (abmon): Import from CLDR (abbreviated genitive case).
14598
71d7b121
RL
145992018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14600
14601 [BZ #22932]
14602 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14603
a00bffe8
RB
146042018-03-15 Robert Buj <robert.buj@gmail.com>
14605
14606 [BZ #22848]
14607 * localedata/locales/ca_ES (abmon): Rename to...
14608 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14609 (mon): Rename to...
14610 (alt_mon): This.
14611 (abmon): Import from CLDR (genitive case, month names preceded by
14612 "de" or "d’").
14613 (mon): Likewise.
14614 (abday): Synchronize with CLDR.
14615 (d_t_fmt): Likewise.
14616 (d_fmt): Likewise.
14617 (am_pm): Likewise.
14618
14619 (LC_TIME): Improve indentation.
14620 (LC_TELEPHONE): Likewise.
14621 (LC_NAME): Likewise.
14622 (LC_ADDRESS): Likewise.
14623
f9555d73
JM
146242018-03-14 Joseph Myers <joseph@codesourcery.com>
14625
14626 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14627 (lrintf): Remove definitions used only with old GCC.
14628 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14629 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14630 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14631 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14632 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14633 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14634 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14635 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14636 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14637 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14638 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14639 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14640 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14641 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14642 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14643 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14644 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14645 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14646 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14647 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14648 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14649 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14650 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14651 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14652 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14653 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14654 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14655 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14656
d46f84de
SP
146572018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14658
14659 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14660 instruction to unbreak builds with binutils 2.26 and older.
14661
7108f1f9
SP
146622018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14663
14664 * sysdeps/aarch64/strncmp.S (count): New macro.
14665 (strncmp): Store misaligned length in SRC1 in COUNT.
14666 (mutual_align): Adjust.
14667 (misaligned8): Load dword at a time when it is safe.
14668
2cc7bad0
ZW
146692018-03-12 Zack Weinberg <zackw@panix.com>
14670
14671 [BZ #1190]
14672 [BZ #19476]
14673 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14674 if the _IO_EOF_SEEN bit is already set; update commentary.
14675 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14676 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14677
14678 * support/support_openpty.c, support/tty.h: New files.
14679 * support/Makefile (libsupport-routines): Add support_openpty.
14680
14681 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14682 New test cases.
14683 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14684 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14685
778f1974
DL
146862018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14687
14688 * po/pt_BR.po: Update translations.
14689
da6d4404
DM
146902018-03-12 David Michael <fedora.dm0@gmail.com>
14691
14692 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14693 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14694 get a port to the startup server.
14695
d3da750d
ZW
146962018-03-11 Zack Weinberg <zackw@panix.com>
14697
14698 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14699 before nldbl-compat.h.
14700
054b72cc
ZW
147012018-03-10 Zack Weinberg <zackw@panix.com>
14702
0d13dfa1
ZW
14703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14704 math.h or math_private.h.
14705
14706 * sysdeps/alpha/fpu/s_isnan.c
14707 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14708 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14709 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14710 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14711 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14712 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14713 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14714 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14715 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14718 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14719 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14720 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14721 Include math_private.h.
14722
14723 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14724 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14725 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14726 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14727 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14728 * sysdeps/powerpc/power7/fpu/s_logb.c:
14729 Include math.h and math_private.h.
14730
054b72cc
ZW
14731 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14732 uses of $at in .set noat / .set at.
14733
6253bacd
L
147342018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14735
14736 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14737 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14738 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14739 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14740 Likewise.
14741
229855e5
FW
147422018-03-09 Florian Weimer <fweimer@redhat.com>
14743
14744 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14745 in comment.
14746
9aa5c222
AJ
147472018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14748
14749 [BZ #22919]
14750 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14751 Add nop before __startcontext, add explaining comments.
14752
3dc21497
AZ
147532018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14754
e921c89e
AZ
14755 [BZ #22926]
14756 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14757 empty for __SPE__.
14758 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14759 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14760 Do not build hardware transactional code for __SPE__.
14761 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14762 (__lll_trylock_elision): Likewise.
14763 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14764 (__lll_unlock_elision): Likewise.
14765
d9f26dab 14766 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
14767 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14768 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14769 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14770 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14771 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14772 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14773 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14774 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14775 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14776 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14777 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14778 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14779 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14780 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14781 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14782 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14783 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14784 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14785 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14786 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14787 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14788 (__ASSUME_CLONE_BACKWARDS): Define.
14789 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14790 __clone2 if __NR_clone2 is defined.
14791 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14792 (__ASSUME_CLONE_BACKWARDS): Likewise.
14793 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14794 (__ASSUME_CLONE_BACKWARDS): Likewise.
14795 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14796 (__ASSUME_CLONE2): Likewise.
14797 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14798 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14799 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14800 variants and the define architecture can use.
14801 (__ASSUME_CLONE_DEFAULT): Define as default.
14802 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14803 (__ASSUME_CLONE_BACKWARDS): Likewise.
14804 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14805 (__ASSUME_CLONE_BACKWARDS): Likewise.
14806 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14807 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14808
adc95fb0
SP
148092018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14810
4e54d918
SP
14811 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14812
30a81dae
SP
14813 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14814 time.
14815
adc95fb0
SP
14816 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14817 (do_test_limit): Likewise.
14818
14819 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14820 for every implementation.
14821 (do_test): Likewise.
14822
14823 * benchtests/bench-strncmp.c: Convert output to json.
14824
4e9066bc
ST
148252018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14826
14827 * io/futimens.c: Add missing start-of-file descriptive comment.
14828 * io/utime.c: Likewise.
14829 * misc/futimesat.c: Likewise.
14830 * misc/utimes.c: Likewise.
14831 * sysdeps/mach/hurd/futimesat.c: Likewise.
14832 * sysdeps/mach/hurd/utimes.c: Likewise.
14833 * sysdeps/posix/utime.c: Likewise.
14834 * sysdeps/posix/utimes.c: Likewise.
14835 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14836 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14837 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14838 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14839
ec1300cf
ST
148402018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14841
14842 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14843 hurd_futimes.
14844 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14845 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14846 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14847 (__futimens): Move implementation to...
14848 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14849 utime_tvalue_from_tspec): ... new helper functions.
14850 (hurd_futimens): New function.
14851 * sysdeps/mach/hurd/futimesat.c: New file.
14852 * sysdeps/mach/hurd/utimensat.c: New file.
14853
bbe762d1
FC
148542018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14855
14856 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14857 UTIME_OMIT): New macros.
14858 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14859 before reverting to converting time spec to time value and calling
14860 __file_utimes.
14861 * sysdeps/mach/hurd/utime-helper.c: New file.
14862 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14863 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14864 reverting to utime_tvalue_from_tval and __file_utimes.
14865 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14866 (__lutimes): Just call hurd_futimens after lookup.
14867 * sysdeps/mach/hurd/utimes.c: Likewise.
14868
a1ede3a4
ST
148692018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14870
14871 * bits/sigaction.h: Add include guard.
14872 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14873 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14874 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14875 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14876 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14877 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14878 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14879 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14880 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14881
6900d2ca
JM
148822018-03-05 Joseph Myers <joseph@codesourcery.com>
14883
14884 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14885 -Wmaybe-uninitialized for -Os.
14886 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14887 this disabling.
14888
68448be2
AZ
148892018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14890
5226a81f
AZ
14891 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14892 __INO_T_MATCHES_INO64_T is defined.
14893 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14894 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14895 of definition.
14896 * dirent/alphasort64.c: Likewise.
14897 * dirent/scandir.c: Likewise.
14898 * dirent/scandir64-tail.c: Likewise.
14899 * dirent/scandir64.c: Likewise.
14900 * dirent/scandirat.c: Likewise.
14901 * dirent/scandirat64.c: Likewise.
14902 * dirent/versionsort.c: Likewise.
14903 * dirent/versionsort64.c: Likewise.
14904 * include/dirent.h: Likewise.
14905
fbd01e6c
AZ
14906 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14907 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14908 for socketpair endpoint.
14909 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14910 WRITE_BUFFER_SIZE as buffer size for sending socket.
14911 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14912 issue on system where send is implemented with sendto syscall.
14913 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14914 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14915 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14916 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14917
68448be2
AZ
14918 [BZ #21269]
14919 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14920 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14921 sa_restorer for vDSO case.
14922 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14923
eb1ca47e
ST
149242018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14925
14926 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
14927 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14928 * hurd/hurd/ioctl.h: Include <mach/port.h>
14929 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
14930 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14931 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
14932 (headers): Move mach/param.h to bits/mach/param.h.
14933 * sysdeps/mach/i386/mach/param.h: Move file to ...
14934 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14935 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14936 of <mach/param.h>.
3403cb7d
ST
14937 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14938 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14939 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
14940 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14941 trivial, for C++ conformity.
44c6376c 14942 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
14943 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14944 Process mig output through $(migheadersed).
14945 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
14946 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14947 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14948 headers.
ba89615d
ST
14949 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14950 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14951 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14952 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14953 <bits/types/sigset_t.h>.
14954 [!defined __USE_GNU]: Do not #error out.
14955 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14956 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14957 Include <stddef.h> and <bits/types/sigset_t.h>
14958 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14959 instead of sighandler_t.
974393ea
ST
14960 * stdlib/errno.h (error_t): Move definition to...
14961 * bits/types/error_t.h: ... new header.
14962 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14963 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14964 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14965 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14966 * hurd/hurd.h: Include <bits/types/error_t.h>
14967 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14968 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14969 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14970 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14971 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14972 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 14973 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 14974
eaf6753f
AS
149752018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14976
14977 [BZ #22918]
14978 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14979 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14980 * nscd/gai.c (__nss_hosts_database): Readd definition.
14981 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14982 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14983 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14984
4dc23804
JM
149852018-03-02 Joseph Myers <joseph@codesourcery.com>
14986
14987 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14988 (ifunc_one): Likewise.
14989
1c81d55f
DD
149902018-03-01 DJ Delorie <dj@delorie.com>
14991
14992 [BZ #22342]
14993 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14994 key value.
14995
b717c14f
MR
149962018-03-01 Maciej W. Rozycki <macro@mips.com>
14997
14998 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14999 `match_pid' parameter.
15000 (td_ta_thr_iter): Update accordingly.
15001
1efe1358
FW
150022018-03-01 Florian Weimer <fweimer@redhat.com>
15003
15004 * nptl/Makefile (install-lib-ldscripts): Remove.
15005 (install): Remove rule.
15006 ($(inst_libdir)/libpthread.so): Likewise.
15007
a527f09c
MF
150082018-03-01 Mike FABIAN <mfabian@redhat.com>
15009
15010 [BZ #22896]
15011 * localedata/locales/an_ES: update month and day names,
15012 improve d_fmt, improve postal_fmt, add country_post,
15013 add country_isbn
15014
35d660b0
MF
150152018-03-01 Mike FABIAN <mfabian@redhat.com>
15016
15017 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15018 Ukrainian instead of Bulgarian.
15019
1a2f44a8
FW
150202018-03-01 Florian Weimer <fweimer@redhat.com>
15021
15022 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15023 reference.
15024
bd60ce86
FW
150252018-03-01 Florian Weimer <fweimer@redhat.com>
15026
15027 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15028 * nptl/Makefile (routines): Add pthread_atfork.
15029 (static-only-routines): Set to pthread_atfork.
15030 (libpthread-routines): Remove pthread_atfork.
15031 (libpthread-static-only-routines): Remove.
15032 (install): Update comment.
15033 (libpthread.so): Do not install libpthread_nonshared.a.
15034 (tests): Do not link with libpthread_nonshared.a.
15035 (generated): Remove libpthread_nonshared.a.
15036 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15037 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15038 with libpthread_nonshared.a.
15039
000f290f
JM
150402018-02-28 Joseph Myers <joseph@codesourcery.com>
15041
e2bcf6a8
JM
15042 [BZ #22902]
15043 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15044 (libc_feholdexcept_setroundf128): New macro.
15045 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15046
000f290f
JM
15047 [BZ #15105]
15048 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15049 libc_hidden_def.
15050 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15051 * include/inttypes.h: New file.
15052
02f2fead
JM
150532018-02-27 Joseph Myers <joseph@codesourcery.com>
15054
15055 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15056 -Os in two more places.
15057
874c56d7
MF
150582018-02-27 Mike FABIAN <mfabian@redhat.com>
15059
15060 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15061 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15062 be sorted correctly at the moment because of a bug.
15063
15973854
MF
150642018-02-27 Mike FABIAN <mfabian@redhat.com>
15065
15066 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15067 treat ñ as a primary different character, sync the collation
15068 for Spanish with CLDR.
15069 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15070 * localedata/Makefile: Add new test files.
15071 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15072 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15073 collation order.
15074 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15075 * localedata/am_ET.UTF-8.in: New test file.
15076 * localedata/az_AZ.UTF-8.in: Likewise.
15077 * localedata/be_BY.UTF-8.in: Likewise.
15078 * localedata/ber_DZ.UTF-8.in: Likewise.
15079 * localedata/ber_MA.UTF-8.in: Likewise.
15080 * localedata/bg_BG.UTF-8.in: Likewise.
15081 * localedata/br_FR.UTF-8.in: Likewise.
15082 * localedata/cmn_TW.UTF-8.in: Likewise.
15083 * localedata/crh_UA.UTF-8.in: Likewise.
15084 * localedata/csb_PL.UTF-8.in: Likewise.
15085 * localedata/cv_RU.UTF-8.in: Likewise.
15086 * localedata/cy_GB.UTF-8.in: Likewise.
15087 * localedata/dz_BT.UTF-8.in: Likewise.
15088 * localedata/eo.UTF-8.in: Likewise.
15089 * localedata/es_ES.UTF-8.in: Likewise.
15090 * localedata/fa_IR.UTF-8.in: Likewise.
15091 * localedata/fi_FI.UTF-8.in: Likewise.
15092 * localedata/fil_PH.UTF-8.in: Likewise.
15093 * localedata/fur_IT.UTF-8.in: Likewise.
15094 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15095 * localedata/ha_NG.UTF-8.in: Likewise.
15096 * localedata/ig_NG.UTF-8.in: Likewise.
15097 * localedata/ik_CA.UTF-8.in: Likewise.
15098 * localedata/kk_KZ.UTF-8.in: Likewise.
15099 * localedata/ku_TR.UTF-8.in: Likewise.
15100 * localedata/ky_KG.UTF-8.in: Likewise.
15101 * localedata/ln_CD.UTF-8.in: Likewise.
15102 * localedata/mi_NZ.UTF-8.in: Likewise.
15103 * localedata/ml_IN.UTF-8.in: Likewise.
15104 * localedata/mn_MN.UTF-8.in: Likewise.
15105 * localedata/mr_IN.UTF-8.in: Likewise.
15106 * localedata/mt_MT.UTF-8.in: Likewise.
15107 * localedata/nb_NO.UTF-8.in: Likewise.
15108 * localedata/om_KE.UTF-8.in: Likewise.
15109 * localedata/os_RU.UTF-8.in: Likewise.
15110 * localedata/ps_AF.UTF-8.in: Likewise.
15111 * localedata/ro_RO.UTF-8.in: Likewise.
15112 * localedata/ru_RU.UTF-8.in: Likewise.
15113 * localedata/sc_IT.UTF-8.in: Likewise.
15114 * localedata/se_NO.UTF-8.in: Likewise.
15115 * localedata/sq_AL.UTF-8.in: Likewise.
15116 * localedata/sv_SE.UTF-8.in: Likewise.
15117 * localedata/szl_PL.UTF-8.in: Likewise.
15118 * localedata/tg_TJ.UTF-8.in: Likewise.
15119 * localedata/tk_TM.UTF-8.in: Likewise.
15120 * localedata/tt_RU.UTF-8.in: Likewise.
15121 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15122 * localedata/ug_CN.UTF-8.in: Likewise.
15123 * localedata/uz_UZ.UTF-8.in: Likewise.
15124 * localedata/vi_VN.UTF-8.in: Likewise.
15125 * localedata/yi_US.UTF-8.in: Likewise.
15126 * localedata/yo_NG.UTF-8.in: Likewise.
15127 * localedata/zh_CN.UTF-8.in: Likewise.
15128 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15129 file and fix bugs in the collation.
15130 * localedata/locales/az_AZ: Likewise.
15131 * localedata/locales/be_BY: Likewise.
15132 * localedata/locales/ber_DZ: Likewise.
15133 * localedata/locales/ber_MA: Likewise.
15134 * localedata/locales/bg_BG: Likewise.
15135 * localedata/locales/br_FR: Likewise.
15136 * localedata/locales/br_FR@euro: Likewise.
15137 * localedata/locales/ca_ES: Likewise.
15138 * localedata/locales/cns11643_stroke: Likewise.
15139 * localedata/locales/crh_UA: Likewise.
15140 * localedata/locales/cs_CZ: Likewise.
15141 * localedata/locales/csb_PL: Likewise.
15142 * localedata/locales/cv_RU: Likewise.
15143 * localedata/locales/cy_GB: Likewise.
15144 * localedata/locales/da_DK: Likewise.
15145 * localedata/locales/dz_BT: Likewise.
15146 * localedata/locales/en_CA: Likewise.
15147 * localedata/locales/eo: Likewise.
15148 * localedata/locales/es_CU: Likewise.
15149 * localedata/locales/es_EC: Likewise.
15150 * localedata/locales/es_ES: Likewise.
15151 * localedata/locales/es_US: Likewise.
15152 * localedata/locales/et_EE: Likewise.
15153 * localedata/locales/fa_IR: Likewise.
15154 * localedata/locales/fi_FI: Likewise.
15155 * localedata/locales/fil_PH: Likewise.
15156 * localedata/locales/fur_IT: Likewise.
15157 * localedata/locales/gez_ER@abegede: Likewise.
15158 * localedata/locales/ha_NG: Likewise.
15159 * localedata/locales/hr_HR: Likewise.
15160 * localedata/locales/hsb_DE: Likewise.
15161 * localedata/locales/hu_HU: Likewise.
15162 * localedata/locales/ig_NG: Likewise.
15163 * localedata/locales/ik_CA: Likewise.
15164 * localedata/locales/is_IS: Likewise.
15165 * localedata/locales/iso14651_t1_pinyin: Likewise.
15166 * localedata/locales/kk_KZ: Likewise.
15167 * localedata/locales/ku_TR: Likewise.
15168 * localedata/locales/ky_KG: Likewise.
15169 * localedata/locales/ln_CD: Likewise.
15170 * localedata/locales/lt_LT: Likewise.
15171 * localedata/locales/lv_LV: Likewise.
15172 * localedata/locales/mi_NZ: Likewise.
15173 * localedata/locales/ml_IN: Likewise.
15174 * localedata/locales/mn_MN: Likewise.
15175 * localedata/locales/mr_IN: Likewise.
15176 * localedata/locales/mt_MT: Likewise.
15177 * localedata/locales/nb_NO: Likewise.
15178 * localedata/locales/om_KE: Likewise.
15179 * localedata/locales/os_RU: Likewise.
15180 * localedata/locales/pl_PL: Likewise.
15181 * localedata/locales/ps_AF: Likewise.
15182 * localedata/locales/ro_RO: Likewise.
15183 * localedata/locales/ru_RU: Likewise.
15184 * localedata/locales/ru_UA: Likewise.
15185 * localedata/locales/sc_IT: Likewise.
15186 * localedata/locales/se_NO: Likewise.
15187 * localedata/locales/si_LK: Likewise.
15188 * localedata/locales/sq_AL: Likewise.
15189 * localedata/locales/sv_FI: Likewise.
15190 * localedata/locales/sv_FI@euro: Likewise.
15191 * localedata/locales/sv_SE: Likewise.
15192 * localedata/locales/szl_PL: Likewise.
15193 * localedata/locales/tg_TJ: Likewise.
15194 * localedata/locales/ti_ER: Likewise.
15195 * localedata/locales/tk_TM: Likewise.
15196 * localedata/locales/tl_PH: Likewise.
15197 * localedata/locales/tr_TR: Likewise.
15198 * localedata/locales/tt_RU: Likewise.
15199 * localedata/locales/tt_RU@iqtelif: Likewise.
15200 * localedata/locales/ug_CN: Likewise.
15201 * localedata/locales/uk_UA: Likewise.
15202 * localedata/locales/uz_UZ: Likewise.
15203 * localedata/locales/uz_UZ@cyrillic: Likewise.
15204 * localedata/locales/vi_VN: Likewise.
15205 * localedata/locales/yi_US: Likewise.
15206 * localedata/locales/yo_NG: Likewise.
15207
ce6636b0
MF
152082018-02-27 Mike FABIAN <mfabian@redhat.com>
15209
15210 * gen-locales.mk: Make test files which contain @ modifiers in their
15211 name work.
15212 * localedata/gen-locale.sh: Likewise.
15213
ac3a3b4b
MF
152142018-02-27 Mike FABIAN <mfabian@redhat.com>
15215
15216 * posix/tst-fnmatch.input: Fix results for range expressions
15217 for non C locales.
15218 * posix/tst-regexloc.c: Do not use a range expression for
15219 de_DE.ISO-8859-1 locale.
15220
770cbe14
MF
152212018-02-27 Mike FABIAN <mfabian@redhat.com>
15222
15223 * posix/bug-regex5.c: Fix test case because with the new
15224 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15225 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15226 file.
15227
0fc355d9
MF
152282018-02-27 Mike FABIAN <mfabian@redhat.com>
15229
15230 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15231 downloaded from ISO, the collation order of @-. and space has changed.
15232 Therefore, this test file needed to be adapted.
15233 * localedata/fr_CA.UTF-8.in: Likewise.
15234 * localedata/fr_FR.UTF-8.in: Likewise.
15235 * localedata/uk_UA.UTF-8.in: Likewise.
15236
43f3893f
MF
152372018-02-27 Mike FABIAN <mfabian@redhat.com>
15238
15239 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15240 order of ȥ in the new iso14651_t1_common file.
15241 * localedata/pl_PL.UTF-8.in: Likewise.
15242
df74ef78
MF
152432018-02-27 Mike FABIAN <mfabian@redhat.com>
15244
15245 * localedata/locales/iso14651_t1_common: Add sections for various
15246 scripts to the iso14651_t1_common file.
15247
d5adfbad
MF
152482018-02-27 Mike FABIAN <mfabian@redhat.com>
15249
15250 * localedata/locales/iso14651_t1_common: Use the code point of a
15251 character in the fourth collation level instead of IGNORE for all
15252 entries which have IGNORE on all 4 levels.
15253
5f5a9610
MF
152542018-02-27 Mike FABIAN <mfabian@redhat.com>
15255
15256 * localedata/locales/iso14651_t1_common: Add some convenient collation
15257 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15258 rules similar to those in CLDR.
15259
8a97e900
MF
152602018-02-27 Mike FABIAN <mfabian@redhat.com>
15261
15262 * localedata/locales/iso14651_t1_common: The new version of this
15263 file downloaded from ISO contained several syntax errors which
15264 are fixed by this patch.
15265
bbdd2fba
MF
152662018-02-27 Mike FABIAN <mfabian@redhat.com>
15267
15268 * localedata/locales/iso14651_t1_common: replace all <U.....>
15269 with <U000.....> because glibc understands only 4 digit or 8 digit
15270
1569e551
MF
152712018-02-27 Mike FABIAN <mfabian@redhat.com>
15272
15273 * localedata/locales/iso14651_t1_common: Necessary changes
15274 to make the file downloaded from ISO usable by glibc.
15275
9479b6d5
MF
152762018-02-27 Mike FABIAN <mfabian@redhat.com>
15277
15278 [BZ #14095]
15279 * localedata/locales/iso14651_t1_common: Update file to
15280 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15281
03b540b3
ST
152822018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15283
15284 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15285 of <nptl/pthreadP.h>
15286 (thread_attr_compare): Move function to...
eb937a52 15287 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 15288 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 15289 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 15290
20602c72
JM
152912018-02-26 Joseph Myers <joseph@codesourcery.com>
15292
f54d8f73
JM
15293 * string/strcoll_l.c: Include <libc-diag.h>.
15294 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15295 declarations of seq1 and seq2.
15296
20602c72
JM
15297 [BZ #15105]
15298 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15299 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15300
f5f473a9
DL
153012018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15302
15303 [BZ #22433]
15304 [BZ #22807]
15305 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15306 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15307 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15308 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15309 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15310 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15311
398c6fdd
TMQMF
153122018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15313
15314 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15315 macros used in __ptrace_request.
15316
f5d1f629
L
153172018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15318
15319 [BZ #22792]
15320 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15321 to $(CC).
15322 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15323 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15324 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15325 <tcb-offsets.h>.
15326
54412d20
JM
153272018-02-23 Joseph Myers <joseph@codesourcery.com>
15328
15329 [BZ #15105]
15330 * ctype/ctype.c (tolower): Use libc_hidden_def.
15331 (toupper): Likewise.
15332 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15333 [!_ISOMAC] (toupper): Likewise.
15334
81be4b5e
MF
153352018-02-23 Mike FABIAN <mfabian@redhat.com>
15336
15337 * localedata/Makefile: Remove --quiet argument when
15338 installing locales
15339
9d5cfd8e
MF
153402018-02-23 Mike FABIAN <mfabian@redhat.com>
15341
15342 [BZ #17438]
15343 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15344 in d_fmt.
15345 * localedata/locales/pt_PT (LC_TIME): likewise
15346
6c7269f3
MF
153472018-02-23 Mike FABIAN <mfabian@redhat.com>
15348
15349 [BZ #22646]
15350 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15351 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15352 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15353
92aabad9
AZ
153542018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15355
4cdc25a4
AZ
15356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15357
27761a10
AZ
15358 * nptl/Makefile (routines): Remove unregister-atfork.
15359 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15360 (fork_handler_alloc): Remove function.
15361 (fork_handlers, fork_handler_init): New variables.
15362 (__fork_lock): Rename to atfork_lock.
15363 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15364 to use a dynamic array to add/remove atfork handlers.
15365 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15366 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15367 Remove declaration.
15368 (fork_handler): Remove next, refcntr, and need_signal member.
15369 (__run_fork_handler_type): New enum.
15370 (__run_fork_handlers): New prototype.
15371 * nptl/register-atfork.c: Remove file.
15372 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15373
92aabad9
AZ
15374 * sysdeps/nptl/nptl-signals.h: Move to ...
15375 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15376 comments.
15377 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15378 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15379 unnecessary check for SIGTIMER.
15380 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15381 remove unnecessary removal of SIGTIMER.
15382 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15383 include-signals.h rename.
15384 * nptl/pthreadP.h: Likewise.
15385 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15386 __is_internal_signal instead of __nptl_is_internal_signal.
15387
fdcc6253
AW
153882018-02-22 Andrew Waterman <andrew@sifive.com>
15389
7e04eb29 15390 [BZ # 22884]
fdcc6253
AW
15391 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15392 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15393 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15394 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15395
8090720a
DD
153962018-02-22 DJ Delorie <dj@delorie.com>
15397
15398 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15399
6ca24c43
SP
154002018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15401
15402 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15403 do_misaligned, not misaligned8.
15404
e9537ddd
SE
154052018-02-22 Steve Ellcey <sellcey@cavium.com>
15406
15407 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15408 Add memcpy_thunderx2.
15409 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15410 Increment to 4.
15411 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15412 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15413 and IS_THUNDERX2PA checks.
15414 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15415 Use macro to set name appropriately.
15416 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15417 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15418 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15419 New macro.
15420 (IS_THUNDERX2): New macro.
15421
6e336476
SL
154222018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15423
15424 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15425
34957904
ZW
154262018-02-21 Zack Weinberg <zackw@panix.com>
15427
30bfee26
ZW
15428 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15429 Define here, unconditionally.
15430 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15431 * libio/libioP.h: Remove #if 0 blocks.
15432 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15433 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15434 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15435
15436 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15437 Assume weak_alias is always defined.
15438
15439 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15440 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15441 Remove #if 0 and #ifdef TODO blocks.
15442 Assume text_set_element is always defined.
15443
15444 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15445 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15446 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15447
df6c012b
ZW
15448 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15449 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15450 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15451 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15452 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15453 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15454 Reformat bit flags for _flags field to make occupancy clearer.
15455 Update commentary.
15456 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15457 Keep definitions consistent with those in libio/libio.h.
15458
15459 * libio/libio.h (_IO_file_flags): Remove macro.
15460 All uses changed to _flags.
15461
177aad3f
ZW
15462 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15463 (__HAVE_COLUMN, _IO_BE): Don't define.
15464 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15465 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15466 * libio/libioP.h (EOF): Don't define.
15467 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15468 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15469 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15470 testing _IO_UNIFIED_JUMPTABLES.
15471
9964a145
ZW
15472 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15473 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15474 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15475 (_IO_size_t): Delete; all uses changed to size_t.
15476 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15477 (_IO_off_t): Delete; all uses changed to off_t.
15478 (_IO_off64_t): Delete; all uses changed to off64_t.
15479 (_IO_pid_t): Delete; all uses changed to pid_t.
15480 (_IO_uid_t): Delete; all uses changed to uid_t.
15481 (_IO_wint_t): Delete; all uses changed to wint_t.
15482 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15483 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15484 (_IO_cookie_io_functions_t): Delete; all uses changed to
15485 cookie_io_functions_t.
15486 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15487 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15488 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15489 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15490
15491 * libio/iofopncook.c: Remove unnecessary forward declarations.
15492 * libio/iolibio.h: Correct outdated commentary.
15493 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15494 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15495 Remove unnecessary casts.
15496 * stdio-common/getline.c: Use _IO_getdelim directly.
15497 Don't redefine ssize_t.
15498 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15499 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15500 Remove outdated comments.
15501 * stdio-common/vfscanf.c: Don't redefine va_list.
15502
34957904
ZW
15503 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15504 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15505 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15506 which are always true, and __cplusplus, which is always false.
15507
30ac923d
JM
155082018-02-21 Joseph Myers <joseph@codesourcery.com>
15509
039c721a
JM
15510 [BZ #15105]
15511 [BZ #19463]
15512 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15513 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15514 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15515 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15516 libc_hidden_proto.
15517 [!_ISOMAC] (putc_unlocked): Likewise.
15518 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15519 define inline if [__USE_EXTERN_INLINES].
15520 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15521 putc_unlocked.
15522
30ac923d
JM
15523 [BZ #15105]
15524 [BZ #19463]
15525 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15526 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15527 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15528 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15529 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15530 getc_unlocked.
15531 * time/tzfile.c (__tzfile_read): Likewise.
15532
7ec5f946
MF
155332018-02-21 Mike FABIAN <mfabian@redhat.com>
15534
15535 [BZ #22517]
15536 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15537
0d217f40
RJ
155382018-02-21 Rical Jasan <ricaljasan@pacific.net>
15539
15540 * io/fcntl.h: Fix a typo in a comment.
15541
862b4502
RJ
155422018-02-21 Rical Jasan <ricaljasan@pacific.net>
15543
15544 [BZ #22862]
15545 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15546 define _DEFAULT_SOURCE.
15547 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15548
999a6dab
FW
155492018-02-21 Florian Weimer <fweimer@redhat.com>
15550
15551 [BZ #20890]
15552 * elf/cache.c (save_cache): Call fsync on temporary file before
15553 renaming it.
15554 (save_aux_cache): Call fdatasync on temporary file before renaming
15555 it.
15556
52a01100
FW
155572018-02-21 Florian Weimer <fweimer@redhat.com>
15558
15559 [BZ #22787]
15560 * include/caller.h: Remove file.
15561 * elf/dl-caller.c: Likewise.
15562 * elf/Makefile (dl-routines): Remove dl-caller.
15563 (shared-only-routines): Do not add dl-caller.
15564 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15565 __check_caller.
15566 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15567 member.
15568 (dl_open_worker): Do not call __check_caller.
15569 (_dl_open): Do not set caller_dl_open member.
15570 * elf/rtld.c (_rtld_global_ro): Do not initialize
15571 _dl_check_caller member.
15572 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15573 _dl_check_caller member.
15574 (_dl_check_caller): Remove declaration.
15575 * sysdeps/unix/sysv/linux/dl-execstack.c
15576 (_dl_make_stack_executable): Do not call __check_caller.
15577
b5bf62e4
ST
155782018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15579
15580 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 15581 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 15582
e8d190b9
RJ
155832018-02-20 Rical Jasan <ricaljasan@pacific.net>
15584
15585 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15586 description.
15587
6a3962c4
RJ
155882018-02-20 Rical Jasan <ricaljasan@pacific.net>
15589
da81ae64 15590 [BZ #16335]
6a3962c4
RJ
15591 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15592 of 199606L, 200112L, and 200809L.
15593 (_XOPEN_SOURCE): Document special values of 600 and 700.
15594 (_ISOC11_SOURCE): Document macro.
15595 (_ATFILE_SOURCE): Likewise.
15596 (_FORTIFY_SOURCE): Likewise.
15597
ec481ad8
JM
155982018-02-19 Joseph Myers <joseph@codesourcery.com>
15599
15600 [BZ #15105]
15601 [BZ #19463]
15602 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15603 and define as weak alias of __ferror_unlocked. Use
15604 libc_hidden_weak.
15605 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15606 libc_hidden_proto.
15607 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15608 function if [__USE_EXTERN_INLINES].
15609 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15610 ferror_unlocked.
15611
7d15ef84
RJ
156122018-02-19 Rical Jasan <ricaljasan@pacific.net>
15613
15614 [BZ #6889]
15615 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15616
f8d79582
AJ
156172018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15618
15619 [BZ #22818]
15620 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15621 the GLIBC_2.1 version.
15622
56456a2a
AJ
156232018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15624
15625 [BZ #21508]
15626 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15627 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15628 intl/tst-gettext-de.po from po/de.po by removing the
15629 POT-Creation-Date line.
15630 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15631 ../po/de.po.
15632 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15633 ../po/de.po.
15634
13768813
ST
156352018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15636
15637 * mach/Makefile (headers): Add mach/param.h.
15638 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15639 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
15640 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15641 (__ptsname_r): Move implementation to...
15642 (__ptsname_internal): ... new function. Add filling the STP
15643 structure.
13768813 15644
6aca1b61
JDA
156452018-02-17 John David Anglin <danglin@gcc.gnu.org>
15646
15647 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15648 idouble to 1 ULP.
15649
16efad51
RJ
156502018-02-16 Rical Jasan <ricaljasan@pacific.net>
15651
15652 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15653 syntax.
15654
87245073
SL
156552018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15656
15657 * nptl/Makefile (tst-mutex8-ENV): Delete.
15658 * nptl/tst-mutex8.c (check_type):
15659 Add runtime check if mutex will be elided.
15660
7fc03cf3
JM
156612018-02-15 Joseph Myers <joseph@codesourcery.com>
15662
db9881ec
JM
15663 [BZ #20980]
15664 [BZ #21234]
15665 * manual/install.texi (Configuring and compiling): Describe
15666 passing CC and CFLAGS on configure command line, not as
15667 environment variables. Use @code markup on those variables.
15668 Specify what options go in CC and what go in CFLAGS. Note the
15669 requirement to compile with optimization.
15670 * INSTALL: Regenerated.
15671
3785b31c
JM
15672 [BZ #18124]
15673 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15674 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15675 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15676 __sigprocmask instead of sigprocmask.
15677 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15678 Likewise.
15679 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15680 __sigsetjmp and sigprocmask.
15681
055ac2a7
JM
15682 [BZ #15105]
15683 * include/argz.h (argz_next): Use libc_hidden_proto.
15684 (__argz_next): Likewise.
15685 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15686 (argz_next): Use libc_hidden_weak.
15687
e4452a2d
JM
15688 [BZ #15105]
15689 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15690 libc_hidden_proto.
15691 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15692 libc_hidden_def.
15693
499b3153
JM
15694 [BZ #15105]
15695 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15696 libc_hidden_proto.
15697 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15698
7fc03cf3
JM
15699 [BZ #15105]
15700 [BZ #19463]
15701 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15702 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15703 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15704 (__feof_unlocked): New declaration, and inline function if
15705 [__USE_EXTERN_INLINES].
15706 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15707 instead of feof_unlocked.
15708 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15709 * nss/nsswitch.c (nss_parse_file): Likewise.
15710 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15711 Likewise.
15712 * time/getdate.c (__getdate_r): Likewise.
15713 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15714 Define as macro to call __feof_unlocked.
15715
0c8a67a5
WD
157162018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15717
15718 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15719
610ee1fc
WD
157202018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15721
15722 * math/Makefile: Remove mpexp.c and mplog.c
15723 * sysdeps/i386/fpu/mpexp.c: Delete file.
15724 * sysdeps/i386/fpu/mplog.c: Likewise.
15725 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15726 * sysdeps/ia64/fpu/mplog.c: Likewise.
15727 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15728 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15729 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15730 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15731 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15732 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15733 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15734 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15735 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15736 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15737 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15738 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15739 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15740 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15741 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15742 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15743
8e7196c8
SL
157442018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15745
15746 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15747
4f55ad0b
AZ
157482018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15749
15750 * sysdeps/sh/libm-test-ulps: Update.
15751
261a851c
TMQMF
157522018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15753
15754 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15755 idouble to 1 ULP.
15756
e16deca6
ZW
157572018-02-12 Zack Weinberg <zackw@panix.com>
15758
15759 [BZ #19239]
15760 * posix/sys/types.h: Don't include sys/sysmacros.h.
15761 * misc/sys/sysmacros.h: Remove the conditional deprecation
15762 warnings for the macros defined by this header.
15763
de800d83
SN
157642018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15765
15766 * manual/probes.texi: Remove slowexp probes.
15767 * math/Makefile: Remove slowexp.
15768 * sysdeps/generic/math_private.h (__slowexp): Remove.
15769 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15770 document error bounds.
15771 * sysdeps/i386/fpu/slowexp.c: Remove.
15772 * sysdeps/ia64/fpu/slowexp.c: Remove.
15773 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15774 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15775 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15776 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15777 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15778 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15779 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15780 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15781 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15782 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15783 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15784
c3d466cb
WD
157852018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15786
15787 [BZ #13932]
15788 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15789 * benchtests/pow-inputs: Update comment for slow path cases.
15790 * manual/probes.texi (slowpow_p10): Delete removed probe.
15791 (slowpow_p10): Likewise.
15792 * math/Makefile: Remove halfulp.c and slowpow.c.
15793 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15794 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15795 (__halfulp): Remove.
15796 (__slowpow): Remove.
15797 * sysdeps/i386/fpu/halfulp.c: Delete file.
15798 * sysdeps/i386/fpu/slowpow.c: Likewise.
15799 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15800 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15801 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15802 improve comments and add error analysis.
15803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15804 (power1): Remove function:
15805 (log1): Remove error argument, add error analysis.
15806 (my_log2): Remove function.
15807 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15809 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15810 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15811 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15812 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15813 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15814 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15815 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15816 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15817 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15818 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15819 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15820 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15821
7bb087bd
ST
158222018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15823
15824 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15825 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15826
2fd4bbaa
DL
158272018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15828
15829 [BZ #22433]
15830 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15831 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15832 and PTRACE_SETHBPREGS.
15833
402ecba4
ZW
158342018-02-10 Zack Weinberg <zackw@panix.com>
15835
15836 [BZ #22830]
15837 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15838 correctly.
15839 * malloc/tst-malloc-stats-cancellation.c: New test case.
15840 * malloc/Makefile: Add new test case.
15841
4f5b921e
WD
158422018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15843
15844 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15845
a85b70db
JM
158462018-02-10 Joseph Myers <joseph@codesourcery.com>
15847
d8742dd8
JM
15848 * math/Makefile (libm-narrow-fns): Add add.
15849 (libm-test-funcs-narrow): Likewise.
15850 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15851 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15852 * math/gen-auto-libm-tests.c (test_functions): Add add.
15853 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15854 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15855 (NARROW_ADD_TRIVIAL): Likewise.
15856 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15857 macro.
15858 (__daddl): Likewise.
15859 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15860 dadd.
15861 (CFLAGS-nldbl-dadd.c): New variable.
15862 (CFLAGS-nldbl-fadd.c): Likewise.
15863 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15864 __nldbl_daddl.
15865 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15866 prototype.
15867 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15868 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15869 * math/auto-libm-test-in: Add tests of add.
15870 * math/auto-libm-test-out-narrow-add: New generated file.
15871 * math/libm-test-narrow-add.inc: New file.
15872 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15873 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15874 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15875 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15876 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15877 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15878 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15880 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15881 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15883 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15884 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15886 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15887 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15888 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15889 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15891 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15895 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15900 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15901 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15902 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15903 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15918
a85b70db
JM
15919 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15920 (f128-pairs): New variable.
15921 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15922 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15923 to CFLAGS.
15924 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15925 Also make tests add $(f128-loader-link) to gnulib-tests.
15926
6a1ff640
DD
159272018-02-09 DJ Delorie <dj@redhat.com>
15928
15929 [BZ #22827]
15930 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15931 64-bit ELF type for 64-bit ELF objects.
15932
bfd47587
JM
159332018-02-09 Joseph Myers <joseph@codesourcery.com>
15934
31958338
JM
15935 * math/libm-test-driver.c (snan_tests_arg): New variable.
15936 * math/libm-test-support.h (snan_tests_arg): New declaration.
15937 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15938
8e554659
JM
15939 * math/Makefile (test-type-pairs): New variable.
15940 (test-type-pairs-f64xf128-yes): Likewise.
15941 (tests): Add test-narrow-macros.
15942 (libm-test-funcs-narrow): New variable.
15943 (libm-test-c-narrow): Likewise.
15944 (generated): Add $(libm-test-c-narrow).
15945 (libm-tests-base-narrow): New variable.
15946 (libm-tests-narrow): Likewise.
15947 (libm-tests): Add $(libm-tests-narrow).
15948 (libm-tests-for-type): Handle $(libm-tests-narrow).
15949 (libm-test-c-narrow-obj): New variable.
15950 ($(libm-test-c-narrow-obj)): New rule.
15951 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15952 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15953 $(o-iterator) to set dependencies and CFLAGS.
15954 * math/gen-auto-libm-tests.c: Document use for narrowing
15955 functions.
15956 (output_for_one_input_case): Take argument NARROW.
15957 (generate_output): Likewise. Update call to
15958 output_for_one_input_case.
15959 (main): Take --narrow option. Update call to generate_output.
15960 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15961 (apply_lit): Update call to _apply_lit.
15962 (apply_arglit): New function.
15963 (parse_args): Handle "a" arguments.
15964 (parse_auto_input): Handle format names using ":".
15965 * math/README.libm-test: Document "a" parameter type.
15966 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15967 (ARG_TYPE_TRUE_MIN): Likewise.
15968 (ARG_TYPE_MAX): Likwise.
15969 (ARG_MIN_EXP): Likewise.
15970 (ARG_MAX_EXP): Likewise.
15971 (ARG_MANT_DIG): Likewise.
15972 (TEST_COND_arg_ibm128): Likewise.
15973 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15974 (TEST_COND_arg_fmt): New macro.
15975 (init_max_error): Update prototype.
15976 * math/libm-test-support.c (test_ibm128): New variable.
15977 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15978 instead of using [TEST_COND_ibm128] conditional.
15979 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15980 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15981 [TEST_NARROW] (TEST_MSG): New definition.
15982 (arg_plus_zero): New macro.
15983 (arg_minus_zero): Likewise.
15984 (arg_plus_infty): Likewise.
15985 (arg_minus_infty): Likewise.
15986 (arg_qnan_value_pl): Likewise.
15987 (arg_qnan_value): Likewise.
15988 (arg_snan_value_pl): Likewise.
15989 (arg_snan_value): Likewise.
15990 (arg_max_value): Likewise.
15991 (arg_min_value): Likewise.
15992 (arg_min_subnorm_value): Likewise.
15993 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15994 (RUN_TEST_LOOP_aa_f): New macro.
15995 (TEST_SUFF): New macro.
15996 (TEST_SUFF_STR): Likewise.
15997 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15998 (TEST_COND_any_ibm128): New macro.
15999 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16000 this_func. Update call to init_max_error.
16001 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16002 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16003 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16004 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16005 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16006 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16007 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16008 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16009 * math/test-math-vector.h (TEST_NARROW): Likewise.
16010 * math/test-arg-double.h: New file.
16011 * math/test-arg-float128.h: Likewise.
16012 * math/test-arg-float32x.h: Likewise.
16013 * math/test-arg-float64.h: Likewise.
16014 * math/test-arg-float64x.h: Likewise.
16015 * math/test-arg-ldouble.h: Likewise.
16016 * math/test-math-narrow.h: Likewise.
16017 * math/test-narrow-macros.c: Likewise.
16018 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16019 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16020 test-narrow-macros-ldbl-64.
16021 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16022
63716ab2
JM
16023 * math/bits/mathcalls-narrow.h: New file.
16024 * include/bits/mathcalls-narrow.h: Likewise.
16025 * math/math-narrow.h: Likewise.
16026 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16027 (__MATHCALL_NARROW_ARGS_2): Likewise.
16028 (__MATHCALL_NARROW_ARGS_3): Likewise.
16029 (__MATHCALL_NARROW_NORMAL): Likewise.
16030 (__MATHCALL_NARROW_REDIR): Likewise.
16031 (__MATHCALL_NARROW): Likewise.
16032 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16033 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16034 defined.
16035 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16036 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16037 (libm-narrow-fns): New variable.
16038 (libm-narrow-types-basic): Likewise.
16039 (libm-narrow-types-ldouble-yes): Likewise.
16040 (libm-narrow-types-float128-yes): Likewise.
16041 (libm-narrow-types-float128-alias-yes): Likewise.
16042 (libm-narrow-types): Likewise.
16043 (libm-routines): Add narrowing functions.
16044 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16045 (libc_feholdexcept_setroundf128): New macro.
16046 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16047 * sysdeps/ieee754/float128/float128_private.h: Include
16048 <math/math-narrow.h>.
16049 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16050 Undefine and redefine.
16051 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16052 (libm_alias_float_ldouble): Undefine and redefine.
16053 (libm_alias_double_ldouble): Likewise.
16054
bfd47587
JM
16055 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16056
3f8d9d58
WD
160572018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16058
16059 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16060 FPCR/FPSR.
16061
1f6676d7
RJ
160622018-02-09 Rical Jasan <ricaljasan@pacific.net>
16063
16064 * manual/creature.texi: Convert references to gcc.info to gcc.
16065 * manual/stdio.texi: Likewise.
16066 * manual/string.texi: Likewise.
16067
d80441dd
JM
160682018-02-07 Joseph Myers <joseph@codesourcery.com>
16069
15081be9
JM
16070 [BZ #17979]
16071 * posix/bits/types.h (__int_least8_t): New typedef.
16072 (__uint_least8_t): Likewise.
16073 (__int_least16_t): Likewise.
16074 (__uint_least16_t): Likewise.
16075 (__int_least32_t): Likewise.
16076 (__uint_least32_t): Likewise.
16077 (__int_least64_t): Likewise.
16078 (__uint_least64_t): Likewise.
16079 * sysdeps/generic/stdint.h (int_least8_t): Define using
16080 __int_least8_t.
16081 (int_least16_t): Define using __int_least16_t.
16082 (int_least32_t): Define using __int_least32_t.
16083 (int_least64_t): Define using __int_least64_t.
16084 (uint_least8_t): Define using __uint_least8_t.
16085 (uint_least16_t): Define using __uint_least16_t.
16086 (uint_least32_t): Define using __uint_least32_t.
16087 (uint_least64_t): Define using __uint_least64_t.
16088 * wcsmbs/uchar.h: Include <bits/types.h>.
16089 (char16_t): Define using __uint_least16_t conditional only on
16090 [!__USE_ISOCXX11].
16091 (char32_t): Define using __uint_least32_t conditional only on
16092 [!__USE_ISOCXX11].
16093 * wcsmbs/test-char-types.c: New file.
16094 * wcsmbs/Makefile (tests): Add test-char-types.
16095
d80441dd
JM
16096 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16097 version to 4.0.1.
16098
6c6c962a
ZW
160992018-02-07 Zack Weinberg <zackw@panix.com>
16100
63fb8f9a
ZW
16101 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16102 Delete all contents except for definitions of _G_HAVE_MMAP and
16103 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16104 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16105 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16106 change as above.
16107
16108 * libio/libio.h: Don't include bits/_G_config.h here.
16109 Include stddef.h with __need_wchar_t defined. Include
16110 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16111 Define _IO_iconv_t here, directly.
16112 Don't define _IO_HAVE_ST_BLKSIZE.
16113 * libio/libioP.h: Include _G_config.h here. Move include of
16114 shlib-compat.h up with rest of includes. Simplify conditionals
16115 controlling definition of _IO_JUMPS_OFFSET.
16116
16117 * csu/init.c: Remove always-true #if around entire file.
16118 Don't include stdio.h. Set _IO_stdin_used to hardwired
16119 constant 0x20001, and update commentary.
16120 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16121 Replace all uses of _G_va_list with __gnuc_va_list.
16122 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16123 instead of #if _IO_HAVE_ST_BLKSIZE.
16124 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16125 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16126 not #ifdef.
16127
6c6c962a
ZW
16128 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16129 multiple-include guard to match.
16130 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16131 into this file.
16132 Remove preprocessor conditionals that are always true and/or
16133 redundant to other preprocessor conditionals in the same nest.
16134 Include shlib-compat.h unconditionally.
16135 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16136 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16137 defined after including stdio.h.
16138 Use __BEGIN_DECLS/__END_DECLS.
16139
16140 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16141 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16142 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16143
a4fea3f2
ZW
161442018-02-07 Zack Weinberg <zackw@panix.com>
16145
16146 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16147 New single-type headers split from _G_config.h.
16148 * libio/bits/types/cookie_io_functions_t.h
16149 * libio/bits/types/struct_FILE.h
16150 New single-type headers split from libio.h.
16151
16152 * libio/Makefile: Install the above new headers. Don't install
16153 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16154 bits/libio-ldbl.h.
16155 * libio/_G_config.h, libio/libio.h: Delete file.
16156
16157 * libio/bits/libio.h: Remove improper-inclusion guard.
16158 Include stdio.h and don't repeat anything that it does.
16159 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16160 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16161 __io_read_fn as cookie_read_function_t,
16162 __io_write_fn as cookie_write_function_t,
16163 __io_seek_fn as cookie_seek_function_t,
16164 __io_close_fn as cookie_close_function_t,
16165 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16166 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16167 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 16168 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
16169 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16170 and _IO_ferror_unlocked.
16171 Move prototypes of __uflow and __overflow...
16172
16173 * libio/stdio.h: ...here. Don't include bits/libio.h.
16174 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 16175 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
16176 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16177 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16178 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16179 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16180 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16181 __ssize_t, not _IO_ssize_t. Unconditionally define
16182 BUFSIZ as 8192 and EOF as (-1).
16183
16184 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16185 macros from bits/types/struct_FILE.h instead of _IO_* macros
16186 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16187 instead of _IO_ssize_t.
16188 * libio/bits/stdio2.h: Similarly.
16189
16190 * libio/iolibio.h: Add multiple-include guard.
16191 Include bits/libio.h after stdio.h.
16192 * libio/libioP.h: Add multiple-include guard.
16193 Include stdio.h and bits/libio.h before iolibio.h.
16194
6c6c962a 16195 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
16196 * include/bits/types/cookie_io_functions_t.h
16197 * include/bits/types/struct_FILE.h: New wrappers.
16198
16199 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
16200 Get definitions of _G_fpos_t and _G_fpos64_t from
16201 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16202 respectively. Remove improper-inclusion guards.
a4fea3f2 16203
6c6c962a 16204 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 16205 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 16206 libio.h and _G_config.h.
a4fea3f2 16207
ce999220
JM
162082018-02-07 Joseph Myers <joseph@codesourcery.com>
16209
8b4a1182
JM
16210 [BZ #15105]
16211 [BZ #19463]
16212 * include/sys/sysmacros.h [!_ISOMAC]
16213 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16214 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16215 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16216 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16217 libc_hidden_proto.
16218 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16219 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16220 Likewise.
16221 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16222 Undefine and redefine to add use __gnu_dev_ prefix.
16223 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16224 Likewise.
16225 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16226 and define as hidden inline function.
16227 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16228 Likewise.
16229 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16230 Likewise.
16231 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16232 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16233 (gnu_dev_minor): Likewise.
16234 (gnu_dev_makedev): Likewise.
16235 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16236 makedev.
16237 * posix/wordexp.c (exec_comm_child): Likewise.
16238 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16239 instead of minor and __gnu_dev_major instead of major.
16240 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16241 __gnu_dev_major instead of major.
16242 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16243 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16244 instead of gnu_dev_minor.
16245 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16246 (SLAVE_P): Likewise.
16247 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16248 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16249 instead of major.
16250
ce999220
JM
16251 [BZ #21313]
16252 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16253 in another place.
16254 * locale/weightwc.h (findidx): Likewise.
16255
b7c83ca3
WD
162562018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16257
16258 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16259 (slowlog_inexact): Likewise
16260 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16261 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16262
388ff7bd
IG
162632018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16264
16265 [BZ #22797]
16266 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16267 missing second underscore to parameter name.
16268
663e7d78
JM
162692018-02-06 Joseph Myers <joseph@codesourcery.com>
16270
0d40d0ec
JM
16271 [BZ #14508]
16272 [BZ #15512]
16273 [BZ #17082]
16274 [BZ #20530]
16275 * bits/byteswap.h: Update file comment. Do not include
16276 <bits/byteswap-16.h>.
16277 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16278 constant.
16279 (__bswap_16): Define as inline function.
16280 (__bswap_constant_32): Reformat definition.
16281 (__bswap_32): Always define as inline function, not macro, using
16282 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16283 otherwise __bswap_constant_32.
16284 (__bswap_constant_64): Reformat definition. Do not use
16285 __extension__ here.
16286 (__bswap_64): Always define as inline function, not macro. Use
16287 __extension__ on function definition. Use __builtin_bswap64 if
16288 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16289 * string/test-endian-file-scope.c: New file.
16290 * string/test-endian-sign-conversion.c: Likewise.
16291 * string/Makefile (headers): Remove bits/byteswap-16.h.
16292 (tests): Add test-endian-file-scope and
16293 test-endian-sign-conversion.
16294 (CFLAGS-test-endian-sign-conversion.c): New variable.
16295 * bits/byteswap-16.h: Remove file.
16296 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16297 * sysdeps/ia64/bits/byteswap.h: Likewise.
16298 * sysdeps/m68k/bits/byteswap.h: Likewise.
16299 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16300 * sysdeps/s390/bits/byteswap.h: Likewise.
16301 * sysdeps/tile/bits/byteswap.h: Likewise.
16302 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16303 * sysdeps/x86/bits/byteswap.h: Likewise.
16304
383e87c9
JM
16305 [BZ #17721]
16306 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16307 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16308 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16309 199901L] (__restrict): Define to restrict.
16310
d92c2759
JM
16311 [BZ #19667]
16312 * string/testcopy.c: Include <support/support.h>. Do not include
16313 <malloc.h>. Use <support/test-driver.c>.
16314 (main): Rename to do_test. Make static. Use xmalloc instead of
16315 malloc.
16316
625fb764
JM
16317 [BZ #13575]
16318 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16319 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16320 (SSIZE_MAX): Define to INT_MAX.
16321 * posix/test-ssize-max.c: New file.
16322 * posix/Makefile (tests): Add test-ssize-max.
16323
02325d6c
JM
16324 [BZ #19668]
16325 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16326 <support/support.h>. Do not include <malloc.h>.
16327 (query_auxv): Use xmalloc instead of malloc.
16328
663e7d78
JM
16329 [BZ #14553]
16330 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16331 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16332 instead of loff_t.
16333
6d7aa2b5
FW
163342018-02-06 Florian Weimer <fweimer@redhat.com>
16335
16336 [BZ #18023]
16337 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16338 Use scratch_buffer instead of extend_alloca.
16339
de6da571
ZW
163402018-02-06 Zack Weinberg <zackw@panix.com>
16341
26c07172
ZW
16342 * libio/stdio.h: Don't define getc or putc as macros.
16343 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16344 not _IO_getc and _IO_putc.
16345
de6da571
ZW
16346 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16347 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16348
92669d6e
JM
163492018-02-06 Joseph Myers <joseph@codesourcery.com>
16350
c2b84df9
JM
16351 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16352 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16353
41376f8c
JM
16354 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16355
d28bf648
JM
16356 [BZ #14890]
16357 * elf/elf.h (NT_PRFPREG): New macro.
16358 (NT_S390_VXRS_LOW): Likewise.
16359 (NT_S390_VXRS_HIGH): Likewise.
16360 (NT_S390_GS_CB): Likewise.
16361 (NT_S390_GS_BC): Likewise.
16362 (NT_S390_RI_CB): Likewise.
16363
e76def72
JM
16364 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16365 (MAP_SYNC): New macro.
16366 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16367 Likewise.
16368 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16369 (MAP_SYNC): Likewise.
16370 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16371 (MAP_SYNC): Likewise.
16372 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16373 (MAP_SYNC): Likewise.
16374 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16375 (MAP_SYNC): Likewise.
16376 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16377 (MAP_SYNC): Likewise.
16378 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16379 (MAP_SYNC): Likewise.
16380 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16381 Likewise.
16382 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16383 Likewise.
16384
92669d6e
JM
16385 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16386 (MAP_SHARED_VALIDATE): New macro.
16387 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16388 (MAP_SHARED_VALIDATE): Likewise.
16389
6a5cac49
L
163902018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16391
16392 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16393 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16394 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16395
b44e0dfb
L
163962018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16397
16398 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16399 (DT_NUM): Updated to 35.
16400
f886c16c
L
164012018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16402
16403 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16404 __builtin_expect with __glibc_likely and __glibc_unlikely.
16405 (elf_machine_rela): Likewise.
16406 (elf_machine_lazy_rel): Likewise.
16407
06fbebff
L
164082018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16409
16410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 16411 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
16412 (elf_machine_lazy_rel): Likewise.
16413
371b220f
L
164142018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16415
16416 [BZ #22638]
16417 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16418 SHARED.
65805016 16419 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 16420
f649a1b8
AS
164212018-02-05 Andreas Schwab <schwab@suse.de>
16422
16423 [BZ #22761]
16424 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16425 string.
16426
9fdb340e
ST
164272018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16428
16429 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16430 not check against PTHREAD_STACK_MIN.
16431
09e56b9e
SM
164322018-02-02 Sean McKean <smckean83@gmail.com>
16433
16434 [BZ #22735]
16435 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16436
d4b4a00a
FW
164372018-02-02 Florian Weimer <fweimer@redhat.com>
16438
16439 [BZ #22753]
16440 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16441 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16442 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16443 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16444 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16445 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16446 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16447 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16448 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16449 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16450 * misc/tst-preadvwritev2.c (do_test): Call it.
16451 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16452
3dfcbfa1
SP
164532018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16454
84c94d2f
SP
16455 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16456
96e6a716
SP
16457 * benchtests/bench-memcmp.c: Print json instead of plain text.
16458
3dfcbfa1
SP
16459 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16460 every test run.
16461
049375e2
JM
164622018-02-01 Joseph Myers <joseph@codesourcery.com>
16463
39f898c6
JM
16464 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16465 version to 4.15.
16466 (s390_sthyi): New syscall.
16467
6f9a3dd8
JM
16468 * sysdeps/generic/ldbl-classify-compat.h: New file.
16469 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16470 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16471 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16472 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16473 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16474 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16475 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16476 <ldbl-classify-compat.h>.
16477 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16478 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16479 <ldbl-classify-compat.h>.
16480 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16481 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16482 <ldbl-classify-compat.h>.
16483 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16484 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16485 <ldbl-classify-compat.h>.
16486 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16487 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16488 <ldbl-classify-compat.h>.
16489 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16491 <ldbl-classify-compat.h>.
16492 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16493 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16494 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16495 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16496 * sysdeps/microblaze/math_private.h: Likewise.
16497 * sysdeps/nios2/math_private.h: Likewise.
16498 * sysdeps/sh/math_private.h: Likewise.
16499
eb65a3d5
JM
16500 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16501 * sysdeps/m68k/coldfire/math_private.h: ... here.
16502 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16503 * sysdeps/tile/math_private.h: Likewise.
16504 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16505 Remove macro.
16506 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16507 Likewise.
16508
8a6bb1d0
JM
16509 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16510 Remove macro.
16511 (libc_fetestexcept): Likewise.
16512 (libc_feupdateenv_test): Likewise.
16513 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16514 (libc_fetestexcept): Likewise.
16515 (libc_feupdateenv_test): Likewise.
16516 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16517 (libc_fetestexcept): Likewise.
16518 (libc_feupdateenv_test): Likewise.
16519 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16520 (libc_fetestexcept): Likewise.
16521 (libc_feupdateenv_test): Likewise.
16522
ae1fcb7b
JM
16523 * sysdeps/generic/math_private.h
16524 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16525 New inline function.
16526 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16527 Likewise.
16528
b1c347e2
JM
16529 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16530 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16531 * sysdeps/generic/math_private.h
16532 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16533 inline function.
16534 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16535 Likewise.
16536 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16537 Likewise.
16538 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16539 Likewise.
16540 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16541 Likewise.
16542 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16543 Likewise.
16544 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16545 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16546 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16547 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16548 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16549 (__fegetenv): Likewise.
16550 (fesetenv): Likewise.
16551 (__fesetenv): Likewise.
16552 (feupdateenv): Likewise.
16553 (__feupdateenv): Likewise.
16554 (fegetround): Likewise.
16555 (__fegetround): Likewise.
16556 (fesetround): Likewise.
16557 (__fesetround): Likewise.
16558
d23a4962
JM
16559 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16560 (feraiseexcept): New macro.
16561 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16562 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16563 Remove macro.
16564 (__feraiseexcept): Likewise.
16565 (feclearexcept): Likewise.
16566 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16567 (__feraiseexcept): Likewise.
16568 (feclearexcept): Likewise.
16569 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16570 (__feraiseexcept): Likewise.
16571 (feclearexcept): Likewise.
16572 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16573 (__feraiseexcept): Likewise.
16574 (feclearexcept): Likewise.
16575 (fetestexcept): Likewise.
16576
5f167950
JM
16577 * sysdeps/m68k/coldfire/math-tests.h: New file.
16578
ccc9035a
JM
16579 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16580 * sysdeps/m68k/bits/fenv.h: ... here.
16581 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16582 not define.
16583 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16584 Likewise.
16585 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16586 Likewise.
16587 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16588 Likewise.
16589 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16590 Likewise.
16591 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16592 Define to 0.
16593 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16594 (__FE_UNDEFINED): New enum constant.
16595 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16596 Do not define.
16597 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16598 Likewise.
16599 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16600 Likewise.
16601 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16602 to match generic bits/fenv.h.
16603 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16604 Do not define.
16605
049375e2
JM
16606 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16607 packed on bits.
16608 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16609 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16610 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16611 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16612
f1d73681
CD
166132018-02-01 Carlos O'Donell <carlos@redhat.com>
16614 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16615 Joseph Myers <joseph@codesourcery.com>
16616
16617 [BZ #21314]
16618 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16619 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16620 computation using c.
16621 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16622 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16623 computation using c.
16624
242cbc90
DL
166252018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16626
086ee48e
DL
16627 * version.h (RELEASE): Set to "development".
16628 (VERSION): Set to "2.27.9000".
16629 * NEWS (2.28): New section.
16630
23158b08
DL
16631 * version.h (RELEASE): Set to "stable".
16632 (VERSION): Set to "2.27".
16633 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16634
242cbc90
DL
16635 * NEWS: Add the list of bugs fixed in 2.27.
16636
673e2305
AZ
166372018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16638
16639 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16640 against PTHREAD_STACK_MIN.
16641
ced64e01
DL
166422018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16643
16644 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16645 New entries.
16646 (Rafal Luzynski, Andreas Schwab): Update.
16647
c10c9a5e
RL
166482018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16649
16650 [BZ #10871]
16651 * NEWS: List the languages which actually use the alternative
16652 months feature in this release. Also explain that "alt_mon" and
16653 "ab_alt_mon" are optional.
16654
650ba77a
IM
166552018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16656
16657 [BZ #22765]
16658 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16659
93493119
DL
166602018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16661
16662 * manual/install.texi (Tools for Compilation): Update the newest
16663 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16664 * INSTALL: Regenerated.
16665
363e4519 166662018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
16667
16668 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16669 instead of __builtin_expect.
16670
d7536874
FW
166712018-01-30 Florian Weimer <fweimer@redhat.com>
16672
16673 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16674 data.
16675 * nss/tst-nss-getpwent.c (do_test): Likewise.
16676
9a1b267d
RL
166772018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16678
16679 [BZ #10871]
16680 * localedata/locales/hr_HR (mon): Rename to...
16681 (alt_mon): This.
16682 (mon): Import from CLDR (genitive case).
16683 (d_t_fmt): Update the comment.
16684
9a179328
AS
166852018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16686
16687 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16688 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16689 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16690
e01e0ddc
ST
166912018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16692
16693 * mach/Versions: Fix version when __mach_host_self_ was added.
16694 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16695 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16696 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16697 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16698 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16699 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16700 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16701 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16702 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16703 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16704 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16705 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
16706 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16707 || to respect codestyle.
2aadb705
ST
16708 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16709 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
16710 * malloc/malloc.c: Include <assert.h>.
16711 (assert): Do not define.
16712 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
16713 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16714 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 16715 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 16716 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 16717
521877e1
PD
167182018-01-29 Darius Rad <darius@bluespec.com>
16719
16720 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16721
532cf290
PD
167222018-01-29 Palmer Dabbelt <palmer@sifive.com>
16723
16724 * sysdeps/init_array/crti.S (.section .init_array): Add
16725 PREINIT_FUNCTION when defined.
40ca951b 16726 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 16727 * config.h.in: Regenerate.
ba9e25a6
PD
16728 * manual/platform.texi: Add RISC-V documenation for
16729 __riscv_flush_icache.
c776fa11
PD
16730 * sysdeps/riscv/__longjmp.S: New file.
16731 * sysdeps/riscv/backtrace.c: Likewise.
16732 * sysdeps/riscv/bits/endian.h: Likewise.
16733 * sysdeps/riscv/bits/setjmp.h: Likewise.
16734 * sysdeps/riscv/bits/wordsize.h: Likewise.
16735 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16736 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16737 * sysdeps/riscv/dl-trampoline.S: Likewise.
16738 * sysdeps/riscv/gccframe.h: Likewise.
16739 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16740 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16741 * sysdeps/riscv/machine-gmon.h: Likewise.
16742 * sysdeps/riscv/memusage.h: Likewise.
16743 * sysdeps/riscv/setjmp.S: Likewise.
16744 * sysdeps/riscv/sys/asm.h: Likewise.
16745 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
16746 * sysdeps/riscv/dl-tls.h: New file.
16747 * sysdeps/riscv/libc-tls.c: Likewise.
16748 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16749 * sysdeps/riscv/nptl/tls.h: Likewise.
16750 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
16751 * sysdeps/riscv/bits/fenv.h: New file.
16752 * sysdeps/riscv/e_sqrtl.c: Likewise.
16753 * sysdeps/riscv/fpu_control.h: Likewise.
16754 * sysdeps/riscv/math-tests.h: Likewise.
16755 * sysdeps/riscv/nofpu/Implies: Likewise.
16756 * sysdeps/riscv/sfp-machine.h: Likewise.
16757 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
16758 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16759 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16760 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16761 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16762 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16763 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16764 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16765 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16766 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16767 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16768 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16769 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16770 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16771 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16772 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16773 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16774 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16775 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16776 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16777 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16778 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16779 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16780 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16781 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16782 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16783 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16784 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16785 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16786 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16787 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16788 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16789 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16790 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16791 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16792 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16793 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16794 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16795 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16796 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16797 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16798 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16799 * sysdeps/riscv/rvf/math_private.h: Likewise.
16800 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16801 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16802 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16803 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16804 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16805 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16806 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16807 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16808 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16809 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16810 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16811 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16812 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16813 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16814 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16815 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
16816 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16817 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16818 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16819 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
16820 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16821 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16822 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16823 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16824 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16825 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16826 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16827 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16828 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
16829 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16830 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16831 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16832 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16833 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16834 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16835 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16836 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16837 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16838 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16839 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16840 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16841 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16842 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16843 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16844 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16845 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16846 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16847 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16848 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16849 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16850 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
16851 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16852 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16853 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
16854 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16855 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16856 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16857 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16858 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16859 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16860 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16861 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16862 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16863 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16864 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16865 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16866 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16867 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
16868 * sysdeps/riscv/Implies: New file.
16869 * sysdeps/riscv/Makefile: Likewise.
16870 * sysdeps/riscv/configure: Likewise.
16871 * sysdeps/riscv/configure.ac: Likewise.
16872 * sysdeps/riscv/nptl/Makefile: Likewise.
16873 * sysdeps/riscv/preconfigure: Likewise.
16874 * sysdeps/riscv/rv64/Implies-after: Likewise.
16875 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16876 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16877 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16878 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16879 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16880 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16881 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16882 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16883 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16884 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16885 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
16886 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16887 (Config): Likewise.
532cf290 16888
cdd14619
FW
168892018-01-29 Florian Weimer <fweimer@redhat.com>
16890
16891 [BZ #22701]
16892 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16893 libnsl_hidden_proto.
16894 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16895 libnsl_hidden_proto.
16896 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16897 * nis/Makefile (libnsl-routines): Add nss-default only for
16898 build-obsolete-nsl.
16899 * nis/nis_defaults.c (__nis_default_ttl): Add
16900 libnsl_hidden_nolink_def.
16901 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16902 declaration.
16903 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16904 * nis/ypclnt.c (yp_maplist): Likewise.
16905
b7ccb5de
RN
169062018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16907
16908 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16909 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16910
522623e4
JM
169112018-01-29 Joseph Myers <joseph@codesourcery.com>
16912
e3aa6999
JM
16913 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16914 clean -dxfq for git updates when replacing sources.
16915
088de7d0
JM
16916 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16917 --disable-libcilkrts unconditionally, not just for the final GCC
16918 build for Hurd.
16919
522623e4
JM
16920 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16921 version to 4.15.
16922
8b406f87
RL
169232018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16924
16925 [BZ #10871]
16926 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16927 case).
16928
105e90bd
RL
169292018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16930
16931 [BZ #10871]
16932 * localedata/locales/be_BY (mon): Rename to...
16933 (alt_mon): This, then synchronize with CLDR (nominative case).
16934 (abmon): Rename to...
16935 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16936 (mon): Import from CLDR (genitive case).
16937 (abmon): Likewise.
16938 * localedata/locales/be_BY@latin (mon): Rename to...
16939 (alt_mon): This.
16940 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16941
16942 * localedata/locales/be_BY@latin (lang_name): Reworded to
16943 "biełaruskaja mova".
16944
561cb414
RL
169452018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16946
16947 [BZ #10871]
16948 * localedata/locales/el_CY (mon): Renamed to...
16949 (alt_mon): This.
16950 (mon): Import from CLDR (genitive case).
16951 * localedata/locales/el_GR: Likewise.
16952
f7bdf30d
RL
169532018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16954
16955 [BZ #10871]
16956 * localedata/locales/ru_RU (mon): Rename to...
16957 (alt_mon): This.
16958 (abmon): Rename to...
16959 (ab_alt_mon): This.
16960 (mon): Import from CLDR (genitive case).
16961 (abmon): Copy from the old content except the 5th month which is
16962 now in the genitive case, even when abbreviated.
16963 * localedata/locales/ru_UA: Likewise.
16964 * time/tst-strptime.c (day_tests): Add an actual example of
16965 a difference between %b and %Ob in Russian.
16966
85285a0c
ST
169672018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16968
16969 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
16970 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16971 a `c' variable.
3538a4b6 16972 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
16973 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16974 <sys/wait.h>, <time.h>, <sys/uio.h>.
16975 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 16976 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
16977 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16978 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16979 return 0.
05ebfe87
ST
16980 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16981 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
16982 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16983 instead of void *.
16984 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16985 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
16986 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16987 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
16988 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16989 and make them the default for now.
903d3633
ST
16990 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16991 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
16992 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16993 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16994 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16995 MACH_IPC_COMPAT.
06fac9f5
ST
16996 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16997 __task_terminate would ever return successfully.
f8177753
ST
16998 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16999 to global scope.
41cdb1eb
ST
17000 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17001 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
17002 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17003 critical section to make code simpler and avoid warning.
17004 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17005 critical section to make code simpler and avoid warning.
844bf921
ST
17006 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17007 const char * instead of char *.
f8bee46c
ST
17008 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17009 __hurd_file_name_split, hurd_file_name_split,
17010 __hurd_directory_name_split, hurd_directory_name_split,
17011 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17012 hurd_file_name_path_lookup): Make lookup function parameter take a
17013 const char *name instead of char *name.
17014 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17015 __hurd_directory_name_split): Likewise.
17016 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17017 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
17018 * sysdeps/mach/hurd/check_native.c: New file.
17019 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
17020 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17021 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
17022 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17023 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
17024 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17025 (do_test_bz20181): Rename accordingly.
17026 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
17027 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17028 <sys/mount.h>.
28f6186f
ST
17029 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17030 version only if __USE_EXTERN_INLINES is defined.
17031 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17032 __hurd_sockfail): Likewise.
17033 (_hurd_fd_get): Always declare functions, and provide inline versions
17034 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17035 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17036 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17037 _hurd_port_set): Always declare functions, and provide inline versions
17038 only if __USE_EXTERN_INLINES and _LIBC are defined and
17039 IS_IN(libc).
17040 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17041 _hurd_critical_section_unlock): Likewise.
17042 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17043 * __hurd_threadvar_location): Likewise.
17044 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17045 _hurd_userlink_clear): Likewise.
17046 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17047 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17048 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17049 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17050 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17051 __spin_lock_locked): Likewise.
17052 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17053 __spin_lock_locked): Likewise.
17054 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17055 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17056 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17057 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17058 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
17059 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17060 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
17061 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17062 check size against PTHREAD_STACK_MIN.
625ba81e
ST
17063 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17064 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
17065 * mach/Makefile (user-interfaces): Add mach/gnumach.
17066 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17067 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
17068 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17069 instead of invalid -1.
1f89ac71
ST
17070 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17071 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17072 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17073 <net/ppp_defs.h>.
85285a0c 17074
1fd1e27c 170752018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
17076
17077 * hurd/fcntl-internal.h: New file.
17078
3854c5a8
JC
170792018-01-27 James Clarke <jrtc27@jrtc27.com>
17080
7e23a7dd
JC
17081 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17082
3854c5a8
JC
17083 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17084
5503f413
AS
170852018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17086
17087 [BZ #22701]
17088 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17089 Build only shared objects.
17090
caaf7804
CD
170912018-01-26 Carlos O'Donell <carlos@redhat.com>
17092
17093 * README: Update for hppa.
17094
1cbf818d
PM
170952018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17096
caaf7804
CD
17097 * sysdeps/sparc/fpu/libm-test-ulps: Update
17098 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 17099
caaf7804 171002018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
17101
17102 Revert:
17103
17104 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17105
17106 [BZ #22563]
17107 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17108 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17109 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17110 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17111 to feature_1.
17112
17113 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17114
17115 [BZ #22563]
17116 * bits/types/__cancel_jmp_buf_tag.h: New file.
17117 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17118 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17119 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17120 * nptl/Makefile (headers): Add
17121 bits/types/__cancel_jmp_buf_tag.h.
17122 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17123 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17124 * sysdeps/nptl/pthread.h: Include
17125 <bits/types/__cancel_jmp_buf_tag.h>.
17126 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17127 __cancel_jmp_buf.
17128 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17129
65f6c94e
RL
171302018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17131
17132 [BZ #10871]
17133 * localedata/locales/uk_UA (mon): Renamed to...
17134 (alt_mon): This.
17135 (alt_digits): "0" removed and then renamed to...
17136 (mon): This.
17137 (date_fmt): Definition changed not to use the alternative
17138 digits hack.
17139
fb58aac5
PD
171402018-01-25 Palmer Dabbelt <palmer@sifive.com>
17141
17142 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17143 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17144 * elf/elf.h (EF_RISCV_RVC): New define.
17145 (EF_RISCV_FLOAT_ABI): Likewise.
17146 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17147 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17148 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17149 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17150 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17151 define.
17152 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17153
128c43a2
AS
171542018-01-25 Andreas Schwab <schwab@suse.de>
17155
17156 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17157 single quotes.
17158 * sysdeps/gnu/configure: Regenerate.
17159 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17160 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17162 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17163 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17164 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17165 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17166 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17167
f9015003
ST
171682018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17169
48130690 17170 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 17171 URL, and run autoconf, make it the default for now.
f9015003 17172
91b2cffa
JM
171732018-01-24 Joseph Myers <joseph@codesourcery.com>
17174
3005b705
JM
17175 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17176 soft-float ColdFire configuration.
17177
69231fab
JM
17178 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17179 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17180 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17181
d4c7e1d0
JM
17182 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17183 MicroBlaze file.
17184
0cfe5be5
JM
17185 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17186 ....
17187 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17188 ... here.
17189 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17190 New file.
17191
91b2cffa
JM
17192 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17193 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17194 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17195 file.
17196
c739e191
SN
171972018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17198
17199 [BZ #22742]
17200 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17201 Rename to __reserved and add comment.
17202 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17203 Rename to __reserved.
17204
394b5bac
JM
172052018-01-24 Joseph Myers <joseph@codesourcery.com>
17206
17207 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17208 i686-gnu configurations.
17209 (Context.run_builds): Include mig, gnumach and hurd in components
17210 considered.
17211 (Context.checkout): Add mig, gnumach and hurd to components.
17212 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17213 hurd.
17214 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17215 (Config.build): Install gnumach headers, build mig and install
17216 hurd headers for 'gnu' OS.
17217 (Config.install_gnumach_headers): New function.
17218 (Config.install_hurd_headers): Likewise.
17219 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17220 when building for 'gnu' OS.
17221
28c3f14f
TK
172222018-01-23 Tobias Klauser <tklauser@distanz.ch>
17223
17224 * manual/tunables.texi (Hardware Capability Tunables): Fix
17225 spelling.
17226
0f5e2da1
RJ
172272018-01-22 Rical Jasan <ricaljasan@pacific.net>
17228
17229 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17230 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17231 (ALTMON_11, ALTMON_12): Improve documentation.
17232 * manual/time.texi (strftime): Likewise.
17233
7817b14a
RL
172342018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17235
17236 [BZ #10871]
17237 * localedata/locales/pl_PL: Alternative month names added,
17238 primary month names are genitive now.
17239 * time/tst-strptime.c (day_tests): Actually use a genitive case
17240 of a month name in Polish language.
17241
22390764
RL
172422018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17243
17244 [BZ #10871]
17245 * manual/locale.texi: Document ALTMON_1..12 constants for
17246 nl_langinfo. Specify when to use ALTMON instead of MON.
17247 * manual/time.texi (strftime, strptime): Document GNU extension
17248 permitting O modifier with %B and %b. Specify when to use
17249 %OB instead of %B.
17250
761a585c
RL
172512018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17252
17253 [BZ #10871]
17254 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17255 names, define them as the same as abbreviated month names explicitly.
17256 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17257 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17258 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17259 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17260 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17261 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17262 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17263 _NL_WABALTMON_12): New enum constants.
17264 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17265 wab_alt_mon, and ab_alt_mon_defined members.
17266 (time_output): Output ab_alt_mon and wab_alt_mon members.
17267 (time_read): Read them, initialize them as copies of abmon and wabmon
17268 respectively if they are missing, initialize ab_alt_mon_defined.
17269 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17270 * locale/programs/locfile-kw.h: Regenerate.
17271 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17272 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17273 and ru_RU.UTF-8.
17274 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17275 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17276 (__strftime_internal): Handle %Ob and %Oh formats.
17277 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17278 (__strptime_internal): Handle %Ob and %Oh formats.
17279 * time/tst-strptime.c (day_tests): Add more tests to parse different
17280 forms of month names including the new %Ob format specifier.
17281
95cb863a
RL
172822018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17283
17284 [BZ #10871]
17285 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17286 define them as the same as primary full month names explicitly.
17287 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17288 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17289 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17290 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17291 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17292 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17293 _NL_WALTMON_12): New enum constants.
17294 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17295 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17296 macros.
17297 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17298 walt_mon, and alt_mon_defined members.
17299 (time_output): Output alt_mon and walt_mon members.
17300 (time_read): Read them, initialize them as copies of mon and wmon
17301 respectively if they are missing, initialize alt_mon_defined.
17302 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17303 * locale/programs/locfile-kw.h: Regenerate.
17304 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17305 * localedata/tst-langinfo.c (map): Add tests for the new constants
17306 ALTMON_1 .. ALTMON_12.
17307 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17308 and pl_PL.UTF-8.
17309 * time/strftime_l.c (f_altmonth): New macro.
17310 (__strftime_internal): Handle %OB format.
17311 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17312 (__strptime_internal): Handle %OB format.
17313 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17314 of month names including the new %OB format specifier.
17315
4612268a
TMQMF
173162018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17317
17318 [BZ #22685]
17319 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17320 from ABORT_TRANSACTION.
17321 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17322 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17323 ABORT_TRANSACTION_IMPL): Likewise.
17324 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17325 Linux code, but remove the code that aborts transactions.
17326
64f63cb4
ST
173272018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17328
17329 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17330
32ac6e92
RL
173312018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17332
17333 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17334 in date: "2004-14-09" should be "2004-09-14".
17335 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17336 "2003-15-09" should be "2003-09-15".
17337
8e448310
AS
173382018-01-18 Arjun Shankar <arjun@redhat.com>
17339
17340 [BZ #22343]
71aa429b 17341 [BZ #22774]
4590634f 17342 CVE-2018-6485
71aa429b 17343 CVE-2018-6551
8e448310
AS
17344 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17345 after padding.
17346 (_int_memalign): check for integer overflow before calling
17347 _int_malloc.
17348 * malloc/tst-malloc-too-large.c: New test.
17349 * malloc/Makefile: Add tst-malloc-too-large.
17350
e234d7cb
RL
173512018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17352
17353 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17354 in date: "2017-24-07" should be "2017-07-24".
17355 * localedata/locales/mai_IN: Likewise.
17356 * localedata/locales/mai_NP: Likewise.
17357
48b66019
DL
173582018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17359
17360 * po/ru.po: Update translations.
17361
1eeddc58
JM
173622018-01-17 Joseph Myers <joseph@codesourcery.com>
17363
17364 [BZ #22719]
17365 * sysdeps/hppa/backtrace.c: New file.
17366
207a72e2
L
173672018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17368
17369 [BZ #22715]
17370 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17371 align La_x86_64_retval to VEC_SIZE.
17372
4942c4ea
JM
173732018-01-16 Joseph Myers <joseph@codesourcery.com>
17374
17375 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17376 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17377
10d200db
FW
173782018-01-16 Florian Weimer <fweimer@redhat.com>
17379
17380 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17381 Move tst-thread-exit-clobber ...
17382 [$(CXX)] (tests-unsupported): ... to here.
17383
953c49cc
SN
173842018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17385
17386 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17387 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17388 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17389 (_dl_aarch64_cap_flags): Update.
17390 (_DL_HWCAP_COUNT): Update.
17391
afce1991
SN
173922018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17393
17394 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17395 (_DL_HWCAP_LAST): Remove.
17396 (_DL_HWCAP_COUNT): Move to ...
17397 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17398 (_DL_HWCAP_COUNT): ... here.
17399
b725132d
FW
174002018-01-16 Florian Weimer <fweimer@redhat.com>
17401
17402 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17403 mode with GNU extensions.
17404
c9e613a7
AH
174052018-01-15 Alan Hayward <alan.hayward@arm.com>
17406
17407 * elf/elf.h (NT_ARM_SVE): Define.
17408
860b0240
FW
174092018-01-15 Florian Weimer <fweimer@redhat.com>
17410
17411 [BZ #22636]
17412 * nptl/tst-minstack-throw.cc: New file.
17413 * nptl/Makefile (tests): Add tst-minstack-throw.
17414 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17415 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17416
16d0f6ac
JM
174172018-01-15 Joseph Myers <joseph@codesourcery.com>
17418
17419 * scripts/build-many-glibcs.py (Context.checkout): Default
17420 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17421 version to 1.1.0.
17422
505d3910
CD
174232018-01-13 Carlos O'Donell <carlos@redhat.com>
17424
17425 [BZ #22707]
17426 * elf/elf.h (DF_1_STUB): Define.
17427 (DF_1_PIE): Define.
17428
af1e6be4
TMQMF
174292018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17430
17431 [BZ #22697]
17432 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17433 Do not add 0.5 to integer or out-of-range arguments.
17434
98d13ce0
DL
174352018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17436
17437 * po/bg.po: Update translations.
17438 * po/cs.po: Likewise.
17439 * po/de.po: Likewise.
17440 * po/ko.po: Likewise.
17441 * po/pl.po: Likewise.
17442 * po/sv.po: Likewise.
17443 * po/uk.po: Likewise.
17444 * po/vi.po: Likewise.
17445
3d1d7928
SN
174462018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17447
17448 * aarch64/start.S (_start): Use __wrap_main.
17449 (__wrap_main): New local symbol.
17450
52a713fd
DL
174512018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17452
17453 [BZ #22679]
17454 CVE-2018-1000001
17455 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17456 generic_getcwd if the path returned by getcwd syscall is not absolute.
17457 * io/tst-getcwd-abspath.c: New test.
17458 * io/Makefile (tests): Add tst-getcwd-abspath.
17459
249a5895
IK
174602018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17461
17462 * malloc/malloc.c (malloc_consolidate): Add size check.
17463
1a51e46e
FW
174642018-01-12 Florian Weimer <fweimer@redhat.com>
17465
17466 * support/write_message.c (write_message): Preserve errno.
17467 * support/check.c (print_failure): Likewise.
17468 * support/support_test_verify_impl.c (support_test_verify_impl):
17469 Likewise.
17470 * support/support_test_compare_failure.c
17471 (support_test_compare_failure): Likewise.
17472
9a08a366
FW
174732018-01-12 Florian Weimer <fweimer@redhat.com>
17474
17475 [BZ #22701]
17476 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17477 Prevent installation of libnsl.so.
17478 (libnsl-inhibit-o): Do not build (or install) static libraries.
17479
80647883 174802018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
17481
17482 [BZ #22657]
17483 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17484 before the day number which may produce a double space.
17485 (date_fmt): Likewise.
17486
c8924f1f
JM
174872018-01-12 Joseph Myers <joseph@codesourcery.com>
17488
17489 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17490 instead of fegetenv.
17491
da09e6fa
JM
174922018-01-11 Joseph Myers <joseph@codesourcery.com>
17493
17494 [BZ #22702]
17495 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17496 comment to say exceptions are discarded.
17497 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17498 __fegetenv.
17499 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17500 be enabled.
17501
08c6e952
FW
175022018-01-11 Florian Weimer <fweimer@redhat.com>
17503
17504 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17505 and error message.
17506
d8b77890
FW
175072018-01-11 Florian Weimer <fweimer@redhat.com>
17508
17509 [BZ #22636]
17510 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17511 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17512
b303185d
JM
175132018-01-10 Joseph Myers <joseph@codesourcery.com>
17514
17515 [BZ #22693]
17516 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17517 negative arguments in test for NaN or infinity argument.
17518
ee61d028
DL
175192018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17520
17521 * po/libc.pot: Regenerate.
17522
f993b875
FW
175232018-01-10 Florian Weimer <fweimer@redhat.com>
17524
17525 [BZ #22636]
17526 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17527 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17528
09085ede
ST
175292018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17530
17531 * hurd/hurd/fd.h: Include <fcntl.h>
17532 (__hurd_at_flags): New function.
17533 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17534 with call to __hurd_at_flags.
17535 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17536 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17537 __faccessat
17538 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17539 (__access_noerrno): Use __faccessat_common instead of access_common.
17540 (__access): Likewise.
17541 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17542 with a call to __faccessat.
17543 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17544 (__faccessat_common): ... this. Move implementation of __access into it when
17545 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17546 reauthenticate_cwdir_at helper to implement AT mechanism.
17547 (__faccessat_noerrno): New function, just calls __faccessat_common.
17548 (__faccessat): New function, just calls __faccessat_common.
17549 (faccessat): Define weak alias.
17550
12727488
JM
175512018-01-10 Joseph Myers <joseph@codesourcery.com>
17552
87faac55
JM
17553 [BZ #22691]
17554 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17555 (CFLAGS-s_fmaxmagl.c): New variable.
17556 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17557
12727488
JM
17558 [BZ #22690]
17559 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17560 long int for arguments of possibly overflowing addition or
17561 subtraction.
17562 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17563
e134ca17
JM
175642018-01-09 Joseph Myers <joseph@codesourcery.com>
17565
b2584ac2
JM
17566 [BZ #22688]
17567 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17568 (CFLAGS-e_remainderl.c): New variable.
17569
e134ca17
JM
17570 [BZ #22687]
17571 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17572 variable.
17573 (CFLAGS-s_cacoshl.c): Likewise.
17574 (CFLAGS-s_casinhl.c): Likewise.
17575 (CFLAGS-s_catanl.c): Likewise.
17576 (CFLAGS-s_catanhl.c): Likewise.
17577 (CFLAGS-s_cexpl.c): Likewise.
17578 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17579 (CFLAGS-s_csinhl.c): Likewise.
17580 (CFLAGS-s_clogl.c): Likewise.
17581 (CFLAGS-s_clog10l.c): Likewise.
17582 (CFLAGS-s_csinl.c): Likewise.
17583 (CFLAGS-s_csqrtl.c): Likewise.
17584
d31a4a48
ST
175852017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
175862017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
17587
17588 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17589 (_hurd_exec_paths): New function.
17590 * hurd/hurd.h (_hurd_exec): Deprecate function.
17591 (_hurd_exec_paths): Declare function.
17592 * hurd/Versions: Export _hurd_exec_paths.
17593 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17594 (__execve): Use __getcwd to build absolute path, and use
17595 _hurd_exec_paths instead of _hurd_exec.
17596 * sysdeps/mach/hurd/spawni.c: Likewise.
17597 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17598 _hurd_exec.
17599
d7ff3f11
DL
176002018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17601
17602 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17603 test instead of failing in case of ENOENT returned by posix_openpt.
17604
401311cf
FW
176052018-01-08 Florian Weimer <fweimer@redhat.com>
17606
17607 resolv: Support binary labels in test framework.
17608 * support/resolv_test.c (struct to_be_freed): Remove.
17609 (struct compressed_name): New.
17610 (allocate_compressed_name, ascii_tolower)
17611 (compare_compressed_name): New functions.
17612 (struct resolv_response_builder): Update type of
17613 compression_offsets for use with tsearch. Rempve to_be_freed.
17614 (response_push_pointer_to_free): Remove function.
17615 (resolv_response_add_name): Rewrite using struct compressed_name
17616 and tsearch instead of hsearch_r.
17617 (response_builder_allocate): Remove initialization of
17618 compression_offsets.
17619 (response_builder_free): Update for removal of to_be_freed. Use
17620 tdestroy instead of hdestroy_r.
17621 * resolv/Makefile (tests): Add tst-resolv-binary.
17622 (tst-resolv-binary): Link with -lresolv -lpthread.
17623
2b3aa446
FW
176242018-01-08 Florian Weimer <fweimer@redhat.com>
17625
17626 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17627 time. Pass positive flag instead of negative flag to
17628 support_test_compare_failure.
17629 (support_test_compare_failure): Change negative parameter to
17630 positive.
17631 * support/support_test_compare_failure.c (report)
17632 (support_test_compare_failure): Likewise.
17633 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17634 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17635
630f4cc3
SN
176362018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17637
17638 [BZ #22637]
17639 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17640 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17641 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17642 stacksize.
17643 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17644
c70e4e9c
L
176452018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17646
17647 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17648 Add s_sincosf-sse2 and s_sincosf-fma.
17649 (CFLAGS-s_sincosf-fma.c): New.
17650 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17651 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17652 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17653 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17654 __sincosf is defined.
17655
579396ee
FW
176562018-01-08 Florian Weimer <fweimer@redhat.com>
17657
17658 * nptl/tst-thread-exit-clobber.cc: New file.
17659 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17660 C++11 mode.
17661 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17662 (tests): Add tst-thread-exit-clobber.
17663 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17664
dabd75b6
FW
176652018-01-08 Florian Weimer <fweimer@redhat.com>
17666
17667 * support/check.h (support_static_assert): Define.
17668 (TEST_COMPARE): Use it.
17669
c2e014cc
AJ
176702018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17671
17672 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17673 [!__RLIM_T_MATCHES_RLIM64_T]
17674 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17675 __getrlimit64. Add libc_hidden_weak.
17676
31a98837
PD
176772018-01-06 Palmer Dabbelt <palmer@sifive.com>
17678
17679 * elf/elf.h (R_RISCV_NONE): New define.
17680 (R_RISCV_32): Likewise.
17681 (R_RISCV_64): Likewise.
17682 (R_RISCV_RELATIVE): Likewise.
17683 (R_RISCV_COPY): Likewise.
17684 (R_RISCV_JUMP_SLOT): Likewise.
17685 (R_RISCV_TLS_DTPMOD32): Likewise.
17686 (R_RISCV_TLS_DTPMOD64): Likewise.
17687 (R_RISCV_TLS_DTPREL32): Likewise.
17688 (R_RISCV_TLS_DTPREL64): Likewise.
17689 (R_RISCV_TLS_TPREL32): Likewise.
17690 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
17691 * Makerules (make-link-multidir): Make directories before linking into
17692 them.
150bbac1
PD
17693 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17694 define.
17695 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
17696 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17697 in subdirectories of lib.
8e13c51b
PD
17698 * nptl/Makefile (/librt.so): Always depend on
17699 "$(shared-thread-library)".
31a98837 17700
fad7d57e
ST
177012018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17702
17703 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
17704 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17705 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17706 (___tls_get_addr).
17707 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
17708 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17709 "-O2 -march=i686".
01c7e549 17710 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
17711 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17712 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17713 * sysdeps/gnu/glob-lstat-compat.c: New file.
17714 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 17715 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 17716
3a32b716
TMQMF
177172018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17718
17719 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17720 Reserve 16 chars to reloc_addr before calling _itoa_word.
17721
24731685
AJ
177222018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17723
17724 [BZ #22678]
17725 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17726 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17727
19be56d8
AJ
17728 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17729 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17730
a6d0afb5
AJ
17731 * resource/tst-getrlimit.c: Add copyright header.
17732
8e900969
AJ
177332018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17734 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17735
17736 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17737 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17738 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17739 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17740 instead.
17741 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17742 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17743 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17744 RLIM64_INFINITY): Fix values to match the kernel ones.
17745 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17746 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17747 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17748 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17749 getrlimit64@@GLIBC_2_27.
17750 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17751 and setrlimit64.
17752 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17753 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17754 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17755 setrlimit, getrlimit64 and setrlimit64.
17756
0d0bc784
AJ
177572018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17758
17759 [BZ #22648]
17760 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17761 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17762
ba374b6d
JM
177632018-01-04 Joseph Myers <joseph@codesourcery.com>
17764
17765 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17766 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17767 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17768
4854ddd8
AZ
177692018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17770
b0a4eca2
AZ
17771 [BZ #15479]
17772 [BZ #22666]
17773 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17774 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17775
4854ddd8
AZ
17776 [BZ #15479]
17777 [BZ #22665]
17778 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17779 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17780 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17781 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17782
8a5df95f
FW
177832018-01-04 Florian Weimer <fweimer@redhat.com>
17784
17785 [BZ #22667]
17786 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17787 Align the stack before calling exit.
17788 * stdlib/tst-makecontext-align.c: New file.
17789 * stdlib/Makefile (tests): Add tst-makecontext-align.
17790
82eef55f
FW
177912018-01-04 Florian Weimer <fweimer@redhat.com>
17792
17793 Add support for calling dlvsym from libc.so.
17794 * include/dlfcn.h (__libc_dlvsym): Declare.
17795 * elf/Makefile (tests-static-internal): Add
17796 tst-libc_dlvsym-static.
17797 (tests-internal): Add tst-libc_dlvsym.
17798 (modules-names): Add tst-libc_dlvsym-dso.
17799 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17800 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17801 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17802 object tst-libc_dlvsym-dso.so needs to be built before running
17803 these tests.
17804 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17805 * elf/Versions: Export __libc_dlvsym.
17806 * elf/dl-libc.c (struct do_dlvsym_args): New.
17807 (do_dlvsym, __libc_dlvsym): New functions.
17808 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17809 (_dl_open_hook2): New variable.
17810 (__libc_register_dl_open_hook): Set it.
17811 * elf/tst-libc_dlvsym-dso.c: New file.
17812 * elf/tst-libc_dlvsym-static.c: Likewise.
17813 * elf/tst-libc_dlvsym.c: Likewise.
17814 * elf/tst-libc_dlvsym.h: Likewise.
17815
1714fc06
ST
178162018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17817
17818 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17819 include <sys/mount.h>.
17820
3c7d0312
WD
178212018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17822
17823 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17824 Add __NO_MATH_ERRNO__ check.
17825
7eff0954
JM
178262018-01-02 Joseph Myers <joseph@codesourcery.com>
17827
17828 * sysdeps/mips/mips32/libm-test-ulps: Update.
17829 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17830
77f49956
FW
178312018-01-02 Florian Weimer <fweimer@redhat.com>
17832
17833 * misc/tst-pselect.c: Add copyright header.
17834
363e4519 178352018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
17836
17837 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17838 comment.
17839 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17840 comment.
17841 (settrlimit): Rename into setrlimit.
17842 (__sttrlimit): Rename into __setrlimit.
17843
3e4226ff
AJ
17844 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17845 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17846 never defined in that case.
17847
b9256ab6
JM
178482018-01-02 Joseph Myers <joseph@codesourcery.com>
17849
28fd6a44
JM
17850 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17851
a4933a15
JM
17852 * sysdeps/arm/libm-test-ulps: Update.
17853
b9256ab6
JM
17854 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17855 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17856
4cf82d23
RS
178572018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17858
17859 * NEWS: Add cosf and sincosf to list of optimized functions.
17860
6a9dd7a7
AJ
178612018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17862
17863 [BZ #22660]
17864 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17865 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17866 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17867 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17868
dbba87d5
DL
178692018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17870
b05cb613
DL
17871 [BZ #22433]
17872 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17873
dbba87d5
DL
17874 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17875 making a copy of it.
17876
688903eb
JM
178772018-01-01 Joseph Myers <joseph@codesourcery.com>
17878
66ac23de
JM
17879 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17880 trailing whitespace removed.
17881 * scripts/config.guess: Update to version 2018-01-01.
17882 * scripts/config.sub: Update to version 2018-01-01.
17883 * scripts/move-if-change: Update from gnulib.
17884
09533208
JM
17885 * NEWS: Update copyright dates.
17886 * catgets/gencat.c (print_version): Likewise.
17887 * csu/version.c (banner): Likewise.
17888 * debug/catchsegv.sh: Likewise.
17889 * debug/pcprofiledump.c (print_version): Likewise.
17890 * debug/xtrace.sh (do_version): Likewise.
17891 * elf/ldconfig.c (print_version): Likewise.
17892 * elf/ldd.bash.in: Likewise.
17893 * elf/pldd.c (print_version): Likewise.
17894 * elf/sotruss.sh: Likewise.
17895 * elf/sprof.c (print_version): Likewise.
17896 * iconv/iconv_prog.c (print_version): Likewise.
17897 * iconv/iconvconfig.c (print_version): Likewise.
17898 * locale/programs/locale.c (print_version): Likewise.
17899 * locale/programs/localedef.c (print_version): Likewise.
17900 * login/programs/pt_chown.c (print_version): Likewise.
17901 * malloc/memusage.sh (do_version): Likewise.
17902 * malloc/memusagestat.c (print_version): Likewise.
17903 * malloc/mtrace.pl: Likewise.
17904 * manual/libc.texinfo: Likewise.
17905 * nptl/version.c (banner): Likewise.
17906 * nscd/nscd.c (print_version): Likewise.
17907 * nss/getent.c (print_version): Likewise.
17908 * nss/makedb.c (print_version): Likewise.
17909 * posix/getconf.c (main): Likewise.
17910 * scripts/test-installation.pl: Likewise.
17911 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17912
688903eb
JM
17913 * All files with FSF copyright notices: Update copyright dates
17914 using scripts/update-copyrights.
17915 * locale/programs/charmap-kw.h: Regenerated.
17916 * locale/programs/locfile-kw.h: Likewise.
17917
4f820792
ZW
179182017-12-31 Zack Weinberg <zackw@panix.com>
17919
17920 * libio/bits/libio-ldbl.h: Correct check for improper
17921 inclusion. Add own multiple include guard.
17922
3e3c904d
AJ
179232017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17924 Dmitry V. Levin <ldv@altlinux.org>
17925
17926 [BZ #22625]
31f96325 17927 CVE-2017-16997
3e3c904d
AJ
17928 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17929 string token expansion. Check for NULL pointer or empty string possibly
17930 returned by expand_dynamic_string_token.
17931 (decompose_rpath): Check for empty path after dynamic string
17932 token expansion.
17933
7e21972b
DL
179342017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17935
c48831d0
DL
17936 [BZ #22433]
17937 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17938
ac583f50
DL
17939 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17940 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17941 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17942 and PTRACE_SYSCALL.
17943 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17944 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17945 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17946 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17948 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17949
7e21972b
DL
17950 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17951 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17952 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17953 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17955 bits/ptrace-shared.h.
17956 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17957 <bits/ptrace-shared.h>.
17958 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17959 __ptrace_peeksiginfo_flags, ptrace): Remove.
17960 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17961 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17962 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17963 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17964 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17965
72f29e3a
AJ
179662017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17967
17968 [BZ #17804]
17969 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17970 end of the loop. Improve comments.
17971
54e4efc2
AJ
179722017-12-29 Zack Weinberg <zackw@panix.com>
17973
17974 [BZ #22615]
17975 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17976 might be set on success.
17977
f8aa69be
AJ
179782017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17979
17980 [BZ #22611]
17981 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17982 is unchanged on success.
17983
97f13188
DL
179842017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17985
2bd86632
DL
17986 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17987 updated.
17988 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17989 expand_dynamic_string_token): Likewise.
17990 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17991 is_path argument.
17992
1c36e1e6
DL
17993 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17994 contains ':'.
17995
97f13188
DL
17996 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17997 is set and name contains ':', and all code depending on these checks.
17998
48a8f832
ZW
179992017-12-24 Zack Weinberg <zackw@panix.com>
18000
18001 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18002 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18003 respectively.
18004 * libio/libio.h: Rename the original version of this file to
18005 libio/bits/libio.h. Error out if not included by stdio.h or the
18006 stub libio.h.
18007 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18008 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18009 if not included by bits/libio.h or the stub _G_config.h.
18010 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18011 sysdeps/unix/sysv/linux/bits. Error out if not included by
18012 bits/libio.h or the stub _G_config.h.
18013 * libio/stdio.h: Include bits/libio.h, not libio.h.
18014 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18015 well as libio.h and _G_config.h.
18016
18017 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18018 * libio/strfile.h, stdio-common/vfscanf.c
18019 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18020 Include stdio.h, not _G_config.h nor libio.h.
18021 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18022 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18023
18024 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18025
a47ad79a
DL
180262017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18027
18028 [BZ #22347]
18029 * stdlib/getrandom.c (getrandom): Fix comment.
18030 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18031
363e4519 180322017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 18033
f5c558f3
AJ
18034 [BZ #21161]
18035 * manual/arith.texi (strtoul): Fix a typo.
18036
e65a5644
AJ
18037 [BZ #22596]
18038 * manual/arith.texi (finite): Fix the description of the return
18039 value.
18040
ed8ae46b
EB
180412017-12-22 Eric Blake <ebb9@byu.net>
18042
18043 Avoid gcc warnings on cygwin
18044 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18045 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18046 Avoid unused variable.
18047
bad7a0c8
FW
180482017-12-22 Florian Weimer <fweimer@redhat.com>
18049
18050 * io/Makefile (routines): Add copy_file_range.
18051 (tests): Add tst-copy_file_range.
18052 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18053 * io/Versions (GLIBC_2.27): Export copy_file_range.
18054 * io/copy_file_range-compat.c: New file.
18055 * io/copy_file_range.c: Likewise.
18056 * io/tst-copy_file_range-compat.c: Likewise.
18057 * io/tst-copy_file_range.c: Likewise.
18058 * manual/llio.texi (Copying File Data): New section.
18059 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18060 * support/Makefile (libsupport-routines): Add support-xfstat,
18061 xftruncate, xlseek.
18062 * support/support-xfstat.c: New file.
18063 * support/xftruncate.c: Likewise.
18064 * support/xlseek.c: Likewise.
18065 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18066 * sysdeps/unix/sysv/linux/**.abilist: Update.
18067 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18068
6cb86fd2
SN
180692017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18070
18071 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18072 disable-multi-arch variant to aarch64-linux-gnu.
18073
41d11b15
JM
180742017-12-20 Joseph Myers <joseph@codesourcery.com>
18075
18076 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18077 trailing whitespace removed.
18078 * scripts/config.guess: Update to version 2017-12-17.
18079 * scripts/config.sub: Update to version 2017-11-23.
18080 * scripts/install-sh: Update to version 2017-09-23.17.
18081 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18082
4735850f
AZ
180832017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18084
8d2d239c
AZ
18085 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18086 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18087 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18088 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18089 * sysdeps/tile/crtn.S: Likewise.
18090 * sysdeps/tile/dl-start.S (_start): Likewise.
18091 * sysdeps/tile/dl-trampoline.S: Likewise.
18092 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18093 * sysdeps/tile/start.S (_start): Likewise.
18094 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18095 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18096 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18097 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18098 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18099 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18100 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18101
24d1d8ec
AZ
18102 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18103 comment.
18104 * sysdeps/tile/preconfigure: Remove tilegx folder.
18105 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18106 * sysdeps/tile/Implies: ... here.
18107 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18108 * sysdeps/tile/Makefile: ... here.
18109 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18110 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18111 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18112 * sysdeps/tile/bits/wordsize.h: ... here.
18113 * sysdeps/tile/tilegx/*: Move to ...
18114 * sysdeps/tile/*: ... here.
18115 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18116 * sysdeps/tile/tilegx32/Implies: ... here.
18117 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18118 * sysdeps/tile/tilegx64/Implies: ... here.
18119 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18120 to ...
18121 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18122 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18123 * sysdeps/unix/sysv/linux/tile/*: ... here.
18124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18125 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18127 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18128
ed95f611
AZ
18129 * README: Remove tilepro-*-linux-gnu from supported architecture.
18130 * scripts/build-many-glibcs.py: Likewise.
18131 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18132 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18133 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18134 elf_machine_matches_host, elf_machine_dynamic,
18135 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18136 howto, elf_machine_rela): Likewise.
18137 * sysdeps/tile/dl-start.S (_start): Likewise.
18138 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18139 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18140 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18141 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18142 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18143 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18144 Likewise.
18145 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18146 * sysdeps/tile/preconfigure: Likewise.
18147 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18148 POINTER_CHK_GUARD): Likewise.
18149 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18150 * sysdeps/tile/start.S (_start): Likewise.
18151 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18152 Likewise.
18153 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18154 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18155 CMOVNEZ): Remove.
18156 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18157 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18158 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18159 Likewise.
18160 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18161 * sysdeps/tile/tilepro/Implies: Remove file.
18162 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18163 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18164 * sysdeps/tile/tilepro/memchr.c: Likewise.
18165 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18166 * sysdeps/tile/tilepro/memset.c: Likewise.
18167 * sysdeps/tile/tilepro/memusage.h: Likewise.
18168 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18169 * sysdeps/tile/tilepro/strchr.c: Likewise.
18170 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18171 * sysdeps/tile/tilepro/strlen.c: Likewise.
18172 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18173 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18174 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18175 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18176 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18178 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18179 Likewise.
18180 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18192 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18193 tilepro mention in comment.
18194
4735850f
AZ
18195 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18196 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18197 * nptl/pthread_join_common.c: New file: common function used on
18198 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18199 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18200 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18201 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18202 (cleanup): Move definition to pthread_join_common.c.
18203 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18204 Remove superflous checks.
18205 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18206 Likewise.
18207
8bfb461e
SN
182082017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18209
18210 * sysdeps/aarch64/libm-test-ulps: Update.
18211
4e001969
AZ
182122017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18213
18214 * sysdeps/aarch64/memset.S (MEMSET): Define.
18215
8a26ad2a
FW
182162017-12-20 Florian Weimer <fweimer@redhat.com>
18217
18218 [BZ #22635]
18219 nptl: Provide full implementation of pthread_self in libc.so.
18220 * nptl/Makefile (routines): Add pthread_self.
18221 (libpthread-routines): Replace pthread_self with
18222 compat-pthread_self.
18223 * nptl/forward.c (pthread_self): Remove.
18224 * nptl/nptl-init.c (pthread_functions): Do not initialize
18225 ptr_pthread_self.
18226 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18227 * nptl/compat-pthread_self.c: New file.
18228 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18229 Remove ptr_pthread_self.
18230
5069ff32
AR
182312017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18232
18233 * posix/regcomp.c: Fix spelling in comments.
18234 * posix/regex.h: Likewise.
18235 * posix/regex_internal.c: Likewise.
18236 * posix/regexec.c: Likewise.
18237
c85e54ac
GG
182382017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18239
18240 [BZ #22377]
18241 * math/Makefile [C++] (tests): Add test for iseqsig.
18242 * math/math.h [C++] (iseqsig): New implementation, which does
18243 not rely on __MATH_TG/__builtin_types_compatible_p.
18244 * math/test-math-iseqsig.cc: New file.
18245 * sysdeps/powerpc/powerpc64le/Makefile
18246 (CFLAGS-test-math-iseqsig.cc): New variable.
18247
10e93d96
DL
182482017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18249
18250 * elf/dl-load.c (is_trusted_path): Remove.
18251 (fillin_rpath): Remove check_trusted argument and its use,
18252 all callers changed.
18253
ce16eb52
L
182542017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18255
18256 [BZ #22630]
18257 * Makeconfig (link-pie-before-libc): Replace -pie with
18258 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18259 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18260 (tst-dlopen-aout-no-pie): New.
18261 (LDFLAGS-tst-prelink): Removed.
18262 (tst-prelink-no-pie): New.
18263 (LDFLAGS-tst-main1): Removed.
18264 (tst-main1-no-pie): New.
18265 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18266 (tst-gmon-no-pie): New.
18267
126adc89
L
182682017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18269
18270 * manual/install.texi: Document that --enable-static-pie
18271 implies PIE.
18272 * INSTALL: Regenerated.
18273
648615e1
BE
182742017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18275
18276 [BZ #21309]
18277 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18278 unsigned.
18279
f1e00502
JM
182802017-12-19 Joseph Myers <joseph@codesourcery.com>
18281
18282 Revert:
18283
18284 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18285
18286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18287
18288 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18289
18290 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18291 <errno.h>. Include "eexp.tbl".
18292 (half): New constant.
18293 (one): Likewise.
18294 (__ieee754_exp): Rewrite.
18295 (__slowexp): Remove prototype.
18296 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18297 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18298 * sysdeps/i386/fpu/slowexp.c: Likewise.
18299 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18300 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18301 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18302 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18303 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18304 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18305 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18306 comment.
18307 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18308 (CPPFLAGS-slowexp.c): Remove variable.
18309 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18310 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18311 (CFLAGS-slowexp-fma.c): Remove variable.
18312 (CFLAGS-slowexp-fma4.c): Likewise.
18313 (CFLAGS-slowexp-avx.c): Likewise.
18314 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18315 define as macro.
18316 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18317 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18318 * math/Makefile (type-double-routines): Remove slowexp.
18319 * manual/probes.texi (slowexp_p6): Remove.
18320 (slowexp_p32): Likewise.
18321
d711a00f
AZ
183222017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18323
e184ac3a
AZ
18324 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18325 arithmetic.
18326
d711a00f
AZ
18327 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18328
6f58c10d
JM
183292017-12-19 Joseph Myers <joseph@codesourcery.com>
18330
18331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18332
6fd0a3c6
PM
183332017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18334
18335 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18336 <errno.h>. Include "eexp.tbl".
18337 (half): New constant.
18338 (one): Likewise.
18339 (__ieee754_exp): Rewrite.
18340 (__slowexp): Remove prototype.
18341 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18342 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18343 * sysdeps/i386/fpu/slowexp.c: Likewise.
18344 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18345 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18346 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18347 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18348 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18349 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18350 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18351 comment.
18352 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18353 (CPPFLAGS-slowexp.c): Remove variable.
18354 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18355 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18356 (CFLAGS-slowexp-fma.c): Remove variable.
18357 (CFLAGS-slowexp-fma4.c): Likewise.
18358 (CFLAGS-slowexp-avx.c): Likewise.
18359 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18360 define as macro.
18361 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18362 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18363 * math/Makefile (type-double-routines): Remove slowexp.
18364 * manual/probes.texi (slowexp_p6): Remove.
18365 (slowexp_p32): Likewise.
18366
3bb1ef58
AZ
183672017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18368 James Clarke <jrtc27@jrtc27.com>
18369
18370 [BZ #22603]
18371 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18372 addition.
18373
554e3d51
AZ
183742017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18375
18376 [BZ #22605]
18377 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18378 code.
18379
cba595c3
L
183802017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18381
18382 [BZ #22563]
18383 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18384 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18385 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18386 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18387 to feature_1.
18388
f81ddabf
L
183892017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18390
18391 [BZ #22563]
18392 * bits/types/__cancel_jmp_buf_tag.h: New file.
18393 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18394 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18395 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18396 * nptl/Makefile (headers): Add
18397 bits/types/__cancel_jmp_buf_tag.h.
18398 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18399 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18400 * sysdeps/nptl/pthread.h: Include
18401 <bits/types/__cancel_jmp_buf_tag.h>.
18402 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18403 __cancel_jmp_buf.
18404 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18405
1a49fc59
L
184062017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18407
18408 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18409 --enable-static-pie variants to x86_64, x32 and i686.
18410
8e52f573
JM
184112017-12-19 Joseph Myers <joseph@codesourcery.com>
18412
66425185
JM
18413 [BZ #22631]
18414 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18415 argument for attrubutes. All callers changed.
18416 (__inline_mathop1): Likewise. All callers changed.
18417 (__inline_mathop): Likewise. All callers changed.
18418 [__USE_MISC] (scalbn): Use __inline_forward instead of
18419 __inline_forward_c.
18420 [__USE_ISOC99] (scalbln): Likewise.
18421 [__USE_ISOC99] (nearbyint): Likewise.
18422 [__USE_ISOC99] (lrint): Likewise.
18423 [__USE_MISC] (scalbnf): Likewise.
18424 [__USE_ISOC99] (scalblnf): Likewise.
18425 [__USE_ISOC99] (nearbyintf): Likewise.
18426 [__USE_ISOC99] (lrintf): Likewise.
18427 [__USE_MISC] (scalbnl): Likewise.
18428 [__USE_ISOC99] (scalblnl): Likewise.
18429 [__USE_ISOC99] (nearbyintl): Likewise.
18430 [__USE_ISOC99] (lrintl): Likewise.
18431 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18432 __inline_mathop and __m81_defun changed.
18433
8e52f573
JM
18434 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18435 CPU or FPU for ARM hard-float configurations.
18436
1421f39b
JM
184372017-12-18 Joseph Myers <joseph@codesourcery.com>
18438
40c4162d
JM
18439 * nptl/tst-attr3.c: Include <libc-diag.h>.
18440 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18441
5983df32
JM
18442 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18443
1421f39b
JM
18444 * string/tester.c (test_strncat): Also disable -Warray-bounds
18445 warnings for two tests.
18446
00c714df
L
184472017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18448
18449 [BZ #22614]
18450 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18451 $(cc-pie-default) == yes.
18452 * config.make.in (cc-pie-default): New.
18453 * configure.ac (libc_cv_pie_default): Renamed to ...
18454 (libc_cv_cc_pie_default): This.
18455 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18456 * configure: Regenerated.
18457
8e1472d2
FW
184582017-12-18 Florian Weimer <fweimer@redhat.com>
18459
18460 [BZ #20204]
18461 ld.so: Harden dl-libc/libdl hooks.
18462 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18463 (rtld_active): New function.
18464 * dlfcn/dladdr.c (__dladdr): Call it.
18465 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18466 * dlfcn/dlclose.c (__dlcose): Likewise.
18467 * dlfcn/dlerror.c (__dlerror): Likewise.
18468 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18469 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18470 * dlfcn/dlopen.c (__dlopen): Likewise.
18471 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18472 * dlfcn/dlsym.c (__dlsym): Likewise.
18473 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18474 * libio/vtables.c (_IO_vtable_check): Likewise.
18475 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18476 (__libc_dlclose): Likewise.
18477 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18478 assignment.
18479
49b036bc
JM
184802017-12-18 Joseph Myers <joseph@codesourcery.com>
18481
18482 [BZ #22446]
18483 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18484 buffers for readlink input and output.
18485
368b6c8d
ST
184862017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18487
c85c564d
ST
18488 [BZ #22624]
18489 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18490 inhibit_stack_protector.
18491
368b6c8d
ST
18492 [BZ #22624]
18493 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18494 inhibit_stack_protector.
18495
bb195224
DL
184962017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18497
18498 [BZ #22627]
18499 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18500 code and invocation.
18501
14d886ed
SN
185022017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18503
18504 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18505
7d38eb38
AJ
185062017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18507
18508 [BZ #22505]
18509 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18510
2e77deef
RS
185112017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18512
18513 * sysdeps/s390/fpu/libm-test-ulps: Update.
18514
0b9bef6d
RS
185152017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18516
18517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18518
984ae996
RS
185192017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18520
18521 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18522 constants to s_sincosf.h file.
18523 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18524 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18525 implementation.
18526 * sysdeps/ieee754/flt-32/s_sincosf.h:
18527 New file.
18528
363e4519 185292017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
18530
18531 [BZ #14681]
18532 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18533 before mtrace.
18534
9d7a3741
L
185352017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18536
18537 [BZ #19574]
18538 * INSTALL: Regenerated.
18539 * Makeconfig (real-static-start-installed-name): New.
18540 (pic-default): Updated for --enable-static-pie.
18541 (pie-default): New for --enable-static-pie.
18542 (default-pie-ldflag): Likewise.
18543 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18544 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18545 Replace $(static-start-installed-name) with
18546 $(real-static-start-installed-name).
18547 (+prectorT): Updated for --enable-static-pie.
18548 (+postctorT): Likewise.
18549 (CFLAGS-.o): Add $(pie-default).
18550 (CFLAGS-.op): Likewise.
18551 * NEWS: Mention --enable-static-pie.
18552 * config.h.in (ENABLE_STATIC_PIE): New.
18553 * configure.ac (--enable-static-pie): New configure option.
18554 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18555 (have-static-pie): Likewise.
18556 Enable static PIE if linker supports --no-dynamic-linker.
18557 (ENABLE_STATIC_PIE): New AC_DEFINE.
18558 (enable-static-pie): New LIBC_CONFIG_VAR.
18559 * configure: Regenerated.
18560 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18561 gr$(start-installed-name) for --enable-static-pie.
18562 (extra-objs): Likewise.
18563 (install-lib): Likewise.
18564 (extra-objs): Add static-reloc.o and static-reloc.os
18565 ($(objpfx)$(start-installed-name)): Also depend on
18566 $(objpfx)static-reloc.o.
18567 ($(objpfx)r$(start-installed-name)): New.
18568 ($(objpfx)g$(start-installed-name)): Also depend on
18569 $(objpfx)static-reloc.os.
18570 ($(objpfx)gr$(start-installed-name)): New.
18571 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18572 in libc.a.
18573 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18574 initimage.
18575 * csu/static-reloc.c: New file.
18576 * elf/Makefile (routines): Add dl-reloc-static-pie.
18577 (elide-routines.os): Likewise.
18578 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18579 (tst-tls1-static-non-pie-no-pie): New.
18580 * elf/dl-reloc-static-pie.c: New file.
18581 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18582 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18583 STATIC_PIE_BOOTSTRAP.
18584 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18585 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18586 (tests-static): Likewise.
18587 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18588 (tst-gmon-static-no-pie): New.
18589 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18590 (CRT-tst-gmon-static-pie): Likewise.
18591 (tst-gmon-static-pie-ENV): Likewise.
18592 (tests-special): Likewise.
18593 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18594 (clean-tst-gmon-static-pie-data): Likewise.
18595 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18596 * gmon/tst-gmon-static-pie.c: New file.
18597 * manual/install.texi: Document --enable-static-pie.
18598 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18599 (_dl_get_dl_main_map): Likewise.
18600 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18601 * sysdeps/x86_64/configure.ac: Likewise.
18602 * sysdeps/i386/configure: Regenerated.
18603 * sysdeps/x86_64/configure: Likewise.
18604 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18605 (ASFLAGS-.op): Likewise.
18606
95511aab
JM
186072017-12-15 Joseph Myers <joseph@codesourcery.com>
18608
18609 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18610 * posix/tst-mmap-offset.c (fname): Use /tmp.
18611 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18612
a7e3edf4
SE
186132017-12-15 Steve Ellcey <sellcey@cavium.com>
18614
18615 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18616
d232f2e1
TS
186172017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18618
18619 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18620 errno.
18621
174edbde
JM
186222017-12-15 Joseph Myers <joseph@codesourcery.com>
18623
5170fa49
JM
18624 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18625 --with-float=hard for arm-linux-gnueabihf configurations.
18626
f2da2fd8
JM
18627 [BZ #14121]
18628 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18629 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18630 ($(mo-installed)): Use $(objpfx)%.mo.
18631 (realclean): Remove rule.
18632
0c4fe28d
JM
18633 * po/Makefile (linguas): Remove rule and dependencies.
18634 (linguas.mo): Likewise.
18635 (.PHONY): Do not depend on linguas and linguas.mo.
18636 (podir): Remove variable.
18637 (pofiles): Likewise.
18638 [$(pofiles)] (%.po): Remove rule.
18639
174edbde
JM
18640 * sysdeps/sparc/sparc32/Makefile
18641 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18642 start-of-line whitespace in argument of echo.
18643 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18644 with whitespace. Generate __wrap_.udiv alias.
18645 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18646 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18647 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18648 * sysdeps/sparc/sparc32/urem.S: Likewise.
18649
1e36806f
RS
186502017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18651
18652 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18653 for aligned inputs.
18654
aa6932aa
SP
186552017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18656
5f1603c3
SP
18657 * benchtests/bench-strcmp.c: Print output in JSON format.
18658
aa6932aa
SP
18659 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18660
3ff3dfa5
FW
186612017-12-14 Florian Weimer <fweimer@redhat.com>
18662
18663 [BZ #22607]
18664 CVE-2017-1000409
18665 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18666 the expanded path string.
18667
8a0b17e4
FW
186682017-12-14 Florian Weimer <fweimer@redhat.com>
18669
18670 [BZ #22606]
18671 CVE-2017-1000408
18672 * elf/dl-load.c (system_dirs): Update comment.
18673 (nsystem_dirs_len): Use array_length.
18674 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18675
f58bd7f0
FW
186762017-12-14 Florian Weimer <fweimer@redhat.com>
18677
18678 Simplify compiling most of support/ outside of glibc.
18679 * support/check_addrinfo.c: Include <string.h>.
18680 * support/check_dns_packet.c: Likewise.
18681 * support/check_hostent.c: Likewise.
18682 * support/support_can_chroot.c: Include <support/xunistd.h>.
18683 * support/support_format_addrinfo.c: Include <stdlib.h>
18684 * support/support_format_dns_packet.c: Include <stdbool.h>.
18685 * support/support_format_hostent.c: Include <stdlib.h>.
18686 * support/support_format_netent.c: Likewise.
18687 * support/support_write_string.c: Include <support/xunistd.h>.
18688 * support/xdlfcn.c: Include <stddef.h>.
18689
4ca945e9
L
186902017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18691
18692 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18693
1b6e07f8
PM
186942017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18695 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18696
e6a1c5dc
PM
18697 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18698 (sysdeps_routines): Add memset-niagara7.
18699 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18700 Likewise.
18701 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18702 file.
18703 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18704 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18705 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18706 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18707 Add niagara7 option.
18708 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18709 memset.
18710
1b6e07f8
PM
18711 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18712 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18713 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18714 Likewise.
18715 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18716 New file.
18717 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18718 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18719 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18720 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18721 and __memmove_niagara7.
18722 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18723 Add niagara7 option.
18724 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18725 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18726 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18727 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18728 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18729
bfb7bf22
JM
187302017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18731
767a26d6
JM
18732 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18733 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18734 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18735 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18736
bfb7bf22
JM
18737 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18738 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18739 _dl_sparc_cap_flags array.
18740 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18741
2bce01eb
SP
187422017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18743
18744 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18745 time whenever possible.
18746
363e4519 187472017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
18748
18749 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18750 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18751
6f7c0092
JM
187522017-12-12 Joseph Myers <joseph@codesourcery.com>
18753
18754 * soft-fp/fmadf4.c: Move to ....
18755 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18756 * soft-fp/fmasf4.c: Move to ....
18757 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18758 * soft-fp/fmatf4.c: Move to ....
18759 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18760 * sysdeps/ieee754/soft-fp/Makefile: New file.
18761 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18762 * sysdeps/arm/preconfigure: Regenerated.
18763 * sysdeps/arm/nofpu/Implies: New file.
18764 * sysdeps/arm/s_fma.c: Remove file.
18765 * sysdeps/arm/s_fmaf.c: Likewise.
18766 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18767 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18768 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18769 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18770 * sysdeps/microblaze/s_fma.c: Remove file.
18771 * sysdeps/microblaze/s_fmaf.c: Likewise.
18772 * sysdeps/mips/mips32/nofpu/Implies: New file.
18773 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18774 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18775 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18776 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18777 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18778 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18779 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18780 implementation.
18781 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18782 * sysdeps/nios2/s_fma.c: Remove file.
18783 * sysdeps/nios2/s_fmaf.c: Likewise.
18784 * sysdeps/sh/nofpu/Implies: New file.
18785 * sysdeps/sh/s_fma.c: Remove file.
18786 * sysdeps/sh/s_fmaf.c: Likewise.
18787 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18788 * sysdeps/tile/s_fma.c: Remove file.
18789 * sysdeps/tile/s_fmaf.c: Likewise.
18790
ac817e08
L
187912017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18792
18793 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18794 Add s_cosf-sse2 and s_cosf-fma.
18795 (CFLAGS-s_cosf-fma.c): New.
18796 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18797 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18798 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18799
eb428576
SE
188002017-12-12 Steve Ellcey <sellcey@cavium.com>
18801
18802 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18803
c80acdc3
AZ
188042017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18805
cc683f7e
AZ
18806 * libio/Makefile (tests): Add tst-bz22415.
18807 (tst-bz22415-ENV): New rule.
18808 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18809 (tests-special): Add tst-bz22415-mem.out.
18810 ($(objpfx)tst-bz22415-mem.out): New rule.
18811 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18812 in case of a successful seek operation.
18813 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18814 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18815 buffer is required.
18816 * libio/tst-bz22415.c: New test.
18817
c80acdc3
AZ
18818 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18819
363e4519 188202017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
18821
18822 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18823 __IPC_64 to 0 to avoid IPC_64 being set.
18824
4e0dca54
SN
188252017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18826
18827 [BZ #22593]
18828 * math/bits/mathcalls.h (nextafter): Remove const.
18829 (nexttoward): Likewise.
18830
8df5d347
JM
188312017-12-12 Joseph Myers <joseph@codesourcery.com>
18832
18833 * configure.ac (--with-fp): Remove configure option.
18834 (with_fp_cond): New variable.
18835 (libc_cv_with_fp): New configure test. Use this variable instead
18836 of with_fp.
18837 * configure: Regenerated.
18838 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18839 * manual/install.texi (Configuring and compiling): Remove
18840 --without-fp.
18841 * INSTALL: Regenerated.
18842 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18843 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18844 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18845 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18846 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18847 use --without-fp to configure glibc.
18848
0cee1257
RJ
188492017-12-12 Rical Jasan <ricaljasan@pacific.net>
18850
18851 * manual/locale.texi (nl_langinfo): Fix a typo.
18852
363e4519 188532017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
18854
18855 [BZ #22588]
18856 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18857
36975e8e
L
188582017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18859
18860 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18861 (CFLAGS-argp-parse.c): Likewise.
18862 (CFLAGS-argp-fmtstream.c): Likewise.
18863 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18864 (CPPFLAGS-sha512-crypt.c): Likewise.
18865 (CPPFLAGS-md5-crypt.c): Likewise.
18866 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18867 (CFLAGS-stack_chk_fail_local.c): Likewise.
18868 (CFLAGS-backtrace.c): Likewise.
18869 (CFLAGS-sprintf_chk.c): Likewise.
18870 (CFLAGS-snprintf_chk.c): Likewise.
18871 (CFLAGS-vsprintf_chk.c): Likewise.
18872 (CFLAGS-vsnprintf_chk.c): Likewise.
18873 (CFLAGS-asprintf_chk.c): Likewise.
18874 (CFLAGS-vasprintf_chk.c): Likewise.
18875 (CFLAGS-obprintf_chk.c): Likewise.
18876 (CFLAGS-dprintf_chk.c): Likewise.
18877 (CFLAGS-vdprintf_chk.c): Likewise.
18878 (CFLAGS-printf_chk.c): Likewise.
18879 (CFLAGS-fprintf_chk.c): Likewise.
18880 (CFLAGS-vprintf_chk.c): Likewise.
18881 (CFLAGS-vfprintf_chk.c): Likewise.
18882 (CFLAGS-gets_chk.c): Likewise.
18883 (CFLAGS-fgets_chk.c): Likewise.
18884 (CFLAGS-fgets_u_chk.c): Likewise.
18885 (CFLAGS-fread_chk.c): Likewise.
18886 (CFLAGS-fread_u_chk.c): Likewise.
18887 (CFLAGS-swprintf_chk.c): Likewise.
18888 (CFLAGS-vswprintf_chk.c): Likewise.
18889 (CFLAGS-wprintf_chk.c): Likewise.
18890 (CFLAGS-fwprintf_chk.c): Likewise.
18891 (CFLAGS-vwprintf_chk.c): Likewise.
18892 (CFLAGS-vfwprintf_chk.c): Likewise.
18893 (CFLAGS-fgetws_chk.c): Likewise.
18894 (CFLAGS-fgetws_u_chk.c): Likewise.
18895 (CFLAGS-read_chk.c): Likewise.
18896 (CFLAGS-pread_chk.c): Likewise.
18897 (CFLAGS-pread64_chk.c): Likewise.
18898 (CFLAGS-recv_chk.c): Likewise.
18899 (CFLAGS-recvfrom_chk.c): Likewise.
18900 (CFLAGS-tst-longjmp_chk.c): Likewise.
18901 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18902 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18903 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18904 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18905 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18906 (CFLAGS-tst-chk1.c): Likewise.
18907 (CFLAGS-tst-chk2.c): Likewise.
18908 (CFLAGS-tst-chk3.c): Likewise.
18909 (CFLAGS-tst-chk4.cc): Likewise.
18910 (CFLAGS-tst-chk5.cc): Likewise.
18911 (CFLAGS-tst-chk6.cc): Likewise.
18912 (CFLAGS-tst-lfschk1.c): Likewise.
18913 (CFLAGS-tst-lfschk2.c): Likewise.
18914 (CFLAGS-tst-lfschk3.c): Likewise.
18915 (CFLAGS-tst-lfschk4.cc): Likewise.
18916 (CFLAGS-tst-lfschk5.cc): Likewise.
18917 (CFLAGS-tst-lfschk6.cc): Likewise.
18918 (CFLAGS-tst-ssp-1.c): Likewise.
18919 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18920 (CFLAGS-scandir64.c): Likewise.
18921 (CFLAGS-scandir-tail.c): Likewise.
18922 (CFLAGS-scandir64-tail.c): Likewise.
18923 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18924 (CFLAGS-dl-tunables.c): Likewise.
18925 (CFLAGS-dl-runtime.c): Likewise.
18926 (CFLAGS-dl-lookup.c): Likewise.
18927 (CFLAGS-dl-iterate-phdr.c): Likewise.
18928 (CFLAGS-vismain.c): Likewise.
18929 (CFLAGS-tst-linkall-static.c): Likewise.
18930 (CFLAGS-tst-linkall-static.c): Likewise.
18931 (CPPFLAGS-dl-load.c): Likewise.
18932 (CFLAGS-ldconfig.c): Likewise.
18933 (CFLAGS-dl-cache.c): Likewise.
18934 (CFLAGS-cache.c): Likewise.
18935 (CFLAGS-rtld.c): Likewise.
18936 (CFLAGS-multiload.c): Likewise.
18937 (CFLAGS-filtmod1.c): Likewise.
18938 (CFLAGS-tst-align.c): Likewise.
18939 (CFLAGS-tst-align2.c): Likewise.
18940 (CFLAGS-tst-alignmod.c): Likewise.
18941 (CFLAGS-tst-alignmod2.c): Likewise.
18942 (CPPFLAGS-tst-execstack.c): Likewise.
18943 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18944 (CFLAGS-tst-latepthreadmod.c): Likewise.
18945 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18946 (CFLAGS-getgrnam_r.c): Likewise.
18947 (CFLAGS-getgrent_r.c): Likewise.
18948 (CFLAGS-getgrent.c): Likewise.
18949 (CFLAGS-fgetgrent.c): Likewise.
18950 (CFLAGS-fgetgrent_r.c): Likewise.
18951 (CFLAGS-putgrent.c): Likewise.
18952 (CFLAGS-initgroups.c): Likewise.
18953 (CFLAGS-getgrgid.c): Likewise.
18954 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18955 (CFLAGS-getsgent.c): Likewise.
18956 (CFLAGS-fgetsgent.c): Likewise.
18957 (CFLAGS-fgetsgent_r.c): Likewise.
18958 (CFLAGS-putsgent.c): Likewise.
18959 (CFLAGS-getsgnam.c): Likewise.
18960 (CFLAGS-getsgnam_r.c): Likewise.
18961 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18962 (CFLAGS-iconv_charmap.c): Likewise.
18963 (CFLAGS-dummy-repertoire.c): Likewise.
18964 (CFLAGS-charmap.c): Likewise.
18965 (CFLAGS-linereader.c): Likewise.
18966 (CFLAGS-simple-hash.c): Likewise.
18967 (CFLAGS-gconv_conf.c): Likewise.
18968 (CFLAGS-iconvconfig.c): Likewise.
18969 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18970 (CFLAGS-gethstbyad.c): Likewise.
18971 (CFLAGS-gethstbynm_r.c): Likewise.
18972 (CFLAGS-gethstbynm.c): Likewise.
18973 (CFLAGS-gethstbynm2_r.c): Likewise.
18974 (CFLAGS-gethstbynm2.c): Likewise.
18975 (CFLAGS-gethstent_r.c): Likewise.
18976 (CFLAGS-gethstent.c): Likewise.
18977 (CFLAGS-rcmd.c): Likewise.
18978 (CFLAGS-getnetbynm_r.c): Likewise.
18979 (CFLAGS-getnetbynm.c): Likewise.
18980 (CFLAGS-getnetbyad_r.c): Likewise.
18981 (CFLAGS-getnetbyad.c): Likewise.
18982 (CFLAGS-getnetent_r.c): Likewise.
18983 (CFLAGS-getnetent.c): Likewise.
18984 (CFLAGS-getaliasent_r.c): Likewise.
18985 (CFLAGS-getaliasent.c): Likewise.
18986 (CFLAGS-getrpcent_r.c): Likewise.
18987 (CFLAGS-getrpcent.c): Likewise.
18988 (CFLAGS-getservent_r.c): Likewise.
18989 (CFLAGS-getservent.c): Likewise.
18990 (CFLAGS-getprtent_r.c): Likewise.
18991 (CFLAGS-getprtent.c): Likewise.
18992 (CFLAGS-either_ntoh.c): Likewise.
18993 (CFLAGS-either_hton.c): Likewise.
18994 (CFLAGS-getnetgrent.c): Likewise.
18995 (CFLAGS-getnetgrent_r.c): Likewise.
18996 (CFLAGS-tst-checks-posix.c): Likewise.
18997 (CFLAGS-tst-sockaddr.c): Likewise.
18998 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18999 (CFLAGS-tst-translit.c): Likewise.
19000 (CFLAGS-tst-gettext2.c): Likewise.
19001 (CFLAGS-tst-codeset.c): Likewise.
19002 (CFLAGS-tst-gettext3.c): Likewise.
19003 (CFLAGS-tst-gettext4.c): Likewise.
19004 (CFLAGS-tst-gettext5.c): Likewise.
19005 (CFLAGS-tst-gettext6.c): Likewise.
19006 * io/Makefile (CFLAGS-open.c): Likewise.
19007 (CFLAGS-open64.c): Likewise.
19008 (CFLAGS-creat.c): Likewise.
19009 (CFLAGS-creat64.c): Likewise.
19010 (CFLAGS-fcntl.c): Likewise.
19011 (CFLAGS-poll.c): Likewise.
19012 (CFLAGS-ppoll.c): Likewise.
19013 (CFLAGS-lockf.c): Likewise.
19014 (CFLAGS-statfs.c): Likewise.
19015 (CFLAGS-fstatfs.c): Likewise.
19016 (CFLAGS-statvfs.c): Likewise.
19017 (CFLAGS-fstatvfs.c): Likewise.
19018 (CFLAGS-fts.c): Likewise.
19019 (CFLAGS-fts64.c): Likewise.
19020 (CFLAGS-ftw.c): Likewise.
19021 (CFLAGS-ftw64.c): Likewise.
19022 (CFLAGS-lockf.c): Likewise.
19023 (CFLAGS-posix_fallocate.c): Likewise.
19024 (CFLAGS-posix_fallocate64.c): Likewise.
19025 (CFLAGS-fallocate.c): Likewise.
19026 (CFLAGS-fallocate64.c): Likewise.
19027 (CFLAGS-read.c): Likewise.
19028 (CFLAGS-write.c): Likewise.
19029 (CFLAGS-test-stat.c): Likewise.
19030 (CFLAGS-test-lfs.c): Likewise.
19031 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19032 (CFLAGS-fputc.c): Likewise.
19033 (CFLAGS-fputwc.c): Likewise.
19034 (CFLAGS-freopen64.c): Likewise.
19035 (CFLAGS-freopen.c): Likewise.
19036 (CFLAGS-fseek.c): Likewise.
19037 (CFLAGS-fseeko64.c): Likewise.
19038 (CFLAGS-fseeko.c): Likewise.
19039 (CFLAGS-ftello64.c): Likewise.
19040 (CFLAGS-ftello.c): Likewise.
19041 (CFLAGS-fwide.c): Likewise.
19042 (CFLAGS-genops.c): Likewise.
19043 (CFLAGS-getc.c): Likewise.
19044 (CFLAGS-getchar.c): Likewise.
19045 (CFLAGS-getwc.c): Likewise.
19046 (CFLAGS-getwchar.c): Likewise.
19047 (CFLAGS-iofclose.c): Likewise.
19048 (CFLAGS-iofflush.c): Likewise.
19049 (CFLAGS-iofgetpos64.c): Likewise.
19050 (CFLAGS-iofgetpos.c): Likewise.
19051 (CFLAGS-iofgets.c): Likewise.
19052 (CFLAGS-iofgetws.c): Likewise.
19053 (CFLAGS-iofputs.c): Likewise.
19054 (CFLAGS-iofputws.c): Likewise.
19055 (CFLAGS-iofread.c): Likewise.
19056 (CFLAGS-iofsetpos64.c): Likewise.
19057 (CFLAGS-iofsetpos.c): Likewise.
19058 (CFLAGS-ioftell.c): Likewise.
19059 (CFLAGS-iofwrite.c): Likewise.
19060 (CFLAGS-iogetdelim.c): Likewise.
19061 (CFLAGS-iogetline.c): Likewise.
19062 (CFLAGS-iogets.c): Likewise.
19063 (CFLAGS-iogetwline.c): Likewise.
19064 (CFLAGS-ioputs.c): Likewise.
19065 (CFLAGS-ioseekoff.c): Likewise.
19066 (CFLAGS-ioseekpos.c): Likewise.
19067 (CFLAGS-iosetbuffer.c): Likewise.
19068 (CFLAGS-iosetvbuf.c): Likewise.
19069 (CFLAGS-ioungetc.c): Likewise.
19070 (CFLAGS-ioungetwc.c): Likewise.
19071 (CFLAGS-oldfileops.c): Likewise.
19072 (CFLAGS-oldiofclose.c): Likewise.
19073 (CFLAGS-oldiofgetpos64.c): Likewise.
19074 (CFLAGS-oldiofgetpos.c): Likewise.
19075 (CFLAGS-oldiofsetpos64.c): Likewise.
19076 (CFLAGS-oldiofsetpos.c): Likewise.
19077 (CFLAGS-peekc.c): Likewise.
19078 (CFLAGS-putc.c): Likewise.
19079 (CFLAGS-putchar.c): Likewise.
19080 (CFLAGS-putwc.c): Likewise.
19081 (CFLAGS-putwchar.c): Likewise.
19082 (CFLAGS-rewind.c): Likewise.
19083 (CFLAGS-wfileops.c): Likewise.
19084 (CFLAGS-wgenops.c): Likewise.
19085 (CFLAGS-oldiofopen.c): Likewise.
19086 (CFLAGS-iofopen.c): Likewise.
19087 (CFLAGS-iofopen64.c): Likewise.
19088 (CFLAGS-oldtmpfile.c): Likewise.
19089 (CFLAGS-tst_putwc.c): Likewise.
19090 * locale/Makefile (CFLAGS-md5.c): Likewise.
19091 (CFLAGS-charmap.c): Likewise.
19092 (CFLAGS-locfile.c): Likewise.
19093 (CFLAGS-charmap-dir.c): Likewise.
19094 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19095 (CFLAGS-getpt.c): Likewise.
19096 (CFLAGS-pt_chown.c): Likewise.
19097 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19098 (CFLAGS-obstack.c): Likewise.
19099 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19100 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19101 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19102 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19103 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19104 (CFLAGS-test-tgmath.c): Likewise.
19105 (CFLAGS-test-tgmath2.c): Likewise.
19106 (CFLAGS-test-tgmath-ret.c): Likewise.
19107 (CFLAGS-test-powl.c): Likewise.
19108 (CFLAGS-test-snan.c): Likewise.
19109 (CFLAGS-test-signgam-finite.c): Likewise.
19110 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19111 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19112 (CFLAGS-test-signgam-uchar.c): Likewise.
19113 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19114 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19115 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19116 (CFLAGS-test-signgam-uint.c): Likewise.
19117 (CFLAGS-test-signgam-uint-init.c): Likewise.
19118 (CFLAGS-test-signgam-uint-static.c): Likewise.
19119 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19120 (CFLAGS-test-signgam-ullong.c): Likewise.
19121 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19122 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19123 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19124 (CFLAGS-test-math-cxx11.cc): Likewise.
19125 (CFLAGS-test-math-isinff.cc): Likewise.
19126 (CFLAGS-test-math-iszero.cc): Likewise.
19127 (CFLAGS-test-math-issignaling.cc): Likewise.
19128 (CFLAGS-test-math-iscanonical.cc): Likewise.
19129 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19130 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19131 (CFLAGS-test-flt-eval-method.c): Likewise.
19132 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19133 (CFLAGS-test-finite-macros.c): Likewise.
19134 * misc/Makefile (CFLAGS-select.c): Likewise.
19135 (CFLAGS-tsearch.c): Likewise.
19136 (CFLAGS-lsearch.c): Likewise.
19137 (CFLAGS-pselect.c): Likewise.
19138 (CFLAGS-readv.c): Likewise.
19139 (CFLAGS-writev.c): Likewise.
19140 (CFLAGS-preadv.c): Likewise.
19141 (CFLAGS-preadv64.c): Likewise.
19142 (CFLAGS-pwritev.c): Likewise.
19143 (CFLAGS-pwritev64.c): Likewise.
19144 (CFLAGS-preadv2.c): Likewise.
19145 (CFLAGS-preadv64v2.c): Likewise.
19146 (CFLAGS-pwritev2.c): Likewise.
19147 (CFLAGS-pwritev64v2.c): Likewise.
19148 (CFLAGS-usleep.c): Likewise.
19149 (CFLAGS-syslog.c): Likewise.
19150 (CFLAGS-error.c): Likewise.
19151 (CFLAGS-getpass.c): Likewise.
19152 (CFLAGS-mkstemp.c): Likewise.
19153 (CFLAGS-mkstemp64.c): Likewise.
19154 (CFLAGS-getsysstats.c): Likewise.
19155 (CFLAGS-getusershell.c): Likewise.
19156 (CFLAGS-err.c): Likewise.
19157 (CFLAGS-tst-tsearch.c): Likewise.
19158 (CFLAGS-msync.c): Likewise.
19159 (CFLAGS-fdatasync.c): Likewise.
19160 (CFLAGS-fsync.c): Likewise.
19161 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19162 (CFLAGS-unwind.c): Likewise.
19163 (CFLAGS-unwind-forcedunwind.c): Likewise.
19164 (CFLAGS-pthread_cancel.c): Likewise.
19165 (CFLAGS-pthread_setcancelstate.c): Likewise.
19166 (CFLAGS-pthread_setcanceltype.c): Likewise.
19167 (CFLAGS-cancellation.c): Likewise.
19168 (CFLAGS-libc-cancellation.c): Likewise.
19169 (CFLAGS-pthread_exit.c): Likewise.
19170 (CFLAGS-forward.c): Likewise.
19171 (CFLAGS-pthread_testcancel.c): Likewise.
19172 (CFLAGS-pthread_join.c): Likewise.
19173 (CFLAGS-pthread_timedjoin.c): Likewise.
19174 (CFLAGS-pthread_once.c): Likewise.
19175 (CFLAGS-pthread_cond_wait.c): Likewise.
19176 (CFLAGS-sem_wait.c): Likewise.
19177 (CFLAGS-sem_timedwait.c): Likewise.
19178 (CFLAGS-fcntl.c): Likewise.
19179 (CFLAGS-lockf.c): Likewise.
19180 (CFLAGS-pread.c): Likewise.
19181 (CFLAGS-pread64.c): Likewise.
19182 (CFLAGS-pwrite.c): Likewise.
19183 (CFLAGS-pwrite64.c): Likewise.
19184 (CFLAGS-wait.c): Likewise.
19185 (CFLAGS-waitpid.c): Likewise.
19186 (CFLAGS-sigwait.c): Likewise.
19187 (CFLAGS-msgrcv.c): Likewise.
19188 (CFLAGS-msgsnd.c): Likewise.
19189 (CFLAGS-tcdrain.c): Likewise.
19190 (CFLAGS-open.c): Likewise.
19191 (CFLAGS-open64.c): Likewise.
19192 (CFLAGS-pause.c): Likewise.
19193 (CFLAGS-recv.c): Likewise.
19194 (CFLAGS-send.c): Likewise.
19195 (CFLAGS-accept.c): Likewise.
19196 (CFLAGS-sendto.c): Likewise.
19197 (CFLAGS-connect.c): Likewise.
19198 (CFLAGS-recvfrom.c): Likewise.
19199 (CFLAGS-recvmsg.c): Likewise.
19200 (CFLAGS-sendmsg.c): Likewise.
19201 (CFLAGS-close.c): Likewise.
19202 (CFLAGS-read.c): Likewise.
19203 (CFLAGS-write.c): Likewise.
19204 (CFLAGS-nanosleep.c): Likewise.
19205 (CFLAGS-sigsuspend.c): Likewise.
19206 (CFLAGS-msync.c): Likewise.
19207 (CFLAGS-fdatasync.c): Likewise.
19208 (CFLAGS-fsync.c): Likewise.
19209 (CFLAGS-pt-system.c): Likewise.
19210 (CFLAGS-tst-cleanup2.c): Likewise.
19211 (CFLAGS-tst-cleanupx2.c): Likewise.
19212 (CFLAGS-flockfile.c): Likewise.
19213 (CFLAGS-ftrylockfile.c): Likewise.
19214 (CFLAGS-funlockfile.c): Likewise.
19215 (CFLAGS-tst-initializers1.c): Likewise.
19216 (CFLAGS-tst-initializers1-c89.c): Likewise.
19217 (CFLAGS-tst-initializers1-c99.c): Likewise.
19218 (CFLAGS-tst-initializers1-c11.c): Likewise.
19219 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19220 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19221 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19222 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19223 (CFLAGS-nscd_getgr_r.c): Likewise.
19224 (CFLAGS-nscd_gethst_r.c): Likewise.
19225 (CFLAGS-nscd_getai.c): Likewise.
19226 (CFLAGS-nscd_initgroups.c): Likewise.
19227 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19228 (CFLAGS-pause.c): Likewise.
19229 (CFLAGS-pread.c): Likewise.
19230 (CFLAGS-pread64.c): Likewise.
19231 (CFLAGS-pwrite.c): Likewise.
19232 (CFLAGS-pwrite64.c): Likewise.
19233 (CFLAGS-sleep.c): Likewise.
19234 (CFLAGS-wait.c): Likewise.
19235 (CFLAGS-waitid.c): Likewise.
19236 (CFLAGS-waitpid.c): Likewise.
19237 (CFLAGS-getopt.c): Likewise.
19238 (CFLAGS-wordexp.c): Likewise.
19239 (CFLAGS-sysconf.c): Likewise.
19240 (CFLAGS-pathconf.c): Likewise.
19241 (CFLAGS-fpathconf.c): Likewise.
19242 (CFLAGS-spawn.c): Likewise.
19243 (CFLAGS-spawnp.c): Likewise.
19244 (CFLAGS-spawni.c): Likewise.
19245 (CFLAGS-glob.c): Likewise.
19246 (CFLAGS-glob64.c): Likewise.
19247 (CFLAGS-getconf.c): Likewise.
19248 (CFLAGS-nanosleep.c): Likewise.
19249 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19250 (CFLAGS-getpwent.c): Likewise.
19251 (CFLAGS-getpw.c): Likewise.
19252 (CFLAGS-fgetpwent_r.c): Likewise.
19253 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19254 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19255 (CFLAGS-mq_timedreceive.c): Likewise.
19256 (CFLAGS-mq_timedsend.c): Likewise.
19257 (CFLAGS-clock_nanosleep.c): Likewise.
19258 (CFLAGS-librt-cancellation.c): Likewise.
19259 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19260 (CFLAGS-getspent.c): Likewise.
19261 (CFLAGS-fgetspent.c): Likewise.
19262 (CFLAGS-fgetspent_r.c): Likewise.
19263 (CFLAGS-putspent.c): Likewise.
19264 (CFLAGS-getspnam.c): Likewise.
19265 (CFLAGS-getspnam_r.c): Likewise.
19266 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19267 (CFLAGS-sigsuspend.c): Likewise.
19268 (CFLAGS-sigtimedwait.c): Likewise.
19269 (CFLAGS-sigwait.c): Likewise.
19270 (CFLAGS-sigwaitinfo.c): Likewise.
19271 (CFLAGS-sigreturn.c): Likewise.
19272 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19273 (CFLAGS-vfwprintf.c): Likewise.
19274 (CFLAGS-tmpfile.c): Likewise.
19275 (CFLAGS-tmpfile64.c): Likewise.
19276 (CFLAGS-tempname.c): Likewise.
19277 (CFLAGS-psignal.c): Likewise.
19278 (CFLAGS-vprintf.c): Likewise.
19279 (CFLAGS-cuserid.c): Likewise.
19280 (CFLAGS-errlist.c): Likewise.
19281 (CFLAGS-siglist.c): Likewise.
19282 (CFLAGS-scanf15.c): Likewise.
19283 (CFLAGS-scanf17.c): Likewise.
19284 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19285 (CFLAGS-msort.c): Likewise.
19286 (CFLAGS-qsort.c): Likewise.
19287 (CFLAGS-system.c): Likewise.
19288 (CFLAGS-fmtmsg.c): Likewise.
19289 (CFLAGS-strfmon.c): Likewise.
19290 (CFLAGS-strfmon_l.c): Likewise.
19291 (CFLAGS-strfromd.c): Likewise.
19292 (CFLAGS-strfromf.c): Likewise.
19293 (CFLAGS-strfroml.c): Likewise.
19294 (CFLAGS-tst-bsearch.c): Likewise.
19295 (CFLAGS-tst-qsort.c): Likewise.
19296 (CFLAGS-tst-makecontext2.c): Likewise.
19297 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19298 (CFLAGS-xnlm_prot.c): Likewise.
19299 (CFLAGS-xrstat.c): Likewise.
19300 (CFLAGS-xyppasswd.c): Likewise.
19301 (CFLAGS-xklm_prot.c): Likewise.
19302 (CFLAGS-xrex.c): Likewise.
19303 (CFLAGS-xsm_inter.c): Likewise.
19304 (CFLAGS-xmount.c): Likewise.
19305 (CFLAGS-xrusers.c): Likewise.
19306 (CFLAGS-xspray.c): Likewise.
19307 (CFLAGS-xnfs_prot.c): Likewise.
19308 (CFLAGS-xrquota.c): Likewise.
19309 (CFLAGS-xkey_prot.c): Likewise.
19310 (CFLAGS-auth_unix.c): Likewise.
19311 (CFLAGS-key_call.c): Likewise.
19312 (CFLAGS-pmap_rmt.c): Likewise.
19313 (CFLAGS-clnt_perr.c): Likewise.
19314 (CFLAGS-openchild.c): Likewise.
19315 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19316 (CFLAGS-msgsnd.c): Likewise.
19317 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19318 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19319 (CFLAGS-tzset.c): Likewise.
19320 (CFLAGS-getdate.c): Likewise.
19321 (CFLAGS-test_time.c): Likewise.
19322 (CPPFLAGS-tst-tzname.c): Likewise.
19323 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19324 (CFLAGS-zic.c): Likewise.
19325 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19326 (CFLAGS-wcswidth.c): Likewise.
19327 (CFLAGS-wcstol.c): Likewise.
19328 (CFLAGS-wcstoul.c): Likewise.
19329 (CFLAGS-wcstoll.c): Likewise.
19330 (CFLAGS-wcstoull.c): Likewise.
19331 (CFLAGS-wcstod.c): Likewise.
19332 (CFLAGS-wcstold.c): Likewise.
19333 (CFLAGS-wcstof128.c): Likewise.
19334 (CFLAGS-wcstof.c): Likewise.
19335 (CFLAGS-wcstol_l.c): Likewise.
19336 (CFLAGS-wcstoul_l.c): Likewise.
19337 (CFLAGS-wcstoll_l.c): Likewise.
19338 (CFLAGS-wcstoull_l.c): Likewise.
19339 (CFLAGS-wcstod_l.c): Likewise.
19340 (CFLAGS-wcstold_l.c): Likewise.
19341 (CFLAGS-wcstof128_l.c): Likewise.
19342 (CFLAGS-wcstof_l.c): Likewise.
19343 (CPPFLAGS-tst-wchar-h.c): Likewise.
19344 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 19345
f4b2aea6
PC
193462017-12-11 Paul A. Clarke <pc@us.ibm.com>
19347
19348 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19349
c9cd7b0c
AZ
193502017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19351 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19352
19353 * manual/tunables.texi (Hardware Capability Tunables): Document
19354 glibc.tune.cached_memopt.
19355 * sysdeps/powerpc/cpu-features.c: New file.
19356 * sysdeps/powerpc/cpu-features.h: New file.
19357 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19358 _dl_powerpc_cpu_features.
19359 * sysdeps/powerpc/dl-tunables.list: New file.
19360 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19361 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19362 (INIT_ARCH): Initialize use_aligned_memopt.
19363 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19364 IS_IN(rtld))]: Restrict dl_platform_init availability and
19365 initialize CPU features used by tunables.
19366 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19367 Add memcpy-power8-cached.
19368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19369 __memcpy_power8_cached.
19370 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19371 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19372 New file.
19373
e70c6fee
L
193742017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19375
19376 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19377 (CFLAGS-noinl-tester.c): Likewise.
19378 (CFLAGS-tst-strlen.c): Likewise.
19379 (CFLAGS-stratcliff.c): Likewise.
19380 (CFLAGS-test-ffs.c): Likewise.
19381 (CFLAGS-tst-inlcall.c): Likewise.
19382 (CFLAGS-tst-xbzero-opt.c): Likewise.
19383 (CFLAGS-memcpy.c): Likewise.
19384 (CFLAGS-wordcopy.c): Likewise.
19385
dee94366
SL
193862017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19387
19388 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19389 Store r15 on stack and add cfi rule.
19390 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19391 Likewise.
19392
363e4519 193932017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
19394
19395 [BZ #22577]
19396 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19397 call.
19398
9d0ffa60
L
193992017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19400
19401 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19402 Add s_sinf-sse2 and s_sinf-fma.
19403 (CFLAGS-s_sinf-fma.c): New.
19404 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19405 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19406 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19407
9574c7b6
L
194082017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19409
19410 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19411
d15e83c5
JM
194122017-12-07 Joseph Myers <joseph@codesourcery.com>
19413
19414 [BZ #22568]
19415 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19416 part of result to imaginary part of argument if it is zero and the
19417 real part of the argument is not finite.
19418 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19419 of result to real part of argument if it is zero and the imaginary
19420 part of the argument is not finite.
19421
d89756eb
MF
194222017-12-07 Mike FABIAN <mfabian@redhat.com>
19423
19424 [BZ #22524]
19425 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19426 and to the list of locales to be built for testing.
19427 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19428 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19429 and build the collation rules upon that.
19430
1f9055ce
JM
194312017-12-07 Joseph Myers <joseph@codesourcery.com>
19432
19433 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19434 * manual/math.texi (Mathematics): Document support for _Float32.
19435 * math/Makefile (test-types): Add float32.
19436 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19437 * stdlib/Versions (GLIBC_2.27): Likewise.
19438 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19439 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19440 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19441 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19443 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19444 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19445 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19446 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19447 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19448 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19449 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19450 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19451 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19452 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19453 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19454 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19455 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19456 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19457 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19458 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19459 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19460 Likewise.
19461 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19462 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19463 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19464 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19465 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19467 Likewise.
19468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19469 Likewise.
19470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19471 Likewise.
19472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19473 Likewise.
19474
19475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19476 Likewise.
19477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19478 Likewise.
19479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19480 Likewise.
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19482 Likewise.
19483 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19484 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19485 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19486 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19487 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19488 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19489 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19490 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19491 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19492 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19494 Likewise.
19495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19496 Likewise.
19497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19498 Likewise.
19499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19500 Likewise.
19501 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19502 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19503 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19504 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19505 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19506 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19507 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19508 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19509
5244527d
JM
195102017-12-06 Joseph Myers <joseph@codesourcery.com>
19511
fb1ca2aa
JM
19512 * stdlib/strtof.c: Include <bits/floatn.h>
19513 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19514 and later undefine as macro. Define as weak alias if
19515 [!USE_WIDE_CHAR].
19516 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19517 and later undefine as macro. Define as weak alias if
19518 [USE_WIDE_CHAR].
19519 * stdlib/strtof_l.c: Include <bits/floatn.h>
19520 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19521 and later undefine as macro. Define as weak alias if
19522 [!USE_WIDE_CHAR].
19523 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19524 and later undefine as macro. Define as weak alias if
19525 [USE_WIDE_CHAR].
19526
fc10cc3f
JM
19527 * stdlib/strfromf.c: Include <bits/floatn.h>.
19528 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19529 and later undefine as macro and define as weak alias.
19530
e420d228
JM
19531 * math/test-float32.h: New file.
19532
26007a2f
JM
19533 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19534 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19535 (libm_alias_float_other_r): Create f32 alias.
19536 (libm_alias_float_r): Use semicolon before call to
19537 libm_alias_float_other_r.
19538
c191f64c
JM
19539 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19540 second argument to libm_alias_float_other.
19541 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19542 second argument to libm_alias_float_other.
19543 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19544 argument to libm_alias_float_other.
19545
5244527d
JM
19546 [BZ #22561]
19547 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19548 real part of result for argument 0 + i * NaN.
19549 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19550 results for tests of 0 + i * NaN.
19551
d73fac82
AZ
195522017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19553
19554 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19555
7ec094e8
DM
195562017-12-06 David S. Miller <davem@davemloft.net>
19557
19558 * sysdeps/sparc/fpu/libm-test-ulps: Update
19559 exp_{downward,towardzero,upward} ulps.
19560
53994f12
JM
195612017-12-06 Joseph Myers <joseph@codesourcery.com>
19562
1dbe6f64
JM
19563 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19564 variables static.
19565
53994f12
JM
19566 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19567 (Y0_2D): Likewise.
19568 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19569 (Y0_2D): Likewise.
19570 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19571 (Y0_2D): Likewise.
19572 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19573 (Y0_2D): Likewise.
19574
62ea2193
MF
195752017-12-06 Mike FABIAN <mfabian@redhat.com>
19576
19577 [BZ #22515]
19578 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19579 and to the list of locales to be built for testing.
19580 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19581 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19582 and build the collation rules upon that.
19583
87235d70
RS
195842017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19585
19586 * NEWS: Add sinf to list of optimized functions.
19587
0d93b7fd
JM
195882017-12-06 Joseph Myers <joseph@codesourcery.com>
19589
19590 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19591 (__HAVE_FLOAT32X): Likewise.
19592 * manual/math.texi (Mathematics): Document support for _Float64
19593 and _Float32x.
19594 * math/Makefile (test-types): Add float64 and float32x.
19595 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19596 functions.
19597 * stdlib/Versions (GLIBC_2.27): Likewise.
19598 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19599 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19600 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19601 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19602 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19603 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19604 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19605 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19606 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19607 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19608 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19609 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19610 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19611 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19612 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19613 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19614 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19615 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19616 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19617 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19618 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19619 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19620 Likewise.
19621 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19622 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19623 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19624 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19625 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19627 Likewise.
19628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19629 Likewise.
19630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19631 Likewise.
19632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19633 Likewise.
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19635 Likewise.
19636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19637 Likewise.
19638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19639 Likewise.
19640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19641 Likewise.
19642 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19643 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19644 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19645 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19646 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19647 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19648 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19649 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19650 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19651 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19653 Likewise.
19654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19655 Likewise.
19656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19657 Likewise.
19658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19659 Likewise.
19660 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19661 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19662 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19663 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19664 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19665 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19666 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19667 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19668
f7787234
JM
196692017-12-05 Joseph Myers <joseph@codesourcery.com>
19670
19671 * bits/floatn-common.h: Include <bits/long-double.h>.
19672 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19673 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19674 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19675 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19676 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19677 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19678 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19679 (__builtin_huge_valf64): Use __builtin_huge_vall.
19680 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19681 (__builtin_inff64): Use __builtin_infl.
19682 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19683 (__builtin_nanf64): Use __builtin_nanl.
19684 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19685 (__builtin_nansf64): Use __builtin_nansl.
19686
363e4519
DL
196872017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19688 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
07ed18d2
RA
19689 Carlos O'Donnell <carlos@redhat.com>
19690
19691 * elf/dl-tunables.list: Add elision parameters.
19692 * manual/tunables.texi: Add entries about elision tunable.
19693 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19694 Add callback functions to dynamically enable/disable elision.
19695 Add multiple callbacks functions to set elision parameters.
19696 Deleted __libc_enable_secure check.
19697 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19698 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19699 * configure: Regenerated.
19700 * configure.ac: Option enable_lock_elision was deleted.
19701 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19702 * config.make.in: Remove references to enable_lock_elision.
19703 * manual/install.texi: Elision configure option was removed.
19704 * INSTALL: Regenerated to remove enable_lock_elision.
19705 * nptl/Makefile:
19706 Disable elision so it can verify error case for destroying a mutex.
19707 * sysdeps/powerpc/nptl/elide.h:
19708 Cleanup ENABLE_LOCK_ELISION check.
19709 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19710 * sysdeps/s390/configure: Regenerated.
19711 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19712 * nptl/tst-mutex8.c:
19713 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19714 * sysdeps/powerpc/powerpc32/sysdep.h:
19715 Deleted all ENABLE_LOCK_ELISION checks.
19716 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19717 * sysdeps/powerpc/sysdep.h: Likewise.
19718 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19719 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19720 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19721 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19722 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19723 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19724 enable-lock-elision.
19725
a5a2a76b
JM
197262017-12-05 Joseph Myers <joseph@codesourcery.com>
19727
19728 * stdlib/strtod.c: Include <bits/floatn.h>.
19729 (BUILD_DOUBLE): New macro.
19730 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19731 (strtof64): Define and later undefine as macro. Define as weak
19732 alias if [!USE_WIDE_CHAR].
19733 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19734 (wcstof64): Define and later undefine as macro. Define as weak
19735 alias if [USE_WIDE_CHAR].
19736 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19737 (strtof32x): Define and later undefine as macro. Define as weak
19738 alias if [!USE_WIDE_CHAR].
19739 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19740 (wcstof32x): Define and later undefine as macro. Define as weak
19741 alias if [USE_WIDE_CHAR].
19742 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19743 (BUILD_DOUBLE): New macro.
19744 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19745 (strtof64_l): Define and later undefine as macro. Define as weak
19746 alias if [!USE_WIDE_CHAR].
19747 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19748 (wcstof64_l): Define and later undefine as macro. Define as weak
19749 alias if [USE_WIDE_CHAR].
19750 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19751 (strtof32x_l): Define and later undefine as macro. Define as weak
19752 alias if [!USE_WIDE_CHAR].
19753 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19754 (wcstof32x_l): Define and later undefine as macro. Define as weak
19755 alias if [USE_WIDE_CHAR].
19756
94d80dfc
AZ
197572017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19758
19759 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19760 (reduced): Use ones as double instead of integer.
19761
00d54af7
SN
197622017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19763
19764 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19765
f2d64d62
JM
197662017-12-05 Joseph Myers <joseph@codesourcery.com>
19767
1f70eae4
JM
19768 * stdlib/strfromd.c: Include <bits/floatn.h>.
19769 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19770 and later undefine as macro and define as weak alias.
19771 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19772 Likewise.
19773
e2c4dce5
JM
19774 * math/test-float32x.h: New file.
19775 * math/test-float64.h: Likewise.
19776
f2d64d62
JM
19777 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19778 (libm_alias_double_other_r_f64): New macro.
19779 (libm_alias_double_other_r_f32x): Likewise.
19780 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19781 libm_alias_double_other_r_f32x.
19782 (libm_alias_double_r): Use semicolon before call to
19783 libm_alias_double_other_r.
19784 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19785 <bits/floatn.h>.
19786 (libm_alias_double_other_r_f64): New macro.
19787 (libm_alias_double_other_r_f32x): Likewise.
19788 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19789 libm_alias_double_other_r_f32x.
19790
91c318e7
L
197912017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19792
19793 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19794 int.
19795 (SINF_FUNC): Likewise. Replace floor with simple casts.
19796
de9661d6
MF
197972017-12-05 Mike FABIAN <mfabian@redhat.com>
19798
19799 [BZ #22517]
19800 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19801 and to the list of locales to be built for testing.
19802 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19803 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19804 and build the collation rules upon that.
19805
f18b8dc7
CM
198062017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19807
19808 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19809 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19810 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19811 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19812 instead of __insn__xxx.
19813 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19814 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19815 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19816 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19817 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19818 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19819
446d22e9
FW
198202017-12-05 Florian Weimer <fweimer@redhat.com>
19821
19822 Linux: Implement interfaces for memory protection keys
19823 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19824 xsignal, xsysconf.
19825 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19826 * support/xunistd.h (xsysconf): Declare.
19827 * support/xraise.c: New file.
19828 * support/xsigaction.c: Likewise.
19829 * support/xsignal.c: Likewise.
19830 * support/xsysconf.c: Likewise.
19831 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19832 pkey_set, pkey_get, pkey_mprotect.
19833 [misc] (tests): Add tst-pkey.
19834 (tst-pkey): Link with -lpthread.
19835 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19836 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19837 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19838 (PKEY_DISABLE_WRITE): Define.
19839 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19840 Declare.
19841 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19842 (SEGV_PKUERR): Add.
19843 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19844 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19845 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19846 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19847 Add.
19848 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19849 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19850 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19851 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19852 * sysdeps/unix/sysv/linux/**.abilist: Update.
19853
da616c14
FW
198542017-12-05 Florian Weimer <fweimer@redhat.com>
19855
19856 * support/tst-test_compare.c (subprocess): Use long long instead
19857 of long argument for consistent type width across 32-bit and
19858 64-bit architectures.
19859 (do_test): Adjust expected output.
19860
216933b2
JM
198612017-12-05 Joseph Myers <joseph@codesourcery.com>
19862
19863 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19864 (cosf): Define using libm_alias_float.
19865 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19866 (fabsf): Define using libm_alias_float.
19867 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19868 (fmaf): Define using libm_alias_float.
19869 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19870 (rintf): Define using libm_alias_float.
19871 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19872 (sinf): Define using libm_alias_float.
19873 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19874 <libm-alias-float.h>.
19875 (modff): Define using libm_alias_float.
19876 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19877 <libm-alias-float.h>.
19878 (logbf): Define using libm_alias_float.
19879 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19880 <libm-alias-float.h>.
19881 (ceilf): Define using libm_alias_float.
19882 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19883 <libm-alias-float.h>.
19884 (copysignf): Define using libm_alias_float.
19885 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19886 <libm-alias-float.h>.
19887 (floorf): Define using libm_alias_float.
19888 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19889 <libm-alias-float.h>.
19890 (llrintf): Define using libm_alias_float.
19891 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19892 <libm-alias-float.h>.
19893 (llroundf): Define using libm_alias_float.
19894 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19895 <libm-alias-float.h>.
19896 (lrintf): Define using libm_alias_float.
19897 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19898 <libm-alias-float.h>.
19899 (lroundf): Define using libm_alias_float.
19900 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19901 <libm-alias-float.h>.
19902 (nearbyintf): Define using libm_alias_float.
19903 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19904 <libm-alias-float.h>.
19905 (rintf): Define using libm_alias_float.
19906 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19907 <libm-alias-float.h>.
19908 (roundf): Define using libm_alias_float.
19909 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19910 <libm-alias-float.h>.
19911 (truncf): Define using libm_alias_float.
19912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19913 Include <libm-alias-float.h>.
19914 (ceilf): Define using libm_alias_float.
19915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19916 Include <libm-alias-float.h>.
19917 (copysignf): Define using libm_alias_float.
19918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19919 Include <libm-alias-float.h>.
19920 (floorf): Define using libm_alias_float.
19921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19922 Include <libm-alias-float.h>.
19923 (llrintf): Define using libm_alias_float.
19924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19925 Include <libm-alias-float.h>.
19926 (llroundf): Define using libm_alias_float.
19927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19928 Include <libm-alias-float.h>.
19929 (logbf): Define using libm_alias_float.
19930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19931 Include <libm-alias-float.h>.
19932 (lrintf): Define using libm_alias_float.
19933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19934 Include <libm-alias-float.h>.
19935 (lroundf): Define using libm_alias_float.
19936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19937 Include <libm-alias-float.h>.
19938 (modff): Define using libm_alias_float.
19939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19940 Include <libm-alias-float.h>.
19941 (roundf): Define using libm_alias_float.
19942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19943 Include <libm-alias-float.h>.
19944 (truncf): Define using libm_alias_float.
19945 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19946 <libm-alias-float.h>.
19947 (llrintf): Define using libm_alias_float.
19948 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19949 <libm-alias-float.h>.
19950 (llroundf): Define using libm_alias_float.
19951 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19952 <libm-alias-float.h>.
19953 (ceilf): Define using libm_alias_float.
19954 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19955 <libm-alias-float.h>.
19956 (floorf): Define using libm_alias_float.
19957 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19958 <libm-alias-float.h>.
19959 (llroundf): Define using libm_alias_float.
19960 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19961 <libm-alias-float.h>.
19962 (lroundf): Define using libm_alias_float.
19963 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19964 <libm-alias-float.h>.
19965 (roundf): Define using libm_alias_float.
19966 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19967 <libm-alias-float.h>.
19968 (truncf): Define using libm_alias_float.
19969 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19970 <libm-alias-float.h>.
19971 (copysignf): Define using libm_alias_float.
19972 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19973 <libm-alias-float.h>.
19974 (llrintf): Define using libm_alias_float.
19975 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19976 <libm-alias-float.h>.
19977 (llroundf): Define using libm_alias_float.
19978 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19979 <libm-alias-float.h>.
19980 (lrintf): Define using libm_alias_float.
19981 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19982 <libm-alias-float.h>.
19983 (lroundf): Define using libm_alias_float.
19984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19985 <libm-alias-float.h>.
19986 (ceilf): Define using libm_alias_float.
19987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19988 <libm-alias-float.h>.
19989 (copysignf): Define using libm_alias_float.
19990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19991 <libm-alias-float.h>.
19992 (cosf): Define using libm_alias_float.
19993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19994 <libm-alias-float.h>.
19995 (floorf): Define using libm_alias_float.
19996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19997 <libm-alias-float.h>.
19998 (llrintf): Define using libm_alias_float.
19999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20000 <libm-alias-float.h>.
20001 (llroundf): Define using libm_alias_float.
20002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20003 <libm-alias-float.h>.
20004 (logbf): Define using libm_alias_float.
20005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20006 <libm-alias-float.h>.
20007 (modff): Define using libm_alias_float.
20008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20009 <libm-alias-float.h>.
20010 (roundf): Define using libm_alias_float.
20011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20012 <libm-alias-float.h>.
20013 (sinf): Define using libm_alias_float.
20014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20015 <libm-alias-float.h>.
20016 (truncf): Define using libm_alias_float.
20017 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20018 <libm-alias-float.h>.
20019 (ceilf): Define using libm_alias_float.
20020 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20021 <libm-alias-float.h>.
20022 (copysignf): Define using libm_alias_float.
20023 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20024 <libm-alias-float.h>.
20025 (floorf): Define using libm_alias_float.
20026 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20027 <libm-alias-float.h>.
20028 (llrintf): Define using libm_alias_float.
20029 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20030 <libm-alias-float.h>.
20031 (llroundf): Define using libm_alias_float.
20032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20033 <libm-alias-float.h>.
20034 (nearbyintf): Define using libm_alias_float.
20035 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20036 <libm-alias-float.h>.
20037 (rintf): Define using libm_alias_float.
20038 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20039 <libm-alias-float.h>.
20040 (roundf): Define using libm_alias_float.
20041 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20042 <libm-alias-float.h>.
20043 (truncf): Define using libm_alias_float.
20044 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20045 <libm-alias-float.h>.
20046 (ceilf): Define using libm_alias_float.
20047 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20048 <libm-alias-float.h>.
20049 (floorf): Define using libm_alias_float.
20050 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20051 <libm-alias-float.h>.
20052 (llroundf): Define using libm_alias_float.
20053 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20054 <libm-alias-float.h>.
20055 (roundf): Define using libm_alias_float.
20056 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20057 <libm-alias-float.h>.
20058 (truncf): Define using libm_alias_float.
20059 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20060 <libm-alias-float.h>.
20061 (copysignf): Define using libm_alias_float.
20062 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20063 <libm-alias-float.h>.
20064 (llrintf): Define using libm_alias_float.
20065 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20066 <libm-alias-float.h>.
20067 (llroundf): Define using libm_alias_float.
20068 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20069 <libm-alias-float.h>.
20070 (cosf): Define using libm_alias_float.
20071 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20072 <libm-alias-float.h>.
20073 (llrintf): Define using libm_alias_float.
20074 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20075 <libm-alias-float.h>.
20076 (llroundf): Define using libm_alias_float.
20077 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20078 <libm-alias-float.h>.
20079 (sinf): Define using libm_alias_float.
20080
93485524
FW
200812017-12-04 Florian Weimer <fweimer@redhat.com>
20082
20083 * support/check.h (TEST_COMPARE): Define.
20084 (support_test_compare_failure): Declare.
20085 * support/Makefile (libsupport-routines): Add
20086 support_test_compare_failure.
20087 (tests): Add tst-test_compare.
20088 * support /support_test_compare_failure.c: New file.
20089 * support/tst-test_compare.c: Likewise.
20090
96b06a19
MF
200912017-12-04 Mike FABIAN <mfabian@redhat.com>
20092
20093 [BZ #22527]
20094 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20095 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20096 available, this rewrite of the collation rules does reproduce
20097 the test file in the same order.
20098
1f6d91f3
MF
200992017-12-04 Mike FABIAN <mfabian@redhat.com>
20100
20101 [BZ #10580]
20102 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20103 digraphs in the month and day names. Using single code points for
20104 digraphs is deprecated. While there are dedicated Unicode
20105 codepoints, for the digraphs, these are included for backwards
20106 compatibility and modern texts use a sequence of Basic Latin
20107 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20108 This makes the month and day names agree exactly with CLDR now,
20109 CLDR does not use the single code points for the digraphs either.
20110
2e49fed8
CM
201112017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20112
20113 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20114
73895b49
JM
201152017-12-04 Joseph Myers <joseph@codesourcery.com>
20116
20117 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20118 of floor.
20119
4c1d801a
SP
201202017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20121
20122 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20123 Define only for libc.so.
20124
478593e6
SL
201252017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20126
20127 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20128 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20129 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20130 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20131 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20132
7863a711
RS
201332017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20134
20135 [BZ #5997]
20136 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20137
800a496a
JDA
201382017-12-02 John David Anglin <danglin@gcc.gnu.org>
20139
b3f7fb12
JDA
20140 [BZ libc/19170]
20141 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20142 PREINIT_FUNCTION_WEAK is nonzero.
20143 (gmon_initializer): New function. Put procedure label for it in
20144 .init_array section.
20145 (_init): Don't call PREINIT_FUNCTION.
20146 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20147 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20148 value when map argument is null.
20149
800a496a
JDA
20150 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20151 depi instruction from PIC pc-relative sequence.
20152 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20153 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20154 (elf_machine_load_address): Likewise.
20155 (elf_machine_runtime_setup): Likewise.
20156
d17542d2
JM
201572017-12-02 Joseph Myers <joseph@codesourcery.com>
20158
20159 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20160 <libm-alias-double.h>.
20161 (logb): Define using libm_alias_double.
20162 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20163 <libm-alias-double.h>.
20164 (copysign): Define using libm_alias_double.
20165 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20166 <libm-alias-double.h>.
20167 (llrint): Define using libm_alias_double.
20168 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20169 <libm-alias-double.h>.
20170 (llround): Define using libm_alias_double.
20171 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20172 <libm-alias-double.h>.
20173 (lrint): Define using libm_alias_double.
20174 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20175 <libm-alias-double.h>.
20176 (lround): Define using libm_alias_double.
20177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20178 Include <libm-alias-double.h>.
20179 (copysign): Define using libm_alias_double.
20180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20181 Include <libm-alias-double.h>.
20182 (llrint): Define using libm_alias_double.
20183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20184 Include <libm-alias-double.h>.
20185 (llround): Define using libm_alias_double.
20186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20187 <libm-alias-double.h>.
20188 (logb): Define using libm_alias_double.
20189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20190 Include <libm-alias-double.h>.
20191 (lrint): Define using libm_alias_double.
20192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20193 Include <libm-alias-double.h>.
20194 (lround): Define using libm_alias_double.
20195 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20196 <libm-alias-double.h>.
20197 (llrint): Define using libm_alias_double.
20198 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20199 <libm-alias-double.h>.
20200 (llround): Define using libm_alias_double.
20201 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20202 <libm-alias-double.h>.
20203 (llround): Define using libm_alias_double.
20204 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20205 <libm-alias-double.h>.
20206 (lround): Define using libm_alias_double.
20207 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20208 <libm-alias-double.h>.
20209 (copysign): Define using libm_alias_double.
20210 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20211 <libm-alias-double.h>.
20212 (llrint): Define using libm_alias_double.
20213 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20214 <libm-alias-double.h>.
20215 (llround): Define using libm_alias_double.
20216 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20217 <libm-alias-double.h>.
20218 (lrint): Define using libm_alias_double.
20219 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20220 <libm-alias-double.h>.
20221 (lround): Define using libm_alias_double.
20222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20223 <libm-alias-double.h>.
20224 (copysign): Define using libm_alias_double.
20225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20226 <libm-alias-double.h>.
20227 (llrint): Define using libm_alias_double.
20228 (lrint): Likewise.
20229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20230 <libm-alias-double.h>.
20231 (llround): Define using libm_alias_double.
20232 (lround): Likewise.
20233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20234 <libm-alias-double.h>.
20235 (logb): Define using libm_alias_double.
20236 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20237 <libm-alias-double.h>.
20238 (copysign): Define using libm_alias_double.
20239 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20240 <libm-alias-double.h>.
20241 (llrint): Define using libm_alias_double.
20242 (lrint): Likewise.
20243 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20244 <libm-alias-double.h>.
20245 (llround): Define using libm_alias_double.
20246 (lround): Likewise.
20247 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20248 <libm-alias-double.h>.
20249 (llround): Define using libm_alias_double.
20250 (lround): Likewise.
20251 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20252 <libm-alias-double.h>.
20253 (copysign): Define using libm_alias_double.
20254 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20255 <libm-alias-double.h>.
20256 (llrint): Define using libm_alias_double.
20257 (lrint): Likewise.
20258 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20259 <libm-alias-double.h>.
20260 (llround): Define using libm_alias_double.
20261 (lround): Likewise.
20262 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20263 <libm-alias-double.h>.
20264 (llrint): Define using libm_alias_double.
20265 (lrint): Likewise.
20266 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20267 <libm-alias-double.h>.
20268 (llround): Define using libm_alias_double.
20269 (lround): Likewise.
20270
ec2cf3f4
JM
202712017-12-01 Joseph Myers <joseph@codesourcery.com>
20272
0ddde474
JM
20273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20274 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20275 compat symbol based on llround.
20276
0d5ba561
JM
20277 * sysdeps/powerpc/power7/fpu/s_logb.c
20278 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20279 symbol based on __logb, not on logb.
20280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20281 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20283 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20284
51ea3b20
JM
20285 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20286 (rint): Define using libm_alias_double.
20287 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20288 <libm-alias-double.h>.
20289 (modf): Define using libm_alias_double.
20290 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20291 <libm-alias-double.h>.
20292 (ceil): Define using libm_alias_double.
20293 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20294 <libm-alias-double.h>.
20295 (floor): Define using libm_alias_double.
20296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20297 <libm-alias-double.h>.
20298 (nearbyint): Define using libm_alias_double.
20299 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20300 <libm-alias-double.h>.
20301 (rint): Define using libm_alias_double.
20302 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20303 <libm-alias-double.h>.
20304 (round): Define using libm_alias_double.
20305 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20306 <libm-alias-double.h>.
20307 (trunc): Define using libm_alias_double.
20308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20309 <libm-alias-double.h>.
20310 (ceil): Define using libm_alias_double.
20311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20312 Include <libm-alias-double.h>.
20313 (floor): Define using libm_alias_double.
20314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20315 <libm-alias-double.h>.
20316 (modf): Define using libm_alias_double.
20317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20318 Include <libm-alias-double.h>.
20319 (round): Define using libm_alias_double.
20320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20321 Include <libm-alias-double.h>.
20322 (trunc): Define using libm_alias_double.
20323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20324 <libm-alias-double.h>.
20325 (ceil): Define using libm_alias_double.
20326 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20327 <libm-alias-double.h>.
20328 (floor): Define using libm_alias_double.
20329 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20330 <libm-alias-double.h>.
20331 (round): Define using libm_alias_double.
20332 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20333 <libm-alias-double.h>.
20334 (trunc): Define using libm_alias_double.
20335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20336 <libm-alias-double.h>.
20337 (ceil): Define using libm_alias_double.
20338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20339 <libm-alias-double.h>.
20340 (floor): Define using libm_alias_double.
20341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20342 <libm-alias-double.h>.
20343 (modf): Define using libm_alias_double.
20344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20345 <libm-alias-double.h>.
20346 (round): Define using libm_alias_double.
20347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20348 <libm-alias-double.h>.
20349 (trunc): Define using libm_alias_double.
20350 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20351 <libm-alias-double.h>.
20352 (ceil): Define using libm_alias_double.
20353 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20354 <libm-alias-double.h>.
20355 (floor): Define using libm_alias_double.
20356 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20357 <libm-alias-double.h>.
20358 (nearbyint): Define using libm_alias_double.
20359 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20360 <libm-alias-double.h>.
20361 (rint): Define using libm_alias_double.
20362 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20363 <libm-alias-double.h>.
20364 (round): Define using libm_alias_double.
20365 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20366 <libm-alias-double.h>.
20367 (trunc): Define using libm_alias_double.
20368 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20369 <libm-alias-double.h>.
20370 (ceil): Define using libm_alias_double.
20371 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20372 <libm-alias-double.h>.
20373 (floor): Define using libm_alias_double.
20374 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20375 <libm-alias-double.h>.
20376 (round): Define using libm_alias_double.
20377 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20378 <libm-alias-double.h>.
20379 (trunc): Define using libm_alias_double.
20380
ec2cf3f4
JM
20381 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20382 (fabs): Define using libm_alias_double.
20383 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20384 (fma): Define using libm_alias_double.
20385 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20386 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20387 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20388 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20389
5b7bd975
AZ
203902017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20391
0594b13f
AZ
20392 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20393
dbdfcf3b
AZ
20394 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20395 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20396 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20397
5b7bd975
AZ
20398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20399 due redirect macro.
20400
ef9ecfa6
AS
204012017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20402
20403 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20404
5b4e5e78
AZ
204052017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20406
2a14526b
AZ
20407 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20408 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20409 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20410 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20411
dbeb74ef 20412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
20413 (libm-sysdep_routines): Add s_nearbyintf-generic and
20414 s_nearbyint-generic.
20415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20416 New file.
20417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20419 Likewise.
20420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20421 Likewise.
20422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20423 file.
20424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20425 Likewise.
20426
20427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
20428 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20430 file.
20431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20433 Likewise.
20434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20437
fa7ded96
AZ
20438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20439 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20441 file.
20442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20444 Likewise.
20445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20448
e240cf0e
AZ
20449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20450 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20452 file.
20453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20455 Likewise.
20456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20459
5b4e5e78
AZ
20460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20461 (sysdep_calls): New rule.
20462 (sysdep_routines): Use sysdep_calls as base.
20463 (libm-sysdep_routines): Add generic rule for symbols shared with
20464 libc. Add s_copysign-generic and s_copysign-generic objects.
20465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20466 New file.
20467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20469 Likewise.
20470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20473
d985adae
MF
204742017-12-01 Mike FABIAN <mfabian@redhat.com>
20475
20476 [BZ #22519]
20477 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20478 the list of locales to be built for testing.
20479 * localedata/is_IS.UTF-8.in: New file.
20480 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20481 on iso14651_t1.
20482
ff84a0e0
JM
204832017-12-01 Joseph Myers <joseph@codesourcery.com>
20484
20485 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20486 <libm-alias-float.h>.
20487 (fabsf): Define using libm_alias_float.
20488
ef5d8b43
L
204892017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20490
20491 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20492
c0535adf
JM
204932017-11-30 Joseph Myers <joseph@codesourcery.com>
20494
f938b397
JM
20495 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20496 <libm-alias-float.h>.
20497 (fabsf): Define using libm_alias_float.
20498 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20499 <libm-alias-float.h>.
20500 (lrintf): Define using libm_alias_float.
20501 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20502 <libm-alias-float.h>.
20503 (rintf): Define using libm_alias_float.
20504
2251fad0
JM
20505 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20506 <libm-alias-double.h>.
20507 (fabs): Define using libm_alias_double.
20508 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20509 <libm-alias-double.h>.
20510 (lrint): Define using libm_alias_double.
20511 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20512 <libm-alias-double.h>.
20513 (rint): Define using libm_alias_double.
20514
e53df1de
JM
20515 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20516 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20517 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20518 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20519 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20520 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20521 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20522 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20523 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20524 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20525 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20526 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20527 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20528 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20529 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20530 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20531 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20532 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20533 s_atan_template.c.
20534 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20535 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20536 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20537 s_ceil_template.c.
20538 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20539 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20540 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20541 s_cos_template.c.
20542 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20543 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20544 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20545 s_expm1_template.c.
20546 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20547 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20548 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20549 s_fabs_template.c.
20550 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20551 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20552 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20553 s_floor_template.c.
20554 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20555 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20556 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20557 s_frexp_template.c.
20558 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20559 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20560 s_lrint_template.c.
20561 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20562 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20563 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20564 s_modf_template.c.
20565 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20566 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20567 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20568 s_nearbyint_template.c.
20569 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20570 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20571 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20572 s_remquo_template.c.
20573 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20574 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20575 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20576 s_rint_template.c.
20577 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20578 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20579 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20580 s_sin_template.c.
20581 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20582 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20583 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20584 s_sincos_template.c.
20585 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20586 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20587 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20588 s_tan_template.c.
20589 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20590 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20591 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20592 s_tanh_template.c.
20593 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20594 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20595 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20596 s_trunc_template.c.
20597 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20598 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20599 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20600 s_atan.c instead of including s_atan.c.
20601 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20602 s_atanf.c instead of including s_atanf.c.
20603 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20604 s_atanl.c instead of including s_atanl.c.
20605 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20606 instead of s_atan.c.
20607 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20608 instead of s_atanf.c.
20609 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20610 instead of s_atanl.c.
20611
c0535adf
JM
20612 * scripts/update-copyrights: Do not handle intl/plural.c
20613 specially.
20614
1faaf703
JB
206152017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20616
20617 [BZ #22432]
20618 * configure.ac (BISON): Require to be present.
20619 * configure: Regenerated.
20620 * intl/Makefile (generated): Add plural.c.
20621 [$(BISON) != no]: Make code unconditional.
20622 (plural.c): Change rule to $(objpfx)plural.c.
20623 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20624 * intl/plural.c: Remove.
20625 * manual/install.texi (Tools for Compilation): Document bison as
20626 required.
20627 * INSTALL: Regenerated.
20628
faec6323
JM
206292017-11-30 Joseph Myers <joseph@codesourcery.com>
20630
bd6ea9ed
JM
20631 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20632 <libm-alias-double.h>.
20633 (llrint): Define using libm_alias_double.
20634 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20635 <libm-alias-float.h>.
20636 (llrintf): Define using libm_alias_float.
20637 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20638 <libm-alias-ldouble.h>.
20639 (llrintl): Define using libm_alias_ldouble.
20640
faec6323
JM
20641 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20642 declare_mgen_alias instead of weak_alias.
20643 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20644 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20645 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20646
023cade3
AZ
206472017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20648
9e2279a0
AZ
20649 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20650 Add add_n-generic.
20651 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20652 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20653 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20654
75f37c71
AZ
20655 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20656 Add submul_1-generic.
20657 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20658 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20659 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20660
b70cbbfc 20661 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
20662 Add addmul_1-generic.
20663 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20664 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20665 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20666
20667 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
20668 Add sub_n-generic.
20669 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20670 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20671 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20672
023cade3
AZ
20673 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20674 Add mul_1-generic.
20675 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20676 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20677 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20678
fbb5fd03
MF
206792017-11-30 Mike FABIAN <mfabian@redhat.com>
20680
20681 According to CLDR, collation rules for Serbian and Bosnian
20682 should be the same as for Croatian.
20683
20684 [BZ #22534]
20685 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20686 and to the list of locales to be built for testing.
20687 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20688 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20689 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20690 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20691
5e56e937
MF
206922017-11-30 Mike FABIAN <mfabian@redhat.com>
20693
20694 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20695 to make test case pass.
20696 * localedata/hr_HR.UTF-8.in: Add more test strings.
20697
cf4341ca
MF
206982017-11-30 Mike FABIAN <mfabian@redhat.com>
20699
20700 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20701
363e4519 207022017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
20703
20704 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20705 the list of locales to built for testing.
20706 * localedata/hr_HR.UTF-8.in: New file.
20707
363e4519 207082017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
20709
20710 [BZ #10580]
20711 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20712 iso14651_t1.
20713 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20714 CLDR (except use ligatures for the digraphs, CLDR does not use
20715 the ligatures), add first_workday, some fixes in the date and time
20716 formats.
20717 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20718 for Đ and đ.
20719 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20720 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20721 Add int_p_cs_precedes and int_n_cs_precedes.
20722 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20723 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20724 LC_MONETARY now).
20725 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20726 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20727 name_miss.
20728 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20729 and lang_lib. Change postal_fmt.
20730
f33632cc
L
207312017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20732
20733 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20734 <setjmp.h>.
20735 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20736 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20737 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20738 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20739 * sysdeps/generic/setjmpP.h: New file.
20740 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20741 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20742 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20743 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20744 Add jmp_buf-ssp.sym.
20745 (tests): Add tst-saved_mask-1.
20746
34697694
AS
207472017-11-30 Arjun Shankar <arjun@redhat.com>
20748
20749 [BZ #22375]
37ac8e63 20750 CVE-2017-17426
34697694
AS
20751 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20752 instead of request2size.
20753
3e5efdbd
JM
207542017-11-30 Joseph Myers <joseph@codesourcery.com>
20755
18305fba
JM
20756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20757 (__lllrint): Remove alias.
20758 (lllrint): Likewise.
20759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20760 (__lllrintf): Likewise.
20761 (lllrintf): Likewise.
20762
3e5efdbd
JM
20763 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20764 <libm-alias-float.h>.
20765 (copysignf): Define using libm_alias_float.
20766 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20767 <libm-alias-float.h>.
20768 (fabsf): Define using libm_alias_float.
20769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20770 Include <libm-alias-float.h>.
20771 (copysignf): Define using libm_alias_float.
20772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20773 <libm-alias-float.h>.
20774 (fabsf): Define using libm_alias_float.
20775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20776 <libm-alias-float.h>.
20777 (fdimf): Define using libm_alias_float.
20778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20779 <libm-alias-float.h>.
20780 (fmaf): Define using libm_alias_float.
20781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20782 <libm-alias-float.h>.
20783 (llrintf): Define using libm_alias_float.
20784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20785 Include <libm-alias-float.h>.
20786 (nearbyintf): Define using libm_alias_float.
20787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20788 <libm-alias-float.h>.
20789 (rintf): Define using libm_alias_float.
20790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20791 <libm-alias-float.h>.
20792 (llrintf): Define using libm_alias_float.
20793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20794 <libm-alias-float.h>.
20795 (lrintf): Define using libm_alias_float.
20796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20797 <libm-alias-float.h>.
20798 (nearbyintf): Define using libm_alias_float.
20799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20800 <libm-alias-float.h>.
20801 (rintf): Define using libm_alias_float.
20802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20803 <libm-alias-float.h>.
20804 (ceilf): Define using libm_alias_float.
20805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20806 <libm-alias-float.h>.
20807 (floorf): Define using libm_alias_float.
20808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20809 <libm-alias-float.h>.
20810 (fmaf): Define using libm_alias_float.
20811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20812 <libm-alias-float.h>.
20813 (lrintf): Define using libm_alias_float.
20814 (llrintf): Likewise.
20815 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20816 <libm-alias-float.h>.
20817 (nearbyintf): Define using libm_alias_float.
20818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20819 <libm-alias-float.h>.
20820 (rintf): Define using libm_alias_float.
20821 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20822 <libm-alias-float.h>.
20823 (truncf): Define using libm_alias_float.
20824 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20825 <libm-alias-float.h>.
20826 (copysignf): Define using libm_alias_float.
20827 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20828 <libm-alias-float.h>.
20829 (fabsf): Define using libm_alias_float.
20830 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20831 <libm-alias-float.h>.
20832 (lrintf): Define using libm_alias_float.
20833 (llrintf): Likewise.
20834 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20835 <libm-alias-float.h>.
20836 (nearbyintf): Define using libm_alias_float.
20837 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20838 <libm-alias-float.h>.
20839 (rintf): Define using libm_alias_float.
20840
011fba7e
JM
208412017-11-29 Joseph Myers <joseph@codesourcery.com>
20842
875cd548
JM
20843 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20844 <libm-alias-double.h>.
20845 (copysign): Define using libm_alias_double.
20846 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20847 <libm-alias-double.h>.
20848 (fabs): Define using libm_alias_double.
20849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20850 Include <libm-alias-double.h>.
20851 (copysign): Define using libm_alias_double.
20852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20853 <libm-alias-double.h>.
20854 (fabs): Define using libm_alias_double.
20855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20856 <libm-alias-double.h>.
20857 (fdim): Define using libm_alias_double.
20858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20859 <libm-alias-double.h>.
20860 (fma): Define using libm_alias_double.
20861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20862 <libm-alias-double.h>.
20863 (llrint): Define using libm_alias_double.
20864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20865 Include <libm-alias-double.h>.
20866 (nearbyint): Define using libm_alias_double.
20867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20868 <libm-alias-double.h>.
20869 (rint): Define using libm_alias_double.
20870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20871 <libm-alias-double.h>.
20872 (fabs): Define using libm_alias_double.
20873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20874 <libm-alias-double.h>.
20875 (llrint): Define using libm_alias_double.
20876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20877 <libm-alias-double.h>.
20878 (nearbyint): Define using libm_alias_double.
20879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20880 <libm-alias-double.h>.
20881 (rint): Define using libm_alias_double.
20882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20883 <libm-alias-double.h>.
20884 (ceil): Define using libm_alias_double.
20885 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20886 <libm-alias-double.h>.
20887 (floor): Define using libm_alias_double.
20888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20889 <libm-alias-double.h>.
20890 (fma): Define using libm_alias_double.
20891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20892 <libm-alias-double.h>.
20893 (lrint): Define using libm_alias_double.
20894 (llrint): Likewise.
20895 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20896 <libm-alias-double.h>.
20897 (nearbyint): Define using libm_alias_double.
20898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20899 <libm-alias-double.h>.
20900 (rint): Define using libm_alias_double.
20901 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20902 <libm-alias-double.h>.
20903 (trunc): Define using libm_alias_double.
20904 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20905 <libm-alias-double.h>.
20906 (copysign): Define using libm_alias_double.
20907 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20908 <libm-alias-double.h>.
20909 (fabs): Define using libm_alias_double.
20910 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20911 <libm-alias-double.h>.
20912 (lrint): Define using libm_alias_double.
20913 (llrint): Likewise.
20914 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20915 <libm-alias-double.h>.
20916 (nearbyint): Define using libm_alias_double.
20917 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20918 <libm-alias-double.h>.
20919 (rint): Define using libm_alias_double.
20920
cf4ebc27
JM
20921 [BZ #22229]
20922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20923 <math_ldbl_opt.h>.
20924 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20925
0c097378
JM
20926 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20927 SPARC --disable-multi-arch glibc variants.
20928
34bb10aa
JM
20929 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20930 <libm-alias-float.h>.
20931 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20932 if [SHARED].
20933 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20934 <libm-alias-float.h>.
20935 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20936 if [SHARED].
20937 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20938 <libm-alias-float.h>.
20939 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20940 if [SHARED].
20941 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20942 <libm-alias-float.h>.
20943 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20944 if [SHARED].
20945 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20946 <libm-alias-float.h>.
20947 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20948 if [SHARED].
20949 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20950 <libm-alias-float.h>.
20951 (ceilf): Define using libm_alias_float.
20952 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20953 <libm-alias-float.h>.
20954 (floorf): Define using libm_alias_float.
20955 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20956 <libm-alias-float.h>.
20957 (fmaf): Define using libm_alias_float.
20958 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20959 <libm-alias-float.h>.
20960 (nearbyintf): Define using libm_alias_float.
20961 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20962 <libm-alias-float.h>.
20963 (rintf): Define using libm_alias_float.
20964 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20965 <libm-alias-float.h>.
20966 (truncf): Define using libm_alias_float.
20967 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20968 (copysignf): Define using libm_alias_float.
20969 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20970 (cosf): Define using libm_alias_float.
20971 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20972 (fabsf): Define using libm_alias_float.
20973 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20974 (fmaxf): Define using libm_alias_float.
20975 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20976 (fminf): Define using libm_alias_float.
20977 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20978 (llrintf): Define using libm_alias_float.
20979 [!__ILP32__] (lrintf): Likewise.
20980 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20981 (sincosf): Define using libm_alias_float.
20982 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20983 (sinf): Define using libm_alias_float.
20984 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20985 (lrintf): Define using libm_alias_float.
20986
011fba7e
JM
20987 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20988 <libm-alias-double.h>.
20989 (atan): Define using libm_alias_double.
20990 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20991 <libm-alias-double.h>.
20992 (ceil): Define using libm_alias_double.
20993 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20994 <libm-alias-double.h>.
20995 (floor): Define using libm_alias_double.
20996 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20997 <libm-alias-double.h>.
20998 (fma): Define using libm_alias_double.
20999 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21000 <libm-alias-double.h>.
21001 (nearbyint): Define using libm_alias_double.
21002 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21003 <libm-alias-double.h>.
21004 (rint): Define using libm_alias_double.
21005 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21006 <libm-alias-double.h>.
21007 (sin): Define using libm_alias_double.
21008 (cos): Likewise.
21009 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21010 <libm-alias-double.h>.
21011 (tan): Define using libm_alias_double.
21012 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21013 <libm-alias-double.h>.
21014 (trunc): Define using libm_alias_double.
21015 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21016 (copysign): Define using libm_alias_double.
21017 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21018 (fabs): Define using libm_alias_double.
21019 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21020 (fmax): Define using libm_alias_double.
21021 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21022 (fmin): Define using libm_alias_double.
21023 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21024 (llrint): Define using libm_alias_double.
21025 [!__ILP32__] (lrint): Likewise.
21026 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21027 (lrint): Define using libm_alias_double.
21028
1cbd7bfe
AZ
210292017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21030
21bfcc3d
AZ
21031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21032 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21033 objects.
21034 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21035 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21036 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21037 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21040
522228dd
AZ
21041 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21042 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21043 objects.
21044 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21045 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21046 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21047 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21048 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21049 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21050
2a6f4fab
AZ
21051 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21052 (libm-sysdep_routines): Add s_nearbyint-generic and
21053 s_nearbyintf-generic objects.
21054 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21055 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21056 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21057 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21058 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21059 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21060
712b5b83
AZ
21061 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21062 Add s_finitef-generic and s_finite-generic objects.
21063 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21069
c96d3335
AZ
21070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21071 Add s_isinff-generic and s_isinf-generic objects.
21072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21078
c6862a23
AZ
21079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21080 Add s_isnanf-generic and s_isnan-generic objects.
21081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21087
1cbd7bfe
AZ
21088 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21089 macro.
21090 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21091 rule.
21092 (sysdep_routines): Use sysdep_calls as base.
21093 (libm-sysdep_routines): Add generic rule for symbols shared with
21094 libc. Add s_signbit-generic and s_signbitf-generic objects.
21095 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21096 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21097 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21098 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21099 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21100 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21101
aa1142c5
JM
211022017-11-29 Joseph Myers <joseph@codesourcery.com>
21103
21104 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21105 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21106 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21107 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21108 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21109 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21110 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21111 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21112 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21113 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21114 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21115 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21116 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21117 libm_alias_float_r.
21118 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21119 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21120 (logf): Likewise.
21121 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21122 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21123 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21124 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21125 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21126 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21127 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21128 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21129 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21130 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21131 libm_alias_float.
21132 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21133 (cosf): Likewise.
21134 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21135 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21136 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21137 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21138 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21139 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21140 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21141 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21142 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21143 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21144 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21145 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21146 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21147 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21148 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21149 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21150 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21151 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21152 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21153 libm_alias_float.
21154 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21155 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21156 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21157 * sysdeps/ia64/fpu/w_lgammaf_main.c
21158 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21159 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21160
363e4519
DL
211612017-11-28 Mike FABIAN <mfabian@redhat.com>
21162 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
21163
21164 [BZ #17750]
21165 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21166 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21167 accents sorting.
21168 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21169 sorting.
21170 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21171 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21172 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21173 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21174 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21175 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21176 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21177 instead of “ifdef DIACRIT_BACKWARD”.
21178
a55430cb
AZ
211792017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21180
21181 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21182 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21183 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21184 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21185 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21186 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21190 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21193 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21194 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21195 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21196 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21197 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21198 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21200 ($(have-as-vis3) == yes): Remove conditional.
21201 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21202 Likewise.
21203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21204 file.
21205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21206 file.
21207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21208 file.
21209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21210 file.
21211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21217 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21218 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21219
0609ec0a
JM
212202017-11-29 Joseph Myers <joseph@codesourcery.com>
21221
21222 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21223 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21224 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21225 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21226 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21227 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21228 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21229 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21230 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21231 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21232 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21233 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21234 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21235 libm_alias_double_r.
21236 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21237 (log): Likewise.
21238 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21239 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21240 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21241 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21242 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21243 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21244 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21245 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21246 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21247 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21248 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21249 libm_alias_double.
21250 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21251 (cos): Likewise.
21252 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21253 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21254 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21255 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21256 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21257 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21258 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21259 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21260 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21261 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21262 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21263 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21264 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21265 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21266 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21267 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21268 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21269 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21270 libm_alias_double.
21271 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21272 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21273 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21274 * sysdeps/ia64/fpu/w_lgamma_main.c
21275 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21276 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21277
d5bfa34a
JDA
212782017-11-28 John David Anglin <danglin@gcc.gnu.org>
21279
21280 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21281 address of $global$ into %dp register earlier. Use pc-relative
21282 instruction sequence for PIC case.
21283
bc4e8f9b
JM
212842017-11-28 Joseph Myers <joseph@codesourcery.com>
21285
e4602cba
JM
21286 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21287 (asinhf): Define using libm_alias_float.
21288 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21289 (atanf): Define using libm_alias_float.
21290 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21291 (cbrtf): Define using libm_alias_float.
21292 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21293 (ceilf): Define using libm_alias_float.
21294 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21295 (copysignf): Define using libm_alias_float.
21296 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21297 (expm1f): Define using libm_alias_float.
21298 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21299 (fabsf): Define using libm_alias_float.
21300 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21301 (floorf): Define using libm_alias_float.
21302 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21303 (fmaxf): Define using libm_alias_float.
21304 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21305 (fminf): Define using libm_alias_float.
21306 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21307 (frexpf): Define using libm_alias_float.
21308 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21309 (llrintf): Define using libm_alias_float.
21310 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21311 (logbf): Define using libm_alias_float.
21312 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21313 (lrintf): Define using libm_alias_float.
21314 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21315 (nearbyintf): Define using libm_alias_float.
21316 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21317 (remquof): Define using libm_alias_float.
21318 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21319 (rintf): Define using libm_alias_float.
21320 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21321 (truncf): Define using libm_alias_float.
21322 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21323 <libm-alias-float.h>.
21324 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21325 if [SHARED].
21326 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21327 <libm-alias-float.h>.
21328 (expf): Define using libm_alias_float, or libm_alias_float_other
21329 if [SHARED].
21330 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21331 <libm-alias-float.h>.
21332 (log2f): Define using libm_alias_float, or libm_alias_float_other
21333 if [SHARED].
21334 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21335 <libm-alias-float.h>.
21336 (logf): Define using libm_alias_float, or libm_alias_float_other
21337 if [SHARED].
21338 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21339 <libm-alias-float.h>.
21340 (powf): Define using libm_alias_float, or libm_alias_float_other
21341 if [SHARED].
21342 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21343 <libm-alias-float.h>.
21344 (cosf): Define using libm_alias_float.
21345 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21346 <libm-alias-float.h>.
21347 (sincosf): Define using libm_alias_float.
21348 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21349 <libm-alias-float.h>.
21350 (sinf): Define using libm_alias_float.
21351 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21352 (fmaxf): Define using libm_alias_float.
21353 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21354 (fminf): Define using libm_alias_float.
21355 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21356 <libm-alias-float.h>.
21357 (fmaf): Define using libm_alias_float.
21358
bc4e8f9b
JM
21359 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21360 (asinh): Define using libm_alias_double.
21361 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21362 (atan): Define using libm_alias_double.
21363 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21364 (cbrt): Define using libm_alias_double.
21365 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21366 (ceil): Define using libm_alias_double.
21367 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21368 (copysign): Define using libm_alias_double.
21369 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21370 (expm1): Define using libm_alias_double.
21371 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21372 (fabs): Define using libm_alias_double.
21373 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21374 (fdim): Define using libm_alias_double.
21375 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21376 (floor): Define using libm_alias_double.
21377 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21378 (fmax): Define using libm_alias_double.
21379 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21380 (fmin): Define using libm_alias_double.
21381 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21382 (frexp): Define using libm_alias_double.
21383 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21384 (llrint): Define using libm_alias_double.
21385 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21386 (logb): Define using libm_alias_double.
21387 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21388 (lrint): Define using libm_alias_double.
21389 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21390 (nearbyint): Define using libm_alias_double.
21391 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21392 (remquo): Define using libm_alias_double.
21393 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21394 (rint): Define using libm_alias_double.
21395 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21396 (trunc): Define using libm_alias_double.
21397 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21398 (fmax): Define using libm_alias_double.
21399 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21400 (fmin): Define using libm_alias_double.
21401 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21402 (fma): Define using libm_alias_double.
21403
8d81ce0c
L
214042017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21405
21406 [BZ #22370]
21407 * elf/dl-hwcaps.c (ROUND): Removed.
21408 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21409 and ELF_NOTE_NEXT_OFFSET.
21410 * elf/dl-load.c (ROUND): Removed.
21411 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21412 * elf/readelflib.c (ROUND): Removed.
21413 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21414 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21415 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21416 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21417
6940bd96
JM
214182017-11-28 Joseph Myers <joseph@codesourcery.com>
21419
313ba463
JM
21420 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21421 [!__fmaf] (fmaf): Define using libm_alias_float.
21422
6940bd96
JM
21423 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21424 [!__fma] (fma): Define using libm_alias_double.
21425 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21426
22c69b6a
MF
214272017-11-28 Mike FABIAN <mfabian@redhat.com>
21428
21429 [BZ #22336]
21430 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21431 and implement the collation rules for cs from CLDR on top of that.
21432 * Makefile: Add cs_CZ.UTF-8 to test-input.
21433 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21434
8d7d3ba8
SP
214352017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21436
21437 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21438
0422ed1e
VR
214392017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21440 Icarus Sparry <icarus.w.sparry@intel.com>
21441
21442 * benchtests/Makefile:Add BENCHSET to allow subsets of
21443 benchmarks to be run.
21444 * benchtests/README: Add documentation for: Running subsets of
21445 benchmarks.
21446
0595e360
VR
214472017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21448
d5090db3
VR
21449 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21450 range of tests names.
21451
0595e360
VR
21452 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21453 result from property and remove "max", min" and "mean" from
21454 required properties based on benchtests/bench-skeleton.c.
21455
b4c645c2
FW
214562017-11-28 Florian Weimer <fweimer@redhat.com>
21457
21458 [BZ #20826]
21459 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21460 due to Internet requirement.
21461 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21462 tst-getaddrinfo5.
21463 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21464
88684de7
AZ
214652017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21466
69056564
AZ
21467 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21468 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21469 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21470 (sysdep_routines): Add memset-ultra1.
21471 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21472 file.
21473 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21474 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21475 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21476 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21477 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21478 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21479 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21480 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21481
88684de7
AZ
21482 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21483 file.
21484 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21485 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21486 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21487 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21488 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21489 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21490 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21491 macro.
21492 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21493 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21494 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21495 (sysdep_routines): Add memcpy-ultra1.
21496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21497 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21498
d8124864
JM
214992017-11-28 Joseph Myers <joseph@codesourcery.com>
21500
f433d0b3
JM
21501 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21502 (cfloat_versions): Take function argument without trailing 'f'.
21503 Call libm_alias_float_other.
21504 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21505 * sysdeps/alpha/fpu/cargf.c: Likewise.
21506 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21507 * sysdeps/alpha/fpu/conjf.c: Likewise.
21508 * sysdeps/alpha/fpu/crealf.c: Likewise.
21509 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21510 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21511 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21512 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21513 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21514 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21515 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21516 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21517 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21518 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21519 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21520 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21521 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21522 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21523 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21524 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21525 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21526 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21527 (clog10f): Use libm_alias_float_other.
21528 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21529 (ceilf): Define using libm_alias_float.
21530 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21531 (copysignf): Define using libm_alias_float.
21532 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21533 (fabsf): Define using libm_alias_float.
21534 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21535 (floorf): Define using libm_alias_float.
21536 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21537 (fmaxf): Define using libm_alias_float.
21538 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21539 (fminf): Define using libm_alias_float.
21540 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21541 (lrintf): Define using libm_alias_float.
21542 (llrintf): Likewise.
21543 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21544 (lroundf): Define using libm_alias_float.
21545 (llroundf): Likewise.
21546 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21547 (rintf): Define using libm_alias_float.
21548 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21549 (truncf): Define using libm_alias_float.
21550
15ff4900
JM
21551 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21552 (ceilf): Define using libm_alias_float.
21553 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21554 (floorf): Define using libm_alias_float.
21555 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21556 (fmaf): Define using libm_alias_float.
21557 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21558 (fmaxf): Define using libm_alias_float.
21559 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21560 (fminf): Define using libm_alias_float.
21561 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21562 (llrintf): Define using libm_alias_float.
21563 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21564 (llroundf): Define using libm_alias_float.
21565 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21566 (lrintf): Define using libm_alias_float.
21567 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21568 (lroundf): Define using libm_alias_float.
21569 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21570 <libm-alias-float.h>.
21571 (nearbyintf): Define using libm_alias_float.
21572 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21573 (rintf): Define using libm_alias_float.
21574 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21575 (roundf): Define using libm_alias_float.
21576 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21577 (truncf): Define using libm_alias_float.
21578
5de60638
JM
21579 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21580 (ceil): Define using libm_alias_double.
21581 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21582 (copysign): Define using libm_alias_double.
21583 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21584 (fabs): Define using libm_alias_double.
21585 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21586 (floor): Define using libm_alias_double.
21587 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21588 (fmax): Define using libm_alias_double.
21589 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21590 (fmin): Define using libm_alias_double.
21591 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21592 (lrint): Define using libm_alias_double.
21593 (llrint): Likewise.
21594 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21595 (lround): Define using libm_alias_double.
21596 (llround): Likewise.
21597 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21598 (rint): Define using libm_alias_double.
21599 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21600 (trunc): Define using libm_alias_double.
21601
d8124864
JM
21602 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21603 (libm_alias_double_r): Add semicolon after weak_alias call.
21604
f07d2ec8
JM
216052017-11-27 Joseph Myers <joseph@codesourcery.com>
21606
21607 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21608 (ceil): Define using libm_alias_double.
21609 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21610 (floor): Define using libm_alias_double.
21611 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21612 (fma): Define using libm_alias_double.
21613 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21614 (fmax): Define using libm_alias_double.
21615 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21616 (fmin): Define using libm_alias_double.
21617 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21618 (llrint): Define using libm_alias_double.
21619 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21620 (llround): Define using libm_alias_double.
21621 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21622 (lrint): Define using libm_alias_double.
21623 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21624 (lround): Define using libm_alias_double.
21625 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21626 (nearbyint): Define using libm_alias_double.
21627 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21628 (rint): Define using libm_alias_double.
21629 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21630 (round): Define using libm_alias_double.
21631 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21632 (trunc): Define using libm_alias_double.
21633
4bab0224
FW
216342017-11-27 Florian Weimer <fweimer@redhat.com>
21635
21636 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21637 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21638 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21639 (tests): Add tst-mlock2.
21640 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21641 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21642 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21643 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21644 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21645 for mlock. Document mlock2.
21646
a23aa5b7
JM
216472017-11-27 Joseph Myers <joseph@codesourcery.com>
21648
21649 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21650 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21651 Likewise.
21652 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21653 Likewise.
21654 * sysdeps/x86/Makeconfig: New file.
21655 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21656 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21657 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21658 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21659 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21660 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21661 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21662 Likewise.
21663 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21664 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21665 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21666 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21667 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21668 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21669 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21670 * manual/math.texi (Mathematics): Document support for _Float64x.
21671 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21672 * stdlib/Versions (GLIBC_2.27): Likewise.
21673 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21674 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21675 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21676 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21677 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21678 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21679 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21680 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21681 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21682 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21683 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21684 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21686 Likewise.
21687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21688 Likewise.
21689 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21690 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21691 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21692 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21693 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21694 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21695 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21696 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21697 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21698 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21699 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21700 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21701 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21702 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21703
c2c299fd
AS
217042017-11-27 Andreas Schwab <schwab@suse.de>
21705
21706 * elf/Makefile (dl-routines): Add dl-sort-maps.
21707 * elf/dl-sort-maps.c: New file.
21708 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21709 (_dl_sort_maps): Declare.
21710 * elf/dl-fini.c (_dl_sort_fini): Remove.
21711 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21712 * elf/dl-close.c (_dl_close_worker): Likewise.
21713 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21714 open-coding it.
21715 * elf/dl-open.c (dl_open_worker): Likewise.
21716
9d4b0117
JM
217172017-11-24 Joseph Myers <joseph@codesourcery.com>
21718
de61465c
JM
21719 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21720 using libm_alias_float128.
21721 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21722 Likewise.
21723 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21724 Likewise.
21725 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21726 (setpayloadsigf128): Likewise.
21727 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21728 Likewise.
21729 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21730 Likewise.
21731
9ae6d171
JM
21732 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21733 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21734 -mfloat128 to CFLAGS.
21735 ($(foreach
21736 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21737 Likewise.
21738 (CFLAGS-libm-test-support-float64x.c): New variable.
21739 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21740 $(f128-loader-link) to gnulib-tests.
21741
6e70d156
JM
21742 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21743 (libm_alias_float128_other_r): If
21744 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21745 alias.
21746 (libm_alias_float128_r): Add semicolon after weak_alias call.
21747 * sysdeps/generic/libm-alias-ldouble.h
21748 (libm_alias_ldouble_other_r_f128): New macro.
21749 (libm_alias_ldouble_other_r_f64x): Likewise.
21750 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21751 and libm_alias_ldouble_other_r_f64x.
21752 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21753 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21754 (libm_alias_ldouble_other_r_f128): New macro.
21755 (libm_alias_ldouble_other_r_f64x): Likewise.
21756 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21757 and libm_alias_ldouble_other_r_f64x.
21758
df2806cd
JM
21759 * stdlib/strfroml.c: Always include <stdlib.h>.
21760 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21761 undefine as macro and define as weak alias.
21762 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21763 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21764 <stdlib.h>.
21765 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21766 Define and later undefine as macro and define as weak alias.
21767
0df4fe35
JM
21768 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21769 Define and later undefine as macro. Define as weak alias if
21770 [!USE_WIDE_CHAR].
21771 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21772 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21773 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21774 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21775 Define and later undefine as macro. Define as weak alias if
21776 [!USE_WIDE_CHAR].
21777 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21778 Define and later undefine as macro. Define as weak alias if
21779 [USE_WIDE_CHAR].
21780 * sysdeps/ieee754/float128/strtof128_l.c
21781 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21782 Define and later undefine as macro. Define as weak alias if
21783 [!USE_WIDE_CHAR].
21784 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21785 Define and later undefine as macro. Define as weak alias if
21786 [USE_WIDE_CHAR].
21787 * sysdeps/ieee754/ldbl-128/strtold_l.c
21788 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21789 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21790 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21791 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21792 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21793 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21794 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21795 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21796 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21797 * sysdeps/ieee754/ldbl-96/strtold_l.c
21798 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21799 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21800 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21801 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21802
ae7207d0
JM
21803 * math/test-float64x.h: New file.
21804 * math/Makefile (type-float64x-yes): New variable.
21805 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21806
9596fc69
JM
21807 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21808 function-like macro.
21809 (min_of_type_): Likewise.
21810 (min_of_type_l): Likewise.
21811 (min_of_type_f128): Likewise.
21812 (min_of_type): Pass () as last argument of __MATH_TG.
21813
46453c3c
JM
21814 * stdlib/tst-strtod-round-skeleton.c
21815 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21816 headers.
21817
01e659e7
JM
21818 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21819 for combinations of long double with _Float64 and _Float64x.
21820
5c60afdd
JM
21821 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21822 (__DECL_SIMD_cosf32): Likewise.
21823 (__DECL_SIMD_cosf64): Likewise.
21824 (__DECL_SIMD_cosf32x): Likewise.
21825 (__DECL_SIMD_cosf64x): Likewise.
21826 (__DECL_SIMD_cosf128x): Likewise.
21827 (__DECL_SIMD_sinf16): Likewise.
21828 (__DECL_SIMD_sinf32): Likewise.
21829 (__DECL_SIMD_sinf64): Likewise.
21830 (__DECL_SIMD_sinf32x): Likewise.
21831 (__DECL_SIMD_sinf64x): Likewise.
21832 (__DECL_SIMD_sinf128x): Likewise.
21833 (__DECL_SIMD_sincosf16): Likewise.
21834 (__DECL_SIMD_sincosf32): Likewise.
21835 (__DECL_SIMD_sincosf64): Likewise.
21836 (__DECL_SIMD_sincosf32x): Likewise.
21837 (__DECL_SIMD_sincosf64x): Likewise.
21838 (__DECL_SIMD_sincosf128x): Likewise.
21839 (__DECL_SIMD_logf16): Likewise.
21840 (__DECL_SIMD_logf32): Likewise.
21841 (__DECL_SIMD_logf64): Likewise.
21842 (__DECL_SIMD_logf32x): Likewise.
21843 (__DECL_SIMD_logf64x): Likewise.
21844 (__DECL_SIMD_logf128x): Likewise.
21845 (__DECL_SIMD_expf16): Likewise.
21846 (__DECL_SIMD_expf32): Likewise.
21847 (__DECL_SIMD_expf64): Likewise.
21848 (__DECL_SIMD_expf32x): Likewise.
21849 (__DECL_SIMD_expf64x): Likewise.
21850 (__DECL_SIMD_expf128x): Likewise.
21851 (__DECL_SIMD_powf16): Likewise.
21852 (__DECL_SIMD_powf32): Likewise.
21853 (__DECL_SIMD_powf64): Likewise.
21854 (__DECL_SIMD_powf32x): Likewise.
21855 (__DECL_SIMD_powf64x): Likewise.
21856 (__DECL_SIMD_powf128x): Likewise.
21857
9d4b0117
JM
21858 * stdlib/Versions (libc): Move entries for wcstof128 and
21859 wcstof128_l to ....
21860 * wcsmbs/Versions (libc): ... here.
21861 Include <float128-abi.h>.
21862
7911dd47
FW
218632017-11-24 Florian Weimer <fweimer@redhat.com>
21864
21865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21866 bits/mman-shared.h.
21867 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21868 <bits/mman-shared.h>.
21869 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21870 to ...
21871 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21872 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21873 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21874 <bits/mman-shared.h>.
21875
c45d78aa
AZ
218762017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21877
21878 [BZ #22457]
21879 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21880 posix_memalign/free.
21881 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21882
3ffc4cc1
MF
218832017-11-22 Mike FABIAN <mfabian@redhat.com>
21884
21885 [BZ #22469]
21886 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21887 and implement the collation rules for pl from CLDR on top of that.
21888 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21889 of locales to be built for testing.
21890 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21891
3a327316
JM
218922017-11-23 Joseph Myers <joseph@codesourcery.com>
21893
21894 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21895 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21896 libm_alias_ldouble_other.
21897 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21898 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21899 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21900 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21901 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21902 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21903 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21904 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21905 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21906 libm_alias_ldouble_r.
21907 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21908 libm_alias_ldouble_other.
21909 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21910 (log10l): Likewise.
21911 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21912 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21913 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21914 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21915 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21916 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21917 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21918 (atan2l): Likewise.
21919 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21920 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21921 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21922 libm_alias_ldouble.
21923 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21924 (cosl): Likewise.
21925 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21926 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21927 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21928 (expl): Likewise.
21929 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21930 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21931 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21932 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21933 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21934 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21935 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21936 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21937 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21938 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21939 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21940 libm_alias_ldouble.
21941 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21942 libm_alias_ldouble_other.
21943 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21944 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21945 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21946 libm_alias_ldouble.
21947 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21948 libm_alias_ldouble_other.
21949 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21950 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21951 * sysdeps/ia64/fpu/w_lgammal_main.c
21952 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21953 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21954
0a947e06
FW
219552017-11-23 Florian Weimer <fweimer@redhat.com>
21956
21957 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21958 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21959 alike. Remove freeres marker.
21960 * malloc/arena.c (arena_thread_freeres): Call
21961 tcache_thread_shutdown.
21962
67f36c79
FW
219632017-11-23 Florian Weimer <fweimer@redhat.com>
21964
21965 [BZ #22459]
21966 Export nscd hash function as __nss_hash.
21967 * include/nss.h (__nss_hash): Declare.
21968 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21969 symbol.
21970 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21971 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21972 of __nscd_hash.
21973 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21974 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21975 * nss/Makefiles (routines): Add nss_hash.
21976 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21977 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21978 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21979 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21980
cccb6d4e
FW
219812017-11-23 Florian Weimer <fweimer@redhat.com>
21982
21983 [BZ #22478]
21984 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21985 Return error code, not -1.
21986 * signal/tst-sigwait-eintr.c: New file.
21987 * signal/Makefile (tests): Add tst-sigwait-eintr.
21988
59d2cbb1
FW
219892017-11-23 Florian Weimer <fweimer@redhat.com>
21990
21991 Linux: Add memfd_create system call wrapper
21992 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21993 tst-memfd_create.
21994 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21995 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21996 [__USE_GNU] (memfd_create): Declare.
21997 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21998 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21999 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22000 * sysdeps/unix/sysv/linux/**.abilist: Update.
22001 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22002
a90d1ac2
JM
220032017-11-22 Joseph Myers <joseph@codesourcery.com>
22004
0a9d1d62
JM
22005 * localedata/gen-locale.sh: Fix typo in variable name.
22006
754034c4
JM
22007 * resolv/res_debug.c (p_secstodate): Condition definition on
22008 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22009 directly as __p_secstodate, and as a compat symbol. Do not use
22010 libresolv_hidden_def.
22011 * resolv/resolv.h (p_secstodate): Remove macro and function
22012 declaration.
22013 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22014 using p_secstodate.
22015 * include/resolv.h (__p_secstodate): Do not use
22016 libresolv_hidden_proto.
22017 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22018 (tests-internal): ... here.
22019 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22020 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22021 and declare and use __p_secstodate and use compat_symbol_reference
22022 in that case.
22023 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22024 implementation returning 77.
22025
f120cda6
JM
22026 [BZ #22463]
22027 * resolv/res_debug.c: Include <libc-diag.h>.
22028 (p_secstodate): Assert time_t at least as wide as u_long. On
22029 overflow, use integer seconds since the epoch as output, or use
22030 "<overflow>" as output and set errno to EOVERFLOW if integer
22031 seconds since the epoch would be 14 or more characters.
22032 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22033 for sprintf call.
22034 * resolv/tst-p_secstodate.c: New file.
22035 * resolv/Makefile (tests): Add tst-p_secstodate.
22036 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22037
a90d1ac2
JM
22038 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22039 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22040 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22041
0285e6bd
PE
220422017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22043
22044 * posix/regcomp.c (init_word_char): Add comments.
22045
4bae6150
JM
220462017-11-22 Joseph Myers <joseph@codesourcery.com>
22047
22048 [BZ #22447]
22049 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22050 strlen to compute length of ut_user and set trailing NUL byte of
22051 result explicitly.
22052
4b7af5fc
MF
220532017-11-21 Mike FABIAN <mfabian@redhat.com>
22054
22055 [BZ #15537]
22056 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22057 using “copy "iso14651_t1"” and then implementing the
22058 collation rules for lv from CLDR on top of that.
22059 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22060 of locales to be built for testing.
22061 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22062 sorting.
22063
922bb78c
JM
220642017-11-21 Joseph Myers <joseph@codesourcery.com>
22065
22066 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22067 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22068 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22069 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22070 [__USE_MISC] (MADV_HWPOISON): New macro.
22071 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22072
a3aaa598
AZ
220732017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22074
22075 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22076 -Wmissing-braces on GCC 4.9.
22077
8beba15d
SL
220782017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22079
22080 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22081 * sysdeps/s390/s390-32/start.S (_start): Likewise
22082 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22083 (thread_start): Likewise.
22084 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22085 (thread_start): Likewise.
22086 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22087 (__makecontext_ret): Likewise.
22088 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22089 (__makecontext_ret): Likewise.
22090
80eb52e3
SL
220912017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22092
22093 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22094 __wcschrnul): Remove attribute_hidden.
22095
567d8c1f
PE
220962017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22097
22098 regex: don't assume uint64_t or uint32_t
22099 This avoids -Werror=overflow errors for 32-bit systems in
22100 the 64-bit case. Problem reported by Joseph Myers in:
22101 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22102 Also, when this code is used in Gnulib it ports to platforms
22103 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22104 them, and on some 32-bit compilers there is no uint64_t.
22105 Problem reported by Gianluigi Tiesi in:
22106 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22107 * posix/regcomp.c (init_word_char): Don't assume that the types
22108 uint64_t and uint32_t exist. Adapted from Gnulib patch
22109 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22110 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22111
4d7632ff
SP
221122017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22113
5a67c4fa
SP
22114 * sysdeps/aarch64/memset-reg.h: New file.
22115 * sysdeps/aarch64/memset.S: Use it.
22116 (__memset): Rename to MEMSET macro.
22117 [ZVA_MACRO]: Use zva_macro.
22118 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22119 Add memset_generic and memset_falkor.
22120 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22121 (__libc_ifunc_impl_list): Add memset ifuncs.
22122 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22123 local variable zva_size.
22124 * sysdeps/aarch64/multiarch/memset.c: New file.
22125 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22126 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22127 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22128 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22129 (DCZID_DZP_MASK): New macro.
22130 (DCZID_BS_MASK): Likewise.
22131 (init_cpu_features): Read and set zva_size.
22132 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22133 (struct cpu_features): New member zva_size.
22134
eb332f9f
SP
22135 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22136 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22137 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22138
4d7632ff
SP
22139 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22140 backwards. Fix timing computation.
22141 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22142 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22143 on memset by N at a time. Fix timing computation.
22144
a465b89e
FW
221452017-11-20 Florian Weimer <fweimer@redhat.com>
22146
22147 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22148 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22149
0f74bbf5
FW
221502017-11-19 Florian Weimer <fweimer@redhat.com>
22151
22152 manual: Document mprotect
22153 * manual/memory.texi (Memory Protection): New section.
22154 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22155 documentation of PROT_* flags and reference the Memory Protection
22156 section instead.
22157
f6e965ee
FW
221582017-11-19 Florian Weimer <fweimer@redhat.com>
22159
22160 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22161 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22162 (Scatter-Gather): ... to here. Remove misleading comment.
22163
363e4519 221642017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 22165
5f9d1949
CB
22166 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22167 style.
22168
ea69a5c8
CB
22169 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22170 when /proc/<pid>/setgroups does not exist.
22171
8db7f48c
FW
221722017-11-18 Florian Weimer <fweimer@redhat.com>
22173
22174 * sysdeps/unix/sysv/linux/tst-ttyname.c
22175 (become_root_in_mount_ns): Remove.
22176 (do_in_chroot_1): Call support_enter_mount_namespace.
22177 (do_in_chroot_2): Likewise.
22178 (do_test): Call support_become_root early.
22179
273a0c49
FW
221802017-11-18 Florian Weimer <fweimer@redhat.com>
22181
22182 * support/namespace.h (support_enter_mount_namespace): Declare.
22183 * support/support_enter_mount_namespace.c: New file.
22184 * support/Makefile (libsupport-routines): Add
22185 support_enter_mount_namespace.
22186
8adfb0ee
FW
221872017-11-18 Florian Weimer <fweimer@redhat.com>
22188
22189 * support/temp_file.c (support_create_temp_directory): Use
22190 test_dir and do not rely on the presence of the XXXXXX suffix.
22191 * support/temp_file.h (support_create_temp_directory): Update
22192 comment.
22193 * support/tst-xreadlink.c (do_test): Adjust.
22194 * support/support_chroot.c (support_chroot_create): Likewise.
22195
df0c40ee
TMQMF
221962017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22197
22198 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22199 macro.
22200 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22201 htm-no-suspend.
22202
015c6dc2
JM
222032017-11-17 Joseph Myers <joseph@codesourcery.com>
22204
f58e5f48
JM
22205 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22206 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22207 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22208 (ceill): Define using libm_alias_ldouble.
22209 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22210 <libm-alias-ldouble.h>.
22211 (copysignl): Define using libm_alias_ldouble.
22212 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22213 (fabsl): Define using libm_alias_ldouble.
22214 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22215 (floorl): Define using libm_alias_ldouble.
22216 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22217 (fmaxl): Define using libm_alias_ldouble.
22218 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22219 (fminl): Define using libm_alias_ldouble.
22220 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22221 (llrintl): Define using libm_alias_ldouble.
22222 (lrintl): Likewise.
22223 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22224 <libm-alias-ldouble.h>.
22225 (nearbyintl): Define using libm_alias_ldouble.
22226 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22227 (truncl): Define using libm_alias_ldouble.
22228 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22229 <libm-alias-ldouble.h>.
22230 (lrintl): Define using libm_alias_ldouble.
22231
2ce30701
JM
22232 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22233 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22234 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22235 (asinhl): Define using libm_alias_ldouble.
22236 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22237 (atanl): Define using libm_alias_ldouble.
22238 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22239 (cbrtl): Define using libm_alias_ldouble.
22240 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22241 (ceill): Define using libm_alias_ldouble.
22242 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22243 (copysignl): Define using libm_alias_ldouble.
22244 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22245 (fabsl): Define using libm_alias_ldouble.
22246 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22247 (floorl): Define using libm_alias_ldouble.
22248 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22249 (fmaxl): Define using libm_alias_ldouble.
22250 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22251 (fminl): Define using libm_alias_ldouble.
22252 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22253 (frexpl): Define using libm_alias_ldouble.
22254 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22255 (llrintl): Define using libm_alias_ldouble.
22256 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22257 (logbl): Define using libm_alias_ldouble.
22258 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22259 (lrintl): Define using libm_alias_ldouble.
22260 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22261 (nearbyintl): Define using libm_alias_ldouble.
22262 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22263 (nextafterl): Define using libm_alias_ldouble.
22264 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22265 (remquol): Define using libm_alias_ldouble.
22266 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22267 (rintl): Define using libm_alias_ldouble.
22268 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22269 (truncl): Define using libm_alias_ldouble.
22270 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22271 (fmaxl): Define using libm_alias_ldouble.
22272 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22273 (fminl): Define using libm_alias_ldouble.
22274
015c6dc2
JM
22275 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22276 to C syntax instead of availability and properties of types.
22277 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22278 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22279 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22280 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22281 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22282 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22283
ce003e5d
FW
222842017-11-17 Florian Weimer <fweimer@redhat.com>
22285
22286 support_become_root: Enable file creation in namespaces.
22287 * support/support_become_root.c (setup_mapping): New function.
22288 (support_become_root): Call it.
22289
e7df6c5c
JM
222902017-11-17 Joseph Myers <joseph@codesourcery.com>
22291
22292 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22293 macro.
22294
58a813bf
AZ
222952017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22296
22297 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22298 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22299
f97773d1
JM
223002017-11-16 Joseph Myers <joseph@codesourcery.com>
22301
6a6aa1f3
JM
22302 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22303
f97773d1
JM
22304 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22305 version to 4.14.
22306
a306c790
SP
223072017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22308
7b0fb870
SP
22309 * INSTALL: Fix botched up regeneration.
22310
22311 * NEWS: Update sourceare link to https.
a306c790
SP
22312 * configure.ac: Likewise.
22313 * crypt/md5test-giant.c: Likewise.
22314 * dlfcn/bug-atexit1.c: Likewise.
22315 * dlfcn/bug-atexit2.c: Likewise.
22316 * localedata/README: Likewise.
22317 * malloc/tst-mallocfork.c: Likewise.
22318 * manual/install.texi: Likewise.
22319 * nptl/tst-pthread-getattr.c: Likewise.
22320 * stdio-common/tst-fgets.c: Likewise.
22321 * stdio-common/tst-fwrite.c: Likewise.
22322 * sunrpc/Makefile: Likewise.
22323 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22324 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
22325 * configure: Regenerate.
22326 * INSTALL: Regenerate.
a306c790 22327
7532837d
MS
223282017-11-15 Martin Sebor <msebor@redhat.com>
22329
22330 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22331 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22332 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22333
495a56fd
LS
223342017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22335
d9611e30
LS
22336 [BZ #22145]
22337 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22338 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22339
a09dfc19
LS
22340 [BZ #22145]
22341 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22342 Defer is_pty check until end of the function.
22343 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22344
2fbce9c2
LS
22345 [BZ #22145]
22346 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22347 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22348 (ttyname): Likewise.
22349 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22350 (__ttyname_r): Likewise.
22351
d10d6cab
LS
22352 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22353 int to bool.
22354
9b5a8750
LS
22355 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22356
495a56fd
LS
22357 * manual/terminal.texi (Is It a Terminal):
22358 Mention ENODEV for ttyname and ttyname_r.
22359
fa680dc6
JM
223602017-11-15 Joseph Myers <joseph@codesourcery.com>
22361
78cde19f
JM
22362 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22363 constant and macro.
22364
fa680dc6
JM
22365 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22366 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22367 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22368 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22369 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22370 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22371
ad4f43a2
AZ
223722017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22373
1ba1d8a4
AZ
22374 * signal/sigrelse.c (sigrelse): Optimize implementation.
22375
ad4f43a2
AZ
22376 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22377 (__sigpause): Rely on __sigsuspend to implement single thread
22378 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22379
d0212d42
JM
223802017-11-15 Joseph Myers <joseph@codesourcery.com>
22381
22382 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22383 kernel version to 4.14.
22384
2180fee1
SE
223852017-11-15 Steve Ellcey <sellcey@cavium.com>
22386
22387 [BZ #22442]
22388 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22389 Check if ifname is too long.
22390
cad7ca39
LS
223912017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22392
22393 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22394
58c9f659
MF
223952017-11-15 Mike FABIAN <mfabian@redhat.com>
22396
22397 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22398 was accidentally lost.
22399
0fa87c01
MF
224002017-11-15 Mike FABIAN <mfabian@redhat.com>
22401
22402 * localedata/locales/az_IR: Add standard copyright header.
22403
34eb4157
FW
224042017-11-15 Florian Weimer <fweimer@redhat.com>
22405
22406 [BZ #22439]
22407 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22408 not just the top one. Output a new "subheaps" statistic.
22409
7a9368a1
FW
224102017-11-15 Florian Weimer <fweimer@redhat.com>
22411
22412 [BZ #22408]
22413 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22414 under the per-arena lock.
22415 * malloc/Makefile (tests): Add tst-malloc_info.
22416 (tst-malloc_info): Link with libpthread.
22417 * malloc/tst-malloc_info.c: New file.
22418
be3a79a3
JM
224192017-11-15 Joseph Myers <joseph@codesourcery.com>
22420
22421 [BZ #21660]
22422 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22423 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22424 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22425 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22426 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22427 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22428 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22429 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22430 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22431 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22432 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22433 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22434 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22435 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22436 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22437 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22438 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22439 (__floating_type): Likewise.
22440 (__real_integer_type): Likewise.
22441 (__complex_integer_type): Likewise.
22442 (__expr_is_real): Likewise.
22443 (__tgmath_real_type_sub): Likewise.
22444 (__tgmath_real_type): Likewise.
22445 (__tgmath_complex_type_sub): Likewise.
22446 (__tgmath_complex_type): Likewise.
22447 (__TGMATH_F128): Likewise.
22448 (__TGMATH_CF128): Likewise.
22449 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22450 new macros.
22451 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22452 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22453 Likewise.
22454 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22455 Likewise.
22456 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22457 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22458 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22459 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22460 Likewise.
22461 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22462 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22463 Likewise.
22464 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22465 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22466 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22467 Likewise.
22468 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22469 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22470 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22471 (cimag): Likewise.
22472 (creal): Likewise.
22473
ec72135e
JM
224742017-11-14 Joseph Myers <joseph@codesourcery.com>
22475
2e64ec9c
JM
22476 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22477 for stpncpy calls for GCC 8.
22478 (test_strncat): Disable -Wstringop-truncation warning for strncat
22479 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22480 strncat call for GCC 7.
22481 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22482 calls for GCC 8.
22483 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22484 trailing NUL.
22485
ec72135e
JM
22486 * string/bug-strncat1.c: Include <libc-diag.h>.
22487 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22488
363e4519 224892017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
22490
22491 [BZ #22387]
22492 * localedata/locales/aa_DJ: Improved readibility by replacing
22493 <Uxxxx> sequences in the ASCII printable range by their ASCII
22494 character equivalents.
22495 * localedata/locales/aa_ER: Likewise.
22496 * localedata/locales/aa_ER@saaho: Likewise.
22497 * localedata/locales/aa_ET: Likewise.
22498 * localedata/locales/af_ZA: Likewise.
22499 * localedata/locales/agr_PE: Likewise.
22500 * localedata/locales/ak_GH: Likewise.
22501 * localedata/locales/am_ET: Likewise.
22502 * localedata/locales/anp_IN: Likewise.
22503 * localedata/locales/ar_AE: Likewise.
22504 * localedata/locales/ar_BH: Likewise.
22505 * localedata/locales/ar_DZ: Likewise.
22506 * localedata/locales/ar_EG: Likewise.
22507 * localedata/locales/ar_IN: Likewise.
22508 * localedata/locales/ar_IQ: Likewise.
22509 * localedata/locales/ar_JO: Likewise.
22510 * localedata/locales/ar_KW: Likewise.
22511 * localedata/locales/ar_LB: Likewise.
22512 * localedata/locales/ar_LY: Likewise.
22513 * localedata/locales/ar_MA: Likewise.
22514 * localedata/locales/ar_OM: Likewise.
22515 * localedata/locales/ar_QA: Likewise.
22516 * localedata/locales/ar_SA: Likewise.
22517 * localedata/locales/ar_SD: Likewise.
22518 * localedata/locales/ar_SS: Likewise.
22519 * localedata/locales/ar_SY: Likewise.
22520 * localedata/locales/ar_TN: Likewise.
22521 * localedata/locales/ar_YE: Likewise.
22522 * localedata/locales/as_IN: Likewise.
22523 * localedata/locales/ast_ES: Likewise.
22524 * localedata/locales/ayc_PE: Likewise.
22525 * localedata/locales/az_AZ: Likewise.
22526 * localedata/locales/az_IR: Likewise.
22527 * localedata/locales/be_BY: Likewise.
22528 * localedata/locales/be_BY@latin: Likewise.
22529 * localedata/locales/bem_ZM: Likewise.
22530 * localedata/locales/ber_DZ: Likewise.
22531 * localedata/locales/ber_MA: Likewise.
22532 * localedata/locales/bg_BG: Likewise.
22533 * localedata/locales/bhb_IN: Likewise.
22534 * localedata/locales/bho_IN: Likewise.
22535 * localedata/locales/bi_VU: Likewise.
22536 * localedata/locales/bn_BD: Likewise.
22537 * localedata/locales/bn_IN: Likewise.
22538 * localedata/locales/bo_CN: Likewise.
22539 * localedata/locales/bo_IN: Likewise.
22540 * localedata/locales/br_FR: Likewise.
22541 * localedata/locales/brx_IN: Likewise.
22542 * localedata/locales/bs_BA: Likewise.
22543 * localedata/locales/byn_ER: Likewise.
22544 * localedata/locales/ca_AD: Likewise.
22545 * localedata/locales/ca_ES: Likewise.
22546 * localedata/locales/ca_FR: Likewise.
22547 * localedata/locales/ca_IT: Likewise.
22548 * localedata/locales/ce_RU: Likewise.
22549 * localedata/locales/chr_US: Likewise.
22550 * localedata/locales/cmn_TW: Likewise.
22551 * localedata/locales/crh_UA: Likewise.
22552 * localedata/locales/cs_CZ: Likewise.
22553 * localedata/locales/csb_PL: Likewise.
22554 * localedata/locales/cv_RU: Likewise.
22555 * localedata/locales/cy_GB: Likewise.
22556 * localedata/locales/da_DK: Likewise.
22557 * localedata/locales/de_AT: Likewise.
22558 * localedata/locales/de_BE: Likewise.
22559 * localedata/locales/de_CH: Likewise.
22560 * localedata/locales/de_DE: Likewise.
22561 * localedata/locales/de_IT: Likewise.
22562 * localedata/locales/de_LI: Likewise.
22563 * localedata/locales/de_LU: Likewise.
22564 * localedata/locales/doi_IN: Likewise.
22565 * localedata/locales/dv_MV: Likewise.
22566 * localedata/locales/dz_BT: Likewise.
22567 * localedata/locales/el_CY: Likewise.
22568 * localedata/locales/el_GR: Likewise.
22569 * localedata/locales/en_AG: Likewise.
22570 * localedata/locales/en_AU: Likewise.
22571 * localedata/locales/en_BW: Likewise.
22572 * localedata/locales/en_CA: Likewise.
22573 * localedata/locales/en_DK: Likewise.
22574 * localedata/locales/en_GB: Likewise.
22575 * localedata/locales/en_HK: Likewise.
22576 * localedata/locales/en_IE: Likewise.
22577 * localedata/locales/en_IL: Likewise.
22578 * localedata/locales/en_IN: Likewise.
22579 * localedata/locales/en_NG: Likewise.
22580 * localedata/locales/en_NZ: Likewise.
22581 * localedata/locales/en_PH: Likewise.
22582 * localedata/locales/en_SG: Likewise.
22583 * localedata/locales/en_US: Likewise.
22584 * localedata/locales/en_ZA: Likewise.
22585 * localedata/locales/en_ZM: Likewise.
22586 * localedata/locales/en_ZW: Likewise.
22587 * localedata/locales/eo: Likewise.
22588 * localedata/locales/es_AR: Likewise.
22589 * localedata/locales/es_BO: Likewise.
22590 * localedata/locales/es_CL: Likewise.
22591 * localedata/locales/es_CO: Likewise.
22592 * localedata/locales/es_CR: Likewise.
22593 * localedata/locales/es_CU: Likewise.
22594 * localedata/locales/es_DO: Likewise.
22595 * localedata/locales/es_EC: Likewise.
22596 * localedata/locales/es_ES: Likewise.
22597 * localedata/locales/es_GT: Likewise.
22598 * localedata/locales/es_HN: Likewise.
22599 * localedata/locales/es_MX: Likewise.
22600 * localedata/locales/es_NI: Likewise.
22601 * localedata/locales/es_PA: Likewise.
22602 * localedata/locales/es_PE: Likewise.
22603 * localedata/locales/es_PR: Likewise.
22604 * localedata/locales/es_PY: Likewise.
22605 * localedata/locales/es_SV: Likewise.
22606 * localedata/locales/es_US: Likewise.
22607 * localedata/locales/es_UY: Likewise.
22608 * localedata/locales/es_VE: Likewise.
22609 * localedata/locales/et_EE: Likewise.
22610 * localedata/locales/eu_ES: Likewise.
22611 * localedata/locales/eu_ES@euro: Likewise.
22612 * localedata/locales/fa_IR: Likewise.
22613 * localedata/locales/ff_SN: Likewise.
22614 * localedata/locales/fi_FI: Likewise.
22615 * localedata/locales/fil_PH: Likewise.
22616 * localedata/locales/fo_FO: Likewise.
22617 * localedata/locales/fr_BE: Likewise.
22618 * localedata/locales/fr_CA: Likewise.
22619 * localedata/locales/fr_CH: Likewise.
22620 * localedata/locales/fr_FR: Likewise.
22621 * localedata/locales/fr_LU: Likewise.
22622 * localedata/locales/fur_IT: Likewise.
22623 * localedata/locales/fy_DE: Likewise.
22624 * localedata/locales/fy_NL: Likewise.
22625 * localedata/locales/ga_IE: Likewise.
22626 * localedata/locales/gd_GB: Likewise.
22627 * localedata/locales/gez_ER: Likewise.
22628 * localedata/locales/gez_ET: Likewise.
22629 * localedata/locales/gl_ES: Likewise.
22630 * localedata/locales/gu_IN: Likewise.
22631 * localedata/locales/gv_GB: Likewise.
22632 * localedata/locales/ha_NG: Likewise.
22633 * localedata/locales/hak_TW: Likewise.
22634 * localedata/locales/he_IL: Likewise.
22635 * localedata/locales/hi_IN: Likewise.
22636 * localedata/locales/hif_FJ: Likewise.
22637 * localedata/locales/hne_IN: Likewise.
22638 * localedata/locales/hr_HR: Likewise.
22639 * localedata/locales/hsb_DE: Likewise.
22640 * localedata/locales/ht_HT: Likewise.
22641 * localedata/locales/hu_HU: Likewise.
22642 * localedata/locales/hy_AM: Likewise.
22643 * localedata/locales/i18n: Likewise.
22644 * localedata/locales/ia_FR: Likewise.
22645 * localedata/locales/id_ID: Likewise.
22646 * localedata/locales/ig_NG: Likewise.
22647 * localedata/locales/ik_CA: Likewise.
22648 * localedata/locales/is_IS: Likewise.
22649 * localedata/locales/it_CH: Likewise.
22650 * localedata/locales/it_IT: Likewise.
22651 * localedata/locales/iu_CA: Likewise.
22652 * localedata/locales/ja_JP: Likewise.
22653 * localedata/locales/ka_GE: Likewise.
22654 * localedata/locales/kk_KZ: Likewise.
22655 * localedata/locales/kl_GL: Likewise.
22656 * localedata/locales/kn_IN: Likewise.
22657 * localedata/locales/ko_KR: Likewise.
22658 * localedata/locales/kok_IN: Likewise.
22659 * localedata/locales/ks_IN: Likewise.
22660 * localedata/locales/ks_IN@devanagari: Likewise.
22661 * localedata/locales/ku_TR: Likewise.
22662 * localedata/locales/kw_GB: Likewise.
22663 * localedata/locales/ky_KG: Likewise.
22664 * localedata/locales/lb_LU: Likewise.
22665 * localedata/locales/lg_UG: Likewise.
22666 * localedata/locales/li_BE: Likewise.
22667 * localedata/locales/li_NL: Likewise.
22668 * localedata/locales/lij_IT: Likewise.
22669 * localedata/locales/ln_CD: Likewise.
22670 * localedata/locales/lo_LA: Likewise.
22671 * localedata/locales/lt_LT: Likewise.
22672 * localedata/locales/lv_LV: Likewise.
22673 * localedata/locales/lzh_TW: Likewise.
22674 * localedata/locales/mag_IN: Likewise.
22675 * localedata/locales/mai_IN: Likewise.
22676 * localedata/locales/mg_MG: Likewise.
22677 * localedata/locales/mhr_RU: Likewise.
22678 * localedata/locales/mi_NZ: Likewise.
22679 * localedata/locales/mk_MK: Likewise.
22680 * localedata/locales/ml_IN: Likewise.
22681 * localedata/locales/mn_MN: Likewise.
22682 * localedata/locales/mni_IN: Likewise.
22683 * localedata/locales/mr_IN: Likewise.
22684 * localedata/locales/ms_MY: Likewise.
22685 * localedata/locales/mt_MT: Likewise.
22686 * localedata/locales/my_MM: Likewise.
22687 * localedata/locales/nan_TW: Likewise.
22688 * localedata/locales/nan_TW@latin: Likewise.
22689 * localedata/locales/nb_NO: Likewise.
22690 * localedata/locales/nds_DE: Likewise.
22691 * localedata/locales/nds_NL: Likewise.
22692 * localedata/locales/ne_NP: Likewise.
22693 * localedata/locales/nhn_MX: Likewise.
22694 * localedata/locales/niu_NU: Likewise.
22695 * localedata/locales/niu_NZ: Likewise.
22696 * localedata/locales/nl_AW: Likewise.
22697 * localedata/locales/nl_BE: Likewise.
22698 * localedata/locales/nl_NL: Likewise.
22699 * localedata/locales/nn_NO: Likewise.
22700 * localedata/locales/nr_ZA: Likewise.
22701 * localedata/locales/nso_ZA: Likewise.
22702 * localedata/locales/oc_FR: Likewise.
22703 * localedata/locales/om_ET: Likewise.
22704 * localedata/locales/om_KE: Likewise.
22705 * localedata/locales/or_IN: Likewise.
22706 * localedata/locales/os_RU: Likewise.
22707 * localedata/locales/pa_IN: Likewise.
22708 * localedata/locales/pa_PK: Likewise.
22709 * localedata/locales/pap_AW: Likewise.
22710 * localedata/locales/pap_CW: Likewise.
22711 * localedata/locales/pl_PL: Likewise.
22712 * localedata/locales/ps_AF: Likewise.
22713 * localedata/locales/pt_BR: Likewise.
22714 * localedata/locales/pt_PT: Likewise.
22715 * localedata/locales/quz_PE: Likewise.
22716 * localedata/locales/raj_IN: Likewise.
22717 * localedata/locales/ro_RO: Likewise.
22718 * localedata/locales/ru_RU: Likewise.
22719 * localedata/locales/ru_UA: Likewise.
22720 * localedata/locales/rw_RW: Likewise.
22721 * localedata/locales/sa_IN: Likewise.
22722 * localedata/locales/sat_IN: Likewise.
22723 * localedata/locales/sc_IT: Likewise.
22724 * localedata/locales/sd_IN: Likewise.
22725 * localedata/locales/sd_IN@devanagari: Likewise.
22726 * localedata/locales/se_NO: Likewise.
22727 * localedata/locales/sgs_LT: Likewise.
22728 * localedata/locales/shs_CA: Likewise.
22729 * localedata/locales/si_LK: Likewise.
22730 * localedata/locales/sid_ET: Likewise.
22731 * localedata/locales/sk_SK: Likewise.
22732 * localedata/locales/sl_SI: Likewise.
22733 * localedata/locales/sm_WS: Likewise.
22734 * localedata/locales/so_DJ: Likewise.
22735 * localedata/locales/so_ET: Likewise.
22736 * localedata/locales/so_KE: Likewise.
22737 * localedata/locales/so_SO: Likewise.
22738 * localedata/locales/sq_AL: Likewise.
22739 * localedata/locales/sq_MK: Likewise.
22740 * localedata/locales/sr_ME: Likewise.
22741 * localedata/locales/sr_RS: Likewise.
22742 * localedata/locales/sr_RS@latin: Likewise.
22743 * localedata/locales/ss_ZA: Likewise.
22744 * localedata/locales/st_ZA: Likewise.
22745 * localedata/locales/sv_FI: Likewise.
22746 * localedata/locales/sv_SE: Likewise.
22747 * localedata/locales/sw_KE: Likewise.
22748 * localedata/locales/sw_TZ: Likewise.
22749 * localedata/locales/szl_PL: Likewise.
22750 * localedata/locales/ta_IN: Likewise.
22751 * localedata/locales/ta_LK: Likewise.
22752 * localedata/locales/tcy_IN: Likewise.
22753 * localedata/locales/te_IN: Likewise.
22754 * localedata/locales/tg_TJ: Likewise.
22755 * localedata/locales/th_TH: Likewise.
22756 * localedata/locales/the_NP: Likewise.
22757 * localedata/locales/ti_ER: Likewise.
22758 * localedata/locales/ti_ET: Likewise.
22759 * localedata/locales/tig_ER: Likewise.
22760 * localedata/locales/tk_TM: Likewise.
22761 * localedata/locales/tl_PH: Likewise.
22762 * localedata/locales/tn_ZA: Likewise.
22763 * localedata/locales/to_TO: Likewise.
22764 * localedata/locales/tpi_PG: Likewise.
22765 * localedata/locales/tr_CY: Likewise.
22766 * localedata/locales/tr_TR: Likewise.
22767 * localedata/locales/ts_ZA: Likewise.
22768 * localedata/locales/tt_RU: Likewise.
22769 * localedata/locales/tt_RU@iqtelif: Likewise.
22770 * localedata/locales/ug_CN: Likewise.
22771 * localedata/locales/uk_UA: Likewise.
22772 * localedata/locales/unm_US: Likewise.
22773 * localedata/locales/ur_IN: Likewise.
22774 * localedata/locales/ur_PK: Likewise.
22775 * localedata/locales/uz_UZ: Likewise.
22776 * localedata/locales/uz_UZ@cyrillic: Likewise.
22777 * localedata/locales/ve_ZA: Likewise.
22778 * localedata/locales/vi_VN: Likewise.
22779 * localedata/locales/wa_BE: Likewise.
22780 * localedata/locales/wae_CH: Likewise.
22781 * localedata/locales/wal_ET: Likewise.
22782 * localedata/locales/wo_SN: Likewise.
22783 * localedata/locales/xh_ZA: Likewise.
22784 * localedata/locales/yi_US: Likewise.
22785 * localedata/locales/yo_NG: Likewise.
22786 * localedata/locales/yue_HK: Likewise.
22787 * localedata/locales/yuw_PG: Likewise.
22788 * localedata/locales/zh_CN: Likewise.
22789 * localedata/locales/zh_HK: Likewise.
22790 * localedata/locales/zh_SG: Likewise.
22791 * localedata/locales/zh_TW: Likewise.
22792 * localedata/locales/zu_ZA: Likewise.
22793
cae87e64
FW
227942017-11-13 Florian Weimer <fweimer@redhat.com>
22795
22796 * support/next_to_fault.h, support/next_to_fault.c: New files.
22797 * support/Makefile (libsupport-routines): Add next_to_fault.
22798 * resolv/tst-inet_pton.c (struct next_to_fault)
22799 (next_to_fault_allocate, next_to_fault_free): Remove.
22800 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22801
4a306ef1
L
228022017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22803
22804 * elf/dl-support.c: Include <dl-procruntime.c>.
22805 * include/link.h: Include <link_map.h>.
22806 * sysdeps/generic/dl-procruntime.c: New file.
22807 * sysdeps/generic/link_map.h: Likewise.
22808 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22809 the writable ld.so namespace.
22810
e69897bf
PE
228112017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22812
22813 timezone: pacify GCC -Wstringop-truncation
22814 Problem reported by Martin Sebor in:
22815 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22816 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22817
1ffe1ccb
FW
228182017-11-12 Florian Weimer <fweimer@redhat.com>
22819
eceed671
FW
22820 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22821 tst-xreadlink.
22822 (tests): Add tst-xreadlink.
1ffe1ccb
FW
22823 * support/support.h (xstrndup): Declare.
22824 * support/xunistd.h (xunlink, xreadlink): Declare.
22825 * support/temp_file.h (support_create_temp_directory): Declare.
22826 * support/temp_file.c (support_create_temp_directory): New function.
22827 * support/support_chroot.c (support_chroot_create): Use it.
22828 * support/xreadlink.c: New file.
22829 * support/xstrndup.c: Likewise.
22830 * support/xunlink.c: Likewise.
22831 * support/tst-xreadlink.c: Likewise.
22832
456b40a9
JDA
228332017-11-11 John David Anglin <danglin@gcc.gnu.org>
22834
22835 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22836
c0a25aa9
FW
228372017-11-11 Florian Weimer <fweimer@redhat.com>
22838
22839 [BZ #22409]
22840 [BZ #22412]
22841 * resolv/res_comp.c (printable_string, binary_hnok)
22842 (binary_leading_dash): New functions.
22843 (res_hnok): Reimplement using these functions and ns_name_pton.
22844 (res_ownok): Likewise.
22845 (res_mailok): Reimplement using printable_string, ns_name_pton and
22846 binary_hnok.
22847 (res_dnok): Reimplement using printable_string and ns_name_pton.
22848 * resolv/tst-res_hnok.c (tests): Add additional tests.
22849 (LETTERDIGITS, PRINTABLE): Define.
22850 (do_test): Adjust one_char results.
22851
9e0ad304
FW
228522017-11-11 Florian Weimer <fweimer@redhat.com>
22853
22854 [BZ #22413]
22855 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22856 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22857
e2a9fca8
FW
228582017-11-11 Florian Weimer <fweimer@redhat.com>
22859
22860 * resolv/tst-ns_name_pton.c: New file.
22861 * resolv/Makefile (tests): Add tst-ns_name_pton.
22862 (tst-ns_name_pton): Link against libresolv.
22863
5c1a6923
FW
228642017-11-11 Florian Weimer <fweimer@redhat.com>
22865
22866 * resolv/tst-res_hnok.c: New file.
22867 * resolv/Makefile (tests): Add tst-res_hnok.
22868 (tst-res_hnok): Link against libresolv.
22869
a19c0a1d
FW
228702017-11-11 Florian Weimer <fweimer@redhat.com>
22871
22872 * resolv/tst-resolv-network.c: Use test framework instead explicit
22873 main function.
22874
8cb5295d
L
228752017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22876
22877 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22878 <jmp_buf-macros.h>.
22879 [!_ISOMAC] (STR_HELPER): New.
22880 [!_ISOMAC] (STR): Likewise.
22881 [!_ISOMAC] (TEST_SIZE): Likewise.
22882 [!_ISOMAC] (TEST_ALIGN): Likewise.
22883 [!_ISOMAC] (TEST_OFFSET): Likewise.
22884 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22885 field offsets of jmp_buf as well as sigjmp_buf.
22886 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22887 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22888 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22889 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22890 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22891 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22892 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22893 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22894 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22895 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22896 Likewise.
22897 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22898 Likewise.
22899 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22901 Likewise.
22902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22903 Likewise.
22904 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22905 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22906 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22907 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22908 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22910 Likewise.
22911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22912 Likewise.
22913 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22914 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22915 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22916
58c4a161
JM
229172017-11-07 Joseph Myers <joseph@codesourcery.com>
22918
3683b423
JM
22919 * include/float.h
22920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22921 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22922 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22923 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22924 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22925 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22926 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22927 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22928 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22929 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22930 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22931 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22932 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22933 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22934 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22935 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22936 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22937 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22938 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22939 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22940 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22941 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22942 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22943 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22944 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22945 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22946 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22947 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22948 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22949 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22950 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22951 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22952 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22953 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22954 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22955 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22956 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22957 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22958 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22959 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22960 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22961 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22962 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22963 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22964 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22965 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22966 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22967 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22968 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22969 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22970 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22971 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22972 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22973 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22974 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22975 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22976 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22977 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22978 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22979 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22980 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22981 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22982 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22983 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22984 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22985 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22986 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22987 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22988 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22989 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22990 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22991 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22992 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22993 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22994 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22995 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22996 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22997 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22998 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22999 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23000 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23001 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23002 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23003 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23004 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23005 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23006 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23007 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23008
58c4a161
JM
23009 * stdlib/tst-strtod.h (F16): New macro.
23010 (F32): Likewise.
23011 (F64): Likewise.
23012 (F32X): Likewise.
23013 (F64X): Likewise.
23014 (F128X): Likewise.
23015 (IF_FLOAT16): Likewise.
23016 (IF_FLOAT32): Likewise.
23017 (IF_FLOAT64): Likewise.
23018 (IF_FLOAT32X): Likewise.
23019 (IF_FLOAT64X): Likewise.
23020 (IF_FLOAT128X): Likewise.
23021 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23022 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23023 (STRTOD_TEST_FOREACH): Likewise.
23024 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23025 (CHOOSE_f64): Likewise.
23026 (CHOOSE_f32x): Likewise.
23027 (CHOOSE_f64x): Likewise.
23028
feda96a1
AS
230292017-11-07 Andreas Schwab <schwab@suse.de>
23030
23031 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23032
1bd0cbb8
MF
230332017-11-07 Mike FABIAN <mfabian@redhat.com>
23034
23035 [BZ #22403]
23036 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23037 to be escaped.
23038 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23039 to be escaped.
23040
363e4519 230412017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
23042
23043 [BZ #22403]
23044 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23045 to be escaped.
23046 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23047 to be escaped.
23048 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23049 to be escaped.
23050
dff91cd4
AZ
230512017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23052
06be6368
AZ
23053 [BZ #22298]
23054 * nptl/allocatestack.c (allocate_stack): Check if
23055 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23056 __PTHREAD_MUTEX_HAVE_PREV is defined.
23057 * nptl/descr.h (pthread): Likewise.
23058 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23059 Likewise.
23060 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23061 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23062 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23063 * sysdeps/nptl/bits/thread-shared-types.h
23064 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23065 defines.
23066 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23067 of __WORDSIZE for internal layout.
23068 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23069 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23070 instead of __WORDSIZE whether to use an union for __spins and __list
23071 fields.
23072 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23073 case.
23074 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23075 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23076 defines.
23077 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23078 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23079 Likewise.
23080 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23081 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23082 Likewise.
23083 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23084 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23085 Likewise.
23086 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23087 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23088 Likewise.
23089 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23090 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23091 Likewise.
23092 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23093 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23094 Likewise.
23095 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23096 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23097 Likewise.
23098 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23099 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23100 Likewise.
23101 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23102 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23103 Likewise.
23104 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23105 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23106 Likewise.
23107 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23108 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23109 Likewise.
23110 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23111 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23112 Likewise.
23113 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23114 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23115 Likewise.
23116 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23117 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23118 Likewise.
23119
72b3c6ee
AZ
23120 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23121 New macros.
23122 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23123 checks for expected input type size.
23124 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23125 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23126 Likewise.
23127 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23128 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23129 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23130 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23131 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23132 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23133 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23134 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23135 superflous runtime assert check.
23136 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23137 Likewise.
23138 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23139 Likewise.
23140 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23141 Likewise.
23142 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23143 Likewise.
23144 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23145 Likewise.
23146 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23147 Likewise.
23148 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23149 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23150 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23151 Likewise.
23152 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23153 Likewise.
23154 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23155 Likewise.
23156 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23157 Likewise.
23158 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23159 Likewise.
23160 * nptl/pthread_attr_setinheritsched.c
23161 (__pthread_attr_setinheritsched): Likewise.
23162 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23163 Likewise.
23164 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23165 Likewise.
23166 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23167 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23168 __old_pthread_attr_setstack): Likewise.
23169 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23170 Likewise.
23171 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23172 Likewise.
23173 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23174 Likewise.
23175 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23176 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23177 Likewise.
23178 * nptl/tst-typesizes.c: Remove file.
23179
dff91cd4
AZ
23180 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23181 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23182 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23183 checks for internal pthread_mutex_t offsets.
23184 * sysdeps/aarch64/nptl/pthread-offsets.h
23185 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23186 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23187 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23188 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23189 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23190 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23191 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23192 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23193 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23194 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23195 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23196 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23197 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23198 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23199 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23200 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23201 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23202 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23203
b7fc95f8
FW
232042017-11-07 Florian Weimer <fweimer@redhat.com>
23205
23206 * bits/mman-linux.h: Move ...
23207 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23208 comment.
23209 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23210 outdated comment.
23211
6b860364
RS
232122017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23213
23214 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23215 Redefine STRNLEN as __strnlen_power8.
23216
802c1f16
AZ
232172017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23218
d83da3a4
AZ
23219 * signal/sighold.c (sighold): Optimize implementation.
23220
6a4235f1
AZ
23221 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23222 __NR_rt_sigqueueinfo.
23223
8b0e795a
AZ
23224 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23225 __sigtimedwait.
23226 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23227 assume __NR_rt_sigtimedwait.
23228 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23229 and add LIBC_CANCEL_HANDLED for cancellation marking.
23230 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23231
a1a638dd
AZ
23232 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23233 (sysdeps_routines): Add memchr_noneon.
23234 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23235 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23236 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23237 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23238 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23239 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23240 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23241
802c1f16
AZ
23242 * sysdeps/arm/arm-ifunc.h: New file.
23243 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23244 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23245 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23246 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23247 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23248 (__memcpy_neon): Avoid create hidden alias.
23249 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23250 (__memcpy_vfp): Likewise.
23251 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23252 (sysdep_routines): Add memcpy_arm.
23253 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23254
abcb584d
L
232552017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23256
23257 [BZ #22362]
23258 * Makerules (make-link-multidir): New.
23259 * config.make.in (multidir): New.
23260 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23261 * configure: Regenerated.
23262 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23263 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23264 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23265 New target.
23266
4e2dff67
JM
232672017-11-06 Joseph Myers <joseph@codesourcery.com>
23268
23269 [BZ #22402]
23270 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23271 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23272
a1c7cd3c
MF
232732017-11-04 Mike FABIAN <mfabian@redhat.com>
23274
23275 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23276 to be escaped.
23277
b9af29c0
FW
232782017-11-04 Florian Weimer <fweimer@redhat.com>
23279
23280 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23281
4ca70e1a
JM
232822017-11-03 Joseph Myers <joseph@codesourcery.com>
23283
23284 * math/math.h [__HAVE_DISTINCT_FLOAT16
23285 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23286 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23287 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23288 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23289 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23290 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23291 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23292 (__MATH_TG_F32): New macro.
23293 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23294 (__MATH_TG_F64X): Likewise.
23295 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23296 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23297
ba0e6668
DL
232982017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23299
23300 * po/de.po: Update translations.
23301 * po/ru.po: Likewise.
23302
bc18a6d3
FW
233032017-11-03 Florian Weimer <fweimer@redhat.com>
23304
23305 * manual/filesys.texi (Hard Links): Document linkat.
23306
97255170
JM
233072017-11-03 Joseph Myers <joseph@codesourcery.com>
23308
86ec4865
JM
23309 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23310 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23311 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23312 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23313 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23314 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23315 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23316 the same as _Float128.
23317 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23318 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23319 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23320
97255170
JM
23321 * stdlib/stdlib.h
23322 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23323 Declare.
23324 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23325 Likewise.
23326 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23327 Likewise.
23328 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23329 (strtof32x): Likewise.
23330 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23331 (strtof64x): Likewise.
23332 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23333 (strtof128x): Likewise.
23334 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23335 (strfromf16): Likewise.
23336 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23337 (strfromf32): Likewise.
23338 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23339 (strfromf64): Likewise.
23340 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23341 (strfromf32x): Likewise.
23342 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23343 (strfromf64x): Likewise.
23344 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23345 (strfromf128x): Likewise.
23346 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23347 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23348 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23349 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23350 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23351 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23352
6d58ce5e
RH
233532017-11-03 Richard Henderson <rth@twiddle.net>
23354
23355 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23356
659ca267
SN
233572017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23358
23359 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23360
94d2f0af
SN
233612017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23362
23363 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23364 DT_TLSDESC_GOT initialization.
23365 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23366 (_dl_tlsdesc_resolve_hold): Likewise.
23367 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23368 (_dl_tlsdesc_resolve_hold): Likewise.
23369 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23370 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23371
28e1ddf3
SN
233722017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23373
23374 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23375
0ca3d1d6
SN
233762017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23377
23378 [BZ #18572]
23379 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23380 non-lazily for R_ARM_TLS_DESC.
23381
2c1d4e5f
SN
233822017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23383
23384 [BZ #17078]
23385 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23386 R_ARM_TLS_DESC case.
23387 (elf_machine_lazy_rel): Remove the prelink check.
23388
91c5a366
SN
233892017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23390
23391 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23392 DT_TLSDESC_GOT initialization.
23393 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23394 (_dl_tlsdesc_resolve_rela): Likewise.
23395 (_dl_tlsdesc_resolve_hold): Likewise.
23396 (_dl_tlsdesc_undefweak): Remove ldar.
23397 (_dl_tlsdesc_dynamic): Likewise.
23398 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23399 (_dl_tlsdesc_resolve_rela): Likewise.
23400 (_dl_tlsdesc_resolve_hold): Likewise.
23401 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23402 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23403 (_dl_tlsdesc_resolve_rela): Likewise.
23404 (_dl_tlsdesc_resolve_hold): Likewise.
23405
b7cf203b
SN
234062017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23407
23408 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23409 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23410
0cc5b022
SN
234112017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23412
23413 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23414 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23415
43ddff2e
JM
234162017-11-02 Joseph Myers <joseph@codesourcery.com>
23417
23418 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23419 Declare.
23420 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23421 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23422 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23423 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23424 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23425 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23426 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23427 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23428 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23429 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23430 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23431
5baac970
MF
234322017-11-02 Mike FABIAN <mfabian@redhat.com>
23433
23434 [BZ #22382]
23435 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23436 * localedata/locales/tpi_PG: Add standard header.
23437
ef11081f
FW
234382017-11-02 Florian Weimer <fweimer@redhat.com>
23439
23440 test-errno-linux: quotactl can fail with EPERM in containers.
23441 * sysdeps/unix/sysv/linux/test-errno-linux.c
23442 (LIST, LIST_FORWARD): New macros.
23443 (check_error_in_list): New function.
23444 (test_wrp_rv): Accept list of permitted error codes.
23445 (test_wrp_rv2): Remove.
23446 (test_wrp): Call test_wrp_rv with list of error codes.
23447 (test_wrp2): Accept list of error codes.
23448 (do_test): Adjust. Allow EPERM for quotactl.
23449
d10b132b
FW
234502017-11-02 Florian Weimer <fweimer@redhat.com>
23451
23452 * stdio-common/bug16.c (do_test): Use array_length.
23453 * stdio-common/errlist.c (_sys_nerr): Likewise.
23454 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23455 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23456 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23457 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23458 (do_test): Use array_length.
23459 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23460 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23461 * stdio-common/tst-printf-round.c (do_test): Likewise.
23462 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23463 (CHECK): Use array_length.
23464 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23465 * stdio-common/tstscanf.c (main): Likewise.
23466 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23467
c94a5688
FW
234682017-11-02 Florian Weimer <fweimer@redhat.com>
23469
23470 Add array_length and array_end macros.
23471 * include/array_length.h: New file.
23472
2fac6a6c
FW
234732017-11-02 Florian Weimer <fweimer@redhat.com>
23474
23475 [BZ #22332]
23476 * posix/tst-glob-tilde.c (do_noescape): New variable.
23477 (one_test): Process it.
23478 (do_test): Set do_noescape. Add unescaping test case.
23479
2f1b212e
JM
234802017-11-01 Joseph Myers <joseph@codesourcery.com>
23481
260fbd0a
JM
23482 * math/complex.h
23483 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23484 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23485 with appropriate macros defined and undefined.
23486 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23487 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23488 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23489 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23490 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23491 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23492 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23493 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23494 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23495 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23496
2f1b212e
JM
23497 * math/complex.h
23498 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23499 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23500 that for long double. Do not condition define and undefine of
23501 _Mdouble_complex_ on [__CFLOAT128].
23502
95b93c6e
L
235032017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23504
23505 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23506 of <sysdeps/generic/sysdep.h>.
23507 (ALIGNARG): Removed.
23508 (ASM_SIZE_DIRECTIVE): Likewise.
23509 (ENTRY): Likewise.
23510 (END): Likewise.
23511 (ENTRY_CHK): Likewise.
23512 (END_CHK): Likewise.
23513 (syscall_error): Likewise.
23514 (mcount): Likewise.
23515 (PSEUDO_END): Likewise.
23516 (L): Likewise.
23517 (atom_text_section): Likewise.
23518 * sysdeps/x86/sysdep.h: New file.
23519 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23520 of <sysdeps/generic/sysdep.h>.
23521 (ALIGNARG): Removed.
23522 (ASM_SIZE_DIRECTIVE): Likewise.
23523 (ENTRY): Likewise.
23524 (END): Likewise.
23525 (ENTRY_CHK): Likewise.
23526 (END_CHK): Likewise.
23527 (syscall_error): Likewise.
23528 (mcount): Likewise.
23529 (PSEUDO_END): Likewise.
23530 (L): Likewise.
23531 (atom_text_section): Likewise.
23532
1bb36539
RL
235332017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23534
23535 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23536 category of LC_CTYPE set to "i18n:2012".
23537 * localedata/locales/i18n_ctype: Regenerate.
23538
067f5d97 235392017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 23540
87bbc4cf
YN
23541 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23542 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23543 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23544 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23545
e8681faa
YN
23546 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23547 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23548 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23549 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23550
540af6e2
JM
235512017-10-31 Joseph Myers <joseph@codesourcery.com>
23552
43e66283
JM
23553 * math/complex.h
23554 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23555 New macro.
23556 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23557 Likewise.
23558 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23559 Likewise.
23560 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23561 (CMPLXF32X): Likewise.
23562 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23563 (CMPLXF64X): Likewise.
23564 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23565 (CMPLXF128X): Likewise.
23566
540af6e2
JM
23567 * math/math.h
23568 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23569 (__MATH_EVAL_FMT2): Define to add 0.0f.
23570
58af72b4
AM
235712017-10-31 Alan Modra <amodra@gmail.com>
23572
23573 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23574 include sysdep.h.
23575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23589 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23590 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23591 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23592 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23593 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23594 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23595 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23596 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23597 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23599 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23600 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23601 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23602 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23603 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23604 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23605 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23606 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23607 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23608 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23609 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23610 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23611 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23612 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23613 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23614 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23615 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23616 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23617 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23618 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23619 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23620 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23621 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23622 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23623 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23624 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23625 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23626 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23627 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23628 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23629 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23630 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23631 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23632 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23633 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23634 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23635 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23636 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23637 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23638 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23639 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23640 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23641 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23642 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23643 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23644
23645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23646 include sysdep.h and math_ldbl_opt.h.
23647
23648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23649 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23674
112f30b3
AM
236752017-10-31 Alan Modra <amodra@gmail.com>
23676
23677 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23678 string/strncase_l.c, not string/strncase.c.
23679 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23680 (libc_hidden_def): Redefine.
23681
e9e7eced
AM
236822017-10-31 Alan Modra <amodra@gmail.com>
23683
23684 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23685 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23686 (__strcasecmp): Don't define.
23687
f7b465cf
AM
236882017-10-31 Alan Modra <amodra@gmail.com>
23689
23690 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23691 IS_IN (libc).
23692 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23693 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23694 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23695
d46b09f9
AM
236962017-10-31 Alan Modra <amodra@gmail.com>
23697
23698 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23699 USE_AS_STPNCPY.
23700
e9b8e194
AM
237012017-10-31 Alan Modra <amodra@gmail.com>
23702
23703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23704 Redefine only when SHARED.
23705
eda162dd
JM
237062017-10-30 Joseph Myers <joseph@codesourcery.com>
23707
b61afe8c
JM
23708 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23709 Include <bits/math-finite.h> with appropriate macros defined and
23710 undefined.
23711 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23712 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23713 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23714 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23715 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23716
eda162dd
JM
23717 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23718 [!_Mlong_double_] (_Mlong_double_): Likewise.
23719 [!_Mfloat16_] (_Mfloat16_): Likewise.
23720 [!_Mfloat32_] (_Mfloat32_): Likewise.
23721 [!_Mfloat64_] (_Mfloat64_): Likewise.
23722 [!_Mfloat128_] (_Mfloat128_): Likewise.
23723 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23724 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23725 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23726 (_Mdouble_): Define without indirection through those macros.
23727 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23728 [!_Mfloat128_] (_Mfloat128_): Likewise.
23729 [_Mlong_double_] (_Mlong_double_): Likewise.
23730 (_Mdouble_): Define without indirection through those macros.
23731 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23732 not add -D_Mlong_double_=double.
23733 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23734 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23735
4ad5106e
L
237362017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23737
23738 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23739
fe326df7
L
237402017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23741
23742 * sysdeps/x86/libc-start.c: Reformat.
23743
c5cc4514
L
237442017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23745
23746 [BZ #22353]
23747 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23748 (1): Renamed to ...
23749 (L(Src0)): This.
23750 (L(Src1)): New.
23751 (L(Src2)): Likewise.
23752 (L(1)): Renamed to ...
23753 (L(Src3)): This.
23754
ce12269f
JM
237552017-10-30 Joseph Myers <joseph@codesourcery.com>
23756
23757 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23758 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23759 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23760 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23761 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23762 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23763 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23764 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23765 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23766 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23767 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23768 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23769 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23770 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23771 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23772 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23773 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23774 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23775 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23776 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23777 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23778 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23779 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23780 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23781 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23782 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23783 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23784 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23785 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23786 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23787 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23788 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23789 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23790 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23791 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23792 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23793 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23794 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23795 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23796 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23797 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23798 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23799 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23800 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23801 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23802 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23803 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23804 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23805 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23806 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23807 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23808 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23809 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23810 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23811 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23812 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23813 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23814 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23815 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23816 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23817 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23818 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23819 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23820 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23821 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23822 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23823
4484b9e2
FW
238242017-10-30 Florian Weimer <fweimer@redhat.com>
23825
23826 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23827 always defined.
23828 * io/tst-mkdirat.c (do_test): Likewise.
23829 * io/tst-mkfifoat.c (do_test): Likewise.
23830 * io/tst-mknodat.c (do_test): Likewise.
23831 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23832 * locale/programs/locale.c (select_dirs): Likewise.
23833 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23834 * posix/bug-glob2.c (my_readdir): Likewise.
23835 * posix/tst-dir.c (main): Likewise.
23836 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23837 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23838
68fe16dd
FW
238392017-10-30 Florian Weimer <fweimer@redhat.com>
23840
23841 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23842 just __USE_GNU.
23843
dadf23f0
FW
238442017-10-30 Florian Weimer <fweimer@redhat.com>
23845
23846 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23847 Convert to support/test-driver.c.
23848 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23849 New macro parameters.
23850 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23851 * posix/tst-gnuglob.c: New file.
23852 * posix/tst-gnuglob64.c: Likewise.
23853 * posix/Makefile (tests): Add tst-gnuglob64.
23854
363e4519 238552017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
23856
23857 [BZ #19485]
23858 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23859 and use a better translation for March in “mon”.
23860 * localedata/locales/csb_PL: Use more ASCII to improve the
23861 readability of the source.
23862
b110af82
MF
238632017-10-30 Mike FABIAN <mfabian@redhat.com>
23864
23865 [BZ #13953]
23866 * localedata/locales/km_KH: Use ASCII as much
23867 as possible for better readability of the source and
23868 remove useless comments.
23869 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23870 was commented out and apparently wrong anyway because it was
23871 using Lao characters. If Buddhist era should be used
23872 for km_KH, a native speaker should write the correct formaat
23873 for Khmer.
23874 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23875 (According to CLDR, the first weekday for Cambodia is Sunday).
23876 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23877 (These were using Lao characters which must be wrong. If we get
23878 the correct data from a native speaker, we could add it back, until
23879 then it is better not to have name_mr and name_mrs at all than
23880 having it wrong).
23881
f301e533
RL
238822017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23883
23884 * locale/loadlocale.c: Correct size of
23885 _nl_value_type_LC_<category> arrays.
23886
7e9d7073
JM
238872017-10-27 Joseph Myers <joseph@codesourcery.com>
23888
23889 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23890 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23891 with appropriate macros defined and undefined.
23892 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23893 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23894 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23895 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23896 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23897
63d3b468
L
238982017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23899
23900 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23901 "-O2 -march=i586".
23902
a4cc02c7
MF
239032017-10-27 Mike FABIAN <mfabian@redhat.com>
23904
23905 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23906 with lowercase letters to make it agree with CLDR.
23907
1e5971ec
MF
239082017-10-27 Mike FABIAN <mfabian@redhat.com>
23909
23910 [BZ #15260]
23911 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23912 first letters of yesstr and nostr in yesexpr and noexpr,
23913 not for the full words.
23914 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23915 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23916 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23917 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23918 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23919 first letters of yesstr and nostr in yesexpr and noexpr,
23920 until now only English was matched in yesexpr and noexpr.
23921 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23922 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23923 fil but not for tl. As tl and fil are very similar, using fil
23924 is probably better than using English.
23925
363e4519 239262017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
23927
23928 [BZ #21706]
23929 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23930 in yesstr and nostr.
23931
5d220788
JM
239322017-10-26 Joseph Myers <joseph@codesourcery.com>
23933
ecc7da5b
JM
23934 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23935 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23936 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23937 Likewise.
23938 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23939 Likewise.
23940 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23941 Likewise.
23942 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23943 Likewise.
23944 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23945 (SNANF128X): Likewise.
23946
5d220788
JM
23947 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23948 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23949 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23950 (HUGE_VAL_F32): Likewise.
23951 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23952 (HUGE_VAL_F64): Likewise.
23953 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23954 (HUGE_VAL_F32X): Likewise.
23955 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23956 (HUGE_VAL_F64X): Likewise.
23957 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23958 (HUGE_VAL_F128X): Likewise.
23959
363e4519 239602017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
23961
23962 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23963 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23964 for the br_FR locale.
23965
363e4519 239662017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
23967
23968 [BZ #21706]
23969 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23970
337ff3c5
CD
239712017-10-25 Carlos O'Donell <carlos@redhat.com>
23972
02eec681
CD
23973 * locale/programs/record-status.h: Define globals, and function
23974 prototypes. Move function bodies...
23975 * locale/programs/record-status.c: ... to here. New file.
23976 * iconv/Makefile (iconv_prog-modules): Add record-status.
23977 * locale/Makefile (lib-modules): Likewise.
23978 * iconv/iconv_prog.c: Remove verbose.
23979 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23980 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23981 record a warning about ASCII compatibility.
23982 * locale/programs/ld-monetary.c (monetary_finish): If
23983 warn_int_curr_symbol is true then record a warning about the symbol
23984 not being in our ISO 4217 list.
23985 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23986 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23987 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23988 (OPT_NO_WARN): Define.
23989 (OPT_WARN): Define.
23990 (options): Add entry for --no-warnings, and --warnings.
23991 (set_warnings): New function to enable/disable warnings.
23992 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23993 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23994 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23995 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23996 Pass flags to generate_locale.
23997 (generate_locale): Accept new flag argument and pass it to localedef
23998 invocation.
23999 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24000 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24001
56fa555a
CD
24002 * localedata/Makefile (test-input-data): Use full file name.
24003 * localedata/da_DK.in: Rename to...
24004 * localedata/da_DK.ISO-8859-1.in: ...this.
24005 * localedata/de_DE.in: Rename to...
24006 * localedata/de_DE.ISO-8859-1.in: ...this.
24007 * localedata/en_US.in: Rename to...
24008 * localedata/en_US.ISO-8859-1.in: ...this.
24009 * localedata/fr_FR.in: Rename to...
24010 * localedata/fr_FR.UTF-8.in: ... this.
24011 * localedata/hr_HR.in: Rename to...
24012 * localedata/hr_HR.ISO-8859-2.in: ...this.
24013 * localedata/hu_HU.in: Rename to...
24014 * localedata/hu_HU.UTF-8.in: ...this.
24015 * localedata/si_LK.in: Rename to...
24016 * localedata/si_LK.UTF-8.in: ...this.
24017 * localedata/sv_SE.in: Rename to...
24018 * localedata/sv_SE.ISO-8859-1.in: ...this.
24019 * localedata/tr_TR.in: Rename to...
24020 * localedata/tr_TR.UTF-8.in: ...this.
24021 * localedata/uk_UA.in: Rename to...
24022 * localedata/uk_UA.UTF-8.in: ...this.
24023 * localedata/sort-test.sh: Test file is locale name with the
24024 suffix.
24025
337ff3c5
CD
24026 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24027 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24028 file.
24029 * localedata/locales/i18n_ctype: Regenerate.
24030 * localedata/locales/tr_TR: Likewise.
24031 * localedata/locales/translit_circle: Likewise.
24032 * localedata/locales/translit_cjk_compat: Likewise.
24033 * localedata/locales/translit_combining: Likewise.
24034 * localedata/locales/translit_compat: Likewise.
24035 * localedata/locales/translit_font: Likewise.
24036 * localedata/locales/translit_fraction: Likewise.
24037
63da5cd4
RS
240382017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24039
24040 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24041 lxvd2x/stxvd2x with lvx/stvx.
24042 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24043
a122dbfb
L
240442017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24045
24046 * include/alloc_buffer.h: Replace "if if " with "if " in
24047 comments.
24048 * sysdeps/mips/memcpy.S: Likkewise.
24049 * sysdeps/mips/memset.S: Likewise.
24050 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24051 Likewise.
24052 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24053 Likewise.
24054 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24055 Likewise.
24056
9be7530c
MF
240572017-10-25 Mike FABIAN <mfabian@redhat.com>
24058
24059 [BZ #15261]
24060 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24061 yesexpr and noexpr.
24062 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24063 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24064 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24065 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24066 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24067 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24068 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24069
6ccbf6ff
MF
240702017-10-25 Mike FABIAN <mfabian@redhat.com>
24071
24072 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24073 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24074 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24075 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24076 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24077 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24078 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24079 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24080 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24081 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24082 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24083 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24084
58b1a7ea
MF
240852017-10-25 Mike FABIAN <mfabian@redhat.com>
24086
24087 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24088 as possible for better readability of the source.
24089 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24090 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24091 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24092 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24093 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24094 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24095 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24096 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24097 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24098 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24099 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24100 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24101 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24102 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24103 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24104 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24105 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24106 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24107 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24108 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24109 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24110 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24111 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24112 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24113 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24114 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24115 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24116 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24117 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24118 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24119 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24120 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24121 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24122 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24123 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24124 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24125 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24126 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24127 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24128 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24129 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24130 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24131 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24132 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24133 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24134 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24135 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24136 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24137 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24138 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24139 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24140 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24141 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24142 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24143 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24144 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24145 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24146 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24147 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24148 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24149 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24150 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24151 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24152 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24153 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24154 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24155 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24156 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24157 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24158 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24159 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24160 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24161 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24162 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24163 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24164 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24165 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24166 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24167 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24168 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24169 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24170 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24171 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24172 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24173 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24174 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24175 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24176 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24177 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24178 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24179 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24180 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24181 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24182 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24183 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24184 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24185 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24186 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24187 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24188 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24189 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24190 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24191 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24192 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24193 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24194 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24195 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24196 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24197 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24198 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24199 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24200 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24201 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24202 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24203 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24204 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24205 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24206 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24207 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24208 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24209 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24210 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24211 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24212 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24213 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24214 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24215 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24216 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24217 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24218 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24219 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24220 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24221 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24222 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24223 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24224 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24225 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24226 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24227 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24228 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24229 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24230 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24231 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24232 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24233 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24234 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24235 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24236 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24237 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24238 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24239 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24240 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24241 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24242 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24243 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24244 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24245 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24246 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24247 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24248 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24249 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24250 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24251 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24252 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24253 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24254 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24255 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24256 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24257 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24258 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24259 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24260 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24261 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24262 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24263
17e78edb
MF
242642017-10-25 Mike FABIAN <mfabian@redhat.com>
24265
24266 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24267 (Use first letters of yesstr and nostr correctly instead of using
24268 full words).
24269
74e7284f
MF
242702017-10-25 Mike FABIAN <mfabian@redhat.com>
24271
24272 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24273 (Use first letters of yesstr and nostr correctly).
24274
b41a0ff1
MF
242752017-10-25 Mike FABIAN <mfabian@redhat.com>
24276
24277 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24278 also check for the first characters of yesstr and nostr.
24279 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24280 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24281
d971f380
MF
242822017-10-25 Mike FABIAN <mfabian@redhat.com>
24283
24284 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24285 also check for Chinese characters.
24286
effc9e1d
MF
242872017-10-25 Mike FABIAN <mfabian@redhat.com>
24288
24289 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24290 match also for the contents of yesstr and nostr. As the first letter
24291 of yesstr and nostr is equal, checking only for the first letter
24292 is not enough.
24293
10320881
MF
242942017-10-25 Mike FABIAN <mfabian@redhat.com>
24295
24296 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24297 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24298
d8682a15
MF
242992017-10-25 Mike FABIAN <mfabian@redhat.com>
24300
24301 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24302 of main contributor.
24303
1bfb86ae
MF
243042017-10-25 Mike FABIAN <mfabian@redhat.com>
24305
24306 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24307 instead of using English.
24308
da33d60b
MF
243092017-10-25 Mike FABIAN <mfabian@redhat.com>
24310
24311 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24312 by including the first letters of nostr and yesexpr in the regexp.
24313 Also make it more readable by using ASCII where possible.
24314
725bbb3e
MF
243152017-10-25 Mike FABIAN <mfabian@redhat.com>
24316
24317 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24318 the first letter of nostr in the regexp. It agrees with CLDR now.
24319 Also make it more readable by using ASCII where possible.
24320
fe043d8a
MF
243212017-10-24 Mike FABIAN <mfabian@redhat.com>
24322
24323 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24324 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24325 these strings contain a U+17D6 (which somewhat looks like a colon)
24326 instead of a real colon to separate the full words for “yes”
24327 and “no” from the single letter responses.
24328
360a8df3
MF
243292017-10-24 Mike FABIAN <mfabian@redhat.com>
24330
24331 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24332 it agree with CLDR (include the first letter of yesstr).
24333 Also make it more readable by using ASCII where possible.
24334
bab7b6b0
MF
243352017-10-24 Mike FABIAN <mfabian@redhat.com>
24336
24337 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24338 and improve yesexpr and noexpr. The yesstr and nostr apparently
24339 came from CLDR. And CLDR has a bug there: these strings contain
24340 a U+0903 (which looks like a colon) instead of a real colon
24341 to separate the full words for “yes” and “no” from the single
24342 letter responses.
24343
3e79f758
MF
243442017-10-24 Mike FABIAN <mfabian@redhat.com>
24345
24346 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24347 letters of the full yesstr and nostr in yesexpr and noexpr.
24348
4960c879
MF
243492017-10-24 Mike FABIAN <mfabian@redhat.com>
24350
24351 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24352 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24353 * localedata/locales/an_ES: Make source more readable by using ASCII
24354 where possible.
24355
b06a054f
MF
243562017-10-24 Mike FABIAN <mfabian@redhat.com>
24357
24358 [BZ #20952]
24359 * localedata/locales/yuw_PG: New file.
24360 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24361 * locale/iso-639.def: Add Yau (Uruwa).
24362
905a7725
WD
243632017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24364
24365 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24366
3f6bb8a3
WD
243672017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24368
24369 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24370 (__libc_realloc): Likewise.
24371 (_mid_memalign): Likewise.
24372 (__libc_calloc): Likewise.
24373
1d479c8c
MF
243742017-10-23 Mike FABIAN <mfabian@redhat.com>
24375
24376 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24377 by adding the generic +1 and -0 as in all other locales.
24378 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24379 day names and make it more readable by using ASCII where possible.
24380
91c3985c
JM
243812017-10-24 Joseph Myers <joseph@codesourcery.com>
24382
24383 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24384 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24385
aa95a241
AZ
243862017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24387
24388 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24389 WNOHANG in waitpid call.
24390
db9bab09
SP
243912017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24392
a2e0a7f1
SP
24393 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24394 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24395
db9bab09
SP
24396 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24397 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24398 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24399 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24400 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24401 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24402 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24403 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24404 variables.
24405
5062680c
MC
244062017-10-23 Michael Collison <michael.collison@arm.com>
24407
24408 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24409 with __builtin_sqrt.
24410 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24411 with __builtin_sqrtf.
24412 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24413 with __builtin_ceil.
24414 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24415 with __builtin_ceilf.
24416 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24417 with __builtin_floor.
24418 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24419 with __builtin_floorf.
24420 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24421 with __builtin_fma.
24422 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24423 with __builtin_fmaf.
24424 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24425 with __builtin_fmax.
24426 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24427 with __builtin_fmaxf.
24428 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24429 with __builtin_fmin.
24430 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24431 with __builtin_fminf.
24432 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24433 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24434 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24435 with builtin_rint and conversion to int.
24436 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24437 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24438 with builtin_llround.
24439 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24440 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24441 with builtin_rint and conversion to long int.
24442 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24443 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24444 with builtin_lround.
24445 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24446 with builtin_lroundf.
24447 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24448 statements with __builtin_nearbyint.
24449 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24450 statements with __builtin_nearbyintf.
24451 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24452 with __builtin_rint.
24453 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24454 with __builtin_rintf.
24455 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24456 with __builtin_round.
24457 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24458 with __builtin_roundf.
24459 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24460 with __builtin_trunc.
24461 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24462 with __builtin_truncf.
be080b6c
SN
24463 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24464 and s_l[l]round[f].c too.
5062680c 24465
174935af
AM
244662017-10-23 Alan Modra <amodra@gmail.com>
24467
24468 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24469 Adjust stack after restoring regs. Add missing LR cfi_restore.
24470
750a0e49
AM
244712017-10-23 Alan Modra <amodra@gmail.com>
24472
24473 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24474 Move LR save and frame setup/teardown and LR restore to
24475 immediately around memset call. Provide cfi.
24476
5313581c
L
244772017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24478
24479 * sysdeps/i386/fpu/e_powf.S: Removed.
24480 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24481 * sysdeps/i386/fpu/w_powf.c: Likewise.
24482 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24483 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24484 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24485 Add e_powf-sse2.
24486 (CFLAGS-e_powf-sse2.c): New.
24487 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24488 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24489
6089a3ee
L
244902017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24491
24492 * sysdeps/i386/fpu/e_log2f.S: Removed.
24493 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24494 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24495 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24496 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24497 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24498 Add e_log2f-sse2.
24499 (CFLAGS-e_log2f-sse2.c): New.
24500 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24501 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24502
80bb5935
L
245032017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24504
24505 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24506 Add e_powf-fma.
24507 (CFLAGS-e_powf-fma.c): New.
24508 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24509 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24510
5c7adbd8
L
245112017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24512
24513 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24514 Add e_log2f-fma.
24515 (CFLAGS-e_log2f-fma.c): New.
24516 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24517 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24518
0ccc7153
L
245192017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24520
24521 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24522 Add e_logf-fma.
24523 (CFLAGS-e_logf-fma.c): New.
24524 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24525 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24526
fe596486
L
245272017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24528
24529 * sysdeps/i386/fpu/e_logf.S: Removed.
24530 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24531 * sysdeps/i386/fpu/w_logf.c: Likewise.
24532 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24533 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24534 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24535 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24536 Add e_logf-sse2.
24537 (CFLAGS-e_logf-sse2.c): New.
24538 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24539 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24540
7eda65f6
L
245412017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24542
24543 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24544 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24545 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24546 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24547 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24548 Add e_exp2f-sse2.
24549 (CFLAGS-e_exp2f-sse2.c): New.
24550 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24551 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24552
5d15c969
L
245532017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24554
24555 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24556 Add e_exp2f-fma.
24557 (CFLAGS-e_exp2f-fma.c): New.
24558 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24559 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24560
b2f6137e
L
245612017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24562
24563 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24564 * sysdeps/i386/fpu/e_expf.S: Likewise.
24565 * sysdeps/i386/fpu/math_errf.c: Likewise.
24566 * sysdeps/i386/fpu/w_expf.c: Likewise.
24567 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24568 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24569 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24570 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24571 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24572 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24573 Remove e_expf-ia32.
24574 (CFLAGS-e_expf-sse2.c): New.
24575 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24576 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24577
e1f59beb
L
245782017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24579
24580 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24581 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24582 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24583 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24584 e_expf.c.
24585 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24586 New.
24587 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24588 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24589 Renamed to ...
24590 (__redirect_expf): This.
24591 (SYMBOL_NAME): Changed to expf.
24592 (__ieee754_expf): Renamed to ...
24593 (__expf): This.
24594 (__GI___expf): This.
24595 (__ieee754_expf): Add strong_alias.
24596 (__expf_finite): Likewise.
24597 (__expf): New.
24598 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24599
363e4519 246002017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
24601
24602 [BZ #22332]
24603 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24604 unescaping.
24605
e80fc1fc
FW
246062017-10-21 Florian Weimer <fweimer@redhat.com>
24607
24608 * posix/Makefile (tests): Add tst-glob-tilde.
24609 (tests-special): Add tst-glob-tilde-mem.out
24610 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24611 (tst-glob-tilde-mem.out): Add mtrace check.
24612 * posix/tst-glob-tilde.c: New file.
24613
797ba44b
JM
246142017-10-20 Joseph Myers <joseph@codesourcery.com>
24615
24616 * bits/floatn-common.h: New file.
24617 * math/Makefile (headers): Add bits/floatn-common.h.
24618 * bits/floatn.h: Include <bits/floatn-common.h>.
24619 * sysdeps/ia64/bits/floatn.h: Likewise.
24620 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24621 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24622 * sysdeps/powerpc/bits/floatn.h: Likewise.
24623 * sysdeps/x86/bits/floatn.h: Likewise.
24624
fe05e1cb
AZ
246252017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24626
8f6f5362
AZ
24627 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24628 indicates whether compiler emits an warning for alias for
24629 functions with incompatible types.
24630
fe05e1cb
AZ
24631 [BZ #22273]
24632 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24633 the auxiliary process is terminated by a signal before calling _exit
24634 or execve.
24635
b52b0d79
L
246362017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24637
24638 [BZ #21265]
24639 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24640 New.
24641 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24642 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24643 and bit_arch_XSAVEC_Usable if needed.
24644 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24645 and bit_arch_Use_dl_runtime_resolve_opt.
24646 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24647 Removed.
24648 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24649 (bit_arch_Prefer_No_AVX512): Updated.
24650 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24651 (bit_arch_XSAVEC_Usable): New.
24652 (STATE_SAVE_OFFSET): Likewise.
24653 (STATE_SAVE_MASK): Likewise.
24654 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24655 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24656 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24657 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24658 (index_arch_XSAVEC_Usable): New.
24659 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24660 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24661 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24662 is enabled.
24663 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24664 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24665 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24666 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24667 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24668 _dl_runtime_resolve_xsavec.
24669 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24670 Removed.
24671 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24672 instead of VEC_SIZE.
24673 (REGISTER_SAVE_BND0): Removed.
24674 (REGISTER_SAVE_BND1): Likewise.
24675 (REGISTER_SAVE_BND3): Likewise.
24676 (REGISTER_SAVE_RAX): Always defined to 0.
24677 (VMOV): Removed.
24678 (_dl_runtime_resolve_avx): Likewise.
24679 (_dl_runtime_resolve_avx_slow): Likewise.
24680 (_dl_runtime_resolve_avx_opt): Likewise.
24681 (_dl_runtime_resolve_avx512): Likewise.
24682 (_dl_runtime_resolve_avx512_opt): Likewise.
24683 (_dl_runtime_resolve_sse): Likewise.
24684 (_dl_runtime_resolve_sse_vex): Likewise.
24685 (USE_FXSAVE): New.
24686 (_dl_runtime_resolve_fxsave): Likewise.
24687 (USE_XSAVE): Likewise.
24688 (_dl_runtime_resolve_xsave): Likewise.
24689 (USE_XSAVEC): Likewise.
24690 (_dl_runtime_resolve_xsavec): Likewise.
24691 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24692 Removed.
24693 (_dl_runtime_resolve_avx512_opt): Likewise.
24694 (_dl_runtime_resolve_avx): Likewise.
24695 (_dl_runtime_resolve_avx_opt): Likewise.
24696 (_dl_runtime_resolve_sse): Likewise.
24697 (_dl_runtime_resolve_sse_vex): Likewise.
24698 (_dl_runtime_resolve_fxsave): New.
24699 (_dl_runtime_resolve_xsave): Likewise.
24700 (_dl_runtime_resolve_xsavec): Likewise.
24701
363e4519 247022017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
24703
24704 [BZ #22320]
24705 CVE-2017-15670
24706 * posix/glob.c (__glob): Fix one-byte overflow.
24707
6d43de4b
WD
247082017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24709
24710 * malloc/malloc.c (sysdep-cancel.h): Add include.
24711
a15d53e2
WD
247122017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24713
24714 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24715
b9a558e7
WH
247162017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24717
24718 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24719 (tests): Remove $(objpfx)ga_test depdendency.
24720 * resolv/ga_test.c: Remove file.
24721
b6b08b8e
MF
247222017-10-20 Mike FABIAN <mfabian@redhat.com>
24723
24724 [BZ #18812]
24725 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24726 * localedata/locales/kab_DZ: New file.
24727
9ba7e810
L
247282017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24729
24730 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24731 _dl_relocate_static_pie instead of _dl_start to compute load
24732 address in static PIE.
24733
4027a4fd
L
247342017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24735
24736 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24737
2f9314b4
MF
247382017-10-20 Mike FABIAN <mfabian@redhat.com>
24739
24740 [BZ #13605]
24741 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24742 * localedata/locales/shn_MM: New file.
24743
63b4baa4
FW
247442017-10-20 Florian Weimer <fweimer@redhat.com>
24745
24746 [BZ #22321]
24747 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24748 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24749 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24750 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24751 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24752 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24753
95ccb619
L
247542017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24755
24756 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24757
37bb78cb
JM
247582017-10-19 Joseph Myers <joseph@codesourcery.com>
24759
76f2ed92
JM
24760 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24761
37bb78cb
JM
24762 [BZ #22322]
24763 * sysdeps/mips/bits/long-double.h: Move to ....
24764 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24765
d74e6f6c
WD
247662017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24767
24768 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24769
363e4519 247702017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
24771 H.J. Lu <hongjiu.lu@intel.com>
24772
24773 [BZ #22299]
24774 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24775 GLRO(dl_platform) to NULL.
24776 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24777 (modules-names): Add tst-platformmod-1 and
24778 x86_64/tst-platformmod-2.
24779 (CFLAGS-tst-platform-1.c): New.
24780 (CFLAGS-tst-platformmod-1.c): Likewise.
24781 (CFLAGS-tst-platformmod-2.c): Likewise.
24782 (LDFLAGS-tst-platformmod-2.so): Likewise.
24783 ($(objpfx)tst-platform-1): Likewise.
24784 ($(objpfx)tst-platform-1.out): Likewise.
24785 (tst-platform-1-ENV): Likewise.
24786 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24787 * sysdeps/x86_64/tst-platform-1.c: New file.
24788 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24789 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24790
4b0fa403
MF
247912017-10-19 Mike FABIAN <mfabian@redhat.com>
24792
24793 [BZ #13994]
24794 * locale/iso-639.def: Add Karbi.
24795 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24796 * localedata/locales/mjw_IN: New file.
24797
81325b12
JM
247982017-10-18 Joseph Myers <joseph@codesourcery.com>
24799
24800 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24801 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24802 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24803 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24804 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24805 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24806 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24807 <bits/floatn.h>.
24808 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24809 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24810 * manual/math.texi (Mathematics): Document additional architecture
24811 support for _Float128.
24812 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24813 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24814 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24815 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24816 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24817 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24818 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24819 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24820 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24821 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24822 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24823 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24824 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24825 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24826 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24827
a68ba2f3
SN
248282017-10-18 Renlin Li <renlin.li@arm.com>
24829
24830 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24831 _DYNAMIC symbol to calculate load address.
24832
346729f6
PC
248332017-10-18 Paul A. Clarke <pc@us.ibm.com>
24834
24835 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24836 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24837 summary bits.
24838 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24839 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24840
508b1e71
MF
248412017-10-18 Mike FABIAN <mfabian@redhat.com>
24842
24843 [BZ #16777]
24844 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24845 and improve readability by using more ASCII.
24846 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24847 and improve readability by using more ASCII.
24848
2c2245b9
WD
248492017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24850
24851 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24852 not all targets support atomics on bool.
24853
13c92696
JM
248542017-10-17 Joseph Myers <joseph@codesourcery.com>
24855
24856 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24857 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24858 __f128.
24859 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24860 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24861 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24862 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24863 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24864 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24865
71d85045
AZ
248662017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24867
24868 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24869 defines.
24870
3381be5c
WD
248712017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24872
24873 [BZ #22159]
24874 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24875 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24876 (do_check_remalloced_chunk): Fix build bug.
24877 (do_check_malloc_state): Add assert that checks arena->top.
24878 (malloc_consolidate): Remove initialization.
24879 (int_mallinfo): Remove call to malloc_consolidate.
24880 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24881
e956075a
WD
248822017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24883
24884 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24885 (have_fastchunks): Remove.
24886 (clear_fastchunks): Remove.
24887 (set_fastchunks): Remove.
24888 (malloc_state): Add have_fastchunks.
24889 (malloc_init_state): Use have_fastchunks.
24890 (do_check_malloc_state): Remove incorrect invariant checks.
24891 (_int_malloc): Use have_fastchunks.
24892 (_int_free): Likewise.
24893 (malloc_consolidate): Likewise.
24894
e4dd4ace
WD
248952017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24896
24897 * malloc/malloc.c (tcache_put): Inline.
24898 (tcache_get): Inline.
24899
5bf58bc7
AJ
249002017-10-17 Jordi Mallach <jordi@gnu.org>
24901
24902 Aurelien Jarno <aurelien@aurel32.net>
24903 [BZ #2522]
24904 * localedata/locales/ca_ES@valencia: New file.
24905 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24906
386e1c26
RN
249072017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24908
24909 [BZ #22296]
24910 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24911 < 6.x
24912
4e17c78e
AZ
249132017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24914
3d265601
AZ
24915 * scripts/build-many-glibcs.py (Context.add_all_configs):
24916 Add arm-linux-gnueabihf multiarch extra_glibcs.
24917
4e17c78e
AZ
24918 * sysdeps/generic/ifunc-init.h: New file.
24919 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24920
56a752ab
MF
249212017-10-17 Mike FABIAN <mfabian@redhat.com>
24922
24923 [BZ #22019]
24924 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24925 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24926 * stdlib/tst-strfmon_l.c: adapt test case.
24927
c38a4bfd
JM
249282017-10-16 Joseph Myers <joseph@codesourcery.com>
24929
24930 * sysdeps/generic/float128-abi.h: New file.
24931 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24932 non-__prefixed symbols to ....
24933 * math/Versions: ... here. Include <float128-abi.h>.
24934 * stdlib/Versions ... and here. Include <float128-abi.h>
24935
76009b26
FW
249362017-10-16 Florian Weimer <fweimer@redhat.com>
24937
24938 * version.h (VERSION): Switch to ".9000" as the development
24939 version suffix.
24940
7ece6cd5
FW
249412017-10-16 Florian Weimer <fweimer@redhat.com>
24942
24943 [BZ #22050]
24944 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24945 compat_symbol_reference to access non-default version.
24946
d8287b36
FW
249472017-10-16 Florian Weimer <fweimer@redhat.com>
24948
24949 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24950
3480ddc4
CD
249512017-10-16 Carlos O'Donell <carlos@redhat.com>
24952
24953 * include/shlib-compat.h (compat_symbol_reference): Update
24954 comment.
24955
02010e79
JM
249562017-10-16 Joseph Myers <joseph@codesourcery.com>
24957
596f7013
JM
24958 * math/Makefile (test-types): Add
24959 $(type-float128-$(float128-alias-fcts)).
24960 * math/test-float128.h (TYPE_STR): Define conditional on
24961 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24962 (ULP_IDX): Likewise.
24963 (ULP_I_IDX): Likewise.
24964
02010e79
JM
24965 * stdlib/strtold.c: Include <bits/floatn.h>
24966 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24967 and later undefine as macro. Define as weak alias if
24968 [!USE_WIDE_CHAR].
24969 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24970 and later undefine as macro. Define as weak alias if
24971 [USE_WIDE_CHAR].
24972 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24973 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24974 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24975 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24976 Define and later undefine as macro. Define as weak alias if
24977 [USE_WIDE_CHAR].
24978 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24979 <bits/floatn.h>.
24980 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24981 Define and later undefine as macro. Define as weak alias if
24982 [!USE_WIDE_CHAR].
24983 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24984 Define and later undefine as macro. Define as weak alias if
24985 [USE_WIDE_CHAR].
24986
ea91c315
CD
249872017-10-15 Carlos O'Donell <carlos@redhat.com>
24988
24989 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24990 record_verbose messages.
24991
8e57c943
L
249922017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24993
24994 [BZ #22052]
24995 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24996 to silence -O3 -Wall warning with GCC 7.
24997
a4777c46
L
249982017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24999
25000 * Makeconfig (+link-static-before-libc): Use the first of
25001 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25002 * gmon/Makefile (tests): Add tst-gmon-static.
25003 (tests-static): Likewise.
25004 (CFLAGS-tst-gmon-static.c): New.
25005 (CRT-tst-gmon-static): Likewise.
25006 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25007 (tst-gmon-static-ENV): Likewise.
25008 (tests-special): Likewise.
25009 ($(objpfx)tst-gmon-static.out): Likewise.
25010 (clean-tst-gmon-static-data): Likewise.
25011 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25012 * gmon/tst-gmon-static-gprof.sh: New file.
25013 * gmon/tst-gmon-static.c: Likewise.
25014
bc3821bb
CD
250152017-10-13 Carlos O'Donell <carlos@redhat.com>
25016
25017 [BZ #22295]
25018 * locale/programs/linereader.c (get_string): Don't warn on
25019 non-symbolic character.
25020
a3e23a2c
CD
25021 [BZ #22294]
25022 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25023 int_curr_symbol.
25024
f16491eb
CD
25025 [BZ #22292]
25026 * locale/programs/record-status.h: New file
25027 * locale/programs/locale.c: Add comment.
25028 * locale/programs/charmap-dir.c: Don't include error.h.
25029 (charmap_opendir): Use record_error.
25030 * locale/programs/charmap.c: Don't include error.h.
25031 (charmap_read): Use record_error, and record_warning.
25032 (parse_charmap): Likewise.
25033 * locale/programs/ld-address.c: Don't include error.h.
25034 (address_finish): Use record_error, and record_warning.
25035 * locale/programs/ld-collate.c: Don't include error.h.
25036 (collate_finish): Use record_error, and record_error_at_line.
25037 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25038 (ctype_class_new): Likewise.
25039 (ctype_map_new): Likewise.
25040 (set_one_default): Likewise.
25041 (set_class_defaults): Likewise.
25042 (translit_flatten): Likewise.
25043 (allocate_arrays): Use record_error, and record_verbose.
25044 * locale/programs/ld-identification.c: Don't include error.h.
25045 (indentation_finish): Use record_error and record_warning.
25046 * locale/programs/ld-measurement.c: Don't include error.h.
25047 (measurement_finish): Use record_error.
25048 * locale/programs/ld-messages.c
25049 (message_finish): Likewise.
25050 * locale/programs/ld-monetary.c
25051 (monetary_finish): Likewise.
25052 * locale/programs/ld-name.c (name_finish): Use record_error
25053 and record_warning.
25054 * locale/programs/ld-numeric.c
25055 (numeric_finish): Use record_error.
25056 * locale/programs/ld-paper.c: Don't include error.h.
25057 (paper_finish): Use record_error.
25058 * locale/programs/ld-telephone.c: Don't include error.h.
25059 (telephone_finish): Use record_error.
25060 * locale/programs/ld-time.c (time_finish): Likewise.
25061 * locale/programs/linereader.h (lr_error): Make inline func.
25062 * locale/programs/localedef.c: Define recorded_warning_count,
25063 and recorded_error_count.
25064 (main): Use record_error. Use recorded_error_count and
25065 recorded_warning_count to issue correct error returns.
25066 (add_to_readlist): Use record_error.
25067 (find_locale): Likewise.
25068 (load_locale): Likewise.
25069 * locale/programs/localedef.h: Remove be_quiet
25070 and WITH_CUR_LOCALE.
25071 * locale/programs/locarchive.c (compare_from_file): Use
25072 record_error.
25073 * locale/programs/locfile.c (write_locale_data): Use
25074 record_error.
25075 * locale/programs/repertoire.c: Dont include error.h.
25076 (repertoire_complain): Use record_error.
25077 * localedata/tst-fmon.sh: Expect failures from localedef.
25078 * localedata/tst-locale.sh: Likewise.
25079 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25080
8dc8be75
CD
25081 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25082 (REPORTS): Likewise.
25083 (check): Likewise.
25084 (i18n): Rename to...
25085 (i18n_ctype): ...this.
25086 (i18n-report): Rename to...
25087 (i18n_ctype-report): ...this.
25088 * localedata/locales/i18n_ctype: Regenerate.
25089 * localedata/locales/i18n: copy i18n_ctype.
25090
f8718a9e
JM
250912017-10-13 Joseph Myers <joseph@codesourcery.com>
25092
18c08b96
JM
25093 * stdlib/strfroml.c: Include <bits/floatn.h>.
25094 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25095 Define before include of <stdlib.h> and undefine afterwards, then
25096 define as weak alias.
25097
f8718a9e
JM
25098 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25099 Undefine and restore default definition. Use
25100 libm_alias_ldouble_other.
25101
e4f530da
PZ
251022017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25103
25104 [BZ #22153]
25105 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25106 in coredumps.
25107
86445888
JC
251082017-10-13 James Clarke <jrtc27@jrtc27.com>
25109
25110 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25111 Assign sym_map to be map for local symbols, as TLS relocations
25112 use sym_map to determine whether the symbol is defined and to
25113 extract the TLS information.
25114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25115 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25116
179dcdb7
TMQMF
251172017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25118
e8dbd6a3
TMQMF
25119 [BZ #22189]
25120 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25121 (math_force_eval): Add powerpc version.
25122
179dcdb7
TMQMF
25123 [BZ #22142]
25124 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25125 -DBL_MAX.
25126 (do_test): Likewise.
25127 * stdio-common/tst-printf.sh: Likewise.
25128 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25129 ifdef clause in order to set the carry bit right. Replace r0 by
25130 0 without changing the behavior.
25131
7d25d410
JM
251322017-10-13 Joseph Myers <joseph@codesourcery.com>
25133
006e7664
JM
25134 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25135 <libm-alias-ldouble.h>.
25136 (fabsl): Define using libm_alias_ldouble.
25137 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25138 <libm-alias-ldouble.h>.
25139 (fabsl): Define using libm_alias_ldouble.
25140
1def91b3
JM
25141 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25142 Remove conditional code.
25143
7d25d410
JM
25144 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25145 Rename to __clog10_internal_l.
25146 (__clog10_internal_l): Define aliases using
25147 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25148 with __clog10.
25149
077ee129
RS
251502017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25151
25152 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25153 * benchtests/sincosf-inputs: New file.
25154 * benchtests/cosf-inputs: New file.
25155 * benchtests/sinf-inputs: New file.
25156
5ba41de9
SN
251572017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25158
25159 * posix/tst-spawn.c (do_test): Wait for both children.
25160
d165ca64
L
251612017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25162
25163 [BZ #22284]
25164 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25165 tests-pie): Add tst-gmon-pie.
25166 (CFLAGS-tst-gmon-pie.c): New.
25167 (CRT-tst-gmon-pie): Likewise.
25168 (tst-gmon-pie-ENV): Likewise.
25169 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25170 ($(objpfx)tst-gmon-pie.out): Likewise.
25171 (clean-tst-gmon-pie-data): Likewise.
25172 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25173 * gmon/gmon.c [PIC]: Include <link.h>.
25174 [PIC] (callback): New function.
25175 (write_hist): Add an argument for load address. Subtract load
25176 address from PCs.
25177 (write_call_graph): Likewise.
25178 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25179 it to write_hist and write_call_graph.
7bacdcfc 25180 * gmon/tst-gmon-pie.c: New file.
d165ca64 25181
bc9620d0
JM
251822017-10-11 Joseph Myers <joseph@codesourcery.com>
25183
25184 * math/Makefile (test-types-basic): New variable.
25185 (test-types): Likewise.
25186 (libm-test-support): Use $(test-types) instead of $(types).
25187 (libm-tests-base-normal): Likewise.
25188 (libm-tests-base-finite): Likewise.
25189 (libm-tests-base-inline): Likewise.
25190 (generated): Likewise.
25191 ($(objpfx)libm-test-support-$(t).c): Likewise.
25192 (libm-tests-for-type iterator): Likewise.
25193 (libm-test-support iterator): Likewise.
25194 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25195 (ulp_idx): Use ULP_IDX.
25196 * math/test-ldouble.h: Include <float.h>.
25197 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25198 (ULP_IDX): New macro.
25199 (ULP_I_IDX): Likewise.
25200 * math/test-double.h (ULP_IDX): Likewise.
25201 (ULP_I_IDX): Likewise.
25202 * math/test-float.h (ULP_IDX): Likewise.
25203 (ULP_I_IDX): Likewise.
25204 * math/test-float128.h (ULP_IDX): Likewise.
25205 (ULP_I_IDX): Likewise.
25206
09c76a74
AZ
252072017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25208
25209 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25210 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25211 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25212 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25213 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25214 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25215 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25217 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25218 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25219 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25220 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25221 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25223 (SINGLE_THREAD_BY_GLOBAL): Define.
25224 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25225 Likewise.
25226 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25227 Likewise.
25228 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25229 Likewise.
25230 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25231 Likewise.
25232 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25233 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25235 Likewise.
25236
2faa42da
AS
252372017-10-11 Andreas Schwab <schwab@suse.de>
25238
25239 * nis/Makefile (aux): Remove.
25240 * nscd/Makefile (aux): Add nscd_hash.
25241 (nscd-modules): Likewise.
25242 ($(objpfx)nscd): Don't depend on libnsl.
25243 * nscd/nscd_hash.c: New file.
25244 * nscd/nscd_hash.h: Likewise.
25245 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25246 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25247 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25248 instead of <nis/rpcsvc/nis.h>.
25249 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25250
d8425e11
FW
252512017-10-11 Florian Weimer <fweimer@redhat.com>
25252
25253 [BZ #22078]
25254 Avoid large NSS buffers with many addresses, aliases.
25255 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25256 using dynarrays and struct alloc_buffer.
25257 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25258 (tst-nss-files-hosts-multi): Link with -ldl.
25259 * nss/tst-nss-files-hosts-multi.c: New file.
25260
78e806fd
FW
252612017-10-11 Florian Weimer <fweimer@redhat.com>
25262
25263 [BZ #18023]
25264 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25265 scratch_buffer. Eliminate gotos.
25266
541f19ba
JM
252672017-10-11 Joseph Myers <joseph@codesourcery.com>
25268
0ff64d3a
JM
25269 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25270 libm_alias_ldouble_other.
25271 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25272 undefine and redefine.
25273 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25274 (exp10l): Do not define here.
25275 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25276 (weak_alias): Undefine and redefine.
25277 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25278 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25279 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25280 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25281
541f19ba
JM
25282 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25283 [!__fma] (fma): Define using libm_alias_double.
25284 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25285 [!__fmaf] (fmaf): Define using libm_alias_float.
25286 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25287 (fmal): Define using libm_alias_ldouble.
25288
24b6515d
JM
252892017-10-10 Joseph Myers <joseph@codesourcery.com>
25290
25291 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25292 New macro.
25293 (libm_alias_double_other): Likewise.
25294 (libm_alias_double_r): Use libm_alias_double_other_r.
25295 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25296 New macro.
25297 (libm_alias_float_other): Likewise.
25298 (libm_alias_float_r): Use libm_alias_float_other_r.
25299 * sysdeps/generic/libm-alias-float128.h
25300 (libm_alias_float128_other_r): New macro.
25301 (libm_alias_float128_other): Likewise.
25302 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25303 * sysdeps/generic/libm-alias-ldouble.h
25304 (libm_alias_ldouble_other_r): New macro.
25305 (libm_alias_ldouble_other): Likewise.
25306 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25307 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25308 (libm_alias_double_other_r): New macro.
25309 (libm_alias_double_other): Likewise.
25310 (libm_alias_double_r): Use libm_alias_double_other_r.
25311 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25312 (libm_alias_ldouble_other_r): New macro.
25313 (libm_alias_ldouble_other): Likewise.
25314 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25315 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25316 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25317 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25318 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25319 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25320 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25321 * math/w_exp2f.c: Use libm_alias_float_other.
25322 * math/w_expf.c: Likewise.
25323 * math/w_log2f.c: Likewise.
25324 * math/w_logf.c: Likewise.
25325 * math/w_powf.c: Likewise.
25326 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25327 [!__exp2f]: Use libm_alias_float_other.
25328 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25329 [!__expf]: Use libm_alias_float_other.
25330 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25331 [!__log2f]: Use libm_alias_float_other.
25332 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25333 [!__logf]: Use libm_alias_float_other.
25334 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25335 [!__powf]: Use libm_alias_float_other.
25336
8ed70de2
FW
253372017-10-10 Florian Weimer <fweimer@redhat.com>
25338
25339 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25340 function.
25341 (_nss_files_gethostbyname3_r): Call it.
25342
a8dce619
JM
253432017-10-09 Joseph Myers <joseph@codesourcery.com>
25344
25345 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25346 error. Remove default definition of declare_mgen_alias.
25347 [!declare_mgen_alias_r]: Likewise.
25348 * sysdeps/generic/math-type-macros-double.h
25349 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25350 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25351 (declare_mgen_alias_r): Likewise.
25352 * sysdeps/generic/math-type-macros-float128.h
25353 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25354 * sysdeps/generic/math-type-macros-ldouble.h
25355 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25356 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25357 macro.
25358 (declare_mgen_alias_r_s): Likewise.
25359 (declare_mgen_alias_r): Likewise.
25360 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25361 (lgamma_r): Define using libm_alias_double_r.
25362 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25363 (lgammaf_r): Define using libm_alias_float_r.
25364 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25365 (lgammal_r): Define using libm_alias_ldouble_r.
25366 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25367 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25368
bedac136
AZ
253692017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25370
25371 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25372 extern declaration.
25373
c7509db2
JM
253742017-10-09 Joseph Myers <joseph@codesourcery.com>
25375
25376 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25377
d6c064e9
JW
253782017-10-09 Jonathan Wakely <jwakely@redhat.com>
25379
25380 [BZ #21326]
25381 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25382 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25383 * math/Makefile (test-math-cxx11): New test.
25384 * math/test-math-cxx11.cc: New file.
25385
98e07420
CB
253862017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25387
25388 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25389
645ac9aa
CB
25390 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25391 call to allocate the slave pty file descriptor.
25392
fd3b4e7c
JM
253932017-10-06 Joseph Myers <joseph@codesourcery.com>
25394
f85a176f
JM
25395 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25396 [!__fma] (fma): Define using libm_alias_double.
25397 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25398 [!__fma] (fma): Define using libm_alias_double.
25399
fd3b4e7c
JM
25400 * sysdeps/ieee754/float128/float128_private.h: Include
25401 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25402 (libm_alias_ldouble_r): Undefine and redefine.
25403 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25404 <libm-alias-ldouble.h>.
25405 (asinhl): Define using libm_alias_ldouble.
25406 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25407 <libm-alias-ldouble.h>.
25408 (atanl): Define using libm_alias_ldouble.
25409 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25410 <libm-alias-ldouble.h>.
25411 (cbrtl): Define using libm_alias_ldouble.
25412 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25413 <libm-alias-ldouble.h>.
25414 (ceill): Define using libm_alias_ldouble.
25415 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25416 <libm-alias-ldouble.h>.
25417 (copysignl): Define using libm_alias_ldouble.
25418 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25419 <libm-alias-ldouble.h>.
25420 (cosl): Define using libm_alias_ldouble.
25421 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25422 <libm-alias-ldouble.h>.
25423 (erfl): Define using libm_alias_ldouble.
25424 (erfcl): Likewise.
25425 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25426 <libm-alias-ldouble.h>.
25427 (expm1l): Define using libm_alias_ldouble.
25428 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25429 <libm-alias-ldouble.h>.
25430 (fabsl): Define using libm_alias_ldouble.
25431 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25432 <libm-alias-ldouble.h>.
25433 (floorl): Define using libm_alias_ldouble.
25434 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25435 <libm-alias-ldouble.h>.
25436 (fmal): Define using libm_alias_ldouble.
25437 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25438 <libm-alias-ldouble.h>.
25439 (frexpl): Define using libm_alias_ldouble.
25440 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25441 libm_alias_ldouble.
25442 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25443 <libm-alias-ldouble.h>.
25444 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25445 libm_alias_ldouble.
25446 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25447 <libm-alias-ldouble.h>.
25448 (getpayloadl): Define using libm_alias_ldouble.
25449 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25450 <libm-alias-ldouble.h>.
25451 (llrintl): Define using libm_alias_ldouble.
25452 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25453 <libm-alias-ldouble.h>.
25454 (llroundl): Define using libm_alias_ldouble.
25455 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25456 <libm-alias-ldouble.h>.
25457 (logbl): Define using libm_alias_ldouble.
25458 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25459 <libm-alias-ldouble.h>.
25460 (lrintl): Define using libm_alias_ldouble.
25461 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25462 <libm-alias-ldouble.h>.
25463 (lroundl): Define using libm_alias_ldouble.
25464 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25465 <libm-alias-ldouble.h>.
25466 (modfl): Define using libm_alias_ldouble.
25467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25468 <libm-alias-ldouble.h>.
25469 (nearbyintl): Define using libm_alias_ldouble.
25470 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25471 <libm-alias-ldouble.h>.
25472 (nextafterl): Define using libm_alias_ldouble.
25473 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25474 <libm-alias-ldouble.h>.
25475 (nextupl): Define using libm_alias_ldouble.
25476 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25477 <libm-alias-ldouble.h>.
25478 (remquol): Define using libm_alias_ldouble.
25479 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25480 <libm-alias-ldouble.h>.
25481 (rintl): Define using libm_alias_ldouble.
25482 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25483 <libm-alias-ldouble.h>.
25484 (roundevenl): Define using libm_alias_ldouble.
25485 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25486 <libm-alias-ldouble.h>.
25487 (roundl): Define using libm_alias_ldouble.
25488 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25489 using libm_alias_ldouble.
25490 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25491 <libm-alias-ldouble.h>.
25492 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25493 Define using libm_alias_ldouble.
25494 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25495 <libm-alias-ldouble.h>.
25496 (sincosl): Define using libm_alias_ldouble.
25497 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25498 <libm-alias-ldouble.h>.
25499 (sinl): Define using libm_alias_ldouble.
25500 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25501 <libm-alias-ldouble.h>.
25502 (tanhl): Define using libm_alias_ldouble.
25503 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25504 <libm-alias-ldouble.h>.
25505 (tanl): Define using libm_alias_ldouble.
25506 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25507 <libm-alias-ldouble.h>.
25508 (totalorderl): Define using libm_alias_ldouble.
25509 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25510 <libm-alias-ldouble.h>.
25511 (totalordermagl): Define using libm_alias_ldouble.
25512 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25513 <libm-alias-ldouble.h>.
25514 (truncl): Define using libm_alias_ldouble.
25515 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25516 libm_alias_ldouble.
25517 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25518 libm_alias_ldouble.
25519 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25520 <libm-alias-ldouble.h>.
25521 (weak_alias): Do not undefine and redefine.
25522 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25523 (copysignl): Define with long_double_symbol only if [IS_IN
25524 (libc)].
25525 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25526 <libm-alias-ldouble.h>.
25527 (weak_alias): Do not undefine and redefine.
25528 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25529 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25530 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25531 <libm-alias-ldouble.h>.
25532 (weak_alias): Do not undefine and redefine.
25533 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25534 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25535 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25536 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25539 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25542 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25545 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25552 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25559
1e26d351
CD
255602017-10-06 Carlos O'Donell <carlos@redhat.com>
25561
25562 [BZ #22111]
25563 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25564 (tcache_thread_freeres): Set tcache_shutting_down before
25565 freeing the tcache.
25566 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25567 * malloc/tst-malloc-tcache-leak.c: New file.
25568
d1386762
RS
255692017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25570
25571 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25572 back to powerpc32 file.
25573 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25574 (memrchr): Add __memrchr_power8 to ifunc list.
25575 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25576 extra bytes for unaligned inputs.
25577
6dff1983
JM
255782017-10-06 Joseph Myers <joseph@codesourcery.com>
25579
25580 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25581 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25583 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25585
86f9568a
JM
255862017-10-05 Joseph Myers <joseph@codesourcery.com>
25587
0db0b931
JM
25588 * sysdeps/arm/libm-test-ulps: Update.
25589
86f9568a
JM
25590 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25591 <libm-alias-ldouble.h>.
25592 (asinhl): Define using libm_alias_ldouble.
25593 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25594 <libm-alias-ldouble.h>.
25595 (cbrtl): Define using libm_alias_ldouble.
25596 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25597 <libm-alias-ldouble.h>.
25598 (copysignl): Define using libm_alias_ldouble.
25599 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25600 <libm-alias-ldouble.h>.
25601 (cosl): Define using libm_alias_ldouble.
25602 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25603 <libm-alias-ldouble.h>.
25604 (erfl): Define using libm_alias_ldouble.
25605 (erfcl): Likewise.
25606 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25607 <libm-alias-ldouble.h>.
25608 (fmal): Define using libm_alias_ldouble.
25609 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25610 <libm-alias-ldouble.h>.
25611 (frexpl): Define using libm_alias_ldouble.
25612 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25613 libm_alias_ldouble.
25614 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25615 <libm-alias-ldouble.h>.
25616 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25617 libm_alias_ldouble.
25618 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25619 <libm-alias-ldouble.h>.
25620 (getpayloadl): Define using libm_alias_ldouble.
25621 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25622 <libm-alias-ldouble.h>.
25623 (llrintl): Define using libm_alias_ldouble.
25624 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25625 <libm-alias-ldouble.h>.
25626 (llroundl): Define using libm_alias_ldouble.
25627 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25628 <libm-alias-ldouble.h>.
25629 (lrintl): Define using libm_alias_ldouble.
25630 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25631 <libm-alias-ldouble.h>.
25632 (lroundl): Define using libm_alias_ldouble.
25633 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25634 <libm-alias-ldouble.h>.
25635 (modfl): Define using libm_alias_ldouble.
25636 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25637 <libm-alias-ldouble.h>.
25638 (nextupl): Define using libm_alias_ldouble.
25639 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25640 <libm-alias-ldouble.h>.
25641 (remquol): Define using libm_alias_ldouble.
25642 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25643 <libm-alias-ldouble.h>.
25644 (roundevenl): Define using libm_alias_ldouble.
25645 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25646 <libm-alias-ldouble.h>.
25647 (roundl): Define using libm_alias_ldouble.
25648 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25649 using libm_alias_ldouble.
25650 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25651 <libm-alias-ldouble.h>.
25652 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25653 <libm-alias-ldouble.h>.
25654 (setpayloadsigl): Define using libm_alias_ldouble.
25655 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25656 <libm-alias-ldouble.h>.
25657 (sincosl): Define using libm_alias_ldouble.
25658 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25659 <libm-alias-ldouble.h>.
25660 (sinl): Define using libm_alias_ldouble.
25661 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25662 <libm-alias-ldouble.h>.
25663 (tanhl): Define using libm_alias_ldouble.
25664 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25665 <libm-alias-ldouble.h>.
25666 (tanl): Define using libm_alias_ldouble.
25667 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25668 <libm-alias-ldouble.h>.
25669 (totalorderl): Define using libm_alias_ldouble.
25670 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25671 <libm-alias-ldouble.h>.
25672 (totalordermagl): Define using libm_alias_ldouble.
25673 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25674 libm_alias_ldouble.
25675 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25676 libm_alias_ldouble.
25677
9ec87fd2
SP
256782017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25679
dd5bc7f1
SP
25680 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25681 memmove_falkor.
25682 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25683 (__libc_ifunc_impl_list): Likewise.
25684 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25685 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25686
5bfb0404
SP
25687 * benchtests/bench-memmove-walk.c: New file.
25688 * benchtests/Makefile (string-benchset): Add it.
25689
36bb8edf
SP
25690 * benchtests/bench-memset-walk.c: New file.
25691 * benchtests/Makefile (string-benchset): Add it.
25692
9ec87fd2
SP
25693 * benchtests/bench-memcpy-walk.c: New file.
25694 * benchtests/Makefile (string-benchset): Add it.
25695
1e9522c6
FW
256962017-10-05 Florian Weimer <fweimer@redhat.com>
25697
25698 nscd: Eliminate compilation time dependency in the build output.
25699 * nscd/nscd_stat.c (STATDATA_VERSION)
25700 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25701 (STATDATA_VERSION_FULL): New macro definitions.
25702 (compilation): Remove.
25703 (struct statdata): Adjust version member.
25704 (send_stats): Set version from STATDATA_VERSION_FULL.
25705 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25706
644d3857
JM
257072017-10-05 Joseph Myers <joseph@codesourcery.com>
25708
25709 * configure.ac (--enable-add-ons): Remove option.
25710 (machine): Do not mention add-ons in comment.
25711 (LIBC_PRECONFIGURE): Likewise.
25712 (add_ons): Remove variable and sanity checks and logic to locate
25713 add-ons.
25714 (add_ons_automatic): Remove variable.
25715 (configured_add_ons): Likewise.
25716 (add_ons_sfx): Likewise.
25717 (add_ons_pfx): Likewise.
25718 (add_on_subdirs): Likewise.
25719 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25720 consideration of add-ons in Implies handling.
25721 (sysdeps_add_ons): Likewise.
25722 * configure: Regenerated.
25723 * libidn/configure.ac: Remove.
25724 * libidn/configure: Likewise.
25725 * sysdeps/unix/inet/configure.ac: New file.
25726 * sysdeps/unix/inet/configure: New generated file.
25727 * sysdeps/unix/inet/Subdirs: Add libidn.
25728 * Makeconfig (sysdeps-srcdirs): Remove variable.
25729 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25730 ($(common-objpfx)config.status): Do not depend on add-on files.
25731 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25732 comment.
25733 (all-subdirs): Do not include $(add-on-subdirs).
25734 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25735 * config.make.in (add-ons): Remove variable.
25736 (add-on-subdirs): Likewise.
25737 (sysdeps-add-ons): Likewise.
25738 * manual/Makefile (add-chapters): Remove.
25739 ($(objpfx)texis): Do not depend on $(add-chapters).
25740 (nonexamples): Do not handle $(add-chapters).
25741 (examples): Do not handle $(add-ons).
25742 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25743 libc-texinfo.sh.
25744 * manual/install.texi (Installation): Do not mention add-ons.
25745 (--enable-add-ons): Do not document configure option.
25746 * INSTALL: Regenerated.
25747 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25748 * manual/maint.texi (Hierarchy Conventions): Do not mention
25749 add-ons.
25750 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25751 --enable-add-ons.
25752 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25753 add-ons.
25754 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25755 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25756
19f82f35
AS
257572017-10-05 Andreas Schwab <schwab@suse.de>
25758
25759 [BZ #15142]
25760 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25761 (_IO_flush_all_lockp): Always lock list_all_lock.
25762 (_IO_flush_all_linebuffered): Likewise.
25763 (_IO_unbuffer_all): Likewise.
25764
91e7cf98
FW
257652017-10-05 Florian Weimer <fweimer@redhat.com>
25766
25767 [BZ #15436]
25768 Do not flush stdio streams on abort.
25769 * stdlib/abort.c (fflush): Remove macro definition.
25770 (abort): Remove stages related to stdio flushing.
25771
0c251257
FW
257722017-10-05 Florian Weimer <fweimer@redhat.com>
25773
25774 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25775
7ea59e3e
SL
257762017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25777
25778 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25779
84d0e6f0
FW
257802017-10-05 Florian Weimer <fweimer@redhat.com>
25781
25782 * support/support_format_hostent.c (support_format_hostent): Add
25783 more error information for NETDB_INTERNAL.
25784
ee417882
L
257852017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25786
25787 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25788 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25789 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25790 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25791 AC_DEFINE if multi-arch is enabled.
25792 * sysdeps/i386/configure: Regenerated.
25793
a67029ff
L
257942017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25795
25796 * Makeconfig (+link-static-before-libc): Use
25797 $(DEFAULT-LDFLAGS-$(@F)).
25798 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25799 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25800 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25801
5dba84b3
L
258022017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25803
25804 * elf/Makefile (tests): Add tst-main1.
25805 (modules-names): Add tst-main1mod.
25806 ($(objpfx)tst-main1): New.
25807 (CRT-tst-main1): Likewise.
25808 (LDFLAGS-tst-main1): Likewise.
25809 (LDLIBS-tst-main1): Likewise.
25810 (tst-main1mod.so-no-z-defs): Likewise.
25811 * elf/tst-main1.c: New file.
25812 * elf/tst-main1mod.c: Likewise.
25813
758f1bfa
L
258142017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25815
25816 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25817
7e16a5d1
JM
258182017-10-04 Joseph Myers <joseph@codesourcery.com>
25819
25820 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25821 (fma): Define using libm_alias_double.
25822 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25823 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25824 <math_ldbl_opt.h>.
25825 (fmal): Do not define as compat symbol here.
25826 * sysdeps/alpha/fpu/s_fma.c: New file.
25827
db4f87ba
SN
258282017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25829
25830 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25831
72d13ed1
JM
258322017-10-04 Joseph Myers <joseph@codesourcery.com>
25833
32d372d5
JM
25834 [BZ #22229]
25835 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25836 <math_ldbl_opt.h>
25837 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25838 and libc.
25839 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25840 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25841 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25842 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25844 Include <math_ldbl_opt.h>
25845 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25846 and libc.
25847 (compat_symbol): Undefine and redefine.
25848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25849 <math_ldbl_opt.h>
25850 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25851 (compat_symbol): Undefine and redefine.
25852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25853 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25854 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25855 GLIBC_2_1 for libm.
25856 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25857 GLIBC_2.0 copysignl symbol.
25858 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25859 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25860
72d13ed1
JM
25861 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25862
11c4f501
FW
258632017-10-04 Florian Weimer <fweimer@redhat.com>
25864
25865 * scripts/check-local-headers.sh: Ignore nspr4 header file
25866 directory in addition to nspr.
25867
57b4af19
GT
258682017-10-04 Guido Trentalancia <guido@trentalancia.net>
25869
25870 [BZ #17956]
25871 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25872 * configure: Regenerate.
25873 * crypt/Makefile (nss-cpp-flags): New variable.
25874 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25875 (CPPFLAGS-md5-crypt.c): Use it.
25876 * scripts/check-local-headers.sh: Ignore nspr header file
25877 directory.
25878
64d1e08e
AS
258792017-10-04 Andreas Schwab <schwab@suse.de>
25880
25881 * nis/Makefile (services): Remove compat.
25882 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25883 ($(objpfx)libnss_compat.so): Remove rule.
25884 * nis/Versions (libnss_compat): Remove.
25885 * nss/Makefile (services): Add compat.
25886 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25887 * nss/Versions (libnss_compat): Define.
25888 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25889 Don't include <rpc/types.h>. Replace bool_t by bool.
25890 * nss/nss_compat/compat-initgroups.c: Likewise.
25891 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25892 instead of <rpcsrv/ypclnt.h>.
25893 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25894 yp_get_default_domain.
25895 * nss/nss_compat/compat-pwd.c: Likewise.
25896 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25897 yp_get_default_domain.
25898 * nss/nss_compat/nisdomain.c: New file.
25899 * nss/nss_compat/nisdomain.h: Likewise.
25900
86c27ade
SN
259012017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25902
25903 [BZ #22244]
25904 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25905 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25906
8f8f8ef7
SN
259072017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25908
25909 [BZ #22243]
25910 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25912
95577475
L
259132017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25914
25915 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25916 "movl main@GOTOFF(%ebx), %eax".
25917
02d2d892
L
259182017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25919
25920 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25921 allow undefined _DYNAMIC in PIE libc.a.
25922 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25923 Likewse.
25924
0c609d19
L
259252017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25926
25927 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25928 check _DYNAMIC.
25929
c34a19ed
L
259302017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25931
25932 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25933 check _DYNAMIC.
25934
cdd4155d
L
259352017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25936
25937 * math/test-math-iscanonical.cc (error): Replace bool with int.
25938
4699cb8b
JM
259392017-10-03 Joseph Myers <joseph@codesourcery.com>
25940
d8f619b3
JM
25941 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25942 (modf): Define using libm_alias_double, only if [!__modf].
25943 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25944 <libm-alias-double.h>.
25945 (modf): Define using libm_alias_double, only if [!__modf].
25946 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25947 compat symbol here.
25948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25949 (weak_alias): Do not undefine and redefine.
25950 (strong_alias): Likewise.
25951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25952 (weak_alias): Likewise.
25953 (strong_alias): Likewise.
25954
4699cb8b
JM
25955 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25956 (logb): Define using libm_alias_double, only if [!__logb].
25957 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25958 <libm-alias-double.h>.
25959 (logb): Define using libm_alias_double, only if [!__logb].
25960 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25962 (weak_alias): Do not undefine and redefine.
25963 (strong_alias): Likewise.
25964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25965 (weak_alias): Likewise.
25966 (strong_alias): Likewise.
25967
bcc4e4bb
L
259682017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25969
25970 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25971 Check SHARED instead PIC.
25972
39793865
JM
259732017-10-03 Joseph Myers <joseph@codesourcery.com>
25974
7f1cbdf8
JM
25975 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25976 [!__fmaf] (fmaf): Define using libm_alias_float.
25977
39793865
JM
25978 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25979 (frexp): Define using libm_alias_double.
25980 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25981 <libm-alias-double.h>.
25982 (frexp): Define using libm_alias_double.
25983 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25984 compat symbol here.
25985
aa0235df
GG
259862017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25987
25988 [BZ #22235]
25989 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25990 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25991 (CFLAGS-test-math-iscanonical.cc): New variable.
25992 * math/test-math-iscanonical.cc: New file.
25993 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25994 Provide a C++ implementation based on function overloading,
25995 rather than using __MATH_TG, which uses C-only builtins.
25996 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25997 Likewise.
25998 * sysdeps/powerpc/powerpc64le/Makefile
25999 (CFLAGS-test-math-iscanonical.cc): New variable.
26000
a1132b5e
JM
260012017-10-03 Joseph Myers <joseph@codesourcery.com>
26002
26003 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26004 (ceil): Define using libm_alias_double.
26005 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26006 (floor): Define using libm_alias_double.
26007 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26008 <libm-alias-double.h>.
26009 (llround): Define using libm_alias_double.
26010 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26011 <libm-alias-double.h>.
26012 (lround): Define using libm_alias_double.
26013 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26014 <libm-alias-double.h>.
26015 (nearbyint): Define using libm_alias_double.
26016 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26017 <libm-alias-double.h>.
26018 (remquo): Define using libm_alias_double.
26019 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26020 (rint): Define using libm_alias_double.
26021 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26022 (round): Define using libm_alias_double.
26023 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26024 (trunc): Define using libm_alias_double.
26025 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26026 <libm-alias-double.h>.
26027 (ceil): Define using libm_alias_double.
26028 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26029 <libm-alias-double.h>.
26030 (floor): Define using libm_alias_double.
26031 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26032 <libm-alias-double.h>.
26033 (llround): Define using libm_alias_double.
26034 [_LP64] (lround): Likewise.
26035 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26036 <libm-alias-double.h>.
26037 [!_LP64] (lround): Define using libm_alias_double.
26038 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26039 <libm-alias-double.h>.
26040 (nearbyint): Define using libm_alias_double.
26041 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26042 <libm-alias-double.h>.
26043 (remquo): Define using libm_alias_double.
26044 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26045 <libm-alias-double.h>.
26046 (rint): Define using libm_alias_double.
26047 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26048 <libm-alias-double.h>.
26049 (round): Define using libm_alias_double.
26050 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26051 <libm-alias-double.h>.
26052 (trunc): Define using libm_alias_double.
26053 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26054 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26055 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26056 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26057 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26058 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26059 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26060 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26061 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26062
f275f64e
SN
260632017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26064
26065 * math/w_remainder.c: New file.
26066 * math/w_remainderf.c: New file.
26067 * math/w_remainderl.c: New file.
26068
b8818ab5
L
260692017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26070
26071 * elf/rtld.c (BOOTSTRAP_MAP): New.
26072 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26073 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26074 Likewise.
26075 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26076 Likewise.
26077 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26078 Likewise.
26079
3d1870fa
ST
260802017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26081
26082 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26083 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26084 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26085 rtld_hidden_data_ver): Define to empty.
26086 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26087 __assert_perror_fail): Likewise.
26088 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26089 (__rewinddir): Likewise.
26090 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26091 (__profile_frequency): Likewise.
26092 * include/setjmp.h (__sigsetjmp): Likewise.
26093 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26094 __libc_sigaction): Likewise.
26095 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26096 not set hidden attribute.
26097 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26098 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26099 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26100 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26101 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26102 __fxstatat64): Likewise.
26103 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26104 (__uname): Likewise.
26105 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26106 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26107 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26108 (NO_RTLD_HIDDEN): Set.
26109 * sysdeps/mach/hurd/configure: Refresh.
26110 * config.h.in: Refresh.
26111
527cd19c
JM
261122017-10-02 Joseph Myers <joseph@codesourcery.com>
26113
38722448
JM
26114 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26115 (atan): Define using libm_alias_double.
26116 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26117 (tan): Define using libm_alias_double.
26118 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26119 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26120
527cd19c
JM
26121 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26122 define as weak alias of __atan. Do not define any aliases if
26123 [__atan].
26124 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26125 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26126 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26127 as weak alias of __tan. Do not define any aliases if [__tan].
26128 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26129 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26130 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26131 __atan.
26132 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26133 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26134 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26135 and define as weak alias of __atan.
26136 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26137 __atan.
26138 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26139 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26140 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26141 define as weak alias of __tan.
26142
bdc5c592
SN
261432017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26144
26145 * math/w_lgamma.c: New file.
26146 * math/w_lgammaf.c: New file.
26147 * math/w_lgammal.c: New file.
26148
bd4430c2
SN
261492017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26150
26151 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26152 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26153 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26154 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26155 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26156 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26157 * sysdeps/i386/fpu/w_log2f.c: New file.
26158 * sysdeps/i386/fpu/w_logf.c: New file.
26159 * sysdeps/i386/fpu/w_powf.c: New file.
26160 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26161 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26162 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26163
f7a0b063
SN
261642017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26165 H.J. Lu <hongjiu.lu@intel.com>
26166
26167 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26168 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26169 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26170 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26171 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26172 the new expf code.
26173 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26174 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26175 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26176 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26177 * sysdeps/i386/fpu/w_exp2f.c: New file.
26178 * sysdeps/i386/fpu/w_expf.c: New file.
26179 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26180 * sysdeps/x86_64/fpu/w_expf.c: New file.
26181
72d3d281
SN
261822017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26183
26184 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26185 (log2f): Likewise.
26186 (powf): Likewise.
26187 * math/w_log2f.c: New file.
26188 * math/w_logf.c: New file.
26189 * math/w_powf.c: New file.
26190 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26191 * math/w_logf_compat.c (__logf_compat): Likewise.
26192 * math/w_powf_compat.c (__powf_compat): Likewise.
26193 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26194 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26195 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26196 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26197 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26198 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26199 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26200 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26201 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26202 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26203 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26204 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26205 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26206 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26207 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26209 Likewise.
26210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26211 Likewise.
26212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26213 Likewise.
26214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26215 Likewise.
26216 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26217 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26218 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26219 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26220 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26222 Likewise.
26223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26224 Likewise.
26225 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26226 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26227 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26228
59ba2d2b
RS
262292017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26230
26231 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26232 (sysdep_routines): Add memrchr_power8.
26233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26234 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26235 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26236 New file.
26237 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26238 (memrchr): Add __memrchr_power8 to ifunc list.
26239 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26240
397286ea
L
262412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26242
26243 [BZ #18822]
26244 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26245 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26246 libc_hidden_def.
26247 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26248 (__posix_fallocate64_l64): Likewise.
26249
d0a4512b
L
262502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26251
26252 [BZ #18822]
26253 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26254 (__sched_setaffinity_new): Add libc_hidden_proto and
26255 libc_hidden_def.
26256
c0769f70
L
262572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26258
26259 [BZ #18822]
26260 * include/glob.h (__glob64): Add libc_hidden_proto.
26261 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26262 libc_hidden_def.
26263
0e7d5b6e
L
262642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26265
26266 [BZ #18822]
26267 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26268 attribute_hidden.
26269
bde06c87
L
262702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26271
26272 [BZ #18822]
26273 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26274
fa426590
L
262752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26276
26277 [BZ #18822]
26278 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26279 libc_hidden_def.
26280
2f8a05d8
L
262812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26282
26283 [BZ #18822]
26284 * csu/version.c (__libc_print_version): Add attribute_hidden.
26285
7bfd08ac
L
262862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26287
26288 [BZ #18822]
26289 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26290
0e1fd06c
L
262912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26292
26293 [BZ #18822]
26294 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26295
36e7ae1e
L
262962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26297
26298 [BZ #18822]
26299 * nscd/nscd_helper.c (__nis_hash): New prototype.
26300
87078544
L
263012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26302
26303 [BZ #18822]
26304 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26305 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26306 libc_hidden_def.
26307 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26308 * termios/tcgetattr.c (__tcgetattr): Likewise.
26309
dd3121df
L
263102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26311
26312 [BZ #18822]
26313 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26314 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26315 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26316 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26317 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26318
047d1a81
L
263192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26320
26321 [BZ #18822]
26322 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26323
fd331b11
L
263242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26325
26326 [BZ #18822]
26327 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26328 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26329
57f859bd
L
263302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26331
26332 [BZ #18822]
26333 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26334
d1903329
L
263352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26336
26337 [BZ #18822]
26338 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26339 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26340
b4744101
L
263412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26342
26343 [BZ #18822]
26344 * include/ifreq.h: New file.
26345 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26346 (__ifreq): Likewise.
26347 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26348 (__ifreq): Likewise.
26349
43b7dfd1
L
263502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26351
26352 [BZ #18822]
26353 * include/idna.h: New file.
26354 * inet/getnameinfo.c: Include <idna.h> instead of
26355 <libidn/idna.h>.
26356 (__idna_to_unicode_lzlz): Removed.
26357 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26358 <libidn/idna.h>.
26359 (__idna_to_ascii_lz): Removed.
26360 (__idna_to_unicode_lzlz): Likewise.
26361
2c0cd8f8
L
263622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26363
26364 [BZ #18822]
26365 * include/plural-exp.h: New file.
26366 * intl/plural-exp.c: Include <plural-exp.h> instead of
26367 "plural-exp.h".
26368
8369d216
L
263692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26370
26371 [BZ #18822]
26372 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26373 "getsourcefilter.h".
26374 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26375 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26376 "getsourcefilter.h".
26377 (__get_sol): Removed.
26378
a0aef783
L
263792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26380
26381 [BZ #18822]
26382 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26383 to ...
26384 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26385
3ee8209b
L
263862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26387
26388 [BZ #18822]
26389 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26390 attribute_hidden.
26391
6036fc38
L
263922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26393
26394 [BZ #18822]
26395 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26396
fe84fed0
L
263972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26398
26399 [BZ #18822]
26400 * include/search.h (__tdestroy): Add libc_hidden_proto.
26401 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26402
048dd681
L
264032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26404
26405 [BZ #18822]
26406 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26407
6e342af6
L
264082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26409
26410 [BZ #18822]
26411 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26412 attribute_hidden.
26413
6a088436
L
264142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26415
26416 [BZ #18822]
26417 * include/signal.h (__kill): Add libc_hidden_proto.
26418 (__sigblock): Likewise.
26419 (__sigprocmask): Likewise.
26420 (__sigaltstack): Likewise.
26421 * signal/kill.c (__kill): Add libc_hidden_def.
26422 * signal/sigblock.c (__sigblock): Likewise.
26423 * signal/sigprocmask.c (__sigprocmask): Likewise.
26424 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26425 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26426 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26427 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26428 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26429 Likewise.
26430 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26431 Likewise.
26432 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26433 (__sigprocmask): Likewise.
26434 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26435 Likewise.
26436 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26437 (__sigprocmask): Likewise.
26438 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26439 Likewise.
26440
78cf1d74
L
264412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26442
26443 [BZ #18822]
26444 * include/string.h (__strsep): Add libc_hidden_proto.
26445 * string/strsep.c (__strsep): Add libc_hidden_def.
26446
85b35894
L
264472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26448
26449 [BZ #18822]
26450 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26451 attribute_hidden.
26452 (__spawni): Likewise.
26453
225f7eec
L
264542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26455
26456 [BZ #18822]
26457 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26458 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26459 libc_hidden_def.
26460
372fe247
L
264612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26462
26463 [BZ #18822]
26464 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26465
9e5ee8b8
L
264662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26467
26468 [BZ #18822]
26469 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26470 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26471 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26472 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26473 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26474 Likewise.
26475 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26476 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26477
2ff16592
L
264782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26479
26480 [BZ #18822]
26481 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26482 (__dcigettext): Likewise.
26483
b5648377
L
264842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26485
26486 [BZ #18822]
26487 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26488 libc_hidden_proto.
26489 (__get_nprocs): Likewise.
26490 (__get_phys_pages): Likewise.
26491 (__get_avphys_pages): Likewise.
26492 (__get_child_max): Add attribute_hidden.
26493 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26494 (__get_nprocs): Likewise.
26495 (__get_phys_pages): Likewise.
26496 (__get_avphys_pages): Likewise.
26497 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26498 libc_hidden_def.
26499 (__get_nprocs): Likewise.
26500 (__get_phys_pages): Likewise.
26501 (__get_avphys_pages): Likewise.
26502 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26503 libc_hidden_def.
26504 (__get_nprocs_conf): Likewise.
26505 (__get_phys_pages): Likewise.
26506 (__get_avphys_pages): Likewise.
26507
0389a6aa
L
265082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26509
26510 [BZ #18822]
26511 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26512 attribute_hidden.
26513 (__netlink_close): Likewise.
26514 (__netlink_free_handle): Likewise.
26515 (__netlink_request): Likewise.
26516
d48354d8
L
265172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26518
26519 [BZ #18822]
26520 * include/rpc/rpc.h (__rpc_thread_variables): Add
26521 attribute_hidden.
26522 (__rpc_thread_svc_cleanup): Likewise.
26523 (__rpc_thread_clnt_cleanup): Likewise.
26524 (__rpc_thread_key_cleanup): Likewise.
26525
d6daff12
L
265262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26527
26528 [BZ #18822]
26529 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26530 (__writev): Likewise.
26531 * misc/readv.c (__readv): Add libc_hidden_def.
26532 * misc/writev.c (__writev): Likewise.
26533 * sysdeps/posix/readv.c (__readv): Likewise.
26534 * sysdeps/posix/writev.c (__writev): Likewise.
26535 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26536 (__readv): Likewise.
26537 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26538 (__writev): Likewise.
26539
b68f8620
L
265402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26541
26542 [BZ #18822]
26543 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26544 (__regcomp): Add libc_hidden_proto.
26545 (__regexec): Likewise.
26546 (__regfree): Likewise.
26547 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26548 (__regfree): Likewise.
26549 * posix/regexec.c (__regexec): Likewise.
26550
59c04e67
L
265512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26552
26553 [BZ #18822]
26554 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26555 (__getutent): Likewise.
26556 (__getutid): Likewise.
26557 (__getutline): Likewise.
26558 (__pututline): Likewise.
26559 (__getutent_r): Likewise.
26560 (__getutid_r): Likewise.
26561 (__getutline_r): Likewise.
26562 (__utmpname): Add attribute_hidden.
26563 (__setutent): Likewise.
26564 (__endutent): Likewise.
26565 * login/getutent.c (__getutent): Add libc_hidden_def.
26566 * login/getutent_r.c (__getutent_r): Likewise.
26567 (__pututline): Likewise.
26568 * login/getutid.c (__getutid): Likewise.
26569 * login/getutid_r.c (__getutid_r): Likewise.
26570 * login/getutline.c (__getutline): Likewise.
26571 * login/getutline_r.c (__getutline_r): Likewise.
26572 * login/updwtmp.c (__updwtmp): Likewise.
26573
4587a421
L
265742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26575
26576 [BZ #18822]
26577 * include/dirent.h (__opendir): Always add attribute_hidden.
26578 (__fdopendir): Likewise.
26579 (__closedir): Likewise.
26580 (__readdir): Likewise.
26581 (__readdir64): Add libc_hidden_proto.
26582 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26583 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26584 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26585 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26586 New alias.
26587
9635ce69
L
265882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26589
26590 [BZ #18822]
26591 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26592 * include/netdb.h (__gethostbyaddr_r): Likewise.
26593 (__gethostbyname_r): Likewise.
26594 (__gethostbyname2_r): Likewise.
26595 (__getnetbyaddr_r): Likewise.
26596 (__getnetbyname_r): Likewise.
26597 (__getservbyname_r): Likewise.
26598 (__getservbyport_r): Likewise.
26599 (__getprotobyname_r): Likewise.
26600 (__getprotobynumber_r): Likewise.
26601 (__getnetgrent_r): Likewise.
26602 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26603 (__getrpcbynumber_r): Likewise.
26604 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26605
2e0a6909
L
266062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26607
26608 [BZ #18822]
26609 * include/stdio.h (__fcloseall): Add attribute_hidden.
26610 (__getline): Likewise.
26611 (__path_search): Likewise.
26612 (__gen_tempname): Likewise.
26613 (__libc_message): Likewise.
26614 (__flockfile): Likewise.
26615 (__funlockfile): Likewise.
26616 (__fxprintf): Likewise.
26617 (__fxprintf_nocancel): Likewise.
26618
94fd682c
L
266192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26620
26621 [BZ #18822]
26622 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26623 (__sgetsgent_r): Likewise.
26624
e1b33bba
L
266252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26626
26627 [BZ #18822]
26628 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26629 (__statfs64): Likewise.
26630 (__fstatfs64): Likewise.
26631 * include/sys/statvfs.h (__statvfs64): Likewise.
26632 (__fstatvfs64): Likewise.
26633 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26634 (__statfs_filesize_max): Likewise.
26635 (__statfs_symlinks): Likewise.
26636 (__statfs_chown_restricted): Likewise.
26637
b0f56784
L
266382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26639
26640 [BZ #18822]
26641 * include/time.h (__tzstring): Add attribute_hidden.
26642 (__tzfile_read): Likewise.
26643 (__tzfile_compute): Likewise.
26644 (__tzfile_default): Likewise.
26645 (__tzset_parse_tz): Likewise.
26646 (__offtime): Likewise.
26647 (__asctime_r): Likewise.
26648 (__tzset): Likewise.
26649 (__tz_convert): Likewise.
26650 (__getdate_r): Likewise.
26651 (__getclktck): Likewise.
26652
a4338d99
L
266532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26654
26655 [BZ #18822]
26656 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26657 (__nscd_unmap): Likewise.
26658 (__nscd_cache_search): Likewise.
26659 (__nscd_get_nl_timestamp): Likewise.
26660 (__nscd_getpwnam_r): Likewise.
26661 (__nscd_getpwuid_r): Likewise.
26662 (__nscd_getgrnam_r): Likewise.
26663 (__nscd_getgrgid_r): Likewise.
26664 (__nscd_gethostbyname_r): Likewise.
26665 (__nscd_gethostbyname2_r): Likewise.
26666 (__nscd_gethostbyaddr_r): Likewise.
26667 (__nscd_getai): Likewise.
26668 (__nscd_getgrouplist): Likewise.
26669 (__nscd_getservbyname_r): Likewise.
26670 (__nscd_getservbyport_r): Likewise.
26671 (__nscd_innetgr): Likewise.
26672 (__nscd_setnetgrent): Likewise.
26673
a2ca1652
L
266742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26675
26676 [BZ #18822]
26677 * include/gmp.h: Declare internal functions only if _ISOMAC is
26678 undefined.
26679 (__mpn_extract_double): Add attribute_hidden.
26680 (__mpn_extract_long_double): Likewise.
26681 (__mpn_extract_float128): Likewise.
26682 (__mpn_construct_float): Likewise.
26683 (__mpn_construct_double): Likewise.
26684 (__mpn_construct_long_double): Likewise.
26685 (__mpn_construct_float128): Likewise.
26686 (mpn_add_1): Likewise.
26687 (mpn_addmul_1): Likewise.
26688 (mpn_add_n): Likewise.
26689 (mpn_cmp): Likewise.
26690 (mpn_divrem): Likewise.
26691 (mpn_lshift): Likewise.
26692 (mpn_mul): Likewise.
26693 (mpn_mul_1): Likewise.
26694 (mpn_rshift): Likewise.
26695 (mpn_sub_1): Likewise.
26696 (mpn_submul_1): Likewise.
26697 (mpn_sub_n): Likewise.
26698
44af8a32
L
266992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26700
26701 [BZ #18822]
26702 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26703 (__wcscat): Likewise.
26704 (__btowc): Likewise.
26705 (__wcrtomb): Likewise.
26706 (__mbsrtowcs): Likewise.
26707 (__wcsrtombs): Likewise.
26708 (__mbsnrtowcs): Likewise.
26709 (__wcsnrtombs): Likewise.
26710 (__wcsncpy): Likewise.
26711 (__wcpncpy): Likewise.
26712 (__wmemcpy): Likewise.
26713 (__wmempcpy): Likewise.
26714 (__wmemmove): Likewise.
26715 (__wcschrnul): Likewise.
26716 (__vfwscanf): Likewise.
26717 (__vswprintf): Likewise.
26718 (__fwprintf): Likewise.
26719 (__vfwprintf): Likewise.
26720
783cd767
L
267212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26722
26723 [BZ #18822]
26724 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26725 (__getgrgid_r): Likewise.
26726 (__getgrnam_r): Likewise.
26727 * include/pwd.h (__getpwuid_r): Likewise.
26728 (__getpwnam_r): Likewise.
26729 (__fgetpwent_r): Likewise.
26730 * include/shadow.h (__getspnam_r): Likewise.
26731 (__sgetspent_r): Likewise.
26732 (__fgetspent_r): Likewise.
26733
7ec4b39a
L
267342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26735
26736 [BZ #18822]
26737 * include/unistd.h (__access): Add attribute_hidden.
26738 (__lseek64): Likewise.
26739 (__libc_pread64): Likewise.
26740 (__pipe2): Likewise.
26741 (__sleep): Likewise.
26742 (__chdir): Likewise.
26743 (__fchdir): Likewise.
26744 (__getcwd): Likewise.
26745 (__rmdir): Likewise.
26746 (__execvpe): Likewise.
26747 (__execve): Likewise.
26748 (__setsid): Likewise.
26749 (__getuid): Likewise.
26750 (__geteuid): Likewise.
26751 (__getgid): Likewise.
26752 (__getegid): Likewise.
26753 (__getgroups): Likewise.
26754 (__group_member): Likewise.
26755 (__ttyname_r): Likewise.
26756 (__isatty): Likewise.
26757 (__readlink): Likewise.
26758 (__unlink): Likewise.
26759 (__gethostname): Likewise.
26760 (__profil): Likewise.
26761 (__getdtablesize): Likewise.
26762 (__brk): Likewise.
26763 (__ftruncate): Likewise.
26764 (__ftruncate64): Likewise.
26765
8345a760
L
267662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26767
26768 [BZ #18822]
26769 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26770 * argp/argp-fs-xinl.c: Likewise.
26771 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26772 * argp/argp-parse.c: Include <argp.h>.
26773 * argp/argp-xinl.c: Likewise.
26774 * include/argp-fmtstream.h: New file.
26775 * include/argp.h (__argp_error): Add attribute_hidden.
26776 (__argp_failure): Likewise.
26777 (__argp_input): Likewise.
26778 (__argp_state_help): Likewise.
26779
c26dd7c6
L
267802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26781
26782 [BZ #18822]
26783 * include/wchar.h (____wcstof_l_internal): New prototype.
26784 (____wcstod_l_internal): Likewise.
26785 (____wcstold_l_internal): Likewise.
26786 (____wcstol_l_internal): Likewise.
26787 (____wcstoul_l_internal): Likewise.
26788 (____wcstoll_l_internal): Likewise.
26789 (____wcstoull_l_internal): Likewise.
26790 (____wcstof128_l_internal): Likewise.
26791 * sysdeps/ieee754/float128/wcstof128.c
26792 (____wcstof128_l_internal): Removed.
26793 * sysdeps/ieee754/float128/wcstof128_l.c
26794 (____wcstof128_l_internal): Likewise.
26795 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26796 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26797 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26798 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26799 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26800 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26801 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26802 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26803 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26804 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26805
3aff5644
L
268062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26807
26808 [BZ #18822]
26809 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26810 instead of <sys/statvfs.h>.
26811 (__internal_statvfs): Removed.
26812 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26813 instead of <sys/statvfs.h>.
26814 (__internal_statvfs64): Removed.
26815 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26816 "internal_statvfs.h" instead of <sys/statvfs.h>.
26817 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26818 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26819 instead of <sys/statvfs.h>.
26820 (__internal_statvfs): Removed.
26821 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26822 instead of <sys/statvfs.h>.
26823 (__internal_statvfs64): Removed.
26824
8bcdb7e0
L
268252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26826
26827 [BZ #18822]
26828 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26829 (__gconv_close): Likewise.
26830 (__gconv): Likewise.
26831 (__gconv_find_transform): Likewise.
26832 (__gconv_lookup_cache): Likewise.
26833 (__gconv_compare_alias_cache): Likewise.
26834 (__gconv_load_cache): Likewise.
26835 (__gconv_get_path): Likewise.
26836 (__gconv_close_transform): Likewise.
26837 (__gconv_release_cache): Likewise.
26838 (__gconv_find_shlib): Likewise.
26839 (__gconv_release_shlib): Likewise.
26840 (__gconv_get_builtin_trans): Likewise.
26841 (__gconv_compare_alias): Likewise.
26842 * include/dlfcn.h (_dlerror_run): Likewise.
26843 * include/stdio.h (__fortify_fail_abort): Likewise.
26844 * include/time.h (__tz_compute): Likewise.
26845 (__strptime_internal): Likewise.
26846 * intl/gettextP.h (_nl_find_domain): Likewise.
26847 (_nl_load_domain): Likewise.
26848 (_nl_find_msg): Likewise.
26849 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26850 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26851 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26852 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26853 (__gai_find_request): Likewise.
26854 (__gai_remove_request): Likewise.
26855 (__gai_notify): Likewise.
26856 (__gai_notify_only): Likewise.
26857 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26858 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26859 (_dl_non_dynamic_init): Likewise.
26860 (_dl_aux_init): Likewise.
26861 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26862 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26863 Likewise.
26864 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26865 (__wcsmbs_clone_conv): Likewise.
26866 (__wcsmbs_named_conv): Likewise.
26867
8ed3b643
L
268682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26869
26870 [BZ #18822]
26871 * include/stdlib.h (__random): Add attribute_hidden.
26872 (__random_r): Likewise.
26873 (__srandom_r): Likewise.
26874 (__initstate_r): Likewise.
26875 (__setstate_r): Likewise.
26876 (__erand48_r): Likewise.
26877 (__nrand48_r): Likewise.
26878 (__jrand48_r): Likewise.
26879 (__srand48_r): Likewise.
26880 (__seed48_r): Likewise.
26881 (__lcong48_r): Likewise.
26882 (__drand48_iterate): Likewise.
26883 (__setenv): Likewise.
26884 (__unsetenv): Likewise.
26885 (__clearenv): Likewise.
26886 (__ptsname_r): Likewise.
26887 (__posix_openpt): Likewise.
26888 (__add_to_environ): Likewise.
26889 (__realpath): Add libc_hidden_proto.
26890 (__ecvt_r): Likewise.
26891 (__fcvt_r): Likewise.
26892 (__qecvt_r): Likewise.
26893 (__qfcvt_r): Likewise.
26894 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26895 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26896
ef9b6f73
L
268972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26898
26899 [BZ #18822]
26900 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26901 * include/time.h (__mktime_internal): Likewise.
26902 * libio/iolibio.h (__fopen_internal): Likewise.
26903
8da92e72
JDA
269042017-10-01 John David Anglin <danglin@gcc.gnu.org>
26905
26906 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26907 pointer in frame.
26908 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26909 Correct offset used to restore PIC register.
26910
388784cf
JDA
269112017-09-30 John David Anglin <danglin@gcc.gnu.org>
26912
26913 [BZ libc/22165]
26914 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26915 code to load address of __getcontext_ret when generating PIC code.
26916
2000067a
L
269172017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26918
26919 * elf/Makefile (tests-static-internal): Add
26920 tst-tls1-static-non-pie.
26921 (LDFLAGS-tst-tls1-static-non-pie): New.
26922 * elf/tst-tls1-static-non-pie.c: New file.
26923
1e2bffd0
JM
269242017-09-29 Joseph Myers <joseph@codesourcery.com>
26925
26926 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26927 (asinh): Define using libm_alias_double.
26928 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26929 (cbrt): Define using libm_alias_double.
26930 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26931 <libm-alias-double.h>.
26932 (copysign): Define using libm_alias_double.
26933 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26934 (erf): Define using libm_alias_double.
26935 (erfc): Likewise.
26936 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26937 (expm1): Define using libm_alias_double.
26938 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26939 (fabs): Define using libm_alias_double.
26940 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26941 libm_alias_double.
26942 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26943 <libm-alias-double.h>.
26944 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26945 libm_alias_double.
26946 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26947 <libm-alias-double.h>.
26948 (getpayload): Define using libm_alias_double.
26949 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26950 <libm-alias-double.h>.
26951 (llrint): Define using libm_alias_double.
26952 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26953 (lrint): Define using libm_alias_double.
26954 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26955 <libm-alias-double.h>.
26956 (nextup): Define using libm_alias_double.
26957 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26958 <libm-alias-double.h>.
26959 (roundeven): Define using libm_alias_double.
26960 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26961 libm_alias_double.
26962 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26963 <libm-alias-double.h>.
26964 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26965 using libm_alias_double.
26966 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26967 (cos): Define using libm_alias_double.
26968 (sin): Likewise.
26969 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26970 <libm-alias-double.h>.
26971 (sincos): Define using libm_alias_double.
26972 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26973 (tanh): Define using libm_alias_double.
26974 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26975 <libm-alias-double.h>.
26976 (totalorder): Define using libm_alias_double.
26977 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26978 <libm-alias-double.h>.
26979 (totalordermag): Define using libm_alias_double.
26980 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26981 libm_alias_double.
26982 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26983 libm_alias_double.
26984 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26985 <libm-alias-double.h>.
26986 (getpayload): Define using libm_alias_double.
26987 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26988 <libm-alias-double.h>.
26989 (roundeven): Define using libm_alias_double.
26990 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26991 <libm-alias-double.h>.
26992 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26993 <libm-alias-double.h>.
26994 (totalorder): Define using libm_alias_double.
26995 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26996 <libm-alias-double.h>.
26997 (totalordermag): Define using libm_alias_double.
26998 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26999 libc compat symbol here.
27000 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27001 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27002 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27003 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27004 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27005 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27006 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27007 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27008 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27009 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27010
8172aad9
L
270112017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27012
27013 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27014 _dl_relocate_static_pie instead of _dl_start to compute load
27015 address in static PIE. Return 0 if _DYNAMIC is undefined for
27016 static executable.
27017
54464e74
L
270182017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27019
27020 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27021 _DYNAMIC is undefined for static executable.
27022
f6c5e5bc
L
270232017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27024
27025 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27026
2f92505d
JM
270272017-09-29 Joseph Myers <joseph@codesourcery.com>
27028
27029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27030
bd8d53bb
WD
270312017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27032
27033 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27034 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27035 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27036 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27037 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27038 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27039 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27040 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27041 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27042 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27043 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27044 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27045 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27046 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27047 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27048 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27049 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27050
fffb1507
WD
270512017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27052
27053 * math/bits/cmathcalls.h (cimag): Remove inline.
27054 (creal): Remove inline.
27055 (conj): Remove inline.
27056
4ea49f4c
SN
270572017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27058
27059 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27060 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27061 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27062 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27063 (issignalingf_inline): Likewise.
27064 (POWF_LOG2_TABLE_BITS): Likewise.
27065 (POWF_LOG2_POLY_ORDER): Likewise.
27066 (POWF_SCALE_BITS): Likewise.
27067 (POWF_SCALE): Likewise.
27068 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27069 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27070 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27071
875c76c7
SN
270722017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27073
27074 * math/Makefile (type-float-routines): Add e_log2f_data.
27075 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27076 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27077 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27078 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27079 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27080 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27081 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27082
90c42e40
SN
270832017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27084
27085 * math/Makefile (type-float-routines): Add e_logf_data.
27086 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27087 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27088 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27089 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27090 * sysdeps/i386/fpu/e_logf_data.c: New file.
27091 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27092 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27093
4088d8dd
L
270942017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27095
27096 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27097 undefined _DYNAMIC in PIE libc.a.
27098 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27099 Likewse.
27100
4d3693ec
WD
271012017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27102
27103 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27104 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27105 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27106 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27107 (__signbit): Remove.
27108 (__signbitl): Remove.
27109 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27110 (__signbit): Remove.
27111 (__signbitl): Remove.
27112 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27113 (__signbit): Remove.
27114 (__signbitl): Remove.
27115 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27116 (__signbit): Remove.
27117 (__signbitl): Remove.
27118 * sysdeps/tile/bits/mathinline.h: Delete file.
27119 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27120 (__signbit): Remove.
27121 (__signbitl): Remove.
27122
1e6d0723
WD
271232017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27124
27125 * math/math.h: Improve handling of C99 isgreater macros.
27126 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27127 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27128 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27129 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27130 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27131
b2f03cf3
SN
271322017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27133
27134 * sysdeps/aarch64/libm-test-ulps: Update.
27135
f124cb38
JM
271362017-09-28 Joseph Myers <joseph@codesourcery.com>
27137
27138 [BZ #22225]
27139 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27140 math_opt_barrier on argument when doing arithmetic on it.
27141 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27142 Likewise. Use math_force_eval not math_opt_barrier after
27143 arithmetic.
27144 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27145 math_opt_barrier on argument when doing arithmetic on it.
27146 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27147 Likewise.
27148
7edd0691
L
271492017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27150
27151 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27152 libc_hidden_def.
27153 (__freeifaddrs): Likewise.
27154
2c7bbfaf
ST
271552017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27156
27157 * include/dirent.h (__dirfd): New declaration.
27158 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27159 alias.
27160 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27161 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27162 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
27163 * include/unistd.h (__revoke): New declaration.
27164 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27165 alias.
27166 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27167 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27168 revoke.
64a4af28
ST
27169 * include/dirent.h (__seekdir): New declaration.
27170 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27171 redefine as weak alias.
27172 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27173 of seekdir.
4009ddc6
ST
27174 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27175 and use libc_hidden_def on them.
27176 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27177 them.
27178 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27179 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27180 instead of getifaddrs and freeifaddrs.
2c7bbfaf 27181
825adeee
L
271822017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27183
27184 [BZ #18822]
27185 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27186 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27187 (__dso_handle): Remove declaration.
27188 * dlfcn/tstatexit.c (__dso_handle): Removed.
27189 (main): Don't check __dso_handle.
27190 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27191 (main): Don't check __dso_handle.
27192 * include/dso_handle.h: New file.
27193 * malloc/mtrace.c: Include <dso_handle.h>.
27194 (mtrace): Pass __dso_handle directly.
27195 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27196 (__dso_handle): Remove declaration.
27197 (__pthread_atfork): Pass __dso_handle directly.
27198 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27199 (__dso_handle): Removed.
27200 * posix/wordexp-test.c: Include <dso_handle.h>.
27201 (__dso_handle): Remove declaration.
27202 (__app_register_atfork): Pass __dso_handle directly.
27203 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27204 (__dso_handle): Remove declaration.
27205 (at_quick_exit): Pass __dso_handle directly.
27206 * stdlib/atexit.c: Include <dso_handle.h>.
27207 (__dso_handle): Remove declaration.
27208 (atexit): Pass __dso_handle directly.
27209 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27210 (__dso_handle): Removed.
27211
bfb0deb3
JM
272122017-09-26 Joseph Myers <joseph@codesourcery.com>
27213
27214 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27215 using VDSO.
27216
cebcb9f8
AM
272172017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27218
27219 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27220 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27221 values to correct default value for given type.
27222
592d5c75
L
272232017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27224
27225 [BZ #22101]
27226 * elf/Makefile (tests): Add tst-debug1.
27227 ($(objpfx)tst-debug1): New.
27228 ($(objpfx)tst-debug1.out): Likewise.
27229 ($(objpfx)tst-debug1mod1.so): Likewise.
27230 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27231 with p_filesz == 0.
27232 * elf/tst-debug1.c: New file.
27233
2d9193f2
JM
272342017-09-26 Joseph Myers <joseph@codesourcery.com>
27235
27236 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27237 Define using __ifunc.
27238
4c5a7a02
TMQMF
272392017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27240
27241 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27242 exp2f() values.
27243
12ef66c4
JM
272442017-09-26 Joseph Myers <joseph@codesourcery.com>
27245
27246 [BZ #22156]
27247 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27248
44dade71
FW
272492017-09-26 Florian Weimer <fweimer@redhat.com>
27250
27251 * resolv/Makefile (tests-internal): Fix typo in comment.
27252
eaca16f1
FW
272532017-09-26 Florian Weimer <fweimer@redhat.com>
27254
27255 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27256
ccf970c7
AZ
272572017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27258
5f9f31ad
AZ
27259 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27260 Use an union instead of a max_align_t array for __space,
27261 so that __space is the same size on all platforms.
27262 * malloc/scratch_buffer_grow_preserve.c
27263 (__libc_scratch_buffer_grow_preserve): Likewise.
27264
ccf970c7
AZ
27265 [BZ #22183]
27266 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27267 version to 2.
27268 * posix/Makefile (routines): Add glob-lstat-compat and
27269 glob64-lstat-compat.
27270 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27271 * posix/glob-lstat-compat.c: New file.
27272 * posix/glob64-lstat-compat.c: Likewise.
27273 * posix/tst-glob_lstat_compat.c: Likewise.
27274 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27275 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27276 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27277 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27278 Likewise.
27279 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27280 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27281 * posix/glob.c (glob_lstat): New function.
27282 (glob): Rename to __glob and add versioned symbol to 2.27.
27283 (glob_in_dir): Use glob_lstat.
27284 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27285 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27286 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27287 2.27.
27288 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27289 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27290 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27291 gl_lstat on glob call.
27292 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27293 and glob64 symbols.
27294 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27295 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27296 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27297 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27298 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27299 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27300 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27301 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27302 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27303 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27304 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27305 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27307 Likewise.
27308 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27310 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27311 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27312 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27313 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27314 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27317 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27318 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27319 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27320
b4396163
L
273212017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27322
27323 * configure.ac (AS): Require binutils 2.25 or later.
27324 * configure: Regenerated.
27325
8f834987
PP
273262017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27327
27328 [BZ #22207]
27329 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27330 VM size.
27331
3de93d19
DD
273322017-09-25 DJ Delorie <dj@redhat.com>
27333
27334 [BZ #22161]
27335 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27336 resetting timeout.
27337
9947638d
SL
273382017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27339
27340 * sysdeps/ieee754/dbl-64/sincos32.h
27341 [SINCCOS32_H]: Remove define.
27342 [SINCOS32_H]: Define.
27343
f5f0f526
SN
273442017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27345
27346 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27347 (exp2f): Likewise.
27348 * math/w_exp2f.c: New file.
27349 * math/w_expf.c: New file.
27350 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27351 * math/w_expf_compat.c (__expf_compat): Likewise.
27352 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27353 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27354 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27355 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27356 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27357 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27358 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27359 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27360 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27361 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27362 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27363 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27364 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27365 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27367 Likewise.
27368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27369 Likewise.
27370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27371 Likewise.
27372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27373 Likewise.
27374 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27375 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27376 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27377 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27378 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27380 Likewise.
27381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27382 Likewise.
27383 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27384 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27385 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27386
72aa6233
SN
273872017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27388
27389 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27390 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27391 (roundtoint, converttoint): Likewise.
27392 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27393 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27394 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27395 * sysdeps/ieee754/flt-32/math_config.h: New file.
27396 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27397 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27398 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27399 * sysdeps/i386/fpu/math_errf.c: New file.
27400 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27401 * sysdeps/ia64/fpu/math_errf.c: New file.
27402 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27403 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27404
5e6f3253
ST
274052017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27406
27407 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27408 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27409 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27410 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27411 to make sure that these symbols are defined.
b38a42a0
ST
27412 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27413 of <limits.h>
27414 (__need_NULL): Do not define.
27415 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27416 alignment.
27417 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27418 CMGROUP_MAX, cmsgcred): Do not define.
27419 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27420 NULL.
27421 * bits/socket.h: Likewise.
fcafcd16
ST
27422 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27423 __gettimeofday instead of gettimeofday.
27424 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27425 instead of settimeofday.
5e6f3253 27426
2f49ce7d
JM
274272017-09-22 Joseph Myers <joseph@codesourcery.com>
27428
27429 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27430 (asinhf): Define using libm_alias_float.
27431 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27432 (atanf): Define using libm_alias_float.
27433 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27434 (cbrtf): Define using libm_alias_float.
27435 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27436 (ceilf): Define using libm_alias_float.
27437 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27438 <libm-alias-float.h>.
27439 (copysignf): Define using libm_alias_float.
27440 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27441 (cosf): Define using libm_alias_float.
27442 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27443 (erff): Define using libm_alias_float.
27444 (erfcf): Likewise.
27445 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27446 (expm1f): Define using libm_alias_float.
27447 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27448 (fabsf): Define using libm_alias_float.
27449 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27450 (floorf): Define using libm_alias_float.
27451 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27452 (frexpf): Define using libm_alias_float.
27453 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27454 libm_alias_float.
27455 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27456 <libm-alias-float.h>.
27457 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27458 libm_alias_float.
27459 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27460 <libm-alias-float.h>.
27461 (getpayloadf): Define using libm_alias_float.
27462 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27463 <libm-alias-float.h>.
27464 (llrintf): Define using libm_alias_float.
27465 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27466 <libm-alias-float.h>.
27467 (llroundf): Define using libm_alias_float.
27468 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27469 (logbf): Define using libm_alias_float.
27470 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27471 (lrintf): Define using libm_alias_float.
27472 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27473 (lroundf): Define using libm_alias_float.
27474 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27475 (modff): Define using libm_alias_float.
27476 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27477 <libm-alias-float.h>.
27478 (nearbyintf): Define using libm_alias_float.
27479 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27480 <libm-alias-float.h>.
27481 (nextafterf): Define using libm_alias_float.
27482 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27483 <libm-alias-float.h>.
27484 (nextupf): Define using libm_alias_float.
27485 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27486 <libm-alias-float.h>.
27487 (remquof): Define using libm_alias_float.
27488 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27489 (rintf): Define using libm_alias_float.
27490 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27491 <libm-alias-float.h>.
27492 (roundevenf): Define using libm_alias_float.
27493 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27494 (roundf): Define using libm_alias_float.
27495 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27496 using libm_alias_float.
27497 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27498 <libm-alias-float.h>.
27499 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27500 Define using libm_alias_float.
27501 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27502 <libm-alias-float.h>.
27503 (sincosf): Define using libm_alias_float.
27504 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27505 (sinf): Define using libm_alias_float.
27506 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27507 (tanf): Define using libm_alias_float.
27508 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27509 (tanhf): Define using libm_alias_float.
27510 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27511 <libm-alias-float.h>.
27512 (totalorderf): Define using libm_alias_float.
27513 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27514 <libm-alias-float.h>.
27515 (totalordermagf): Define using libm_alias_float.
27516 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27517 (truncf): Define using libm_alias_float.
27518 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27519 libm_alias_float.
27520 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27521 libm_alias_float.
27522
c5c4a626
GG
275232017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27524
27525 [BZ #22146]
27526 math/math.h: Let fpclassify use the builtin in C++ mode, even
27527 when optimazing for size.
27528
23947846
JM
275292017-09-22 Joseph Myers <joseph@codesourcery.com>
27530
27531 * csu/Makefile (generated): Do not add version-info.h.
27532 (before-compile): Likewise.
27533 (all-Banner-files): Remove variable.
27534 ($(objpfx)version-info.h): Remove rule.
27535 * csu/version.c (banner): Do not include "version-info.h".
27536 * libidn/Banner: Remove.
27537 * manual/contrib.texi (Simon Josefsson): New entry.
27538
9ac3c682
GG
275392017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27540
27541 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27542 Remove conditionals on LDBL_MANT_DIG.
27543 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27544 (__ieee754_lgammal_r): Likewise.
27545
d2f0ed09
GG
275462017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27547
27548 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27549 _Float128 and L().
27550 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27551 _Float128 and L(). Replace _Float128 with long double and L(x)
27552 with xL, throughout the file.
27553 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27554 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27555 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27556 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27557
c5c2e667
GG
275582017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27559
27560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27561 sysdeps/ieee754/ldbl-128ibm.
27562 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27563 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27564 of including it. Keep _Float128 and L() intact. These will be
27565 reviewed by a separate patch.
27566 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27567 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27568 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27569 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27570
e010deb2
GG
275712017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27572
27573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27574 (__finitef128): Define to __redirect___finitef128.
27575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27576 (__isinff128): Define to __redirect___isinff128.
27577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27578 (__isnanf128): Define to __redirect___isnanf128.
27579
ffa44804
GG
275802017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27581
27582 * sysdeps/powerpc/powerpc64le/Makefile
27583 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27584 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27585
e5e4d7cc
PP
275862017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27587 Carlos O'Donell <carlos@redhat.com>
27588
27589 [BZ #22180]
27590 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27591 * stdlib/test-dlclose-exit-race.c: New file.
27592 * stdlib/test-dlclose-exit-race-helper.c: New file.
27593 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27594
c10c5267
JM
275952017-09-21 Joseph Myers <joseph@codesourcery.com>
27596
27597 * crypt/Banner: Remove file.
27598 * nptl/Banner: Likewise.
27599 * resolv/Banner: Likewise.
27600 * soft-fp/Banner: Likewise.
27601 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27602 ($(objpfx)version.d): Remove dependency on banner.h.
27603 ($(objpfx)version.os): Likewise.
27604 * nptl/version.c (banner): Do not include banner.h.
27605 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27606 Jelinek and BIND code.
27607
1cc9e59a
PP
276082017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27609 Carlos O'Donell <carlos@redhat.com>
27610
27611 * support/xdlfcn.h: New file.
27612 * support/xdlfcn.c: New file.
27613 * support/Makefile (libsupport-routines): Add xdlfcn.
27614 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27615
ae8372d7
JM
276162017-09-20 Joseph Myers <joseph@codesourcery.com>
27617
27618 [BZ #20142]
27619 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27620 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27621 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27622 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27623 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27624 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27625 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27626 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27627
26e70aec
PP
276282017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27629 Ricky Zhou <rickyz@google.com>
27630 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27631
27632 [BZ #14333]
27633 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27634 Remove atomics.
27635 (__new_exitfn): Fail registration when we finished at_exit processing.
27636 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27637 * stdlib/on_exit.c (__on_exit): Likewise.
27638 * stdlib/exit.c (__exit_funcs_done): New variable.
27639 (__run_exit_handlers): Use __exit_funcs_lock.
27640 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27641 declarations.
27642 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27643 (test-cxa_atexit-race, test-on_exit-race): New tests.
27644 * stdlib/test-atexit-race-common.c: New file.
27645 * stdlib/test-atexit-race.c: New file.
27646 * stdlib/test-at_quick_exit-race.c: New file.
27647 * stdlib/test-cxa_atexit-race.c: New file.
27648 * stdlib/test-on_exit-race.c: New file.
27649
0525ce48
SN
276502017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27651
27652 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27653 * benchtests/exp2f-inputs: Copy of expf-inputs.
27654 * benchtests/log2f-inputs: Copy of logf-inputs.
27655
d82468d1
JM
276562017-09-19 Joseph Myers <joseph@codesourcery.com>
27657
27658 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27659 Explicitly take address of first element of array arguments in
27660 call to INLINE_SYSCALL.
27661
43ffc53a
AS
276622017-09-19 Andreas Schwab <schwab@suse.de>
27663
27664 [BZ #22134]
27665 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27666 execveat first.
27667 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27668 unimplemented.
27669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27670 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27671 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27672 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27673 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27674 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27675 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27676 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27677 * posix/Makefile (tests): Add tst-fexecve.
27678 * posix/tst-fexecve.c: New file.
27679
a5dcc87e
WD
276802017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27681
27682 * benchtests/Makefile: Add logf benchmark.
27683 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27684
7024d544
WD
276852017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27686
27687 * benchtests/Makefile: Add expf benchmark.
27688 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27689
ca3a382e
WD
276902017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27691
27692 * csu/Makefile: Add -funwind-tables to libc-start.c.
27693 * debug/Makefile: Add -funwind-tables to backtrace.c.
27694 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27695 * sysdeps/arm/Makefile: Likewise.
27696 * sysdeps/i386/Makefile: Likewise.
27697 * sysdeps/m68k/Makefile: Likewise.
27698 * sysdeps/mips/Makefile: Likewise.
27699 * sysdeps/nios2/Makefile: Likewise.
27700 * sysdeps/sh/Makefile: Likewise.
27701 * sysdeps/sparc/Makefile: Likewise.
27702
eb375def
JM
277032017-09-19 Joseph Myers <joseph@codesourcery.com>
27704
27705 * benchtests/Makefile (bench-math): Add trunc and truncf.
27706 (CFLAGS-bench-trunc.c): New variable.
27707 (CFLAGS-bench-truncf.c): Likewise.
27708 * benchtests/trunc-inputs: New file.
27709 * benchtests/truncf-inputs: Likewise.
27710
bd17ba29
RS
277112017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27712
27713 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27714
92892fdb
JM
277152017-09-18 Joseph Myers <joseph@codesourcery.com>
27716
6d9b0b5a
JM
27717 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27718 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27719 redefine.
27720 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27721 (exp10l): Define as weak alias.
27722 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27723 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27724 and redefine.
27725 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27726 (remainderl): Define as weak alias.
27727
92892fdb
JM
27728 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27729 (fmal): Define using libm_alias_ldouble.
27730 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27731 (acoshl): Define using libm_alias_ldouble.
27732 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27733 (acosl): Define using libm_alias_ldouble.
27734 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27735 (asinl): Define using libm_alias_ldouble.
27736 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27737 (atan2l): Define using libm_alias_ldouble.
27738 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27739 (atanhl): Define using libm_alias_ldouble.
27740 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27741 (coshl): Define using libm_alias_ldouble.
27742 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27743 (exp10l): Define using libm_alias_ldouble.
27744 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27745 (exp2l): Define using libm_alias_ldouble.
27746 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27747 (expl): Define using libm_alias_ldouble.
27748 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27749 (fmodl): Define using libm_alias_ldouble.
27750 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27751 (hypotl): Define using libm_alias_ldouble.
27752 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27753 (j0l): Define using libm_alias_ldouble.
27754 (y0l): Likewise.
27755 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27756 (j1l): Define using libm_alias_ldouble.
27757 (y1l): Likewise.
27758 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27759 (jnl): Define using libm_alias_ldouble.
27760 (ynl): Likewise.
27761 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27762 (log10l): Define using libm_alias_ldouble.
27763 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27764 (log2l): Define using libm_alias_ldouble.
27765 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27766 (logl): Define using libm_alias_ldouble.
27767 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27768 (powl): Define using libm_alias_ldouble.
27769 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27770 (remainderl): Define using libm_alias_ldouble.
27771 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27772 (sinhl): Define using libm_alias_ldouble.
27773 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27774 (sqrtl): Define using libm_alias_ldouble.
27775 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27776 (tgammal): Define using libm_alias_ldouble.
27777 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27778 (exp10l): Do not use long_double_symbol here.
27779 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27780 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27781 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27782 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27783 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27784 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27785 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27786 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27787 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27788 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27789 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27790 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27791 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27792 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27793 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27794 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27795 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27796 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27797 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27798 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27799 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27800 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27801
6cd380dd
WB
278022017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27803
27804 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27805 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27806
1c6d89e9
ST
278072017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27808
27809 * io/read.c (read): Add libc_hidden_weak.
27810 * sysdeps/mach/hurd/read.c (read): Likewise.
27811 * io/write.c (write): Likewise.
27812 * sysdeps/mach/hurd/write.c (write): Likewise.
27813 * io/pread64.c (__pread64): Likewise.
27814 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27815 * posix/pread64.c (__pread64): Add libc_hidden_def.
27816
06b1de23
SP
278172017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27818
140647ea
SP
27819 * benchtests/scripts/compare_strings.py: New option -g.
27820 (draw_graph): Print a message that a graph is being generated.
27821 (process_results): Generate graph only if -g is passed.
27822 (main): Process option -g.
27823
5a6547b7
SP
27824 * benchtests/scripts/compare_strings.py (process_results):
27825 Better spacing for output.
27826
06b1de23
SP
27827 * benchtests/scripts/compare_strings.py: Use argparse.
27828 * benchtests/README: Document existence of compare_strings.py.
27829
c67a2328
JM
278302017-09-15 Joseph Myers <joseph@codesourcery.com>
27831
9ac44708
JM
27832 * math/s_fma.c: Include <libm-alias-double.h>.
27833 (fma): Define using libm_alias_double.
27834 * math/s_nextafter.c: Include <libm-alias-double.h>.
27835 (nextafter): Define using libm_alias_double.
27836 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27837 (acos): Define using libm_alias_double.
27838 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27839 (aocsh): Define using libm_alias_double.
27840 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27841 (asin): Define using libm_alias_double.
27842 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27843 (atan2): Define using libm_alias_double.
27844 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27845 (atanh): Define using libm_alias_double.
27846 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27847 (cosh): Define using libm_alias_double.
27848 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27849 (exp10): Define using libm_alias_double.
27850 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27851 (exp2): Define using libm_alias_double.
27852 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27853 (exp): Define using libm_alias_double.
27854 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27855 (fmod): Define using libm_alias_double.
27856 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27857 (hypot): Define using libm_alias_double.
27858 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27859 (j0): Define using libm_alias_double.
27860 (y0): Likewise.
27861 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27862 (j1): Define using libm_alias_double.
27863 (y1): Likewise.
27864 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27865 (jn): Define using libm_alias_double.
27866 (yn): Likewise.
27867 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27868 (log10): Define using libm_alias_double.
27869 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27870 (log2): Define using libm_alias_double.
27871 * math/w_log_compat.c: Include <libm-alias-double.h>.
27872 (log): Define using libm_alias_double.
27873 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27874 (pow): Define using libm_alias_double.
27875 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27876 (remainder): Define using libm_alias_double.
27877 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27878 (sinh): Define using libm_alias_double.
27879 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27880 (sqrt): Define using libm_alias_double.
27881 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27882 (tgamma): Define using libm_alias_double.
27883 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27884 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27885 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27886 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27887 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27888 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27889 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27890 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27891 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27892 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27893 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27894 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27895 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27896 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27897 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27898 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27899 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27900 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27901 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27902 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27903 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27904 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27905 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27906 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27907 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27908
c67a2328
JM
27909 * math/e_acoshl.c: Remove.
27910 * math/e_acosl.c: Likewise.
27911 * math/e_asinl.c: Likewise.
27912 * math/e_atan2l.c: Likewise.
27913 * math/e_atanhl.c: Likewise.
27914 * math/e_coshl.c: Likewise.
27915 * math/e_expl.c: Likewise.
27916 * math/e_fmodl.c: Likewise.
27917 * math/e_gammal_r.c: Likewise.
27918 * math/e_hypotl.c: Likewise.
27919 * math/e_j0l.c: Likewise.
27920 * math/e_j1l.c: Likewise.
27921 * math/e_jnl.c: Likewise.
27922 * math/e_lgammal_r.c: Likewise.
27923 * math/e_log10l.c: Likewise.
27924 * math/e_log2l.c: Likewise.
27925 * math/e_logl.c: Likewise.
27926 * math/e_powl.c: Likewise.
27927 * math/e_rem_pio2l.c: Likewise.
27928 * math/e_sinhl.c: Likewise.
27929 * math/e_sqrtf128.c: Likewise.
27930 * math/e_sqrtl.c: Likewise.
27931 * math/k_cosl.c: Likewise.
27932 * math/k_sinl.c: Likewise.
27933 * math/k_tanl.c: Likewise.
27934 * math/s_asinhl.c: Likewise.
27935 * math/s_atanl.c: Likewise.
27936 * math/s_cbrtl.c: Likewise.
27937 * math/s_erfl.c: Likewise.
27938 * math/s_expm1l.c: Likewise.
27939 * math/s_log1pl.c: Likewise.
27940 * math/s_tanhl.c: Likewise.
27941
61c45f25
TMQMF
279422017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27943
27944 [BZ #21745]
27945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27946 [$(subdir) = math] (sysdep_calls): New variable. Has the
27947 previous contents of sysdep_routines, but re-sorted..
27948 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27949 sysdep_calls.
27950 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27951 defined in sysdep_calls and replace by the respective m_* names.
27952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27953 (compat_symbol): Undefine to avoid duplicated compat symbols in
27954 libc.
27955
5bcdb315
JM
279562017-09-15 Joseph Myers <joseph@codesourcery.com>
27957
27958 * math/s_fmaf.c: Include <libm-alias-float.h>.
27959 (fmaf): Define using libm_alias_float.
27960 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27961 (acosf): Define using libm_alias_float.
27962 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27963 (acoshf): Define using libm_alias_float.
27964 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27965 (asinf): Define using libm_alias_float.
27966 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27967 (atan2f): Define using libm_alias_float.
27968 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27969 (atanhf): Define using libm_alias_float.
27970 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27971 (coshf): Define using libm_alias_float.
27972 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27973 (exp10f): Define using libm_alias_float.
27974 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27975 (fmodf): Define using libm_alias_float.
27976 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27977 (hypotf): Define using libm_alias_float.
27978 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27979 (j0f): Define using libm_alias_float.
27980 (y0f): Likewise.
27981 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27982 (j1f): Define using libm_alias_float.
27983 (y1f): Likewise.
27984 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27985 (jnf): Define using libm_alias_float.
27986 (ynf): Likewise.
27987 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27988 (log10f): Define using libm_alias_float.
27989 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27990 (log2f): Define using libm_alias_float.
27991 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27992 (logf): Define using libm_alias_float.
27993 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27994 (powf): Define using libm_alias_float.
27995 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27996 (remainderf): Define using libm_alias_float.
27997 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27998 (sinhf): Define using libm_alias_float.
27999 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28000 (sqrtf): Define using libm_alias_float.
28001 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28002 (tgammaf): Define using libm_alias_float.
28003
01f28812
JM
280042017-09-14 Joseph Myers <joseph@codesourcery.com>
28005
28006 * include/math.h (roundeven): Change hidden_proto call to
28007 __roundeven.
28008 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28009 alias.
28010 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28011 (y0): Rename to __y0 and define as weak alias.
28012 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28013 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28014 alias.
28015 (y0f): Rename to __y0f and define as weak alias.
28016 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28017 alias.
28018 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28019 (y1): Rename to __y1 and define as weak alias.
28020 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28021 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28022 alias.
28023 (y1f): Rename to __y1f and define as weak alias.
28024 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28025 alias.
28026 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28027 (yn): Rename to __yn and define as weak alias.
28028 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28029 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28030 alias.
28031 (ynf): Rename to __ynf and define as weak alias.
28032 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28033 (fromfp): Define as weak alias.
28034 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28035 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28036 (fromfpx): Define as weak alias.
28037 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28038 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28039 __getpayload and define as weak alias.
28040 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28041 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28042 __roundeven and define as weak alias.
28043 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28044 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28045 __setpayload.
28046 (setpayload): Define as weak alias.
28047 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28048 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28049 __setpayloadsig.
28050 (setpayloadsig): Define as weak alias.
28051 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28052 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28053 __totalorder and define as weak alias.
28054 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28055 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28056 to __totalordermag and define as weak alias.
28057 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28058 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28059 (ufromfp): Define as weak alias.
28060 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28061 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28062 __ufromfpx.
28063 (ufromfpx): Define as weak alias.
28064 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28065 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28066 Rename to __getpayload and define as weak alias.
28067 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28068 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28069 Rename to __roundeven and define as weak alias.
28070 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28071 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28072 Rename to __totalorder and define as weak alias.
28073 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28074 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28075 (totalordermag): Rename to __totalordermag and define as weak
28076 alias.
28077 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28078 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28079 macro.
28080 (__roundevenl): Likewise.
28081 (__totalorderl): Likewise.
28082 (__totalordermagl): Likewise
28083 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28084 __fromfpf128.
28085 (fromfpf128): Define as weak alias.
28086 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28087 __fromfpxf128.
28088 (fromfpxf128): Define as weak alias.
28089 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28090 __setpayloadf128.
28091 (setpayloadf128): Define as weak alias.
28092 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28093 __setpayloadsigf128.
28094 (setpayloadsigf128): Define as weak alias.
28095 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28096 __ufromfpf128.
28097 (ufromfpf128): Define as weak alias.
28098 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28099 __ufromfpxf128.
28100 (ufromfpxf128): Define as weak alias.
28101 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28102 (fromfpf): Define as weak alias.
28103 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28104 __fromfpxf.
28105 (fromfpxf): Define as weak alias.
28106 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28107 __getpayloadf and define as weak alias.
28108 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28109 __roundevenf and define as weak alias.
28110 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28111 __setpayloadf.
28112 (setpayloadf): Define as weak alias.
28113 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28114 __setpayloadsigf.
28115 (setpayloadsigf): Define as weak alias.
28116 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28117 __totalorderf and define as weak alias.
28118 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28119 Rename to __totalordermagf and define as weak alias.
28120 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28121 __ufromfpf.
28122 (ufromfpf): Define as weak alias.
28123 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28124 __ufromfpxf.
28125 (ufromfpxf): Define as weak alias.
28126 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28127 __fromfpl.
28128 (fromfpl): Define as weak alias.
28129 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28130 __fromfpxl.
28131 (fromfpxl): Define as weak alias.
28132 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28133 to __getpayloadl and define as weak alias.
28134 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28135 __roundevenl and define as weak alias.
28136 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28137 __setpayloadl.
28138 (setpayloadl): Define as weak alias.
28139 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28140 __setpayloadsigl.
28141 (setpayloadsigl): Define as weak alias.
28142 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28143 to __totalorderl and define as weak alias.
28144 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28145 Rename to __totalordermagl and define as weak alias.
28146 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28147 __ufromfpl.
28148 (ufromfpl): Define as weak alias.
28149 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28150 __ufromfpxl.
28151 (ufromfpxl): Define as weak alias.
28152 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28153 __fromfpl.
28154 (fromfpl): Define as weak alias.
28155 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28156 __fromfpxl.
28157 (fromfpxl): Define as weak alias.
28158 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28159 Rename to __getpayloadl and define as weak alias.
28160 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28161 to __roundevenl and define as weak alias. Call __roundeven
28162 instead of roundeven.
28163 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28164 __setpayloadl.
28165 (setpayloadl): Define as weak alias.
28166 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28167 __setpayloadsigl.
28168 (setpayloadsigl): Define as weak alias.
28169 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28170 Rename to __totalorderl and define as weak alias.
28171 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28172 Rename to __totalordermagl and define as weak alias.
28173 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28174 __ufromfpl.
28175 (ufromfpl): Define as weak alias.
28176 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28177 __ufromfpxl.
28178 (ufromfpxl): Define as weak alias.
28179 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28180 __fromfpl.
28181 (fromfpl): Define as weak alias.
28182 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28183 __fromfpxl.
28184 (fromfpxl): Define as weak alias.
28185 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28186 __getpayloadl and define as weak alias.
28187 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28188 __roundevenl and define as weak alias.
28189 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28190 __setpayloadl.
28191 (setpayloadl): Define as weak alias.
28192 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28193 __setpayloadsigl.
28194 (setpayloadsigl): Define as weak alias.
28195 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28196 __totalorderl and define as weak alias.
28197 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28198 Rename to __totalordermagl and define as weak alias.
28199 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28200 __ufromfpl.
28201 (ufromfpl): Define as weak alias.
28202 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28203 __ufromfpxl.
28204 (ufromfpxl): Define as weak alias.
28205
29c933fb
SP
282062017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28207
503c92c3
SP
28208 * benchtests/bench-string.h (realloc_bufs): New function.
28209 (test_init): Call it.
28210 * benchtests/bench-memset-large.c (do_test): Likewise.
28211 * benchtests/bench-memset.c (do_test): Likewise.
28212
29c933fb
SP
28213 * benchtests/bench-memset-large.c: Print output in JSON
28214 format.
28215 * benchtests/bench-memset.c: Likewise.
28216
799c8d69
MF
282172017-09-14 Mike FABIAN <mfabian@redhat.com>
28218
28219 [BZ #21084]
28220 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28221 * iconvdata/Makefile: Add IBM858.
28222 * iconvdata/gconv-modules: Likewise.
28223 * iconvdata/tst-tables.sh: Likewise.
28224 * iconvdata/ibm858.c: New file.
28225 * localedata/charmaps/IBM858: Likewise.
28226
c207f7ce 282272017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
28228
28229 [BZ #22023]
28230 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28231 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28232
f28a0926
AK
282332017-09-14 Mike FABIAN <mfabian@redhat.com>
28234
28235 [BZ #22112]
28236 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28237 and add tel_int_fmt.
28238
02093e62
JM
282392017-09-14 Joseph Myers <joseph@codesourcery.com>
28240
28241 * sysdeps/generic/libm-alias-float128.h: New file.
28242 * sysdeps/generic/math-type-macros-float128.h: Include
28243 <libm-alias-float128.h>.
28244 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28245
1aae75ef
JM
282462017-09-13 Joseph Myers <joseph@codesourcery.com>
28247
28248 * sysdeps/generic/libm-alias-ldouble.h: New file.
28249 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28250 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28251 * sysdeps/generic/math-type-macros-ldouble.h: Include
28252 <libm-alias-ldouble.h>.
28253 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28254 libm_alias_ldouble.
28255
bcea7ad6
SN
282562017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28257
28258 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28259 * math/w_exp_compat.c: ... here.
28260 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28261 * math/w_expf_compat.c: ... here.
28262 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28263 * math/w_expl_compat.c: ... here.
28264 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28265 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28266 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28267 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28268
0fc56478
JM
282692017-09-13 Joseph Myers <joseph@codesourcery.com>
28270
28271 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28272 redefine.
28273 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28274 macro.
28275 (ldexpl): Only define as compat symbol for libc, not libm.
28276 (scalbnl): Define as compat symbol for libc here.
28277 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28278 define for [IS_IN (libc)].
28279 (__ldexpl_2): Remove alias.
28280 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28281 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28282 name in long_double_symbol call.
28283 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28284 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28285 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28286 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28287 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28288 Remove macro.
28289 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28290 Define as compat symbol.
28291
3ca622e4
AZ
282922017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28293
28294 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28295 * sysdeps/unix/sysv/linux/alpha/Makefile
28296 [$(subdir) = csu] (sysdep_routines): Remove rule.
28297
620ff9ee
JM
282982017-09-13 Joseph Myers <joseph@codesourcery.com>
28299
28300 * sysdeps/generic/libm-alias-double.h: New file.
28301 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28302 * sysdeps/generic/math-type-macros-double.h: Include
28303 <libm-alias-double.h>.
28304 [declare_mgen_alias] (declare_mgen_alias): Define to use
28305 libm_alias_double.
28306 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28307 (M_LIBM_NEED_COMPAT): Remove macro.
28308 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28309 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28310 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28311 code.
28312 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28313 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28314 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28315 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28316 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28317 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28318 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28319 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28320 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28321 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28322 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28323 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28324 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28325 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28326 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28327 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28328 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28329 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28330 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28331 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28332 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28333 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28334 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28335 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28336 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28337 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28338 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28339 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28340 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28341 macro.
28342 (declare_mgen_alias): New macro.
28343 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28344 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28346 (M_LIBM_NEED_COMPAT): Remove macro.
28347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28348 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28349 <first-versions.h>.
28350 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28351 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28352
a891caff
JM
283532017-09-12 Joseph Myers <joseph@codesourcery.com>
28354
28355 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28356 (declare_mgen_alias_2): Remove.
28357 * sysdeps/generic/math-type-macros-double.h
28358 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28359 Likewise.
28360 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28361 alias.
28362 (ldexp): Define with declare_mgen_alias.
28363 (scalbn): Likewise.
28364
a1a78204
SE
283652017-09-12 Steve Ellcey <sellcey@cavium.com>
28366
28367 * grp/initgroups.c: Include config.h.
28368 (DEFAULT_CONFIG): New macro.
28369 (internal_getgrouplist): Use DEFAULT_CONFIG.
28370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28371 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28372 (DEFAULT_DEFCONFIG): New macro.
28373 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28374 * nss/grp-lookup.c: Include config.h
28375 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28376 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28377 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28378 * manual/nss.texi: Update default values section.
28379
ef8adeb0
L
283802017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28381
28382 [BZ #21967]
28383 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28384 New.
28385 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28386 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28387 Handle MathVec_Prefer_No_AVX512.
28388 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28389 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28390 is set.
28391
a166531f
ST
283922017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28393
28394 * posix/sched_primax.c (__sched_get_priority_max): Add
28395 libc_hidden_def.
28396 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28397 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28398 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28399 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28400 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28401 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28402 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28403 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28404 Add aliases.
28405
4b7d1efb
JM
284062017-09-11 Joseph Myers <joseph@codesourcery.com>
28407
28408 * sysdeps/generic/libm-alias-float.h: New file.
28409 * sysdeps/generic/math-type-macros-float.h: Include
28410 <libm-alias-float.h>.
28411 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28412
45ff3463
L
284132017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28414
28415 [BZ #22093]
28416 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28417 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28418 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28419 (HWCAP_IMPORTANT): Likewise.
28420 (HWCAP_X86_64): New enum.
28421 (HWCAP_X86_AVX512_1): Updated.
28422 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28423 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28424 (modules-names): Add x86_64/tst-x86_64mod-1.
28425 (LDFLAGS-tst-x86_64mod-1.so): New.
28426 ($(objpfx)tst-x86_64-1): Likewise.
28427 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28428 (tst-x86_64-1-clean): Likewise.
28429 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28430 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28431
891abfd3
SP
284322017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28433
28434 * po/sv.po: Update translations.
28435 * po/fr.po: Likewise.
28436
00c3da43
ST
284372017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28438
28439 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28440 seconds.
3bdfd9fb
ST
28441 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28442 seconds.
65b22ebc 28443 * elf/rtld-Rules: Fix $(error) use.
00c3da43 28444
96480903
MF
284452017-09-09 Mike FABIAN <mfabian@redhat.com>
28446
28447 [BZ #14925]
28448 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28449 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28450 * localedata/locales/bn_BD: “Bengali” was still used in some
28451 comments. Change it to “Bangla”.
28452
4c03a696
MT
284532017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28454
28455 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28456
9c9ec581
SE
284572017-09-08 Steve Ellcey <sellcey@cavium.com>
28458
28459 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28460 thunderx2t99p1 to list of cpu names.
28461 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28462 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28463
f00bce74
SE
284642017-09-08 Steve Ellcey <sellcey@cavium.com>
28465
28466 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28467 Use strcmp instead of tunable_is_name.
28468
27342d17
JM
284692017-09-08 Joseph Myers <joseph@codesourcery.com>
28470
af1b7c8c
JM
28471 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28472 (F_GET_RW_HINT): New macro.
28473 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28474 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28475 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28476 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28477 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28478 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28479 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28480 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28481 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28482
27342d17
JM
28483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28484 (F_ADD_SEALS): New macro.
28485 [__USE_GNU] (F_GET_SEALS): Likewise.
28486 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28487 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28488 [__USE_GNU] (F_SEAL_GROW): Likewise.
28489 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28490
c66c9082
AZ
284912017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28492
07b4f49d
AZ
28493 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28494 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28495 * posix/glob_internal.h (__glob_pattern_type):
28496 * posix/glob.c (glob):
28497 * posix/glob_pattern_p.c (__glob_pattern_p):
28498 Use them.
28499
116f1c64
AZ
28500 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28501 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28502 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28503 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28504 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28506 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28507 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28508 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28509 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28510 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28511 * sysdeps/wordsize-64/glob.c: Likewise.
28512 * sysdeps/wordsize-64/glob64.c: Likewise.
28513 * sysdeps/wordsize-64/globfree.c: Likewise.
28514 * sysdeps/wordsize-64/globfree64.c: Likewise.
28515 * sysdeps/unix/sysv/linux/glob.c: New file.
28516 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28517 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28518 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28519 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28520 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28521 adds !GLOB_NO_OLD_VERSION as an extra condition.
28522 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28523 using relative path instead of absolute one.
28524 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28525 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28526 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28527 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28528 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28529 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28530
ffca8901
AZ
28531 [BZ #1062]
28532 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28533 (glob): Use the same scratch buffer for both getlogin_r and
28534 getpwnam_r. Don’t require preallocation of the login name. This
28535 simplifies storage allocation, and corrects the handling of
28536 long login names.
28537
5a79f975
AZ
28538 [BZ #1062]
28539 * posix/glob.c (glob): Port recent patches to platforms
28540 lacking getpwnam_r.
28541 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28542 returns an error number rather than setting errno.
28543
e00f2425
AZ
28544 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28545 instead of GCC extension.
28546 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28547 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28548 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28549
5554304f
AZ
28550 [BZ #866]
28551 [BZ #1062]
28552 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28553 * posix/bug-glob1.c: Remove file.
28554 * posix/tst-glob_symlinks.c: New file.
28555 * posix/glob.c (__lstat64): New macro.
28556 (is_dir): New function.
28557 (glob, glob_in_dir): Match symlinks even if they are dangling.
28558 (link_stat, link_exists_p): Remove. All uses removed.
28559
686f2ea1
AZ
28560 [BZ #1062]
28561 [BZ #19971]
28562 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28563 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28564 All uses removed.
28565
c66c9082 28566 [BZ #1062]
914c9994 28567 CVE-2017-15671
c66c9082
AZ
28568 * posix/Makefile (routines): Add globfree, globfree64, and
28569 glob_pattern_p.
28570 * posix/flexmember.h: New file.
28571 * posix/glob_internal.h: Likewise.
28572 * posix/glob_pattern_p.c: Likewise.
28573 * posix/globfree.c: Likewise.
28574 * posix/globfree64.c: Likewise.
28575 * sysdeps/gnu/globfree64.c: Likewise.
28576 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28577 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28578 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28579 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28580 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28581 * sysdeps/wordsize-64/globfree.c: Likewise.
28582 * sysdeps/wordsize-64/globfree64.c: Likewise.
28583 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28584 [NDEBUG): Remove comments.
28585 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28586 (dirent_type): New type. Use uint_fast8_t not
28587 uint8_t, as C99 does not require uint8_t.
28588 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28589 (struct readdir_result): Use dirent_type. Do not define skip_entry
28590 unless it is needed; this saves a byte on platforms lacking d_ino.
28591 (readdir_result_type, readdir_result_skip_entry):
28592 New functions, replacing ...
28593 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28594 these functions, which were removed. This makes the callers
28595 easier to read. All callers changed.
28596 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28597 (size_add_wrapv, glob_use_alloca): New static functions.
28598 (glob, glob_in_dir): Check for size_t overflow in several places,
28599 and fix some size_t checks that were not quite right.
28600 Remove old code using SHELL since Bash no longer
28601 uses this.
28602 (glob, prefix_array): Separate MS code better.
28603 (glob_in_dir): Remove old Amiga and VMS code.
28604 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28605 separate files.
28606 (glob_in_dir): Do not rely on undefined behavior in accessing
28607 struct members beyond their bounds. Use a flexible array member
28608 instead
28609 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28610 0/1. Caller changed.
28611 (glob): Fix memory leaks.
28612 * posix/glob64 (globfree64): Move to separate file.
28613 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28614 (globfree64): Remove hidden alias.
28615 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28616 oldglob.
28617 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28618 separate file.
28619 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28620 define.
28621 Move compat code to separate file.
28622 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28623 separate file.
28624
78bfa877
L
286252017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28626
28627 * resolv/tst-resolv-qtypes.c (domain): Changed to
28628 "const char domain[] =".
28629
05f0011f
JM
286302017-09-07 Joseph Myers <joseph@codesourcery.com>
28631
85bec0f2
JM
28632 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28633 version to 3.1.6.
28634
5c23ee6e
JM
28635 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28636 (TCP_MD5SIG_EXT): Likewise.
28637 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28638 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28639 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28640
05f0011f
JM
28641 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28642
7c9c5be9
MF
286432017-09-07 Mike FABIAN <mfabian@redhat.com>
28644
28645 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28646
c207f7ce 286472017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
28648
28649 [BZ #22100]
28650 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28651
507fe027
ST
286522017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28653
28654 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28655 before assuming that the file is empty. Avoid testing buffer content
28656 when nread == 0.
28657
65687ac7
AZ
286582017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28659
7bbbb4b9 28660 [BZ #18858]
65687ac7
AZ
28661 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28662 Remove define.
28663 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28664 Likewise.
28665 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28666 Likewise.
28667 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28668 Likewise.
28669 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28670 Likewise.
28671 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28672 Likewise.
28673 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28674 Likewise.
28675
ab5ac271
FW
286762017-09-06 Florian Weimer <fweimer@redhat.com>
28677
28678 * malloc/dynarray_emplace_enlarge.c
28679 (__libc_dynarray_emplace_enlarge): Add missing else.
28680
a8304730
FW
286812017-09-06 Florian Weimer <fweimer@redhat.com>
28682
28683 [BZ #22096]
28684 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28685 case of failure to obtain the global conf object.
28686
5670c4ab
FW
286872017-09-06 Florian Weimer <fweimer@redhat.com>
28688
28689 [BZ #22095]
28690 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28691 dynarray allocation failure.
28692
c77eb969
FW
286932017-09-06 Florian Weimer <fweimer@redhat.com>
28694
28695 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28696 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28697 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28698 New functions.
28699 (response): Call them. Add 'p', '6' flag processing.
28700 (test_reverse): New function.
28701 (test_get2_any): Call it.
28702 (test_no_inet6): Add 'p' test.
28703 (test_inet6): Likewise.
28704
5e9c4d17
FW
287052017-09-06 Florian Weimer <fweimer@redhat.com>
28706
28707 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28708 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28709 the QNAME.
28710 (test_gai): Adjust query names. Add additional tests.
28711 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28712 test_get2. Adjust query names. Add additional tests.
28713 (test_no_inet6): New function, extracted from threadfunc.
28714 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28715 Add additional tests.
28716
2ae5be04
MF
287172017-09-06 Mike FABIAN <mfabian@redhat.com>
28718
28719 [BZ #22070]
28720 * localedata/unicode-gen/utf8_gen.py: Set the width for
28721 characters with Prepended_Concatenation_Mark property to 1
28722 * localedata/charmaps/UTF-8: Updated using the improved script.
28723
af83ed5c
MF
287242017-09-06 Mike FABIAN <mfabian@redhat.com>
28725
28726 [BZ #21750]
28727 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28728 use the range notation for all ranges of neighbouring characters
28729 with the same width.
28730
4f3647e4
JM
287312017-09-05 Joseph Myers <joseph@codesourcery.com>
28732
28733 * sysdeps/generic/math-type-macros-double.h: Include
28734 <math-svid-compat.h>.
28735 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28736 * sysdeps/generic/math-type-macros-float.h: Include
28737 <math-svid-compat.h>.
28738 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28739 * sysdeps/generic/math-type-macros-ldouble.h: Include
28740 <math-svid-compat.h>.
28741 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28742 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28743 condition.
28744 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28745 * math/w_acosf_compat.c: Likewise.
28746 * math/w_acosh_compat.c: Likewise.
28747 * math/w_acoshf_compat.c: Likewise.
28748 * math/w_acoshl_compat.c: Likewise.
28749 * math/w_acosl_compat.c: Likewise.
28750 * math/w_asin_compat.c: Likewise.
28751 * math/w_asinf_compat.c: Likewise.
28752 * math/w_asinl_compat.c: Likewise.
28753 * math/w_atan2_compat.c: Likewise.
28754 * math/w_atan2f_compat.c: Likewise.
28755 * math/w_atan2l_compat.c: Likewise.
28756 * math/w_atanh_compat.c: Likewise.
28757 * math/w_atanhf_compat.c: Likewise.
28758 * math/w_atanhl_compat.c: Likewise.
28759 * math/w_cosh_compat.c: Likewise.
28760 * math/w_coshf_compat.c: Likewise.
28761 * math/w_coshl_compat.c: Likewise.
28762 * math/w_exp10_compat.c: Likewise.
28763 * math/w_exp10f_compat.c: Likewise.
28764 * math/w_exp10l_compat.c: Likewise.
28765 * math/w_exp2_compat.c: Likewise.
28766 * math/w_exp2f_compat.c: Likewise.
28767 * math/w_exp2l_compat.c: Likewise.
28768 * math/w_fmod_compat.c: Likewise.
28769 * math/w_fmodf_compat.c: Likewise.
28770 * math/w_fmodl_compat.c: Likewise.
28771 * math/w_hypot_compat.c: Likewise.
28772 * math/w_hypotf_compat.c: Likewise.
28773 * math/w_hypotl_compat.c: Likewise.
28774 * math/w_j0_compat.c: Likewise.
28775 * math/w_j0f_compat.c: Likewise.
28776 * math/w_j0l_compat.c: Likewise.
28777 * math/w_j1_compat.c: Likewise.
28778 * math/w_j1f_compat.c: Likewise.
28779 * math/w_j1l_compat.c: Likewise.
28780 * math/w_jn_compat.c: Likewise.
28781 * math/w_jnf_compat.c: Likewise.
28782 * math/w_jnl_compat.c: Likewise.
28783 * math/w_lgamma_r_compat.c: Likewise.
28784 * math/w_lgammaf_r_compat.c: Likewise.
28785 * math/w_lgammal_r_compat.c: Likewise.
28786 * math/w_log10_compat.c: Likewise.
28787 * math/w_log10f_compat.c: Likewise.
28788 * math/w_log10l_compat.c: Likewise.
28789 * math/w_log2_compat.c: Likewise.
28790 * math/w_log2f_compat.c: Likewise.
28791 * math/w_log2l_compat.c: Likewise.
28792 * math/w_log_compat.c: Likewise.
28793 * math/w_logf_compat.c: Likewise.
28794 * math/w_logl_compat.c: Likewise.
28795 * math/w_pow_compat.c: Likewise.
28796 * math/w_powf_compat.c: Likewise.
28797 * math/w_powl_compat.c: Likewise.
28798 * math/w_remainder_compat.c: Likewise.
28799 * math/w_remainderf_compat.c: Likewise.
28800 * math/w_remainderl_compat.c: Likewise.
28801 * math/w_sinh_compat.c: Likewise.
28802 * math/w_sinhf_compat.c: Likewise.
28803 * math/w_sinhl_compat.c: Likewise.
28804 * math/w_sqrt_compat.c: Likewise.
28805 * math/w_sqrtf_compat.c: Likewise.
28806 * math/w_sqrtl_compat.c: Likewise.
28807 * math/w_tgamma_compat.c: Likewise.
28808 * math/w_tgammaf_compat.c: Likewise.
28809 * math/w_tgammal_compat.c: Likewise.
28810 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28811 [LIBM_SVID_COMPAT].
28812 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28813 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28814 [LIBM_SVID_COMPAT].
28815 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28816 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28817 [LIBM_SVID_COMPAT].
28818 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28819 * sysdeps/i386/fpu/w_sqrt.c: New file.
28820 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28821 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28822 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28823 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28824 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28825 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28826 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28827 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28828 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28829 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28830 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28831 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28832 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28833 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28834 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28835 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28836 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28837 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28838 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28839 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28840 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28841 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28842 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28843 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28844 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28845 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28846 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28847 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28848 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28849 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28850 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28851 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28852 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28853 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28854 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28855 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28856 * sysdeps/ia64/fpu/w_log.c: Likewise.
28857 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28858 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28859 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28860 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28861 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28862 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28863 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28864 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28865 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28866 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28867 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28868 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28869 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28870 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28871 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28872 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28873 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28874 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28875 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28876 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28877 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28878 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28879 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28880 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28881 [LIBM_SVID_COMPAT].
28882 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28883 * sysdeps/ieee754/k_standard.c: Likewise.
28884 * sysdeps/ieee754/k_standardf.c: Likewise.
28885 * sysdeps/ieee754/k_standardl.c: Likewise.
28886 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28887 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28888 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28889 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28890 long_double_symbol call on [LIBM_SVID_COMPAT].
28891 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28892 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28893 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28894 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28895 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28896 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28897 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28898 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28899 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28900 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28901 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28902 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28903 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28904 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28905 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28906 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28907 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28908 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28909 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28910 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28911 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28912 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28913
05b38d64
SE
289142017-09-05 Steve Ellcey <sellcey@cavium.com>
28915
28916 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28917 * malloc/tst-mallocstate.c: Convert from test-skeleton
28918 to test-driver. Ifdef code using TEST_COMPAT macro.
28919 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28920 * math/test-matherr.c: Likewise.
28921
99d67918
JM
289222017-09-05 Joseph Myers <joseph@codesourcery.com>
28923
28924 [BZ #22086]
28925 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28926 comparing word with byte-swapped constant.
28927
c207f7ce 289282017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
28929
28930 [BZ #20498]
28931 * locale/iso-639.def: add Miskito.
28932 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28933 * localedata/locales/miq_NI: New file.
28934
0a587a8a
L
289352017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28936
28937 [BZ #18822]
28938 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28939 (__mkdir): Likewise.
28940 * io/chmod.c (__chmod): Add libc_hidden_def.
28941 * io/mkdir.c (__mkdir): Likewise.
28942 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28943 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28944 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28945 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28946
f3a129b8
JM
289472017-09-04 Joseph Myers <joseph@codesourcery.com>
28948
1650e192
JM
28949 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28950 version to 4.13.
28951
f3a129b8
JM
28952 [BZ #22082]
28953 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28954 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28955
b38042f5
FW
289562017-09-04 Florian Weimer <fweimer@redhat.com>
28957
28958 * math/math.h: Issue warning if log is defined.
28959
059b6404
JM
289602017-09-04 Joseph Myers <joseph@codesourcery.com>
28961
28962 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28963 kernel version to 4.13.
28964
b794e16b
ST
289652017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28966
28967 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
28968 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28969 parameter.
01969395
ST
28970 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28971 just <bits/types.h>.
dd2b31de 28972 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 28973 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 28974 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 28975 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
28976 * misc/preadv2.c: Include <errno.h>.
28977 * misc/preadv64v2.c: Include <errno.h>.
28978 * misc/pwritev2.c: Include <errno.h>.
28979 * misc/pwritev64v2.c: Include <errno.h>.
28980 * sysdeps/posix/preadv2.c: Include <errno.h>.
28981 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28982 Fix <unistd.h> inclusion.
28983 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28984 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
28985 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28986 __strtoul_internal): New functions.
127e7773
ST
28987 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28988 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
28989 * sysdeps/mach/hurd/i386/Makefile
28990 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28991 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28992 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
28993 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28994 __feraiseexcept_renamed to feraiseexcept instead of
28995 __GI_feraiseexcept.
56bf5497 28996 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 28997 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
28998 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28999 RWF_NOWAIT): Define to 0 if undefined already.
29000 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29001 boils down to 0.
6547ec0a
ST
29002 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29003 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 29004
5a80d39d
JM
290052017-09-01 Joseph Myers <joseph@codesourcery.com>
29006
29007 * manual/math.texi (pow10): Do not document.
29008 (pow10f): Likewise.
29009 (pow10l): Likewise.
29010 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29011 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29012 * math/libm-test-exp10.inc (pow10_test): Remove.
29013 (do_test): Do not call pow10.
29014 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29015 [NO_LONG_DOUBLE] (pow10l): Likewise.
29016 * math/w_exp10f_compat.c (pow10f): Likewise.
29017 * math/w_exp10l_compat.c (pow10l): Likewise.
29018 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29019 (pow10): Make into compat symbol.
29020 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29021 (pow10f): Make into compat symbol.
29022 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29023 (pow10l): Make into compat symbol.
29024 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29025 pow10.
29026 (CFLAGS-nldbl-pow10.c): Remove variable..
29027 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29028 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29029 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29030 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29031 Undefine and redefine.
29032 (pow10l): Make into compat symbol.
29033 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29034 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29035 * sysdeps/arm/libm-test-ulps: Likewise.
29036 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29037 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29038 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29039 * sysdeps/microblaze/libm-test-ulps: Likewise.
29040 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29041 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29042 * sysdeps/nios2/libm-test-ulps: Likewise.
29043 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29044 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29045 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29046 * sysdeps/sh/libm-test-ulps: Likewise.
29047 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29048 * sysdeps/tile/libm-test-ulps: Likewise.
29049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29050
3824fc38
PP
290512017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29052
29053 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29054
b3008279
L
290552017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29056
29057 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29058 "../ChangeLog.old/ChangeLog.8".
29059 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29060 "../ChangeLog.old/ChangeLog.14".
29061
136fa185
L
290622017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29063
29064 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29065 Threads Library.
29066
c18d50a2
JM
290672017-09-01 Joseph Myers <joseph@codesourcery.com>
29068
29069 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29070
bedbd859
L
290712017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29072
29073 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29074 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29075
50c66c7a
PP
290762017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29077
29078 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29079 32 atexit handlers.
29080
a617bd11
ZW
290812017-09-01 Zack Weinberg <zackw@panix.com>
29082
29083 * math/math.h (HUGE_VAL): Improve commentary.
29084
e0d2eb5a
AZ
290852017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29086 Andreas Schwab <schwab@suse.de>
29087
29088 [BZ #21530]
29089 * include/stdio.h (__gen_tempfd): New function.
29090 * stdio-common/Makefile (routines): Add gentempfd.
29091 * stdio-common/gentempfd.c: New file.
29092 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29093 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29094 unnamed file first.
29095
f4a6be25
FW
290962017-09-01 Florian Weimer <fweimer@redhat.com>
29097
29098 [BZ #21915]
29099 [BZ #21922]
29100 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29101 result to determine success or failure, not the errno value.
29102 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29103 (tst-nss-files-hosts-erange): Link with -ldl.
29104 * nss/tst-nss-files-hosts-erange.c: New file.
29105 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29106 (do_test): Add NO_DATA tests.
29107 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29108 (do_test): Call it.
29109
5f8340f5
FW
291102017-09-01 Florian Weimer <fweimer@redhat.com>
29111
29112 [BZ #21922]
29113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29114 coming from gethostbyname2_r.
29115
65329bd2
FW
291162017-09-01 Florian Weimer <fweimer@redhat.com>
29117
29118 * support/namespace.h (struct support_chroot_configuration): Add
29119 hosts, host_conf.
29120 (struct support_chroot): Add path_hosts, path_host_conf.
29121 * support/support_chroot.c (write_file): New function.
29122 (support_chroot_create): Call it to process /etc/resolv.conf,
29123 /etc/hosts, /etc/host.conf.
29124 (support_chroot_free): Update.
29125
a2881ef0
FW
291262017-09-01 Florian Weimer <fweimer@redhat.com>
29127
29128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29129 status indicates it is set.
29130
ad816a5e
FW
291312017-09-01 Florian Weimer <fweimer@redhat.com>
29132
63b52889 29133 [BZ #20532]
ad816a5e
FW
29134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29135 function lookup failures more reliable.
29136
53250a21
FW
291372017-09-01 Florian Weimer <fweimer@redhat.com>
29138
29139 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29140 (getcanonname): Likewise.
29141 (gaih_inet): Likewise.
29142
924b121c
FW
291432017-09-01 Florian Weimer <fweimer@redhat.com>
29144
29145 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29146 (getcanonname): Likewise.
29147 (gaih_inet): Likewise.
29148
d9ff799a
SE
291492017-08-31 Steve Ellcey <sellcey@cavium.com>
29150 Richard Henderson <rth@twiddle.net>
29151
29152 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29153 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29154 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29155 (IREG_SIZE, OREG_SIZE): New macros.
29156 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29157 (IREG_SIZE, OREG_SIZE): New macros.
29158 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29159 (IREG_SIZE): New macro.
29160 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29161 (IREG_SIZE): New macro.
29162 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29163 New includes.
29164 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29165 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29166 (__CONCATX): Handle exceptions correctly on large values that may
29167 set FE_INVALID.
29168 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29169 Initialize if not already set.
29170 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29171
102dde84
AZ
291722017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29173
29174 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29175 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29176 Likewise.
29177 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29178 Likewise.
29179 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29180 Likewise.
29181 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29182 Likewise.
29183 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29184 Likewise.
29185 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29186 Likewise.
29187 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29188 Likewise.
29189 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29190 (NO_CANCELLATION): Likewise.
29191 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29192 Likewise.
29193 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29194 Likewise.
29195 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29196 Likewise.
29197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29198 (NO_CANCELLATION): Likewise.
29199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29200 (NO_CANCELLATION): Likewise.
29201 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29202 Likewise
29203 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29204 Likewise.
29205 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29206 Likewise.
29207 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29208 Likewise.
29209 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29210 hidden prototype.
29211 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29212 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29213
9eee633b
SE
292142017-08-31 Steve Ellcey <sellcey@cavium.com>
29215
29216 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29217 in resolver call.
29218
65284eb7
FW
292192017-08-31 Florian Weimer <fweimer@redhat.com>
29220
29221 * include/libc-symbols.h (internal_function): Remove.
29222
41ad5ca6
FW
292232017-08-31 Florian Weimer <fweimer@redhat.com>
29224
29225 * stdlib/fmtmsg.c (internal_addseverity): Remove
29226 internal_function.
29227
2fa6d086
FW
292282017-08-31 Florian Weimer <fweimer@redhat.com>
29229
29230 * stdio-common/printf_fp.c (group_number): Remove
29231 internal_function.
29232 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29233
b41bd5bc
FW
292342017-08-31 Florian Weimer <fweimer@redhat.com>
29235
29236 * posix/fnmatch.c (internal_function): Remove definition.
29237 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29238 * posix/regcomp.c (peek_token, init_word_char)
29239 (duplicate_node_closure, fetch_token, peek_token)
29240 (peek_token_bracket, build_range_exp, build_collating_symbol):
29241 Likewise.
29242 * posix/regex_internal.c (re_string_construct_common)
29243 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29244 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29245 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29246 (re_string_translate_buffer, re_string_reconstruct)
29247 (re_string_peek_byte_case, re_string_fetch_byte_case)
29248 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29249 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29250 (re_node_set_add_intersect, re_node_set_init_union)
29251 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29252 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29253 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29254 (re_acquire_state_context): Likewise.
29255 * posix/regex_internal.h (internal_function): Remove definition.
29256 (re_string_realloc_buffers, build_wcs_buffer)
29257 (build_wcs_upper_buffer, build_upper_buffer)
29258 (re_string_translate_buffer, re_string_context_at)
29259 (re_string_char_size_at, re_string_wchar_at)
29260 (re_string_elem_size_at): Likewise.
29261 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29262 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29263 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29264 (re_search_internal, re_search_2_stub, re_search_stub)
29265 (re_copy_regs, prune_impossible_nodes, check_matching)
29266 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29267 (free_fail_stack_return, sift_states_iter_mb)
29268 (sift_states_backward, build_sifted_states)
29269 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29270 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29271 (check_subexp_limits, sift_states_bkref, merge_state_array)
29272 (find_recover_state, transit_state, merge_state_with_log)
29273 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29274 (transit_state_mb, transit_state_bkref, get_subexp)
29275 (get_subexp_sub, find_subexp_node, check_arrival)
29276 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29277 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29278 (check_node_accept_bytes, find_collation_sequence_value)
29279 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29280 (acquire_init_state_context, check_halt_node_context)
29281 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29282 (sub_epsilon_src_nodes): Likewise.
29283 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29284 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29285 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29286 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29287 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29288 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29289 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29290 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29291 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29292 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29293 (PREADV): Likewise.
29294 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29295 (PREADV): Likewise.
29296 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29297 (PWRITEV): Likewise.
29298 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29299 (PWRITEV): Likewise.
29300 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29301 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29302
83b09837
FW
293032017-08-31 Florian Weimer <fweimer@redhat.com>
29304
29305 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29306 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29307 Remove internal_function.
29308 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29309 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29310 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29311 (__deallocate_stack, __libc_pthread_init)
29312 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29313 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29314 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29315 Likewise.
29316 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29317 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29318 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29319 Likewise.
29320 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29321 (__pthread_mutex_unlock_usercnt): Likewise.
29322
116ac301
FW
293232017-08-31 Florian Weimer <fweimer@redhat.com>
29324
29325 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29326 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29327 (fts_safe_changedir): Remove internal_function.
29328 * io/ftw.c (internal_function): Remove definition.
29329 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29330
9da93bd7
FW
293312017-08-31 Florian Weimer <fweimer@redhat.com>
29332
29333 * inet/deadline.c (__deadline_current_time)
29334 (__deadline_from_timeval, __deadline_to_ms): Remove
29335 internal_function.
29336 * inet/getnameinfo.c (nrl_domainname): Likewise.
29337 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29338 * inet/inet6_option.c (add_pad): Likewise.
29339 * inet/net-internal.h (__deadline_current_time)
29340 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29341 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29342 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29343 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29344
a60eca2e
JM
293452017-08-31 Joseph Myers <joseph@codesourcery.com>
29346
c0c49d60
JM
29347 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29348 include <bits/nan.h>.
29349 * math/Makefile (headers): Remove bits/nan.h.
29350 * bits/nan.h: Remove.
29351 * sysdeps/ieee754/bits/nan.h: Likewise.
29352 * sysdeps/mips/bits/nan.h: Likewise.
29353
5ef1b213
JM
29354 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29355 not include <bits/inf.h>.
29356 * math/Makefile (headers): Remove bits/inf.h.
29357 * bits/inf.h: Remove.
29358 * sysdeps/ieee754/bits/inf.h: Likewise.
29359
a60eca2e
JM
29360 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29361 bits/huge_vall.h or bits/huge_val_flt128.h.
29362 (HUGE_VAL): Define directly here.
29363 [__USE_ISOC99] (HUGE_VALF): Likewise.
29364 [__USE_ISOC99] (HUGE_VALL): Likewise.
29365 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29366 (HUGE_VAL_F128): Likewise.
29367 * math/Makefile (headers): Remove bits/huge_val.h,
29368 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29369 * bits/huge_val.h: Remove.
29370 * bits/huge_val_flt128.h: Likewise.
29371 * bits/huge_valf.h: Likewise.
29372 * bits/huge_vall.h: Likewise.
29373 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29374 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29375 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29376 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29377 * sysdeps/sh/bits/huge_val.h: Likewise.
29378 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29379 * sysdeps/x86/bits/huge_vall.h: Likewise.
29380
17e00cc6
FW
293812017-08-31 Florian Weimer <fweimer@redhat.com>
29382
29383 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29384 internal_function.
29385 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29386 Likewise.
29387 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29388 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29389 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29390 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29391 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29392 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29393 * elf/dl-libc.c (dlerror_run): Likewise.
29394 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29395 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29396 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29397 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29398 Likewise.
29399 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29400 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29401 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29402 * elf/dl-profile.c (_dl_start_profile): Likewise.
29403 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29404 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29405 Likewise.
29406 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29407 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29408 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29409 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29410 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29411 (_dl_allocate_tls_storage): Likewise.
29412 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29413 (_dl_check_all_versions): Likewise.
29414 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29415 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29416 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29417 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29418 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29419 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29420 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29421 internal_function from __dl_start.
29422 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29423 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29424 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29425 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29426 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29427 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29428 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29429 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29430 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29431 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29432 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29433 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29434 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29435 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29436 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29437 Likewise.
29438 (struct rtld_global_ro): Remove internal_function from the
29439 _dl_lookup_symbol_x member.
29440 (_dl_symbol_value): Remove. No longer defined anywhere.
29441 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29442 internal_function.
29443 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29444 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29445 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29446 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29447 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29448 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29449 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29450 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29451 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29452 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29453 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29454 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29455
8d2f9410
FW
294562017-08-31 Florian Weimer <fweimer@redhat.com>
29457
29458 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29459 Remove internal_function.
29460 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29461 Likewise.
29462 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29463 Likewise.
29464
86e4919f
FW
294652017-08-31 Florian Weimer <fweimer@redhat.com>
29466
29467 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29468 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29469 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29470
59bd52b0
FW
294712017-08-31 Florian Weimer <fweimer@redhat.com>
29472
29473 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29474 (__gai_enqueue_request): Remove internal_function.
29475 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29476 (__gai_remove_request, __gai_notify, __gai_notify_only)
29477 (__gai_sigqueue): Likewise.
29478 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29479 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29480 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29481 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29482 Likewise.
29483
fc3d9497
FW
294842017-08-31 Florian Weimer <fweimer@redhat.com>
29485
29486 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29487 * include/dirent.h (__opendirat, __getdents, __getdents64)
29488 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29489 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29490 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29491 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29492 Likewise.
29493 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29494
18c54fac
FW
294952017-08-31 Florian Weimer <fweimer@redhat.com>
29496
29497 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29498 internal_function.
29499 (GETCWD_RETURN_TYPE): Likewise.
29500
7e01f080
FW
295012017-08-31 Florian Weimer <fweimer@redhat.com>
29502
29503 * include/time.h (__tz_compute, __strptime_internal): Remove
29504 internal_function.
29505 * time/strptime_l.c (__strptime_internal): Likewise.
29506 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29507
d7ccc6c9
FW
295082017-08-31 Florian Weimer <fweimer@redhat.com>
29509
29510 * iconv/gconv.c (__gconv): Remove internal_function.
29511 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29512 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29513 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29514 (__gconv_release_cache): Likewise.
29515 * iconv/gconv_close.c (__gconv_close): Likewise.
29516 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29517 (read_conf_file, __gconv_get_path): Likewise.
29518 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29519 (__gconv_release_step, gen_steps, increment_counter)
29520 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29521 (__gconv_close_transform, free_modules_db): Likewise.
29522 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29523 Likewise.
29524 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29525 (__gconv_find_transform, __gconv_lookup_cache)
29526 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29527 (__gconv_close_transform, __gconv_release_cache)
29528 (__gconv_loaded_object, __gconv_release_shlib)
29529 (__gconv_compare_alias): Likewise.
29530 * iconv/gconv_open.c (__gconv_open): Likewise.
29531 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29532 * iconv/iconvconfig.c (add_module): Likewise.
29533 * intl/dcigettext.c (plural_lookup, guess_category_value)
29534 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29535 * intl/eval-plural.h (plural_eval): Likewise.
29536 * intl/finddomain.c (_nl_find_domain): Likewise.
29537 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29538 (_nl_load_domain, _nl_find_msg): Likewise.
29539 (internal_function): Remove definition.
29540 * intl/loadinfo.h (internal_function): Likewise.
29541 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29542 internal_function.
29543 * intl/localealias.c (internal_function): Remove definition.
29544 (read_alias_file): Remove internal_function.
29545 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29546 * intl/plural-exp.h (internal_function): Remove definition.
29547 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29548 internal_function.
29549 * intl/plural.c: Regenerate.
29550 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29551 * locale/coll-lookup.c (__collidx_table_lookup)
29552 (__collseq_table_lookup): Likewise.
29553 * locale/coll-lookup.h (__collidx_table_lookup)
29554 (__collseq_table_lookup): Likewise.
29555 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29556 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29557 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29558 (_nl_unload_locale): Likewise.
29559 * locale/localeinfo.h (struct __locale_data): Remove
29560 internal_function from cleanup member.
29561 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29562 (_nl_remove_locale, _nl_load_locale_from_archive)
29563 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29564 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29565 (_nl_cleanup_time): Remove internal_function.
29566 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29567 (_nl_parse_alt_digit): Likewise.
29568 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29569 (_nl_select_era_entry): Likewise.
29570 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29571 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29572 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
29573 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29574 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 29575
dab0eece
FW
295762017-08-31 Florian Weimer <fweimer@redhat.com>
29577
29578 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29579 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29580 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29581 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29582 Likewise.
29583 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29584 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29585 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29586 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29587 Likewise.
29588 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29589
ab5bf7cf
FW
295902017-08-31 Florian Weimer <fweimer@redhat.com>
29591
29592 * misc/getttyent.c (skip, value): Remove internal_function.
29593 * misc/syslog.c (openlog_internal): Likewise.
29594 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29595
75b3047e
FW
295962017-08-31 Florian Weimer <fweimer@redhat.com>
29597
29598 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29599 (__nss_rewrite_field): Remove internal_function.
29600 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29601 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29602 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29603 * nss/nsswitch.c (nss_parse_file, nss_getline)
29604 (nss_parse_service_list, nss_new_service): Likewise.
29605 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29606 * nss/valid_field.c (__nss_valid_field): Likewise.
29607 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29608
0c71122c
FW
296092017-08-31 Florian Weimer <fweimer@redhat.com>
29610
29611 * malloc/arena.c (__malloc_fork_lock_parent)
29612 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29613 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29614 internal_function from defintions.
29615 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29616 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29617 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29618 internal_function from declarations.
29619 * malloc/malloc.c (internal_function): Do not define.
29620 (mem2mem_check): Remove internal_function from declaration.
29621 (munmap_chunk, mremap_chunk): Remove internal_function.
29622 * malloc/mtrace.c (tr_where): Likewise.
29623
ca4ec803
FW
296242017-08-31 Florian Weimer <fweimer@redhat.com>
29625
29626 * include/rpc/pmap_clnt.h (__get_socket): Remove
29627 internal_function.
29628 * sunrpc/auth_des.c (synchronize): Likewise.
29629 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29630 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29631 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29632 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29633 (key_call): Likewise.
29634 * sunrpc/pm_getport.c (__get_socket): Likewise.
29635 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29636 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29637 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29638 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29639 (invalidate): Likewise.
29640 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29641 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29642 (set_input_fragment, get_input_bytes): Likewise.
29643
24cffce7
FW
296442017-08-31 Florian Weimer <fweimer@redhat.com>
29645
29646 * malloc/malloc.c (_int_free): Remove locked variable and related
29647 asserts.
29648
ecd0747d
L
296492017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29650
29651 [BZ #22051]
29652 * Makerules (build-module-helper-objlist): Filter out
29653 $(elf-objpfx)sofini.os.
29654 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29655 needed.
29656
5f0704b6
FW
296572017-08-31 Florian Weimer <fweimer@redhat.com>
29658
29659 * libio/fcloseall.c: Assume weak_alias is defined.
29660 * libio/feof.c: Likewise.
29661 * libio/fileno.c: Likewise.
29662 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29663 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29664 definitions.
29665 (_IO_file_open): Call __open directly.
29666 (_IO_new_file_sync): Assume ESPIPE is defined.
29667 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29668 (_IO_new_file_write): Call __write directly.
29669 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29670 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29671 * libio/genops.c: Assume _LIBC is defined.
29672 (save_for_backup): Remove internal_function.
29673 * libio/getc.c: Assume weak_alias is defined.
29674 * libio/getwc.c: Likewise.
29675 * libio/iofclose.c: Assume _LIBC is defined.
29676 * libio/iofdopen.c: Likewise.
29677 (_IO_fcntl): Remove macro definition.
29678 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29679 Call __fcntl directly.
29680 * libio/iofflush.c: Assume weak_alias is defined.
29681 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29682 defined.
29683 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29684 * libio/iofgets.c: Likewise.
29685 * libio/iofopen.c: Assume _LIBC is defined.
29686 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29687 * libio/iofputs.c: Assume weak_alias is defined.
29688 * libio/iofread.c: Likewise.
29689 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29690 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29691 * libio/ioftell.c: Assume weak_alias is defined.
29692 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29693 * libio/iofwide.c: Assume _LIBC is defined.
29694 (_IO_fwide): Drop SHARED conditional because it is implied by
29695 SHLIB_COMPAT.
29696 * libio/iofwrite.c: Assume weak_alias is defined.
29697 * libio/iogetdelim.c: Likewise.
29698 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29699 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29700 (_IO_getwline): Call __wmemcpy directly.
29701 * libio/iopopen.c: Assume _LIBC is defined.
29702 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29703 (_IO_close): Remove macro definitions.
29704 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29705 _exit directly.
29706 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29707 directly.
29708 * libio/ioputs.c: Assume weak_alias is defined.
29709 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29710 * libio/iosetbuffer.c: Assume weak_alias is defined.
29711 * libio/iosetvbuf.c: Likewise.
29712 * libio/ioungetc.c: Likewise.
29713 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29714 libc_hidden_def, libc_hidden_weak, NULL are defined.
29715 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29716 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29717 defined.
29718 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29719 definitions.
29720 (_IO_old_file_init_internal): Drop SHARED conditional because it
29721 is implied by SHLIB_COMPAT.
29722 (_IO_old_file_fopen): Call __open directly.
29723 (_IO_old_file_sync): Assume ESPIPE is defined.
29724 (_IO_old_file_write): Call __write directly.
29725 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29726 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29727 Call __fcntl directly.
29728 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29729 (_IO_old_fgetpos): Assume EIO is defined.
29730 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29731 (_IO_old_fgetpos64): Assume EIO is defined.
29732 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29733 (_IO_old_fsetpos): Assume EIO is defined.
29734 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29735 (_IO_old_fsetpos64): Assume EIO is defined.
29736 * libio/oldiopopen.c: Assume _LIBC is defined.
29737 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29738 (_IO_close): Remove macro definitions.
29739 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29740 directly.
29741 (_IO_old_proc_close): Call __close, __waitpid directly.
29742 * libio/put.c: Assume weak_alias is defined.
29743 * libio/stdfiles.c: Assume _LIBC is defined.
29744 * libio/stdio.c: Likewise.
29745 * libio/wfileops.c: Likewise.
29746 (_IO_wfile_sync): Assume ESPIPE is defined.
29747 * libio/wgenops.c: Assume _LIBC is defined.
29748 (save_for_wbackup): Remove internal_function.
29749
5129873a
FW
297502017-08-31 Florian Weimer <fweimer@redhat.com>
29751
29752 * malloc/malloc.c (top_check): Change return type to void. Remove
29753 internal_function.
29754 * malloc/hooks.c (top_check): Likewise.
29755 (malloc_check, realloc_check, memalign_check): Adjust.
29756
4fa9b3bf
JM
297572017-08-30 Joseph Myers <joseph@codesourcery.com>
29758
29759 [BZ #21457]
29760 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29761 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29762 sigcontext and namespace requirements.
29763 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29764 * sysdeps/m68k/sys/ucontext.h: Likewise.
29765 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29766 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29767 <bits/sigcontext.h>.
29768 (__ctx): Define earlier.
29769 (mcontext_t): Define structure contents rather than using struct
29770 sigcontext.
29771 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29772 __glibc_reserved1 instead of __reserved.
29773 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29774 <bits/sigcontext.h>.
29775 (__ctx): Define earlier.
29776 (mcontext_t): Define structure contents rather than using struct
29777 sigcontext.
29778 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29779 mcontext_t instead of struct sigcontext.
29780 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29781 <bits/sigcontext.h>.
29782 (__ctx): Define earlier.
29783 (mcontext_t): Define structure contents rather than using struct
29784 sigcontext.
29785 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29786 <bits/sigcontext.h>.
29787 (__ctx): Define earlier.
29788 (mcontext_t): Define structure contents rather than using struct
29789 sigcontext.
29790 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29791 mcontext_t instead of struct sigcontext.
29792 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29793 mcontext_t instead of struct sigcontext.
29794 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29795 <bits/sigcontext.h>.
29796 (__ctx): New macro.
29797 (struct __ia64_fpreg_mcontext): New type.
29798 (mcontext_t): Define structure contents rather than using struct
29799 sigcontext.
29800 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29801 (uc_sigmask): Define using __ctx.
29802 (uc_stack): Likewise.
29803 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29804 <bits/sigcontext.h>.
29805 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29806 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29807 <bits/sigcontext.h>.
29808 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29809 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29810 <bits/sigcontext.h>.
29811 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29812 <bits/sigcontext.h>.
29813 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29814 <bits/sigcontext.h>.
29815 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29816 <bits/sigcontext.h>.
29817 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29818 <bits/sigcontext.h>.
29819 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29820 <bits/sigcontext.h>.
29821 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29822 <bits/sigcontext.h>.
29823 (__ctx): Define earlier.
29824 (mcontext_t): Define structure contents rather than using struct
29825 sigcontext.
29826 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29827 <bits/sigcontext.h>. Include <bits/types.h>.
29828 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29829 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29830 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29831 (test-xfail-UNIX98/signal.h/conform): Likewise.
29832 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29833 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29834 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29835 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29836 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29837 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29838 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29839 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29840 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29841
5898f454
FW
298422017-08-30 Florian Weimer <fweimer@redhat.com>
29843
29844 * malloc/dynarray_emplace_enlarge.c
29845 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29846 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29847 * malloc/tst-dynarray.c (test_long_overflow): New function.
29848 (do_test): Call it.
29849
a9da0bb2
FW
298502017-08-30 Florian Weimer <fweimer@redhat.com>
29851
29852 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29853 (set_arena_corrupt): Remove definitions.
29854 (mtrim): Do not check for corrupt arena.
29855 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29856 Likewise.
29857
ac3ed168
FW
298582017-08-30 Florian Weimer <fweimer@redhat.com>
29859
29860 [BZ #21754]
29861 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29862 check_action.
29863 (ptmalloc_init): Do not set or use check_action.
29864 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29865 call to malloc_printerr. Remove return statement.
29866 (free_check): Likewise. Remove arena unlock.
29867 (top_check): Update comment. Adjust call to malloc_printerr.
29868 Remove heap repair code.
29869 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29870 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29871 (sysmalloc): Adjust call to malloc_printerr.
29872 (munmap_chunk, __libc_realloc): Likewise. Remove return
29873 statement.
29874 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29875 Remove errout label and corresponding gotos.
29876 (_int_free): Likewise. Remove arena unlock.
29877 (do_set_mallopt_check): Do not set check_action.
29878 (malloc_printerr): Adjust parameter list. Do not mark arena as
29879 corrupt.
29880 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29881 comment.
29882 * manual/probes.texi (Memory Allocation Probes): Remove
29883 memory_mallopt_check_action.
29884
44bcba80
SE
298852017-08-30 Steve Ellcey <sellcey@cavium.com>
29886
29887 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29888 Use pointer to uint64_t instead of long int for sp.
29889
ec2c1fce
FW
298902017-08-30 Florian Weimer <fweimer@redhat.com>
29891
29892 [BZ #21754]
29893 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29894 without printing a backtrace. Do not leak any information in the
29895 error message.
29896 * manual/memory.texi (Heap Consistency Checking): Update.
29897 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29898
9ce673b6
FW
298992017-08-30 Florian Weimer <fweimer@redhat.com>
29900
29901 Do not scale NPTL tests with available number of CPUs.
29902 * nptl/tst-cond16.c (count): Set to constant value of 8.
29903 * nptl/tst-cond18.c (count): Likewise.
29904
2f1aef19
JM
299052017-08-29 Joseph Myers <joseph@codesourcery.com>
29906
29907 [BZ #22035]
29908 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29909 Define to take a second argument that is a macro that
29910 concatentates a suffix, not the suffix itself.
29911 (__CONCAT_d): New macro.
29912 (__CONCAT_f): Likewise.
29913 (__CONCAT_l): Likewise.
29914
8325b477
PP
299152017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29916
29917 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29918 by child.
29919
319cbbf6
AZ
299202017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29921 Aurelien Jarno <aurelien@aurel32.net>
29922 Maciej W. Rozycki <macro@imgtec.com>
29923
29924 [BZ #21956]
29925 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29926 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29927 `mips16-syscall6' and `mips16-syscall7'.
29928 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29929 (CFLAGS-mips16-syscall7.c): Remove.
29930 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29931 Remove `__mips16_syscall5', `__mips16_syscall6' and
29932 `__mips16_syscall7'.
29933 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29934 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29935 `__mips_syscall_return'.
29936 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29937 (__mips16_syscall1): Likewise.
29938 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29939 (__mips16_syscall2): Likewise.
29940 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29941 (__mips16_syscall3): Likewise.
29942 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29943 (__mips16_syscall4): Likewise.
29944 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29945 Remove.
29946 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29947 Remove.
29948 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29949 Remove.
29950 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29951 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29952 `__mips16_syscall5'. Remove prototype.
29953 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29954 `__mips16_syscall6'. Remove prototype.
29955 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29956 `__mips16_syscall7'. Remove prototype.
29957 (__nomips16, __mips16_syscall_return): Move to...
29958 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29959 (__nomips16, __mips_syscall_return): ... here.
29960 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29961 `__mips16_syscall_return' to `__mips_syscall_return'.
29962 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29963 `internal_syscall##nr'.
29964 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29965 `internal_syscall##nr'.
29966 (FORCE_FRAME_POINTER): Remove.
29967 (__mips_syscall5): New prototype.
29968 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29969 (__mips_syscall6): New prototype.
29970 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29971 (__mips_syscall7): New prototype.
29972 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29973 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29974 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29975 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29976 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29977 (sysdep_routines): Add libc-do-syscall.
29978 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29979 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29980
01b87c65
AZ
299812017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29982
29983 [BZ #21672]
29984 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29985 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29986 (advise_stack_range): New function.
29987 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29988 stack non required to advise_stack_range at allocatestack.c
29989
16f138a4
SN
299902017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29991
29992 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29993
251bccfa
FW
299942017-08-29 Florian Weimer <fweimer@redhat.com>
29995
29996 [BZ #22026]
29997 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29998 __end_fct. Mangle __end_fct after setting it to NULL.
29999 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30000 (modules-names, modules-names-tests): Add
30001 tst-gconv-init-failure-mod.
30002 (gconv-modules): New target.
30003 (tst-gconv-init-failure-mod.so): Link against libsupport.
30004 (tst-gconv-init-failure): Depend on gconv-modules,
30005 tst-gconv-init-failure-mod.so.
30006 * iconv/tst-gconv-init-failure-mod.c: New file.
30007 * iconv/tst-gconv-init-failure.c: Likewise.
30008 * iconv/test-gconv-modules: Likewise.
30009
e7c18b9d
FW
300102017-08-29 Florian Weimer <fweimer@redhat.com>
30011
30012 [BZ #22025]
30013 * iconv/gconv_db.c (free_derivation): Remove redundant
30014 parentheses.
30015 (gen_steps): Unconditionally mangle __btowc_fct after
30016 initialization.
30017 (increment_counter): Likewise. Do not call init_fct for internal
30018 modules.
30019
7daada03
JM
300202017-08-29 Joseph Myers <joseph@codesourcery.com>
30021
30022 [BZ #22028]
30023 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30024 (_MSUF_): Remove macro.
30025 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30026 Likewise.
30027 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30028 (__REDIRFROM_X): New macro.
30029 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30030 Likewise.
30031 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30032 (__REDIRTO_X): Likewise.
30033 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30034 arguments.
30035 (__MATH_REDIRCALL_2): Likewise.
30036 (__MATH_REDIRCALL_INTERNAL): Likewise.
30037 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30038 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30039 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30040 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30041 * math/test-finite-macros.c: New file.
30042 * math/Makefile (tests): Add test-finite-macros.
30043 (CFLAGS-test-finite-macros.c): New variable.
30044
1cf1232c
PF
300452017-08-29 Patsy Franklin <pfrankli@redhat.com>
30046 Jeff Law <law@redhat.com>
30047
30048 [BZ #22025]
30049 Mangle NULL pointers in iconv/gconv.
30050 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30051 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30052 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30053 is non-NULL before demangling the end_fct. Check for NULL
30054 end_fct after demangling.
30055 (__gconv_release_step): Demangle the end_fct before checking
30056 it for NULL. Remove assert on __shlibc_handle != NULL.
30057 (gen_steps): Don't check btowc_fct for NULL before mangling.
30058 Demangle init_fct before checking for NULL.
30059 (increment_counter): Likewise.
30060 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30061 end_fct for NULL before mangling.
30062 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30063 for NULL.
30064
c207f7ce 300652017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
30066
30067 [BZ #21971]
30068 * locale/iso-639.def: add Morisyen.
30069
42496114
GG
300702017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30071
30072 [BZ #21930]
30073 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30074 (iszero): New C++ implementation that does not use
30075 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30076 signaling nans are enabled, since __builtin_types_compatible_p
30077 is a C-only feature.
30078 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30079 defined, include ieee754_float128.h for access to the union and
30080 member ieee854_float128.ieee.
30081 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30082 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30083 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30084 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30085 options of test-math-zero on powerpc64le.
30086
5e2bc4ff
L
300872017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30088
30089 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30090 Change double to float.
30091
a48c0fb4
JM
300922017-08-28 Joseph Myers <joseph@codesourcery.com>
30093
30094 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30095 unconditional.
30096 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30097 conditional code; define contents only for [LIBM_SVID_COMPAT].
30098
ee17d4e9
FW
300992017-08-28 Florian Weimer <fweimer@redhat.com>
30100
30101 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30102 (abi-lp64_be-options): Remove.
30103 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30104 (abi-hard-options): Likewise.
30105 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30106 (abi-o32_hard-options, abi-o32_soft_2008-options)
30107 (abi-o32_hard_2008-options, abi-n32_soft-options)
30108 (abi-n32_hard-options, abi-n32_soft_2008-options)
30109 (abi-n32_hard_2008-options, abi-n64_soft-options)
30110 (abi-n64_hard-options, abi-n64_soft_2008-options)
30111 (abi-n64_hard_2008-options): Likewise.
30112 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30113 (abi-64-v1-options, abi-64-v2-options): Likewise.
30114 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30115 (abi-64-options): Likewise.
30116 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30117 (abi-64-options): Likewise.
30118 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30119 (abi-64-options): Likewise.
30120 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30121 (abi-64-options, abi-x32-options): Likewise.
30122
2dba5ce7
FW
301232017-08-28 Florian Weimer <fweimer@redhat.com>
30124
30125 Store supported list of SYS_* system calls in the source tree.
30126 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30127 (bits/syscall.h): Generate from list file.
30128 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30129 [$(subdir) = misc] (tests): Add tst-syscall-list.
30130 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30131 [$(subdir) = misc] (tst-syscall-list-macros.list)
30132 [$(subdir) = misc] (tst-syscall-list-nr.list)
30133 (tst-syscall-list-sys.list): Helper targets for new
30134 tst-syscall-list test.
30135 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30136 tst-syscall-list.sh.
30137 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30138 target. Do not include bits/syscall.d.
30139 [$(subdir) = misc] (generated): Do not update.
30140 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30141 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30142 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30143 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30144
5f3b183d
PP
301452017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30146
30147 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30148 (tst-cxa_atexit, tst-on_exit): Likewise.
30149 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30150 tst-cxa_atexit, and tst-on_exit.
30151 * stdlib/tst-atexit-common.c: New file.
30152 * stdlib/tst-atexit.c: New file.
30153 * stdlib/tst-at_quick_exit.c: New file.
30154 * stdlib/tst-cxa_atexit.c: New file.
30155 * stdlib/tst-on_exit.c: New file.
30156
2ef8d469
ST
301572017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30158
30159 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
30160 * mach/stack_chk_fail_local.c: New file.
30161 * hurd/stack_chk_fail_local.c: New file.
30162 * mach/Machrules ($(interface-library)-routines): Add
30163 stack_chk_fail_local.
99ee4d26
ST
30164 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30165 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30166 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30167 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30168 * hurd/Makefile (CFLAGS-hurdstartup.o,
30169 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 30170
7ab70c98
L
301712017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30172
30173 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30174 (index_cpu_*, index_arch_*): Removed.
30175
39e7a5a6
SN
301762017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30177
30178 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30179 Use uint64_t instead of unsigned long.
30180
bba5c930
JM
301812017-08-25 Joseph Myers <joseph@codesourcery.com>
30182
a6ccdb08
JM
30183 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30184 [__HAVE_DISTINCT_FLOAT128].
30185
23761119
JM
30186 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30187 of <bits/math-finite.h>.
30188 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30189 inclusion of <bits/math-finite.h>.
30190 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30191 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30192 __NO_LONG_DOUBLE_MATH].
30193 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30194 (__MATH_REDIRCALL_2): Likewise.
30195 (__MATH_REDIRCALL_INTERNAL): Likewise.
30196 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30197 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30198 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30199
bba5c930
JM
30200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30201 Remove file.
30202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30203 Likewise.
30204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30205 Likewise.
30206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30207 Likewise.
30208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30209 Likewise.
30210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30211 Likewise.
30212 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30213 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30214 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30215 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30217 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30218 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30219 w_sqrtf_compat-ppc32.
30220
3d7b66f6
GG
302212017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30222
30223 * math/math.h [defined __cplusplus] (issignaling): In the long
30224 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30225 is not defined. Call __issignaling, otherwise.
30226
ebd6f007
AZ
302272017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30228
30229 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30230 syscall definitions and replace __builtin_expect with __glibc_likely.
30231 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30232 syscall.
30233 (SYSCALL_CANCELLABLE): Removedefinition
30234 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30235 definition.
30236 (PSEUDO_END): Likewise.
30237 [IS_IN (libpthread)] (CENABLE): Likewise.
30238 [IS_IN (libpthread)] (CDISABLE): Likewise.
30239 [IS_IN (libc)] (CENABLE): Likewise.
30240 [IS_IN (libc)] (CENABLE): Likewise.
30241 [IS_IN (librt)] (CDISABLE): Likewise.
30242 [IS_IN (librt)] (CDISABLE): Likewise.
30243 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30244 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30245 definition.
30246 (PSEUDO_END): Likewise.
30247 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30248 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30249 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30250 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30251 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30252 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30253 (CENABLE): Likewise.
30254 (CDISABLE): Likewise.
30255 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30256 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30257 defintion.
30258 (PSEUDO_END): Likewise.
30259 [IS_IN (libpthread)] (CENABLE): Likewise.
30260 [IS_IN (libpthread)] (CDISABLE): Likewise.
30261 [IS_IN (libc)] (CENABLE): Likewise.
30262 [IS_IN (libc)] (CENABLE): Likewise.
30263 [IS_IN (librt)] (CDISABLE): Likewise.
30264 [IS_IN (librt)] (CDISABLE): Likewise.
30265 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30266 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30267 definition.
30268 (PSEUDO_END): Likewise.
30269 [IS_IN (libpthread)] (CENABLE): Likewise.
30270 [IS_IN (libpthread)] (CDISABLE): Likewise.
30271 [IS_IN (libc)] (CENABLE): Likewise.
30272 [IS_IN (libc)] (CENABLE): Likewise.
30273 [IS_IN (librt)] (CDISABLE): Likewise.
30274 [IS_IN (librt)] (CDISABLE): Likewise.
30275 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30276 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30277 definition.
30278 (PSEUDO_END): Likewise.
30279 [IS_IN (libpthread)] (CENABLE): Likewise.
30280 [IS_IN (libpthread)] (CDISABLE): Likewise.
30281 [IS_IN (libc)] (CENABLE): Likewise.
30282 [IS_IN (libc)] (CENABLE): Likewise.
30283 [IS_IN (librt)] (CDISABLE): Likewise.
30284 [IS_IN (librt)] (CDISABLE): Likewise.
30285 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30286 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30287 definition.
30288 (PSEUDO_END): Likewise.
30289 [IS_IN (libpthread)] (CENABLE): Likewise.
30290 [IS_IN (libpthread)] (CDISABLE): Likewise.
30291 [IS_IN (libc)] (CENABLE): Likewise.
30292 [IS_IN (libc)] (CENABLE): Likewise.
30293 [IS_IN (librt)] (CDISABLE): Likewise.
30294 [IS_IN (librt)] (CDISABLE): Likewise.
30295 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30296 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30297 definition.
30298 (PSEUDO_END): Likewise.
30299 [IS_IN (libpthread)] (CENABLE): Likewise.
30300 [IS_IN (libpthread)] (CDISABLE): Likewise.
30301 [IS_IN (libc)] (CENABLE): Likewise.
30302 [IS_IN (libc)] (CENABLE): Likewise.
30303 [IS_IN (librt)] (CDISABLE): Likewise.
30304 [IS_IN (librt)] (CDISABLE): Likewise.
30305 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30306 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30307 definition.
30308 (PSEUDO_END): Likewise.
30309 [IS_IN (libpthread)] (CENABLE): Likewise.
30310 [IS_IN (libpthread)] (CDISABLE): Likewise.
30311 [IS_IN (libc)] (CENABLE): Likewise.
30312 [IS_IN (libc)] (CENABLE): Likewise.
30313 [IS_IN (librt)] (CDISABLE): Likewise.
30314 [IS_IN (librt)] (CDISABLE): Likewise.
30315 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30316 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30317 Remove definition.
30318 (PSEUDO_END): Likewise.
30319 [IS_IN (libpthread)] (CENABLE): Likewise.
30320 [IS_IN (libpthread)] (CDISABLE): Likewise.
30321 [IS_IN (libc)] (CENABLE): Likewise.
30322 [IS_IN (libc)] (CENABLE): Likewise.
30323 [IS_IN (librt)] (CDISABLE): Likewise.
30324 [IS_IN (librt)] (CDISABLE): Likewise.
30325 (SINGLE_THREAD_P): Likewise.
30326 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30327 definition.
30328 (PSEUDO_END): Likewise.
30329 [IS_IN (libpthread)] (CENABLE): Likewise.
30330 [IS_IN (libpthread)] (CDISABLE): Likewise.
30331 [IS_IN (libc)] (CENABLE): Likewise.
30332 [IS_IN (libc)] (CENABLE): Likewise.
30333 [IS_IN (librt)] (CDISABLE): Likewise.
30334 [IS_IN (librt)] (CDISABLE): Likewise.
30335 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30336 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30337 definition.
30338 (PSEUDO_END): Likewise.
30339 [IS_IN (libpthread)] (CENABLE): Likewise.
30340 [IS_IN (libpthread)] (CDISABLE): Likewise.
30341 [IS_IN (libc)] (CENABLE): Likewise.
30342 [IS_IN (libc)] (CENABLE): Likewise.
30343 [IS_IN (librt)] (CDISABLE): Likewise.
30344 [IS_IN (librt)] (CDISABLE): Likewise.
30345 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30346 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30347 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30348 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30349 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30350 definition.
30351 (PSEUDO_END): Likewise.
30352 [IS_IN (libpthread)] (CENABLE): Likewise.
30353 [IS_IN (libpthread)] (CDISABLE): Likewise.
30354 [IS_IN (libc)] (CENABLE): Likewise.
30355 [IS_IN (libc)] (CENABLE): Likewise.
30356 [IS_IN (librt)] (CDISABLE): Likewise.
30357 [IS_IN (librt)] (CDISABLE): Likewise.
30358 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30359 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30360 definition.
30361 (PSEUDO_END): Likewise.
30362 [IS_IN (libpthread)] (CENABLE): Likewise.
30363 [IS_IN (libpthread)] (CDISABLE): Likewise.
30364 [IS_IN (libc)] (CENABLE): Likewise.
30365 [IS_IN (libc)] (CENABLE): Likewise.
30366 [IS_IN (librt)] (CDISABLE): Likewise.
30367 [IS_IN (librt)] (CDISABLE): Likewise.
30368 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30369 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30370 definition.
30371 (PSEUDO_END): Likewise.
30372 [IS_IN (libpthread)] (CENABLE): Likewise.
30373 [IS_IN (libpthread)] (CDISABLE): Likewise.
30374 [IS_IN (libc)] (CENABLE): Likewise.
30375 [IS_IN (libc)] (CENABLE): Likewise.
30376 [IS_IN (librt)] (CDISABLE): Likewise.
30377 [IS_IN (librt)] (CDISABLE): Likewise.
30378 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30379 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30381 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30382 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30383 definition.
30384 (PSEUDO_END): Likewise.
30385 [IS_IN (libpthread)] (CENABLE): Likewise.
30386 [IS_IN (libpthread)] (CDISABLE): Likewise.
30387 [IS_IN (libc)] (CENABLE): Likewise.
30388 [IS_IN (libc)] (CENABLE): Likewise.
30389 [IS_IN (librt)] (CDISABLE): Likewise.
30390 [IS_IN (librt)] (CDISABLE): Likewise.
30391 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30392 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30393 definition.
30394 (PSEUDO_END): Likewise.
30395 [IS_IN (libpthread)] (CENABLE): Likewise.
30396 [IS_IN (libpthread)] (CDISABLE): Likewise.
30397 [IS_IN (libc)] (CENABLE): Likewise.
30398 [IS_IN (libc)] (CENABLE): Likewise.
30399 [IS_IN (librt)] (CDISABLE): Likewise.
30400 [IS_IN (librt)] (CDISABLE): Likewise.
30401 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30402
8aa48656
SN
304032017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30404
30405 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30406
fcaaca41
L
304072017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30408
30409 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30410
376b40a2
L
304112017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30412
30413 [BZ #21982]
30414 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30415 middle and outer with size_t instead of int. Repleace %d and
30416 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30417 "MAX (outer, nchars - 64)" to support unsigned outer and
30418 nchars. Also exit loop when outer == 0.
30419
2b0b9a1c
AZ
304202017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30421
30422 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30423 * include/signal.h (__sigsuspend_nocancel): Likewise.
30424 * include/time.h (__nanosleep_nocancel): Likewise.
30425 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30426 * login/utmp_file.c: Include non cancellable syscall header.
30427 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30428 prototype.
30429
b9eaca8f
L
304302017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30431
30432 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30433 .byte sequences with AVX512F instructions.
30434 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30435 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30436 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30437 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30438 Likewise.
30439 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30440 Likewise.
30441
5a706f64
SE
304422017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30443 Steve Ellcey <sellcey@cavium.com>
30444
30445 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30446 Use PTR_REG macro in cmp instruction.
30447
b513da7e
GG
304482017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30449
30450 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30451 Change the return type of the ifunc resolver to match the return
30452 type of the target function.
30453
78ca091c
AZ
304542017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30455
b70b6026
AZ
30456 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30457 (preadv64): Likewise.
30458 (pwrite64(: Likewise.
30459 (pwritev64): Likewise.
30460
78ca091c
AZ
30461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30462 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30463 (LOAD_ARGS_0): Likewise.
30464 (LOAD_ARGS_1): Likewise.
30465 (LOAD_ARGS_2): Likewise.
30466 (LOAD_ARGS_3): Likewise.
30467 (LOAD_ARGS_4): Likewise.
30468 (LOAD_ARGS_5): Likewise.
30469 (LOAD_ARGS_6): Likewise.
30470 (LOAD_REGS_0): Likewise.
30471 (LOAD_REGS_1): Likewise.
30472 (LOAD_REGS_2): Likewise.
30473 (LOAD_REGS_3): Likewise.
30474 (LOAD_REGS_4): Likewise.
30475 (LOAD_REGS_5): Likewise.
30476 (LOAD_REGS_6): Likewise.
30477 (ASM_ARGS_0): Likewise.
30478 (ASM_ARGS_1): Likewise.
30479 (ASM_ARGS_2): Likewise.
30480 (ASM_ARGS_3): Likewise.
30481 (ASM_ARGS_4): Likewise.
30482 (ASM_ARGS_5): Likewise.
30483 (ASM_ARGS_6): Likewise.
30484 (LOAD_ARGS_TYPES_1): Likewise.
30485 (LOAD_ARGS_TYPES_2): Likewise.
30486 (LOAD_ARGS_TYPES_3): Likewise.
30487 (LOAD_ARGS_TYPES_4): Likewise.
30488 (LOAD_ARGS_TYPES_5): Likewise.
30489 (LOAD_ARGS_TYPES_6): Likewise.
30490 (LOAD_REGS_TYPES_1): Likewise.
30491 (LOAD_REGS_TYPES_2): Likewise.
30492 (LOAD_REGS_TYPES_3): Likewise.
30493 (LOAD_REGS_TYPES_4): Likewise.
30494 (LOAD_REGS_TYPES_5): Likewise.
30495 (LOAD_REGS_TYPES_6): Likewise.
30496 (TYPEFY): New define.
30497 (ARGIFY): Likewise.
30498 (internal_syscall0): Likewise.
30499 (internal_syscall1): Likewise.
30500 (internal_syscall2): Likewise.
30501 (internal_syscall3): Likewise.
30502 (internal_syscall4): Likewise.
30503 (internal_syscall5): Likewise.
30504 (internal_syscall6): Likewise.
30505 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30506 (INTERNAL_SYSCALL_NCS): Remove define.
30507 (internal_syscall1): Add define.
30508
453a493d
GG
305092017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30510
30511 * math/w_remainder_compat.c: Remove duplicate inclusion of
30512 math-svid-compat.h.
30513 * math/w_remainderf_compat.c: Likewise.
30514 * math/w_remainderl_compat.c: Likewise.
30515
f2f048a5
GG
305162017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30517
30518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30519
d9bef9c0
JM
305202017-08-22 Joseph Myers <joseph@codesourcery.com>
30521
30522 [BZ #21684]
30523 * math/tgmath.h (__floating_type): Simplify definitions.
30524 (__real_integer_type): New macro.
30525 (__complex_integer_type): Likewise.
30526 (__expr_is_real): Likewise.
30527 (__tgmath_real_type_sub): Update comment to describe handling of
30528 complex types.
30529 (__tgmath_complex_type_sub): New macro.
30530 (__tgmath_complex_type): Likewise.
30531 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30532 (__TGMATH_CF128): Use __expr_is_real.
30533 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30534 __expr_is_real.
30535 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30536 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30537 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30538 integer types.
30539
08d6eb46
AZ
305402017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30541
988f991b
AZ
30542 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30543 macro.
30544 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30545 alias.
30546 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30547 Likewise.
30548
6f33fd04
AZ
30549 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30550 nanosleep_not_cancel with __nanosleep_nocancel.
30551 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30552 (__nanosleep_nocancel): New macro.
30553 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30554 function.
30555 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30556 macro.
30557 (__nanosleep_nocancel): New prototype.
30558
08d6eb46
AZ
30559 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30560 pause_not_cancel with __pause_nocancel.
30561 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30562 (__pause_nocancel): New macro.
30563 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30564 macro.
30565 (__pause_nocancel): New prototype.
30566 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30567
ee4e992e
MS
305682017-08-22 Martin Sebor <msebor@redhat.com>
30569
30570 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30571 to return a pointer to the same type as the target function.
30572
20962acb
L
305732017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30574
30575 [BZ #18822]
30576 [BZ #21986]
30577 * include/printf.h (__printf_fphex): Add attribute_hidden.
30578 (__guess_grouping): New prototype.
30579 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30580 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30581 libc_hidden_proto and libc_hidden_def.
30582 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30583 (__vstrfmon_l): Remove the third argument passed to
30584 __guess_grouping.
30585
a16e8bc0
GG
305862017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30587
30588 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30589 definition for issignaling that does not rely on __MATH_TG,
30590 since __MATH_TG uses __builtin_types_compatible_p, which is only
30591 available in C mode.
30592 (CFLAGS-test-math-issignaling.cc): New variable.
30593 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30594 * math/test-math-issignaling.cc: New test for C++ implementation
30595 of type-generic issignaling.
30596 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30597 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30598 options of test-math-issignaling on powerpc64le.
30599
8d2ec553
L
306002017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30601
30602 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30603 building libc.a.
30604 (hidden_proto): Likewise.
30605 (hidden_tls_proto): Likewise.
30606 (__hidden_proto): Likewise.
30607
a4d57b79
FW
306082017-08-22 Florian Weimer <fweimer@redhat.com>
30609
30610 math: Statically link tests of internal functionality.
30611 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30612 atest-exp2.
30613 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30614 (gmp-objs): Remove assignment.
30615 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30616
75dfe623
JM
306172017-08-22 Joseph Myers <joseph@codesourcery.com>
30618
80f91666
JM
30619 [BZ #21987]
30620 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30621 and copy to ...
30622 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30623 ... here.
30624 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30625 ... and here.
30626
75dfe623
JM
30627 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30628 variable definitions above inclusion of ../Rules.
30629
ea99fcd0
JM
306302017-08-21 Joseph Myers <joseph@codesourcery.com>
30631
30632 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30633 case calling __builtin_unreachable.
30634
19926de9
AZ
306352017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30636
a8410a5f
AZ
30637 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30638 __waitpid_nocancel.
30639 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30640 (__waitpid_nocancel): New macro.
30641 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30642 macro.
30643 (__waitpid_nocancel): Replace macro with a function.
30644 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30645 function.
30646
7369800c
AZ
30647 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30648 __fcntl_nocancel.
30649 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30650 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30651
19926de9
AZ
30652 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30653 __writev_nocancel_nostatus.
30654 (write_call_graph): Likewise.
30655 (write_bb_counts): Likewise.
30656 * resolv/herror.c (herror): Likewise.
30657 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30658 macro.
30659 (__writev_nocancel_nostatus): New macro.
30660 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30661 Remove macro.
30662 (__writev_nocancel_nostatus): New function.
30663
813378e9
JM
306642017-08-21 Joseph Myers <joseph@codesourcery.com>
30665
df1deda6
JM
30666 Revert:
30667 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30668
30669 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30670 building libc.a.
30671 (hidden_proto): Likewise.
30672 (hidden_tls_proto): Likewise.
30673 (__hidden_proto): Likewise.
30674
831bbd55
JM
30675 [BZ #21973]
30676 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30677 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30679 Likewise.
30680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30681 Likewise.
30682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30683 Likewise.
30684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30685 Likewise.
30686 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30687 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30688 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30689 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30690 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30691 GLIBC_2.0 sqrtl symbol.
30692
813378e9
JM
30693 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30694 [__USE_MISC] (_LIB_VERSION): Likewise.
30695 [__USE_MISC] (struct exception): Likewise.
30696 [__USE_MISC] (matherr): Likewise.
30697 [__USE_MISC] (DOMAIN): Likewise.
30698 [__USE_MISC] (SING): Likewise.
30699 [__USE_MISC] (OVERFLOW): Likewise.
30700 [__USE_MISC] (UNDERFLOW): Likewise.
30701 [__USE_MISC] (TLOSS): Likewise.
30702 [__USE_MISC] (PLOSS): Likewise.
30703 [__USE_MISC] (HUGE): Likewise.
30704 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30705 * math/math-svid-compat.h: New file.
30706 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30707 and matherrl.
30708 * include/math.h [!_ISOMAC] (__matherr): Remove.
30709 * manual/arith.texi (FP Exceptions): Do not document matherr.
30710 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30711 (tests-internal): New variable.
30712 (install-lib): Do not add libieee.a.
30713 (non-lib.a): Likewise.
30714 (extra-objs): Do not add libieee.a and ieee-math.o.
30715 (CPPFLAGS-s_lib_version.c): Remove variable.
30716 ($(objpfx)libieee.a): Remove rule.
30717 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30718 * math/ieee-math.c: Remove.
30719 * math/libm-test-support.c (matherr): Remove.
30720 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30721 and license notices. Include <math-svid-compat.h> and
30722 <shlib-compat.h>.
30723 (matherr): Undefine as macro. Use compat_symbol_reference.
30724 (_LIB_VERSION): Likewise.
30725 * math/test-matherr-2.c: New file.
30726 * math/test-matherr-3.c: Likewise.
30727 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30728 declaration.
30729 (__kernel_standard_f): Likewise.
30730 (__kernel_standard_l): Likewise.
30731 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30732 <math_private.h>. Include <math-svid-compat.h>.
30733 (_LIB_VERSION): Undefine as macro.
30734 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30735 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30736 [LIBM_SVID_COMPAT], use compat_symbol.
30737 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30738 <math_private.h>. Include <math-svid-compat.h>.
30739 (matherr): Undefine as macro.
30740 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30741 compat_symbol.
30742 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30743 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30744 compat_symbol_reference.
30745 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30746 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30747 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30748 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30749 (MATHERR_D): Remove declaration.
30750 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30751 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30752 [LIBM_BUILD] (pmatherrf): Likewise.
30753 [LIBM_BUILD] (pmatherr): Likewise.
30754 [LIBM_BUILD] (pmatherrl): Likewise.
30755 (DOMAIN): Likewise.
30756 (SING): Likewise.
30757 (OVERFLOW): Likewise.
30758 (UNDERFLOW): Likewise.
30759 (TLOSS): Likewise.
30760 (PLOSS): Likewise.
30761 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30762 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30763 compat_symbol.
30764 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30765 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30766 compat_symbol.
30767 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30768 * math/w_acos_compat.c: Likewise.
30769 * math/w_acosf_compat.c: Likewise.
30770 * math/w_acosh_compat.c: Likewise.
30771 * math/w_acoshf_compat.c: Likewise.
30772 * math/w_acoshl_compat.c: Likewise.
30773 * math/w_acosl_compat.c: Likewise.
30774 * math/w_asin_compat.c: Likewise.
30775 * math/w_asinf_compat.c: Likewise.
30776 * math/w_asinl_compat.c: Likewise.
30777 * math/w_atan2_compat.c: Likewise.
30778 * math/w_atan2f_compat.c: Likewise.
30779 * math/w_atan2l_compat.c: Likewise.
30780 * math/w_atanh_compat.c: Likewise.
30781 * math/w_atanhf_compat.c: Likewise.
30782 * math/w_atanhl_compat.c: Likewise.
30783 * math/w_cosh_compat.c: Likewise.
30784 * math/w_coshf_compat.c: Likewise.
30785 * math/w_coshl_compat.c: Likewise.
30786 * math/w_exp10_compat.c: Likewise.
30787 * math/w_exp10f_compat.c: Likewise.
30788 * math/w_exp10l_compat.c: Likewise.
30789 * math/w_exp2_compat.c: Likewise.
30790 * math/w_exp2f_compat.c: Likewise.
30791 * math/w_exp2l_compat.c: Likewise.
30792 * math/w_fmod_compat.c: Likewise.
30793 * math/w_fmodf_compat.c: Likewise.
30794 * math/w_fmodl_compat.c: Likewise.
30795 * math/w_hypot_compat.c: Likewise.
30796 * math/w_hypotf_compat.c: Likewise.
30797 * math/w_hypotl_compat.c: Likewise.
30798 * math/w_j0_compat.c: Likewise.
30799 * math/w_j0f_compat.c: Likewise.
30800 * math/w_j0l_compat.c: Likewise.
30801 * math/w_j1_compat.c: Likewise.
30802 * math/w_j1f_compat.c: Likewise.
30803 * math/w_j1l_compat.c: Likewise.
30804 * math/w_jn_compat.c: Likewise.
30805 * math/w_jnf_compat.c: Likewise.
30806 * math/w_jnl_compat.c: Likewise.
30807 * math/w_lgamma_main.c: Likewise.
30808 * math/w_lgamma_r_compat.c: Likewise.
30809 * math/w_lgammaf_main.c: Likewise.
30810 * math/w_lgammaf_r_compat.c: Likewise.
30811 * math/w_lgammal_main.c: Likewise.
30812 * math/w_lgammal_r_compat.c: Likewise.
30813 * math/w_log10_compat.c: Likewise.
30814 * math/w_log10f_compat.c: Likewise.
30815 * math/w_log10l_compat.c: Likewise.
30816 * math/w_log2_compat.c: Likewise.
30817 * math/w_log2f_compat.c: Likewise.
30818 * math/w_log2l_compat.c: Likewise.
30819 * math/w_log_compat.c: Likewise.
30820 * math/w_logf_compat.c: Likewise.
30821 * math/w_logl_compat.c: Likewise.
30822 * math/w_pow_compat.c: Likewise.
30823 * math/w_powf_compat.c: Likewise.
30824 * math/w_powl_compat.c: Likewise.
30825 * math/w_remainder_compat.c: Likewise.
30826 * math/w_remainderf_compat.c: Likewise.
30827 * math/w_remainderl_compat.c: Likewise.
30828 * math/w_scalb_compat.c: Likewise.
30829 * math/w_scalbf_compat.c: Likewise.
30830 * math/w_scalbl_compat.c: Likewise.
30831 * math/w_sinh_compat.c: Likewise.
30832 * math/w_sinhf_compat.c: Likewise.
30833 * math/w_sinhl_compat.c: Likewise.
30834 * math/w_sqrt_compat.c: Likewise.
30835 * math/w_sqrtf_compat.c: Likewise.
30836 * math/w_sqrtl_compat.c: Likewise.
30837 * math/w_tgamma_compat.c: Likewise.
30838 * math/w_tgammaf_compat.c: Likewise.
30839 * math/w_tgammal_compat.c: Likewise.
30840 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30841 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30842 * sysdeps/ieee754/k_standard.c: Likewise.
30843 * sysdeps/ieee754/k_standardf.c: Likewise.
30844 * sysdeps/ieee754/k_standardl.c: Likewise.
30845 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30846 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30847 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30848 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30849 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30850 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30851 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30852 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30853 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30855 Likewise.
30856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30857 Likewise.
30858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30860 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30861 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30862
4504783c
FW
308632017-08-21 Florian Weimer <fweimer@redhat.com>
30864
30865 [BZ #21864]
30866 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30867 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30868 Move before inclusion of ../Rules.
30869
b5889d25
FW
308702017-08-21 Florian Weimer <fweimer@redhat.com>
30871
30872 [BZ #21972]
30873 * assert/assert.h (assert): Use static_cast (bool) for C++.
30874 Use the ternary operator in the warning branch for GNU C.
30875 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30876 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30877 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30878 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30879 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30880
41e673c1
L
308812017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30882
30883 [BZ #18822]
30884 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30885 (__syscall_clock_gettime): Add attribute_hidden.
30886 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30887 (__start_context): Likewise.
30888
568ff429
L
308892017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30890
30891 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30892 building libc.a.
30893 (hidden_proto): Likewise.
30894 (hidden_tls_proto): Likewise.
30895 (__hidden_proto): Likewise.
30896
7c41b4a1
L
308972017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30898
30899 * include/libc-symbols.h (attribute_hidden): Enable hidden
30900 visibility in libc.a compiled with PIE.
30901
483d7068
L
309022017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30903
30904 [BZ #18822]
30905 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30906 Add attribute_hidden.
30907
309082017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30909
30910 [BZ #21864]
30911 * Makerules (all-nonlib): Add $(others-extras).
30912 * catgets/Makefile (others-extras): New.
30913 * elf/Makefile (others-extras): Likewise.
30914 * nss/Makefile (others-extras): Likewise.
30915
54e4b8f2
L
309162017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30917
30918 [BZ #18822]
30919 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30920 * elf/dl-open.c: Include <libc-internal.h>.
30921 (__libc_multiple_libcs): Removed.
30922 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30923 <hp-timing.h>.
30924 * include/libc-internal.h (__libc_multiple_libcs): New.
30925 * misc/sbrk.c: Include <libc-internal.h>.
30926 (__libc_multiple_libcs): Removed.
30927
1dbbb1ec
L
309282017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30929
30930 [BZ #18822]
30931 * grp/initgroups.c (__nss_group_database): Removed.
30932 (__nss_initgroups_database): Likewise.
30933 * nscd/gai.c (__nss_hosts_database): Likewise.
30934 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30935 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30936 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30937 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30938 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30939 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30940 attribute_hidden.
30941 * nss/nsswitch.c (__nss_database_custom): Define only if
30942 USE_NSCD is defined.
30943 (__nss_configure_lookup): Use __nss_database_custom only if
30944 USE_NSCD is defined.
30945 * nss/nsswitch.h (__nss_database_custom): Declare only if
30946 USE_NSCD is defined. Add attribute_hidden.
30947 (__nss_setent): Add attribute_hidden.
30948 (__nss_endent): Likewise.
30949 (__nss_getent_r): Likewise.
30950 (__nss_getent): Likewise.
30951 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30952
2585d7b8
L
309532017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30954
30955 [BZ #18822]
30956 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30957 libc_hidden_proto and libc_hidden_def.
30958
c8dfa99c
L
309592017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30960
30961 [BZ #18822]
30962 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30963 Add libc_hidden_proto.
30964 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30965 Add libc_hidden_def.
30966
7ed87317
L
309672017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30968
30969 [BZ #21974]
30970 * gmon/Makefile (routines): Remove bb_init_func and
30971 bb_exit_func.
30972 (elide-routines.os): Removed.
9476b904
L
30973 * gmon/bb_exit_func.c: Likewise.
30974 * gmon/bb_init_func.c: Likewise.
7ed87317
L
30975 * include/sys/gmon.h (__bb): Likewise.
30976 (__bb_init_func): Likewise.
30977 (__bb_exit_func): Likewise.
91695eb1 30978 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 30979
94e6ba15
L
309802017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30981
30982 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30983 * include/setjmp.h (____longjmp_chk): Here. Add
30984 attribute_hidden.
30985
7550717e
L
309862017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30987
30988 [BZ #18822]
30989 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30990 attribute_hidden.
30991 (__strspn_sse2): Likewise.
30992
0bb2fabc
AZ
309932017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30994
c181840c
AZ
30995 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30996 (close_not_cancel_no_status): Likewise.
30997 (__close_nocancel): New macro.
30998 (__close_nocancel_nostatus): Likewise.
30999 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31000 macro.
31001 (close_not_cancel): Likewise.
31002 (close_not_cancel_no_status): Likewise.
31003 (__close_nocancel): New prototype.
31004 (__close_nocancel_nostatus): New function.
31005 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31006 * catgets/open_catalog.c (__open_catalog): Replace
31007 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31008 * gmon/gmon.c (write_gmon): Likewise.
31009 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31010 * intl/loadmsgcat.c (close): Likewise.
31011 * io/ftw.c (open_dir_stream): Likewise.
31012 (ftw_startup): Likewise.
31013 * libio/fileops.c (_IO_file_open): Likewise.
31014 (_IO_file_close_mmap): Likewise.
31015 (_IO_file_close): Likewise.
31016 * libio/iopopen.c (_IO_dup2): Likewise.
31017 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31018 * locale/loadlocale.c (_nl_load_locale): Likewise.
31019 * login/utmp_file.c (pututline_file): Likewise.
31020 (endutent_file): Likewise.
31021 * misc/daemon.c (daemon): Likewise.
31022 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31023 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31024 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31025 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31026 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31027 * nscd/nscd_helper.c (open_socket): Likewise.
31028 (__nscd_open_socket): Likewise.
31029 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31030 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31031 (__nscd_innetgr): Likewise.
31032 * nss/nss_db/db-open.c (internal_setent): Likewise.
31033 * resolv/res-close.c (__res_iclose): Likewise.
31034 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31035 * sysdeps/posix/closedir.c (__closedir): Likewise.
31036 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31037 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31038 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31039 (opendir_tail): Likewise.
31040 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31041 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31042 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31043 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31044 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31045 (gethostid): Likewise.
31046 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31047 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31048 Likewise.
31049 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31050 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31051 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31052 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31053 Likewise.
31054 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31055 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31056 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31057 Likewise.
31058 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31059 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31060 Likewise.
31061 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31062 Likewise.
31063 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31064 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31065 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31066 __close_nocancel.
31067
0bb2fabc
AZ
31068 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31069 (openat_not_cancel_3): Likewise.
31070 (openat64_not_cancel_3): Likewise).
31071 (openat_not_cancel_3): Likewise).
31072 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31073 macro.
31074 (openat_not_cancel_3): Likewise.
31075 (openat64_not_cancel): Likewise.
31076 (openat64_not_cancel_3): Likewise.
31077 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31078 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31079 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31080 __open{64}_nocancel.
31081 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31082 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31083 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31084
65a086db
L
310852017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31086
31087 [BZ #18822]
31088 * include/argz.h (__argz_create_sep): New function prototype.
31089 (__argz_append): Likewise.
31090 (__argz_add): Likewise.
31091 (__argz_add_sep): Likewise.
31092 (__argz_delete): Likewise.
31093 (__argz_insert): Likewise.
31094 (__argz_replace): Likewise.
31095 * string/argz.h (__argz_create_sep): Removed.
31096 (__argz_append): Likewise.
31097 (__argz_add): Likewise.
31098 (__argz_add_sep): Likewise.
31099 (__argz_delete): Likewise.
31100 (__argz_insert): Likewise.
31101 (__argz_replace): Likewise.
31102
62753d2c
L
311032017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31104
31105 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31106 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31107 (GNU_PROPERTY_STACK_SIZE): Likewie.
31108 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31109 (GNU_PROPERTY_LOPROC): Likewise.
31110 (GNU_PROPERTY_HIPROC): Likewise.
31111 (GNU_PROPERTY_LOUSER): Likewise.
31112 (GNU_PROPERTY_HIUSER): Likewise.
31113 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31114 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31115 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31116 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31117 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31118 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31119 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31120 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31121 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31122 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31123 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31124 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31125 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31126 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31127 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31128 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31129 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31130 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31131 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31132 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31133 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31134 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31135 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31136
6913ad65
GG
311372017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31138
31139 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31140 in C++ mode.
31141
47a67213
GG
311422017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31143
31144 [BZ #21930]
31145 * math/math.h (isinf): Check if in C or C++ mode before using
31146 __builtin_types_compatible_p, since this is a C mode feature.
31147
a748eb31
AZ
311482017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31149
c647fb88
AZ
31150 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31151 (__write_nocancel): New macro.
31152 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31153 Rewrite as a function prototype.
31154 (write_not_cancel): Remove macro.
31155 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31156 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31157 (write_gmon): Likewise.
31158 * libio/fileops.c (_IO_new_file_write): Likewise.
31159 * login/utmp_file.c (pututline_file): Likewise.
31160 (updwtmp_file): Likewise.
31161 * stdio-common/psiginfo.c (psiginfo): Likewise.
31162 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31163 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31164 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31165 Likewise.
31166 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31167 Likewise.
31168
a748eb31
AZ
31169 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31170 (__read_nocancel): New macro.
31171 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31172 __read_nocancel.
31173 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31174 macro.
31175 (__read_nocancel): New prototype.
31176 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31177 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31178 with __read_nocancel.
31179 * intl/loadmsgcat.c (read): Likewise.
31180 * libio/fileops.c (_IO_file_read): Likewise.
31181 * locale/loadlocale.c (_nl_load_locale): Likewise.
31182 * login/utmp_file.c (getutent_r_file): Likewise.
31183 (internal_getut_r): Likewise.
31184 (getutline_r_file): Likewise.
31185 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31186 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31187 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31188 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31189 Likewise.
31190 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31191 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31192 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31193 Likewise.
31194 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31195 Likewise.
31196 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31197 Likewise.
31198 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31199 Likewise.
31200 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31201
098b9dd4
L
312022017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31203
31204 [BZ #21966]
31205 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31206 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31207 usable.
31208
a3fe6a20
DD
312092017-08-17 DJ Delorie <dj@redhat.com>
31210
31211 * bug17079.c: Update to new test harness.
31212 * test-digits-dots.c: Likewise.
31213 * test-netdb.c: Likewise.
31214 * tst-field.c: Likewise.
31215 * tst-nss-getpwent.c: Likewise.
31216 * tst-nss-static.c: Likewise.
31217 * tst-nss-test1.c: Likewise.
31218 * tst-nss-test2.c: Likewise.
31219 * tst-nss-test3.c: Likewise.
31220 * tst-nss-test4.c: Likewise.
31221 * tst-nss-test5.c: Likewise.
31222
c2284574
AZ
312232017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31224
31225 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31226 (open_not_cancel_2): Likewise.
31227 (open_nocancel): New macro.
31228 (open64_nocancel): Likewise.
31229 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31230 (open_not_cancel_2): Likewise.
31231 (__open_nocancel): New prototype.
31232 (__open64_nocancel): Likewise.
31233 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31234 __open_nocancel.
31235 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31236 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31237 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31238 with __open_nocancel.
31239 * csu/check_fds.c (check_one_fd): Likewise.
31240 * gmon/gmon.c (write_gmon): Likewise.
31241 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31242 * intl/loadmsgcat.c (open): Likewise.
31243 * libio/fileops.c (_IO_file_open): Likewise.
31244 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31245 * locale/loadlocale.c (_nl_load_locale): Likewise.
31246 * login/utmp_file.c (setutent_file): Likewise.
31247 * misc/daemon.c (daemon): Likewise.
31248 * nss/nss_db/db-open.c (internal_setent): Likewise.
31249 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31250 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31251 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31252 (__opendir): Likewise.
31253 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31254 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31255 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31256 (gethostid): Likewise.
31257 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31258 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31259 Likewise.
31260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31261 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31262 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31263 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31264 Likewise.
31265 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31266 Likewise.
31267 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31268 Likewise.
31269 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31270 Likewise.
31271 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31272 Likewise.
31273 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31274 Likewise.
31275 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31276 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31277
d4505b89
WD
312782017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31279
31280 * benchtests/bench-skeleton.c (main): Add support for
31281 latency benchmarking.
31282 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31283
34d6a3cb
L
312842017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31285
31286 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31287 the startup object.
31288
038d1caf
FW
312892017-08-17 Florian Weimer <fweimer@redhat.com>
31290
31291 * include/sys/socket.h (__opensock): Remove internal_function.
31292 * socket/opensock.c (__opensock): Likewise.
31293 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31294
67f0aff0
JM
312952017-08-16 Joseph Myers <joseph@codesourcery.com>
31296
31297 [BZ #21944]
31298 * signal/bits/types/__sigval_t.h: New file.
31299 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31300 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31301 and define sigval_t using __sigval_t.
31302 * include/bits/types/__sigval_t.h: New file.
31303 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31304 instead of <bits/types/__sigval_t.h>.
31305 (struct sigevent): Use __sigval_t instead of sigval_t.
31306 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31307 instead of <bits/types/__sigval_t.h>.
31308 (siginfo_t): Use __sigval_t instead of sigval_t.
31309 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31310 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31311 (struct sigevent): Use __sigval_t instead of sigval_t.
31312 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31313 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31314 (siginfo_t): Use __sigval_t instead of sigval_t.
31315 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31316
87e7bf4d
L
313172017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31318
31319 * NEWS: Remove "[Add new features here]" for 2.27.
31320
5047057f
JM
313212017-08-16 Joseph Myers <joseph@codesourcery.com>
31322
31323 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31324 libc.so.
31325
20c7b195
L
313262017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31327
31328 * NEWS: Mention x86-64 FMA optimization.
31329
24a2e658
L
313302017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31331
31332 [BZ #21912]
31333 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31334 Add e_expf-fma.
31335 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31336 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31337 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31338
eedca977
AS
313392017-08-16 Andreas Schwab <schwab@suse.de>
31340
403143e1
FW
31341 [BZ #16750]
31342 CVE-2009-5064
eedca977
AS
31343 * elf/ldd.bash.in: Never run file directly.
31344
f59f7adb
L
313452017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31346
31347 [BZ #21955]
31348 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31349 (L(SP_INF_0)): Likewise.
31350
6b11a6ad
FW
313512017-08-15 Florian Weimer <fweimer@redhat.com>
31352
31353 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31354 run-built-tests.
31355
bbf5c438
FW
313562017-08-15 Florian Weimer <fweimer@redhat.com>
31357
31358 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31359 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31360 BROKEN_THREAD_SIGNALS code.
31361 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31362 request_list): Remove caller_pid member used for
31363 BROKEN_THREAD_SIGNALS.
31364 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31365 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31366 Remove BROKEN_THREAD_SIGNALS support.
31367 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31368 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31369
6014c65d
FW
313702017-08-15 Florian Weimer <fweimer@redhat.com>
31371
31372 * gmon/Makefile (tests): Add tst-gmon.
31373 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31374 Set.
31375 (tests-special): Add tst-gmon-prof.out.
31376 (tst-gmon.out): Depend on clean-tst-gmon-data.
31377 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31378 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31379 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31380 startup object.
31381 * aclocal.m4 (GPROF): Set and substitute.
31382 * config.amke.in (GPROF): Set.
31383 * configure: Regenerate.
31384
ee72219a
GR
313852017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31386
31387 * elf/elf.h A (NT_PPC_TAR): New macro.
31388 (NT_PPC_PPR): Likewise.
31389 (NT_PPC_DSCR): Likewise.
31390 (NT_PPC_EBB): Likewise.
31391 (NT_PPC_PMU): Likewise.
31392 (NT_PPC_TM_CGPR): Likewise.
31393 (NT_PPC_TM_CFPR): Likewise.
31394 (NT_PPC_TM_CVMX): Likewise.
31395 (NT_PPC_TM_CVSX): Likewise.
31396 (NT_PPC_TM_SPR): Likewise.
31397 (NT_PPC_TM_CTAR): Likewise.
31398 (NT_PPC_TM_CPPR): Likewise.
31399 (NT_PPC_TM_CDSCR): Likewise.
31400
4ebf934e
FW
314012017-08-15 Florian Weimer <fweimer@redhat.com>
31402
31403 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31404 regparm (2) instead of internal_function.
31405 (_MCOUNT_DECL): Adjust.
31406
e9f57484
SL
314072017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31408
31409 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31410 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31411
88ff4d55
JM
314122017-08-14 Joseph Myers <joseph@codesourcery.com>
31413
31414 * conform/data/sys/wait.h-data (si_value): Do not expect for
31415 XPG42.
31416
c88ffc23
FW
314172017-08-14 Florian Weimer <fweimer@redhat.com>
31418
31419 [BZ #21962]
31420 NSS: Create stubs for accidentally exported lookup functions.
31421 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31422 Remove declaration.
31423 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31424 (ether_hostton): Call __nss_ethers_lookup2 instead.
31425 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31426 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31427 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31428 (setup): Call __nss_netgroup_lookup2 instead.
31429 * nss/Makefile (routines): Add compat-lookup.
31430 * nss/Versions (GLIBC_2.27): Add symbol version.
31431 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31432 (DB_COMPAT_FCT): Remove.
31433 * nss/compat-lookup.c: New file.
31434 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31435 from databases.def.
31436 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31437 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31438 (netname2user): Call __nss_publickey_lookup2 instead.
31439 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31440 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31441 instead.
31442
35a29136 314432017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
31444 Sergei Trofimovich <slyfox@inbox.ru>
31445
31446 [BZ #21908]
31447 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31448 Rename to MMAP2_PAGE_UNIT.
31449 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31450 __OFF_T_MATCHES_OFF64_T is not defined.
31451 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31452 uint64_t.
31453 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31454 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31455
fbdc1e3e
FW
314562017-08-14 Florian Weimer <fweimer@redhat.com>
31457
31458 i386: Do not set internal_function.
31459 * config.h.in (USE_REGPARMS, internal_function): Remove.
31460 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31461 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31462
b3f85fd2
FW
314632017-08-14 Florian Weimer <fweimer@redhat.com>
31464
31465 * elf/dl-init.c (_dl_init): Remove internal_function.
31466 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31467 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31468
630bf491
FW
314692017-08-14 Florian Weimer <fweimer@redhat.com>
31470
31471 * elf/rtld.c (_dl_start): Remove internal_function.
31472 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31473 _dl_start.
31474
9fa7449b
FW
314752017-08-14 Florian Weimer <fweimer@redhat.com>
31476
31477 * elf/dl-fini.c (_dl_fini): Remove internal_function
31478 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31479
73322d5f
L
314802017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31481
d863cd71 31482 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
31483 (bit_cpu_SHSTK): Likewise.
31484 (index_cpu_IBT): Likewise.
31485 (index_cpu_SHSTK): Likewise.
31486 (reg_IBT): Likewise.
31487 (reg_SHSTK): Likewise.
31488 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31489 Handle index_cpu_IBT and index_cpu_SHSTK.
31490
dbc303ef
MF
314912017-08-14 Mike FABIAN <mfabian@redhat.com>
31492
31493 [BZ #19982]
31494 * po/fr.po: Fix spelling mistake.
31495
3012cfb0
FW
314962017-08-13 Florian Weimer <fweimer@redhat.com>
31497
31498 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31499 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31500 (_dl_catch_error, _dl_receive_error): Likewise.
31501 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31502 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31503 (_dl_deallocate_tls): Likewise.
31504 * include/dlfcn.h (_dl_addr): Likewise.
31505 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31506 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31507 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31508 Likewise.
31509
52bcdf26
FW
315102017-08-13 Florian Weimer <fweimer@redhat.com>
31511
31512 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31513 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31514 internal_function.
31515 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31516
e1d2ae8d
FW
315172017-08-13 Florian Weimer <fweimer@redhat.com>
31518
31519 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31520 internal_function.
31521 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31522 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31523 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31524 internal_function from _dl_make_stack_executable_hook member.
31525 (_dl_make_stack_executable): Remove internal_function.
31526 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31527 Likewise.
31528 * sysdeps/unix/sysv/linux/dl-execstack.c
31529 (_dl_make_stack_executable): Likewise.
31530
c4ce0382
FW
315312017-08-13 Florian Weimer <fweimer@redhat.com>
31532
31533 * sysdeps/unix/sysv/linux/netlinkaccess.h
31534 (__netlink_assert_response): Remove internal_function.
31535 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31536 (__netlink_assert_response): Likewise.
31537
c4d767f7
FW
315382017-08-13 Florian Weimer <fweimer@redhat.com>
31539
31540 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31541 internal_function.
31542 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31543
b2297409
FW
315442017-08-13 Florian Weimer <fweimer@redhat.com>
31545
31546 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31547 internal_function.
31548 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31549 * inet/netgroup.h (__internal_setnetgrent)
31550 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31551 * inet/getnetgrent_r.c (__internal_setnetgrent)
31552 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31553 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31554 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31555 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31556 * nss/nsswitch.h (db_lookup_function): Likewise.
31557
1b0bfc69
FW
315582017-08-13 Florian Weimer <fweimer@redhat.com>
31559
31560 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31561 Remove internal_function.
31562 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31563 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31564 message argument on the stack.
31565 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31566 Likeweise.
31567
a6bd8722
MF
315682017-08-12 Mike FABIAN <mfabian@redhat.com>
31569
31570 Adapt test case data to the changes in the thousands
31571 separators.
31572
31573 [BZ #20756]
31574 * localedata/tst-langinfo.sh: Adapt test case data.
31575 * stdlib/tst-strfmon_l.c: Likewise.
31576 * stdlib/tst-strtod4.c: Likewise.
31577 * stdlib/tst-strtod5i.c: Likewise.
31578
8b2c63e4
FW
315792017-08-11 Florian Weimer <fweimer@redhat.com>
31580
31581 [BZ #21242]
31582 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31583 Suppress pedantic warning resulting from statement expression.
31584 (__ASSERT_FUNCTION): Add missing __extension__.
31585
61c98291
SP
315862017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31587
86c6519e
SP
31588 * benchtests/bench-memmove-large.c: Print output in JSON
31589 format.
31590 * benchtests/bench-memmove.c: Likewise.
31591
61c98291
SP
31592 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31593 * benchtests/bench-memchr.c (do_one_test): Likewise.
31594 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31595 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31596 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31597 * benchtests/bench-memmove.c (do_one_test): Likewise.
31598 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31599 * benchtests/bench-memset.c (do_one_test): Likewise.
31600 * benchtests/bench-string.h (test_init): Remove memsets.
31601
925733a9
RJ
316022017-08-10 Rical Jasan <ricaljasan@pacific.net>
31603
31604 * manual/lang.texi
31605 (Computing the Width of an Integer Data Type): Rename section to
31606 "Width of an Integer Type". Remove inaccurate statement regarding
31607 lack of C language facilities for determining width of integer
31608 types, and reorder content to improve flow and context of
31609 discussion.
31610
4fcdfbfc
RJ
316112017-08-10 Rical Jasan <ricaljasan@pacific.net>
31612
31613 * lang.texi (va_copy): Change standard from ISO to C99.
31614 (__va_copy): Add standard and header annotation.
31615 Update description for clarity of origins and current use.
31616
4d98ace9
GG
316172017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31618
31619 [BZ #21941]
31620 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31621 xssqrtqp requires operands to be in Vector Registers
31622 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31623 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31624 (__ieee754_sqrtf128): Likewise.
31625
92236903
WD
316262017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31627
31628 * sysdeps/aarch64/memcmp.S (memcmp):
31629 Rewrite of optimized memcmp.
31630
2449ae7b
FW
316312017-08-10 Florian Weimer <fweimer@redhat.com>
31632
31633 Introduce ld.so exceptions.
31634 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31635 (_dl_exception_create, _dl_exception_create_format)
31636 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31637 (_dl_catch_exception): Declare.
31638 (_dl_catch_error): Update comment.
31639 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31640 errstring, malloced members with exception member.
31641 (_dl_out_of_memory): Remove.
31642 (fatal_error): New function, extracted from _dl_signal_error.
31643 (_dl_signal_exception, _dl_signal_cexception): New functions.
31644 (_dl_signal_error): Call _dl_exception_create to allocate an
31645 exception object.
31646 (_dl_catch_exception): New function, based on _dl_catch_error.
31647 (_dl_catch_error): Implement using _dl_catch_exception.
31648 * elf/dl-exception.c: New file.
31649 * elf/Makefile (dl-routines): Add dl-exception.
31650 (elide-routines.os): Likewise.
31651 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31652 _dl_exception_create_format, _dl_exception_free.
31653 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31654 _dl_signal_exception.
31655 * elf/dl-lookup.c (make_string): Remove.
31656 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31657 _dl_signal_cexception, _dl_exception_free.
31658 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31659 _dl_signal_exception.
31660 * elf/dl-sym.c (do_sym): Likewise.
31661 * elf/dl-version.c (make_string): Remove.
31662 (match_symbol): Use _dl_exception_create_format,
31663 _dl_signal_cexception, _dl_exception_free.
31664 (_dl_check_map_versions): Likewise.
31665 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31666 _dl_catch_exception.
31667 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31668 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31669 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31670 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31671 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31672 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31673 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31674 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31675 Likewise.
31676 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31678 (ld.so): Likewise.
31679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31680 (ld.so): Likewise.
31681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31682 Likewise.
31683 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31684 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31685 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31686 Likewise.
31687 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31688 Likewise.
31689 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31690
f87cc2bf
FW
316912017-08-10 Florian Weimer <fweimer@redhat.com>
31692
31693 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31694 attribute_hidden, internal_function.
31695 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31696 internal_function.
31697
eac43cbb
FW
316982017-08-10 Florian Weimer <fweimer@redhat.com>
31699
31700 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31701 function which calls __builtin_unreachable.
31702
bd80111e
MF
317032017-08-10 Mike FABIAN <mfabian@redhat.com>
31704
31705 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31706 Indian monetary formatting
31707 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31708 test cases.
31709
60e2846e
DL
317102017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31711
68dc02d1
DL
31712 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31713 Fix typo in comment.
31714
60e2846e
DL
31715 [BZ #21928]
31716 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31717 PTRACE_SEIZE_DEVEL): Remove.
31718 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31719 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31722 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31723
3d452dab
JM
317242017-08-09 Joseph Myers <joseph@codesourcery.com>
31725
24d9f53a
JM
31726 * posix/bits/types.h (__qaddr_t): Remove.
31727
3d452dab
JM
31728 [BZ #21457]
31729 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31730 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31731 __glibc_reserved1.
31732 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31733 (ucontext_t): Use __ctx with uc_flags.
31734 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31735 (__ctxt): Likewise.
31736 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31737 __glibc_reserved1.
31738 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31739 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31740 __glibc_reserved1.
31741 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31742 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31743 __glibc_reserved1.
31744 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31745 macro.
31746 (ucontext_t): Use __ctx with uc_flags.
31747 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31748 (ucontext_t): Use __ctx with uc_flags.
31749 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31750 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31751 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31752 (ucontext_t): Use __ctx with uc_flags.
31753 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31754 undefine further down.
31755 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31756 __glibc_reserved1.
31757 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31758 undefine further down.
31759 (ucontext_t): Use __ctx with uc_flags.
31760 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31761 undefine further down.
31762 (ucontext_t): Use __ctx with uc_flags.
31763 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31764 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31765 Rename uc_pad to __glibc_reserved1.
31766 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31767 undefine further down.
31768 (ucontext_t): Use __ctx with uc_flags.
31769 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31770 further down.
31771 (ucontext_t): Use __ctx with uc_flags.
31772 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31773 __ctx with uc_flags.
31774 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31775 (ucontext_t): Use __ctx with uc_flags.
31776 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31777 __ctx with uc_flags.
31778
30161498
FW
317792017-08-09 Florian Weimer <fweimer@redhat.com>
31780
31781 [BZ #21932]
31782 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31783 before early return.
31784
5797b410
AS
317852017-08-09 Andreas Schwab <schwab@suse.de>
31786
139237a4 31787 [BZ #21041]
5797b410
AS
31788 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31789 renamed alias.
31790
139237a4 31791 [BZ #21041]
40c06a3d
AS
31792 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31793 tst-compat-forwarder.
31794 (modules-names): Add tst-compat-forwarder-mod.
31795 ($(objpfx)tst-compat-forwarder): Depend on
31796 $(objpfx)tst-compat-forwarder-mod.so.
31797 * nptl/tst-compat-forwarder.c: New file.
31798 * nptl/tst-compat-forwarder-mod.c: New file.
31799
36ada5f6
SP
318002017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31801
0e02b510
SP
31802 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31803 comments.
31804
36ada5f6
SP
31805 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31806 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31807 memcpy_falkor.
31808 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31809 Bump.
31810 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31811 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31812 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31813 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31814 Add falkor.
31815 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31816 New macro.
31817
9995c839
AZ
318182017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31819
31820 [BZ #759]
31821 * manual/setjmp.texi (getcontex): Document uc_stack value
31822 compatibility differences.
31823
f17a4233
JM
318242017-08-08 Joseph Myers <joseph@codesourcery.com>
31825
31826 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31827 (old_malloc_hook): Likewise.
31828 (old_memalign_hook): Likewise.
31829 (old_realloc_hook): Likewise.
31830 (struct hdr): Likewise.
31831 (flood): Likewise.
31832 (freehook): Likewise.
31833 (mallochook): Likewise.
31834 (memalignhook): Likewise.
31835 (reallochook): Likewise.
31836 (mprobe): Likewise.
31837 * malloc/mtrace.c (mallwatch): Likewise.
31838 (tr_old_free_hook): Likewise.
31839 (tr_old_malloc_hook): Likewise.
31840 (tr_old_realloc_hook): Likewise.
31841 (tr_old_memalign_hook): Likewise.
31842 (tr_where): Likewise.
31843 (lock_and_info): Likewise.
31844 (tr_freehook): Likewise.
31845 (tr_mallochook): Likewise.
31846 (tr_reallochook): Likewise.
31847 (tr_memalignhook): Likewise.
31848 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31849 * misc/mmap.c (__mmap): Likewise.
31850 * misc/mmap64.c (__mmap64): Likewise.
31851 * misc/mprotect.c (__mprotect): Likewise.
31852 * misc/msync.c (msync): Likewise.
31853 * misc/munmap.c (__munmap): Likewise.
31854 * posix/posix_madvise.c (posix_madvise): Likewise.
31855 * socket/send.c (__send): Likewise.
31856 * socket/sendto.c (__sendto): Likewise.
31857 * socket/setsockopt.c (__setsockopt): Likewise.
31858 * string/memcmp.c (__ptr_t): Remove macro.
31859 (MEMCMP): Use void * instead of ptr_t.
31860 * string/memrchr.c (__ptr_t): Remove macro.
31861 (__memrchr): Use void * instead of ptr_t.
31862 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31863 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31864 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31865 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31866 * sysdeps/mach/msync.c (msync): Likewise.
31867 * sysdeps/mach/munmap.c (__munmap): Likewise.
31868 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31869 Likewise.
31870 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31871 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31872 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31873 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31874 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31875 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31876 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31877 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31878 Likewise.
31879 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31880 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31881 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31882 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31883 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31884 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31885 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31886 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31887 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31888 Likewise.
31889 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31890 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31891 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31892 (MEMCMP): Use void * instead of ptr_t.
31893 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31894 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31895
0df595b2
FW
318962017-08-08 Florian Weimer <fweimer@redhat.com>
31897
31898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31899 return statement.
31900
086df229
L
319012017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31902
31903 [BZ #21913]
31904 * csu/libc-tls.c: Include <startup.h> first.
31905 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31906 * elf/dl-tunables.c: Include <startup.h> first.
31907 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31908 * sysdeps/generic/startup.h: New file.
31909 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31910 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31911 (I386_USE_SYSENTER): New. Defined to 0.
31912
fc5ad702
AS
319132017-08-08 Andreas Schwab <schwab@suse.de>
31914
31915 [BZ #21041]
31916 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31917 * nptl/pt-system.c (system): Likewise.
31918
852d6312
AZ
319192017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31920
31921 [BZ #21780]
31922 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31923 EOPNOTSUPP.
31924 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31925 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31926 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31927 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31928 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31929 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31930 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31931
8b164787
JM
319322017-08-07 Joseph Myers <joseph@codesourcery.com>
31933
cd65836b
JM
31934 [BZ #21899]
31935 * bits/sigaction.h (struct sigaction): Define sa_handler and
31936 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31937 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31938 [__USE_XOPEN_EXTENDED].
31939 (SA_RESTART): Likewise.
31940 (SA_NODEFER): Likewise.
31941 (SA_RESETHAND): Likewise.
31942 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31943 (struct sigaction): Define sa_handler and sa_sigaction using union
31944 also for [__USE_XOPEN_EXTENDED].
31945 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31946 [__USE_XOPEN_EXTENDED].
31947 (SA_RESTART): Likewise.
31948 (SA_NODEFER): Likewise.
31949 (SA_RESETHAND): Likewise.
31950 * sysdeps/unix/sysv/linux/bits/sigaction.h
31951 (struct sigaction): Define sa_handler and sa_sigaction using union
31952 also for [__USE_XOPEN_EXTENDED].
31953 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31954 [__USE_XOPEN_EXTENDED].
31955 (SA_RESTART): Likewise.
31956 (SA_NODEFER): Likewise.
31957 (SA_RESETHAND): Likewise.
31958 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31959 (struct sigaction): Define sa_handler and sa_sigaction using union
31960 also for [__USE_XOPEN_EXTENDED].
31961 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31962 [__USE_XOPEN_EXTENDED].
31963 (SA_RESTART): Likewise.
31964 (SA_NODEFER): Likewise.
31965 (SA_RESETHAND): Likewise.
31966 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31967 (struct sigaction): Define sa_handler and sa_sigaction using union
31968 also for [__USE_XOPEN_EXTENDED].
31969 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31970 [__USE_XOPEN_EXTENDED].
31971 (SA_RESTART): Likewise.
31972 (SA_NODEFER): Likewise.
31973 (SA_RESETHAND): Likewise.
31974 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31975 (struct sigaction): Define sa_handler and sa_sigaction using union
31976 also for [__USE_XOPEN_EXTENDED].
31977 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31978 [__USE_XOPEN_EXTENDED].
31979 (SA_RESTART): Likewise.
31980 (SA_NODEFER): Likewise.
31981 (SA_RESETHAND): Likewise.
31982 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31983 (struct sigaction): Define sa_handler and sa_sigaction using union
31984 also for [__USE_XOPEN_EXTENDED].
31985 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31986 [__USE_XOPEN_EXTENDED].
31987 (SA_RESTART): Likewise.
31988 (SA_NODEFER): Likewise.
31989 (SA_RESETHAND): Likewise.
31990 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31991 (struct sigaction): Define sa_handler and sa_sigaction using union
31992 also for [__USE_XOPEN_EXTENDED].
31993 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31994 [__USE_XOPEN_EXTENDED].
31995 (SA_RESTART): Likewise.
31996 (SA_NODEFER): Likewise. Define directly rather than as alias.
31997 (SA_RESETHAND): Likewise.
31998 (SA_INTERRUPT): Define only for [__USE_MISC].
31999 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32000 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32001 [__USE_MISC].
32002 (SA_STACK): Define only for [__USE_MISC].
32003 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32004 (struct sigaction): Define sa_handler and sa_sigaction using union
32005 also for [__USE_XOPEN_EXTENDED].
32006 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32007 [__USE_XOPEN_EXTENDED].
32008 (SA_RESTART): Likewise.
32009 (SA_NODEFER): Likewise.
32010 (SA_RESETHAND): Likewise.
32011 (SA_NOPTRACE): Define only for [__USE_MISC].
32012
d9fee042
JM
32013 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32014 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32015 (struct catalog_info): Likewise.
32016 * inet/htontest.c (lo): Likewise.
32017 (foo): Likewise.
32018 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32019 * inet/inet_net.c (inet_network): Likewise.
32020 * inet/inet_netof.c (inet_netof): Likewise.
32021 * inet/rcmd.c (__ivaliduser): Likewise.
32022 (iruserok): Likewise.
32023 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32024 * locale/programs/locale-spec.c (locale_special): Likewise.
32025 * nis/nis_findserv.c (struct findserv_req): Likewise.
32026 (__nis_findfastest_with_timeout): Likewise.
32027 * nss/test-netdb.c (test_network): Likewise.
32028 * resolv/inet_neta.c (inet_neta): Likewise.
32029 * resolv/ns_date.c (ns_datetosecs): Likewise.
32030 (SECS_PER_DAY): Likewise.
32031 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32032 Likewise.
32033 * resolv/res_comp.c (__putlong): Likewise.
32034 (__putshort): Likewise.
32035 (_getlong): Likewise.
32036 (_getshort): Likewise.
32037 * resolv/res_debug.c (p_time): Likewise.
32038 (precsize_ntoa): Likewise.
32039 (precsize_aton): Likewise.
32040 (latlon2ul): Likewise.
32041 (loc_aton): Likewise.
32042 (loc_ntoa): Likewise.
32043 * resolv/res_hconf.c (struct netaddr): Likewise.
32044 (_res_hconf_reorder_addrs): Likewise.
32045 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32046 (clnttcp_control): Likewise.
32047 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32048 (clntudp_control): Likewise.
32049 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32050 (clntunix_control): Likewise.
32051 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32052 * sunrpc/rpc/auth.h (union des_block): Likewise.
32053 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32054 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32055 (xdrrec_create): Likewise.
32056 (xdrrec_endofrecord): Likewise.
32057 (flush_out): Likewise.
32058 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32059 (xdrstdio_putlong): Likewise.
32060 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32061 Likewise.
32062
8b164787
JM
32063 * misc/sys/cdefs.h (__long_double_t): Remove.
32064 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32065 instead of __long_double_t,
32066 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32067
7ee38e60
SP
320682017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32069
dd3e86ad
SP
32070 * benchtests/scripts/compare_strings.py: Avoid display error when
32071 running on a text terminal.
32072
b115e819
SP
32073 * benchtests/scripts/compare_strings.py (main): Add an
32074 optional -base option.
32075 (process_results): New argument base_func.
32076
7ee38e60
SP
32077 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32078 hardcoding memcpy.
32079 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32080 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32081
d5afb385
AS
320822017-08-07 Andreas Schwab <schwab@suse.de>
32083
32084 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32085 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32086 * intl/Makefile ($(objpfx)tst-gettext.out)
32087 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32088 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32089 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32090 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32091 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32092 * posix/Makefile ($(objpfx)globtest.out)
32093 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32094 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32095 ($(objpfx)tst-printf.out): Likewise.
32096 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32097 ($(objpfx)tst-setcontext3.out): Likewise.
32098
57a72fa3
L
320992017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32100
32101 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32102 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32103 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32104 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32105 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32106 and mptan-fma.
32107 (CFLAGS-doasin-fma.c): New.
32108 (CFLAGS-dosincos-fma.c): Likewise.
32109 (CFLAGS-e_asin-fma.c): Likewise.
32110 (CFLAGS-e_atan2-fma.c): Likewise.
32111 (CFLAGS-e_exp-fma.c): Likewise.
32112 (CFLAGS-e_log-fma.c): Likewise.
32113 (CFLAGS-e_pow-fma.c): Likewise.
32114 (CFLAGS-halfulp-fma.c): Likewise.
32115 (CFLAGS-mpa-fma.c): Likewise.
32116 (CFLAGS-mpatan-fma.c): Likewise.
32117 (CFLAGS-mpatan2-fma.c): Likewise.
32118 (CFLAGS-mpexp-fma.c): Likewise.
32119 (CFLAGS-mplog-fma.c): Likewise.
32120 (CFLAGS-mpsqrt-fma.c): Likewise.
32121 (CFLAGS-mptan-fma.c): Likewise.
32122 (CFLAGS-s_atan-fma.c): Likewise.
32123 (CFLAGS-sincos32-fma.c): Likewise.
32124 (CFLAGS-slowexp-fma.c): Likewise.
32125 (CFLAGS-slowpow-fma.c): Likewise.
32126 (CFLAGS-s_sin-fma.c): Likewise.
32127 (CFLAGS-s_tan-fma.c): Likewise.
32128 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32129 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32130 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32131 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32132 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32133 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32134 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32135 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32136 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32137 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32138 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32139 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32140 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32141 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32142 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32143 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32144 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32145 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32146 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32147 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32148 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32149 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32150 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32151 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32153 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32154 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32155 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32159
219dd320
JM
321602017-08-04 Joseph Myers <joseph@codesourcery.com>
32161
32162 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32163 (min_of_type_f): New macro.
32164 (min_of_type_): Likewise.
32165 (min_of_type_l): Likewise.
32166 (min_of_type_f128): Likewise.
32167 (min_of_type): Define using __MATH_TG and taking an expression
32168 argument.
32169 (math_check_force_underflow): Pass expression instead of type to
32170 min_of_type.
32171 (math_check_force_underflow_nonneg): Likewise.
32172
64d4dea6
L
321732017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32174
32175 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32176 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32177 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32178
973da22a
L
321792017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32180
32181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32182 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32183 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32184 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32185 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32186 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32187 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32188 memmove_chk-nonshared and memset_chk-nonshared
32189 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32190 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32191 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32192 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32193 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32194 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32195 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32196 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32197 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32198 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32199 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32200 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32201 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32202 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32203 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32204 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32205 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32206 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32207 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32208 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32209 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32210 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32211 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32212 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32213 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32214 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32215 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32216 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32217 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32218 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32219 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32220 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32221 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32222 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32223 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32224 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32225 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32226 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32227 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32228 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32229 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32230 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32231 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32232 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32233 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32234 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32235 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32236 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32237 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32238 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32239 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32240 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32241 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32242 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32243 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32244 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32245 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32246 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32247 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32248 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32249 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32250 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32251 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32252 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32253 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32254 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32255 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32256 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32257 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32258 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32259 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32260 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32261 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32262 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32263 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32264 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32265 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32266 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32267 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32268 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32269 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32270 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32271 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32272 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32273 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32274 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32275 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32276 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32277 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32278 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32279 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32280 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32281 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32282 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32283 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32284 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32285 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32286 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32287 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32288 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32289 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32290 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32291 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32292 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32293 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32294 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32295 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32296 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32297
8537e0f6
L
322982017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32299
32300 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32301 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32302 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32303 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32304 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32305 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32306 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32307 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32308 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32309 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32310 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32311 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32312 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32313 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32314 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32315 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32316 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32317 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32318 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32319 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32320 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32321 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32322 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32323 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32324 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32325 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32326 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32327 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32328 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32329 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32330 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32331 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32332 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32333 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32334 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32335 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32336 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32337 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32339 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32340 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32341 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32342 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32343 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32344 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32345 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32346 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32347 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32348 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32349 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32350 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32351 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32352 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32353 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32354 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32355 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32356 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32357 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32358 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32359 ...
32360 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32361 Don't include <sysdep.h> nor <init-arch.h>.
32362 (_ZGVbN2v_cos): Removed.
32363 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32364 ...
32365 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32366 Don't include <sysdep.h> nor <init-arch.h>.
32367 (_ZGVdN4v_cos): Removed.
32368 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32369 ...
32370 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32371 Don't include <sysdep.h> nor <init-arch.h>.
32372 (_ZGVeN8v_cos): Removed.
32373 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32374 ...
32375 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32376 Don't include <sysdep.h> nor <init-arch.h>.
32377 (_ZGVbN2v_exp): Removed.
32378 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32379 ...
32380 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32381 Don't include <sysdep.h> nor <init-arch.h>.
32382 (_ZGVdN4v_exp): Removed.
32383 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32384 ...
32385 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32386 Don't include <sysdep.h> nor <init-arch.h>.
32387 (_ZGVeN8v_exp): Removed.
32388 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32389 ...
32390 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32391 Don't include <sysdep.h> nor <init-arch.h>.
32392 (_ZGVbN2v_log): Removed.
32393 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32394 ...
32395 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32396 Don't include <sysdep.h> nor <init-arch.h>.
32397 (_ZGVdN4v_log): Removed.
32398 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32399 ...
32400 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32401 Don't include <sysdep.h> nor <init-arch.h>.
32402 (_ZGVeN8v_log): Removed.
32403 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32404 ...
32405 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32406 Don't include <sysdep.h> nor <init-arch.h>.
32407 (_ZGVbN2vv_pow): Removed.
32408 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32409 ...
32410 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32411 Don't include <sysdep.h> nor <init-arch.h>.
32412 (_ZGVdN4vv_pow): Removed.
32413 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32414 ...
32415 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32416 Don't include <sysdep.h> nor <init-arch.h>.
32417 (_ZGVeN8vv_pow): Removed.
32418 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32419 ...
32420 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32421 Don't include <sysdep.h> nor <init-arch.h>.
32422 (_ZGVbN2v_sin): Removed.
32423 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32424 ...
32425 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32426 Don't include <sysdep.h> nor <init-arch.h>.
32427 (_ZGVbN4v_sin): Removed.
32428 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32429 ...
32430 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32431 Don't include <sysdep.h> nor <init-arch.h>.
32432 (_ZGVbN8v_sin): Removed.
32433 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32434 ...
32435 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32436 Don't include <sysdep.h> nor <init-arch.h>.
32437 (_ZGVbN2vvv_sincos): Removed.
32438 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32439 ...
32440 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32441 Don't include <sysdep.h> nor <init-arch.h>.
32442 (_ZGVdN4vvv_sincos): Removed.
32443 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32444 ...
32445 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32446 Don't include <sysdep.h> nor <init-arch.h>.
32447 (_ZGVeN8vvv_sincos): Removed.
32448 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32449 ...
32450 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32451 Don't include <sysdep.h> nor <init-arch.h>.
32452 (_ZGVeN16v_cosf): Removed.
32453 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32454 ...
32455 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32456 Don't include <sysdep.h> nor <init-arch.h>.
32457 (_ZGVbN4v_cosf): Removed.
32458 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32459 ...
32460 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32461 Don't include <sysdep.h> nor <init-arch.h>.
32462 (_ZGVdN8v_cosf): Removed.
32463 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32464 ...
32465 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32466 Don't include <sysdep.h> nor <init-arch.h>.
32467 (_ZGVeN16v_expf): Removed.
32468 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32469 ...
32470 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32471 Don't include <sysdep.h> nor <init-arch.h>.
32472 (_ZGVbN4v_expf): Removed.
32473 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32474 ...
32475 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32476 Don't include <sysdep.h> nor <init-arch.h>.
32477 (_ZGVdN8v_expf): Removed.
32478 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32479 ...
32480 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32481 Don't include <sysdep.h> nor <init-arch.h>.
32482 (_ZGVeN16v_logf): Removed.
32483 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32484 ...
32485 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32486 Don't include <sysdep.h> nor <init-arch.h>.
32487 (_ZGVbN4v_logf): Removed.
32488 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32489 ...
32490 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32491 Don't include <sysdep.h> nor <init-arch.h>.
32492 (_ZGVdN8v_logf): Removed.
32493 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32494 ...
32495 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32496 Don't include <sysdep.h> nor <init-arch.h>.
32497 (_ZGVeN16vv_powf): Removed.
32498 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32499 ...
32500 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32501 Don't include <sysdep.h> nor <init-arch.h>.
32502 (_ZGVbN4vv_powf): Removed.
32503 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32504 ...
32505 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32506 Don't include <sysdep.h> nor <init-arch.h>.
32507 (_ZGVdN8vv_powf): Removed.
32508 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32509 ...
32510 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32511 Don't include <sysdep.h> nor <init-arch.h>.
32512 (_ZGVeN16vvv_sincosf): Removed.
32513 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32514 ...
32515 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32516 Don't include <sysdep.h> nor <init-arch.h>.
32517 (_ZGVbN4vvv_sincosf): Removed.
32518 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32519 ...
32520 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32521 Don't include <sysdep.h> nor <init-arch.h>.
32522 (_ZGVdN8vvv_sincosf): Removed.
32523 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32524 ...
32525 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32526 Don't include <sysdep.h> nor <init-arch.h>.
32527 (_ZGVeN16v_sinf): Removed.
32528 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32529 ...
32530 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32531 Don't include <sysdep.h> nor <init-arch.h>.
32532 (_ZGVbN4v_sinf): Removed.
32533 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32534 ...
32535 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32536 Don't include <sysdep.h> nor <init-arch.h>.
32537 (_ZGVdN8v_sinf): Removed.
32538
10a87ca4
L
325392017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32540
32541 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32542 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32543 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32544 s_rint-sse4_1 and s_rintf-sse4_1.
32545 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32546 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32547 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32548 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32549 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32550 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32551 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32552 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32553 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32554 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32555 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32556 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32557 (__ceil): Removed.
32558 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32559 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32560 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32561 (__ceilf): Removed.
32562 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32563 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32564 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32565 (__floor): Removed.
32566 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32567 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32568 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32569 (__floorf): Removed.
32570 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32571 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32572 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32573 (__nearbyint): Removed.
32574 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32575 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32576 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32577 (__nearbyintf): Removed.
32578 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32579 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32580 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32581 (__rint): Removed.
32582 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32583 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32584 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32585 (__rintf): Removed.
32586
1e8e527d
L
325872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32588
32589 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32590 SHARED. Avoid dynamic relocation against main in static PIE.
32591
e13daad7
L
325922017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32593
32594 [BZ #21815]
32595 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32596 (LDFLAGS-tst-prelink): Likewise.
32597
627c69c8
L
325982017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32599
32600 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32601 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32602 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32603 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32604 (INTERNAL_SYSCALL_NCS): Likewise.
32605 (LOADARGS_1): Likewise.
32606 (LOADARGS_5): Likewise.
32607 (RESTOREARGS_1): Likewise.
32608 (RESTOREARGS_5): Likewise.
32609
fc11ff8d
L
326102017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32611
32612 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32613 (MEMPCPY_SYMBOL): Likewise.
32614 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32615 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32616 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32617 in libc.a.
32618 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32619 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32620 Likewise.
32621 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32622 (__hidden_ver1): Don't use in libc.a.
32623 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32624 (__mempcpy): Don't create a weak alias in libc.a.
32625 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32626 libc.a.
32627 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32628 (__hidden_ver1): Don't use in libc.a.
32629
19f1a11e
L
326302017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32631
32632 * config.make.in (have-insert): New.
32633 * configure.ac (libc_cv_insert): New. Set to yes if linker
32634 supports INSERT in linker script.
32635 (AC_SUBST(libc_cv_insert): New.
32636 * configure: Regenerated.
32637 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32638 if $(have-insert) == yes.
32639
3093fd5e
L
326402017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32641
32642 * elf/Makefile (tests): Add vismain only if
32643 $(have-protected-data) == yes.
32644 (tests-pie): Likewise.
32645
d2cf37c0
L
326462017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32647
32648 [BZ #21871]
32649 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32650 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32651
c8a0e6ec
L
326522017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32653
32654 [BZ #21790]
32655 * sysdeps/i386/i586/memset.S
32656 (__memset_zero_constant_len_parameter): Removed.
32657 * sysdeps/i386/i686/memset.S
32658 (__memset_zero_constant_len_parameter): Likewise.
32659 * sysdeps/i386/i686/multiarch/memset_chk.S
32660 (__memset_zero_constant_len_parameter): Likewise.
32661 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32662 Likewise.
32663
2b34e271
AJ
326642017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32665
32666 * stdlib/getentropy.c (getentropy): Change return type to int.
32667
144bdab0
AJ
326682017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32669
32670 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32671
24ab7723
JM
326722017-08-03 Joseph Myers <joseph@codesourcery.com>
32673
32674 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32675 u_intN_t.
32676 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32677 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32678 Likewise.
32679 (ieee_float_shape_type): Likewise.
32680 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32681 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32682 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32683 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32684 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32685 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32686 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32687 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32688 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32689 Likewise.
32690 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32691 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32692 (__ieee754_yn): Likewise.
32693 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32694 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32695 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32696 Likewise.
32697 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32698 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32699 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32700 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32701 (__erfc): Likewise.
32702 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32703 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32704 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32705 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32706 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32707 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32708 Likewise.
32709 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32710 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32711 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32712 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32713 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32714 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32715 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32716 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32717 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32718 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32719 (__issignaling): Likewise.
32720 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32721 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32722 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32723 Likewise.
32724 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32725 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32726 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32727 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32728 Likewise.
32729 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32730 Likewise.
32731 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32732 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32733 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32734 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32735 (__erfcf): Likewise.
32736 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32737 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32738 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32739 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32740 Likewise.
32741 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32742 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32743 Likewise.
32744 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32745 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32746 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32747 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32748 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32749 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32750 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32751 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32752 Likewise.
32753 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32754 Likewise.
32755 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32756 Likewise.
32757 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32758 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32759 Likewise.
32760 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32761 Likewise.
32762 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32763 (__ieee754_ynl): Likewise.
32764 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32765 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32766 Likewise.
32767 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32768 Likewise.
32769 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32770 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32771 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32772 Likewise.
32773 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32774 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32775 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32776 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32777 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32778 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32779 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32780 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32781 Likewise.
32782 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32783 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32784 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32785 Likewise.
32786 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32787 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32788 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32789 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32790 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32791 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32792 Likewise.
32793 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32794 Likewise.
32795 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32796 Likewise.
32797 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32798 Likewise.
32799 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32800 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32801 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32802 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32803 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32804 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32805 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32806 Likewise.
32807 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32808 Likewise.
32809 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32810 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32811 Likewise.
32812 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32813 (__ieee754_remainderl): Likewise.
32814 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32815 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32816 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32817 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32818 Likewise.
32819 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32821 Likewise.
32822 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32823 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32824 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32825 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32826 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32827 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32828 Likewise.
32829 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32830 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32831 (__ieee754_y0l): Likewise.
32832 (pzero): Likewise.
32833 (qzero): Likewise.
32834 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32835 (__ieee754_y1l): Likewise.
32836 (pone): Likewise.
32837 (qone): Likewise.
32838 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32839 (__ieee754_ynl): Likewise.
32840 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32841 (__ieee754_lgammal_r): Likewise.
32842 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32843 Likewise.
32844 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32845 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32846 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32847 (__erfcl): Likewise.
32848 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32849 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32850 Likewise.
32851 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32852 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32853 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32854 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32855 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32856 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32857 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32858 Likewise.
32859 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32860 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32861 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32862 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32863 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32864 Likewise.
32865 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32866 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32867 Likewise.
32868 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32869 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32870 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32871 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32872 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32873
964263bb
FW
328742017-08-03 Florian Weimer <fweimer@redhat.com>
32875
32876 [BZ #21885]
32877 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32878 on memory allocation failure.
32879
e98c925f
AM
328802017-08-03 Alan Modra <amodra@gmail.com>
32881
32882 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32883 tst-tlsopt-powerpc.c with function name change and no test harness.
32884 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32885 Call tls_get_addr_opt_test.
32886 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32887 (modules-names): Add mod-tlsopt-powerpc.
32888 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32889 (tst-tlsopt-powerpc): Depend on .so.
32890 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32891 define. Expand use in TLS_GD and TLS_LD.
32892
8ee1abdb
ST
328932017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32894
32895 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32896 function.
3da5756e 32897 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 32898
42df8d59
JM
328992017-08-02 Joseph Myers <joseph@codesourcery.com>
32900
32901 [BZ #21686]
32902 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32903 comparing size with that of double.
32904 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32905 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32906 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32907 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32908 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32909 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32910 unsigned __int128 types.
32911
b7f95f49
SE
329122017-08-02 Steve Ellcey <sellcey@cavium.com>
32913
32914 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32915 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32916 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32917 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32918 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32919
5b736bc9
L
329202017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32921
32922 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32923
dfc93c41
L
329242017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32925
32926 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32927 of SHARED.
32928 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32929 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32931 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32932 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32933 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32934 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32935
2fee621d
JM
329362017-08-02 Joseph Myers <joseph@codesourcery.com>
32937
32938 [BZ #21685]
32939 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32940 bit-field expressions passed to sizeof or typeof.
32941 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32942 (__TGMATH_F128): Likewise.
32943 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32944 (__TGMATH_CF128): Likewise.
32945 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32946 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32947 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32948 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32949 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32950 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32951 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32952 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32953 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32954 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32955 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32956 (__TGMATH_UNARY_IMAG): Likewise.
32957 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32958 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32959 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32960 type.
32961 (define_vars_for_type): Handle bit_field type specially.
32962 (Tests.__init__): Declare structure with bit-field element.
32963
b358255f
L
329642017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32965
32966 [BZ #21791]
32967 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32968 (MEMCPY_CHK): Define only if SHARED is defined.
32969 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32970 Likewise.
32971 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32972 Likewise.
edf66db1
SP
32973
32974See ChangeLog.18 for earlier changes.